From 38d5b4f71ecb9fa0ba8fd1a587c8b0c5fb6dfc32a9d54b32d5a8c5e1d08dc6ca Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:06:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=1 --- .gitattributes | 23 ++ .gitignore | 1 + NEWS | 51 ++++ boost-configure.patch | 81 +++++++ boost-ia64.patch | 29 +++ boost-no_type_attrs_on_forward_decls.patch | 22 ++ boost-no_type_punning.patch | 124 ++++++++++ boost-python_2_5-minimal.patch | 37 +++ boost-strip.patch | 10 + boost-thread.patch | 11 + boost-threading.patch | 22 ++ boost-undefined_behaviour.patch | 11 + boost-use_O2.patch | 11 + boost-used_unitialized.patch | 10 + boost-visit_each.diff | 11 + boost.changes | 121 ++++++++++ boost.spec | 256 +++++++++++++++++++++ boost_1_33_1.tar.bz2 | 3 + ready | 0 19 files changed, 834 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 NEWS create mode 100644 boost-configure.patch create mode 100644 boost-ia64.patch create mode 100644 boost-no_type_attrs_on_forward_decls.patch create mode 100644 boost-no_type_punning.patch create mode 100644 boost-python_2_5-minimal.patch create mode 100644 boost-strip.patch create mode 100644 boost-thread.patch create mode 100644 boost-threading.patch create mode 100644 boost-undefined_behaviour.patch create mode 100644 boost-use_O2.patch create mode 100644 boost-used_unitialized.patch create mode 100644 boost-visit_each.diff create mode 100644 boost.changes create mode 100644 boost.spec create mode 100644 boost_1_33_1.tar.bz2 create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..ca2ac72 --- /dev/null +++ b/NEWS @@ -0,0 +1,51 @@ +Latest News + +December 5, 2005 - Version 1.33.1 + +Updated Libraries + + * Any Library: Cast to reference types introduced in 1.33.0 is now + documented on any_cast documentation page. + + * Config Library: Don't undef BOOST_LIB_TOOLSET after use. + + * Boost.Python: + o The build now assumes Python 2.4 by default, rather than 2.2 + o Support Python that's built without Unicode support + o Support for wrapping classes with overloaded address-of (&) + operators + + * Smart Pointer Library: Fixed problems under Metrowerks CodeWarrior on + PowerPC (Mac OS X) with inlining on, GNU GCC on PowerPC 64. + + * Regex Library: Fixed the supplied makefiles, and other small compiler + specific changes. Refer to the regex history page for more information on + these and other small changes. + + * Iostreams Library: Improved the interface for accessing a chain's + components, added is_open members to the file and file descriptor devices, + fixed memory-mapped files on Windows, and made minor changes to the + documentation. + + * Functional/Hash Library: Fixed the points example. + + * Multi-index Containers Library: Fixed a problem with multithreaded + code, and other minor changes. Refer to the library release notes for + further details. + + * Graph Library: + o Fixed a problem with the relaxed heap on x86 Linux (fixes bug in + dijkstra_shortest_paths). + o Fixed problems with cuthill_mckee_ordering and king_ordering + producing no results. + o Added color_map parameter to dijkstra_shortest_paths. + + * Signals Library: Fixed problems with the use of Signals across shared + library boundaries. + + * Thread library: read_write_mutex has been removed due to problems with + deadlocks. + + * Wave library (V1.2.1) Fixed a couple of problems, refer to the change + log for further details. + diff --git a/boost-configure.patch b/boost-configure.patch new file mode 100644 index 0000000..44db3b7 --- /dev/null +++ b/boost-configure.patch @@ -0,0 +1,81 @@ +--- Makefile.in ++++ Makefile.in +@@ -0,0 +1,32 @@ ++BJAM=@BJAM@ ++TOOLSET=@TOOLSET@ ++BJAM_FLAGS= ++BJAM_CONFIG=@BJAM_CONFIG@ ++PREFIX=@PREFIX@ ++EPREFIX=@EPREFIX@ ++LIBDIR=@LIBDIR@ ++INCLUDEDIR=@INCLUDEDIR@ ++LIBS=@LIBS@ ++GXX=c++ ++GCC=c++ ++DESTDIR= ++ ++all: .dummy ++ $(BJAM) $(BJAM_FLAGS) $(BJAM_CONFIG) -sGXX="$(GXX)" -sGCC="$(GCC)" -sTOOLS="$(TOOLSET)" -sBUILD="release single/multiple" $(LIBS) || \ ++ echo "Not all Boost libraries built properly." ++ ++clean: .dummy ++ rm -rf bin ++ ++distclean: clean ++ rm -rf Makefile config.log ++ ++check: .dummy ++ @cd status && ../$(BJAM) $(BJAM_CONFIG) -sTOOLS=$(TOOLSET) test || echo "Some Boost regression tests failed. This is normal." ++ ++install: .dummy ++ $(BJAM) $(BJAM_FLAGS) $(BJAM_CONFIG) -sGXX="$(GXX)" -sGCC="$(GCC)" --prefix=$(DESTDIR)$(PREFIX) \ ++ --exec-prefix=$(DESTDIR)$(EPREFIX) --libdir=$(DESTDIR)$(LIBDIR) --includedir=$(DESTDIR)$(INCLUDEDIR) \ ++ -sTOOLS=$(TOOLSET) -sBUILD="release single/multiple" $(LIBS) install || echo "Not all Boost libraries built properly." ++ ++.dummy: +--- configure ++++ configure +@@ -277,34 +277,12 @@ + + # Generate the Makefile + echo "Generating Makefile..." +-cat > Makefile <Makefile diff --git a/boost-ia64.patch b/boost-ia64.patch new file mode 100644 index 0000000..6fe7a7e --- /dev/null +++ b/boost-ia64.patch @@ -0,0 +1,29 @@ +--- boost/detail/sp_counted_base_gcc_ia64.hpp ++++ boost/detail/sp_counted_base_gcc_ia64.hpp +@@ -34,7 +34,7 @@ + // release barrier associated with it. We choose release as it should be + // cheaper. + __asm__ ("fetchadd8.rel %0=[%2],1" : +- "=r"(tmp), "=m"(*pw) : ++ "=r"(tmp), "+m"(*pw) : + "r"(pw)); + } + +@@ -47,7 +47,7 @@ + __asm__ (" fetchadd8.rel %0=[%2],-1 ;; \n" + " cmp.eq p7,p0=1,%0 ;; \n" + "(p7) ld8.acq %0=[%2] " : +- "=&r"(rv), "=m"(*pw) : ++ "=&r"(rv), "+m"(*pw) : + "r"(pw) : + "p7"); + +@@ -71,7 +71,7 @@ + "(p7) br.cond.spnt 0b \n" + " mov %0=%1 ;; \n" + "1:" : +- "=&r"(rv), "=&r"(tmp), "=&r"(tmp2), "=m"(*pw) : ++ "=&r"(rv), "=&r"(tmp), "=&r"(tmp2), "+m"(*pw) : + "r"(pw) : + "ar.ccv", "p7"); + diff --git a/boost-no_type_attrs_on_forward_decls.patch b/boost-no_type_attrs_on_forward_decls.patch new file mode 100644 index 0000000..459b9a4 --- /dev/null +++ b/boost-no_type_attrs_on_forward_decls.patch @@ -0,0 +1,22 @@ +--- boost/python/detail/exception_handler.hpp ++++ boost/python/detail/exception_handler.hpp +@@ -11,7 +11,7 @@ + + namespace boost { namespace python { namespace detail { + +-struct BOOST_PYTHON_DECL exception_handler; ++struct exception_handler; + + typedef function2 const&> handler_function; + +--- boost/python/detail/wrapper_base.hpp ++++ boost/python/detail/wrapper_base.hpp +@@ -14,7 +14,7 @@ + + namespace detail + { +- class BOOST_PYTHON_DECL wrapper_base; ++ class wrapper_base; + + namespace wrapper_base_ // ADL disabler + { diff --git a/boost-no_type_punning.patch b/boost-no_type_punning.patch new file mode 100644 index 0000000..c2dc31f --- /dev/null +++ b/boost-no_type_punning.patch @@ -0,0 +1,124 @@ +--- libs/python/src/dict.cpp ++++ libs/python/src/dict.cpp +@@ -28,9 +28,9 @@ + + detail::new_reference dict_base::call(object const& arg_) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyDict_Type }; + return (detail::new_reference)PyObject_CallFunction( +- (PyObject*)&PyDict_Type, "(O)", +- arg_.ptr()); ++ pun.pop, "(O)", arg_.ptr()); + } + + dict_base::dict_base() +--- libs/python/src/list.cpp ++++ libs/python/src/list.cpp +@@ -9,10 +9,11 @@ + + detail::new_non_null_reference list_base::call(object const& arg_) + { ++ union{ PyTypeObject *ptop; PyObject *pop; }pun = { &PyList_Type }; + return (detail::new_non_null_reference) + (expect_non_null)( + PyObject_CallFunction( +- (PyObject*)&PyList_Type, "(O)", ++ pun.pop, "(O)", + arg_.ptr())); + } + +--- libs/python/src/long.cpp ++++ libs/python/src/long.cpp +@@ -8,24 +8,25 @@ + + new_non_null_reference long_base::call(object const& arg_) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type }; + return (detail::new_non_null_reference)PyObject_CallFunction( +- (PyObject*)&PyLong_Type, "(O)", +- arg_.ptr()); ++ pun.pop, "(O)", arg_.ptr()); + } + + new_non_null_reference long_base::call(object const& arg_, object const& base) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type }; + return (detail::new_non_null_reference)PyObject_CallFunction( +- (PyObject*)&PyLong_Type, "(OO)", +- arg_.ptr(), base.ptr()); ++ pun.pop, "(OO)", arg_.ptr(), base.ptr()); + } + + long_base::long_base() +- : object( +- detail::new_reference( +- PyObject_CallFunction((PyObject*)&PyLong_Type, "()")) +- ) +-{} ++{ ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type }; ++ object(detail::new_reference( ++ PyObject_CallFunction(pun.pop, "()"))); ++ ++} + + long_base::long_base(object_cref arg) + : object(long_base::call(arg)) +--- libs/python/src/object/class.cpp ++++ libs/python/src/object/class.cpp +@@ -538,9 +538,11 @@ + void class_base::add_property( + char const* name, object const& fget, char const* docstr) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyProperty_Type }; ++ + object property( + (python::detail::new_reference) +- PyObject_CallFunction((PyObject*)&PyProperty_Type, "Osss", fget.ptr(), 0, 0, docstr)); ++ PyObject_CallFunction(pun.pop, "Osss", fget.ptr(), 0, 0, docstr)); + + this->setattr(name, property); + } +@@ -548,9 +550,11 @@ + void class_base::add_property( + char const* name, object const& fget, object const& fset, char const* docstr) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyProperty_Type }; ++ + object property( + (python::detail::new_reference) +- PyObject_CallFunction((PyObject*)&PyProperty_Type, "OOss", fget.ptr(), fset.ptr(), 0, docstr)); ++ PyObject_CallFunction(pun.pop, "OOss", fget.ptr(), fset.ptr(), 0, docstr)); + + this->setattr(name, property); + } +--- libs/python/src/str.cpp ++++ libs/python/src/str.cpp +@@ -8,9 +8,10 @@ + + detail::new_reference str_base::call(object const& arg_) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyString_Type }; ++ + return (detail::new_reference)PyObject_CallFunction( +- (PyObject*)&PyString_Type, "(O)", +- arg_.ptr()); ++ pun.pop, "(O)", arg_.ptr()); + } + + str_base::str_base() +--- libs/python/src/tuple.cpp ++++ libs/python/src/tuple.cpp +@@ -8,9 +8,10 @@ + + detail::new_reference tuple_base::call(object const& arg_) + { ++ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyTuple_Type }; ++ + return (detail::new_reference)PyObject_CallFunction( +- (PyObject*)&PyTuple_Type, "(O)", +- arg_.ptr()); ++ pun.pop, "(O)", arg_.ptr()); + } + + tuple_base::tuple_base() diff --git a/boost-python_2_5-minimal.patch b/boost-python_2_5-minimal.patch new file mode 100644 index 0000000..1dcbe45 --- /dev/null +++ b/boost-python_2_5-minimal.patch @@ -0,0 +1,37 @@ +--- boost/python/detail/wrap_python.hpp 4 Nov 2005 21:38:29 -0000 1.22 ++++ boost/python/detail/wrap_python.hpp 12 Apr 2006 15:55:11 -0000 +@@ -141,6 +141,12 @@ + # include + #endif + ++#if PY_VERSION_HEX < 0x02050000 ++typedef int Py_ssize_t; ++#define PY_SSIZE_T_MIN INT_MIN ++#define PY_SSIZE_T_MAX INT_MAX ++#endif ++ + #ifdef BOOST_PYTHON_ULONG_MAX_UNDEFINED + # undef ULONG_MAX + # undef BOOST_PYTHON_ULONG_MAX_UNDEFINED + +diff -u -r1.7 object_protocol.cpp +--- libs/python/src/object_protocol.cpp 26 Jul 2004 00:32:11 -0000 1.7 ++++ libs/python/src/object_protocol.cpp 12 Apr 2006 15:55:31 -0000 +@@ -106,7 +106,7 @@ + PySequenceMethods *sq = tp->tp_as_sequence; + + if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) { +- int ilow = 0, ihigh = INT_MAX; ++ Py_ssize_t ilow = 0, ihigh = PY_SSIZE_T_MAX; + if (!_PyEval_SliceIndex(v, &ilow)) + return NULL; + if (!_PyEval_SliceIndex(w, &ihigh)) +@@ -133,7 +133,7 @@ + PySequenceMethods *sq = tp->tp_as_sequence; + + if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) { +- int ilow = 0, ihigh = INT_MAX; ++ Py_ssize_t ilow = 0, ihigh = PY_SSIZE_T_MAX; + if (!_PyEval_SliceIndex(v, &ilow)) + return -1; + if (!_PyEval_SliceIndex(w, &ihigh)) diff --git a/boost-strip.patch b/boost-strip.patch new file mode 100644 index 0000000..bc6980a --- /dev/null +++ b/boost-strip.patch @@ -0,0 +1,10 @@ +--- tools/build/v1/gcc-tools.jam ++++ tools/build/v1/gcc-tools.jam +@@ -338,7 +338,6 @@ + flags gcc HDRS ; + flags gcc SYSHDRS ; + flags gcc LINKFLAGS ; +-flags gcc LINKFLAGS off : -s ; + flags gcc ARFLAGS ; + + flags gcc STDHDRS : $(GCC_INCLUDE_DIRECTORY) ; diff --git a/boost-thread.patch b/boost-thread.patch new file mode 100644 index 0000000..2b9bb7c --- /dev/null +++ b/boost-thread.patch @@ -0,0 +1,11 @@ +--- boost/config/compiler/gcc.hpp ++++ boost/config/compiler/gcc.hpp +@@ -66,7 +66,7 @@ + // those platforms where we can know for sure). It will get turned off again + // later if no threading API is detected. + // +-#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__) ++#if !defined(__MINGW32__) + # define BOOST_HAS_THREADS + #endif + diff --git a/boost-threading.patch b/boost-threading.patch new file mode 100644 index 0000000..e9c57ae --- /dev/null +++ b/boost-threading.patch @@ -0,0 +1,22 @@ +--- tools/build/v1/gcc-tools.jam ++++ tools/build/v1/gcc-tools.jam +@@ -150,7 +150,7 @@ + } + case * : + { +- flags gcc CFLAGS multi : -pthread ; ++ flags gcc CFLAGS multi : -pthread -D_REENTRANT ; + flags gcc LINKFLAGS multi : -pthread ; + flags gcc FINDLIBS multi : rt ; + } +--- tools/build/v2/tools/gcc.jam ++++ tools/build/v2/tools/gcc.jam +@@ -368,7 +368,7 @@ + } + case * : + { +- flags gcc OPTIONS multi : -pthread ; ++ flags gcc OPTIONS multi : -pthread -D_REENTRANT ; + flags gcc FINDLIBS-SA multi : rt ; + } + } diff --git a/boost-undefined_behaviour.patch b/boost-undefined_behaviour.patch new file mode 100644 index 0000000..cb8df29 --- /dev/null +++ b/boost-undefined_behaviour.patch @@ -0,0 +1,11 @@ +--- boost/tuple/tuple_io.hpp ++++ boost/tuple/tuple_io.hpp +@@ -349,7 +349,7 @@ + char c; + if (is_delimiter) { + is >> c; +- if (c!=d) { ++ if (is.good() && c!=d) { + is.setstate(std::ios::failbit); + } + } diff --git a/boost-use_O2.patch b/boost-use_O2.patch new file mode 100644 index 0000000..eb2c51e --- /dev/null +++ b/boost-use_O2.patch @@ -0,0 +1,11 @@ +--- tools/build/v1/gcc-tools.jam ++++ tools/build/v1/gcc-tools.jam +@@ -60,7 +60,7 @@ + flags gcc CFLAGS on : -g ; + flags gcc LINKFLAGS on : -g ; + flags gcc CFLAGS off : -O0 ; +-flags gcc CFLAGS speed : -O3 ; ++flags gcc CFLAGS speed : -O2 ; + + # Other optimizations we might want for GCC + # -fforce-mem -fomit-frame-pointer diff --git a/boost-used_unitialized.patch b/boost-used_unitialized.patch new file mode 100644 index 0000000..bc72633 --- /dev/null +++ b/boost-used_unitialized.patch @@ -0,0 +1,10 @@ +--- boost/date_time/constrained_value.hpp ++++ boost/date_time/constrained_value.hpp +@@ -40,6 +40,7 @@ + // typedef except_type exception_type; + constrained_value(value_type value) + { ++ value_ = value; + assign(value); + }; + constrained_value& operator=(value_type v) diff --git a/boost-visit_each.diff b/boost-visit_each.diff new file mode 100644 index 0000000..8b669f8 --- /dev/null +++ b/boost-visit_each.diff @@ -0,0 +1,11 @@ +--- boost/visit_each.hpp.ORG 2004-07-25 04:29:28.000000000 +0200 ++++ boost/visit_each.hpp 2006-07-13 16:41:14.000000000 +0200 +@@ -22,7 +22,7 @@ + template + inline void visit_each(Visitor& visitor, const T& t) + { +- visit_each(visitor, t, 0); ++ visit_each(visitor, t, (long)0); + } + } + diff --git a/boost.changes b/boost.changes new file mode 100644 index 0000000..107d5ab --- /dev/null +++ b/boost.changes @@ -0,0 +1,121 @@ +------------------------------------------------------------------- +Fri Sep 22 13:49:48 CEST 2006 - pth@suse.de + +- Apply patch from community to build with Python 2.5 + +------------------------------------------------------------------- +Fri Jul 14 11:02:21 CEST 2006 - sf@suse.de + +- fixed wrong usage of visit_each() (Bug #192116 ) + +------------------------------------------------------------------- +Thu Jul 13 15:47:57 CEST 2006 - sf@suse.de + +- fixed link creation to libboost_thread.so, using %_lib instead + of lib + +------------------------------------------------------------------- +Mon Jun 19 19:46:37 CEST 2006 - jw@suse.de + +- added a libboost_thread.so as a symlink to libboost_thread-mt.so + +------------------------------------------------------------------- +Tue Apr 4 16:36:25 CEST 2006 - pth@suse.de + +- Add libboost_wave.a to file list + +------------------------------------------------------------------- +Tue Apr 4 13:29:35 CEST 2006 - pth@suse.de + +- Use explicit file names instead of wildcards to detect libraries + that weren't built. + +------------------------------------------------------------------- +Wed Feb 8 18:26:28 CET 2006 - schwab@suse.de + +- Fix broken assembler constraints [#148429]. + +------------------------------------------------------------------- +Wed Jan 25 21:34:43 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Jan 17 23:03:53 CET 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- +Wed Dec 7 17:43:55 CET 2005 - pth@suse.de + +- Fix cases of type-punning in boost::python +- Compile without -fno-strict-aliasing again. +- Remove unnecessary type attributes in forward declarations. + +------------------------------------------------------------------- +Tue Dec 6 11:57:18 CET 2005 - pth@suse.de + +- Update to 1.33.1. +- Fix use of uninitialized variable. +- Compile with -fno-strict-aliasing. +- Update NEWS file + +------------------------------------------------------------------- +Thu Aug 25 17:30:18 CEST 2005 - pth@suse.de + +- Incorporate fixes that are bound to be in 1.33.1 +- Build boost.regex with unicode support. + +------------------------------------------------------------------- +Fri Aug 19 17:08:06 CEST 2005 - pth@suse.de + +- Add a NEWS file. + +------------------------------------------------------------------- +Wed Aug 18 16:55:01 CEST 2005 - pth@suse.de + +- Update to 1.33.0 with 5 new libraries. See NEWS for specifics. +- Fix use of uninitialized class member (matz@suse.de) +- Compile with -O2 instead of -O3 +- Make build process use %optflags + +------------------------------------------------------------------- +Thu Mar 10 17:08:32 CET 2005 - pth@suse.de + +- Update to 1.32.0 + +------------------------------------------------------------------- +Fri May 7 17:21:09 CEST 2004 - pth@suse.de + +- Add convenience symlinks (#38491) + +------------------------------------------------------------------- +Sun Apr 25 13:00:32 CEST 2004 - coolo@suse.de + +- build with several jobs + +------------------------------------------------------------------- +Fri Mar 5 19:43:25 CET 2004 - pth@suse.de + +- Update to 1.31.0. +- Make building boost work on Linux platforms where gcc does not + define _REENTRANT when passed -pthread. Patch was done by + Robert Schiele. + +------------------------------------------------------------------- +Sat Jan 10 14:14:40 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Wed Aug 20 11:17:52 CEST 2003 - pthomas@suse.de + +- Update to 1.30.2, a bugfix release + +------------------------------------------------------------------- +Wed Jul 23 14:52:15 CEST 2003 - pthomas@suse.de + +- Initial package, based on the work by Robert Schiele. +- Fix building with Python 2.3 + + diff --git a/boost.spec b/boost.spec new file mode 100644 index 0000000..3948dc8 --- /dev/null +++ b/boost.spec @@ -0,0 +1,256 @@ +# +# spec file for package boost (Version 1.33.1) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: boost +BuildRequires: boost-jam gcc-c++ libicu-devel python-devel xorg-x11-devel +%define file_version 1_33_1 +%define version_tag 1_33_1 +URL: http://www.boost.org +License: BSD +Group: Development/Libraries/C and C++ +Summary: Boost C++ Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Version: 1.33.1 +Release: 25 +Source0: %{name}_%{file_version}.tar.bz2 +Source1: NEWS +Patch: boost-threading.patch +Patch1: boost-thread.patch +Patch3: boost-use_O2.patch +Patch4: boost-undefined_behaviour.patch +Patch5: boost-configure.patch +Patch6: boost-used_unitialized.patch +Patch7: boost-no_type_punning.patch +Patch8: boost-no_type_attrs_on_forward_decls.patch +Patch9: boost-strip.patch +Patch10: boost-ia64.patch +Patch11: boost-visit_each.diff +Patch12: boost-python_2_5-minimal.patch +%define _prefix /usr +%define python_root /usr +%define python_lib_path %py_libdir/config + +%description +Boost provides free peer-reviewed portable C++ source libraries. The +emphasis is on libraries that work well with the C++ Standard Library. +One goal is to establish "existing practice" and provide reference +implementations so that the Boost libraries are suitable for eventual +standardization. Some of the libraries have already been proposed for +inclusion in the C++ Standards Committee's upcoming C++ Standard +Library Technical Report. + +Although Boost was begun by members of the C++ Standards Committee +Library Working Group, membership has expanded to include nearly two +thousand members of the C++ community at large. + +This package contains the dynamic libraries. For development using +Boost, you also need the boost-devel package. For documentation, see +the boost-doc package. + + + +%package devel +Summary: Development package for Boost C++ +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Autoreqprov: on + +%description devel +This package contains all that is needed to develop/compile +applications that use the Boost C++ libraries. For documentation see +the package boost-doc. + + + +%package doc +Summary: Boost C++ Libraries +Group: Development/Libraries/C and C++ +Requires: %{name}-devel = %{version} +Autoreqprov: on + +%description doc +The Boost web site provides free peer-reviewed portable C++ source +libraries. The emphasis is on libraries which work well with the C++ +Standard Library. One goal is to establish "existing practice" and +provide reference implementations so that the Boost libraries are +suitable for eventual standardization. Some of the libraries have +already been proposed for inclusion in the C++ Standards Committee's +upcoming C++ Standard Library Technical Report. + +Although Boost was begun by members of the C++ Standards Committee +Library Working Group, membership has expanded to include nearly two +thousand members of the C++ community at large. + +This package contains the dynamic libraries. For development using +Boost, you also need the boost-devel package. For documentation, see +the boost-doc package. + + + +%prep +%setup -q -n %{name}_%{file_version} +find -name .cvsignore|xargs rm -f +#everything in the tarball has the executable flag set ...... +find -type f| xargs chmod -x +find -name \*.sh -o -name \*.py -o -name \*.pl|xargs chmod +x +%patch +%patch1 +%patch3 +%patch4 +%patch5 +%patch6 +%patch7 +%patch8 +%patch9 +%patch10 +%patch11 +%patch12 +cp %{S:1} . +chmod +x configure + +%build +#%define boost_cxxflags %optflags -fno-strict-aliasing +%define boost_cxxflags %optflags +%define bjam_flags -d2 --layout=system --no-objcopy %{?jobs:-j%jobs} +find . -type f|xargs chmod u+w +# To have the documentation in a place that can easily be included in the file list +mkdir .backup +tar -cf - $(find . -name \*.htm\* -o -name \*.gif -o -name \*.css -o -name \*.jpg)| tar -C .backup -xf - +rm -rf .backup/boost +ln -s /usr/include/boost .backup +# Now build it +./configure --with-bjam=/usr/bin/bjam --with-icu --prefix=%{buildroot}/usr --libdir=%{buildroot}%{_libdir} +make GXX="c++ %{boost_cxxflags}" GCC="c++ %{boost_cxxflags}" BJAM_FLAGS="%{bjam_flags}" + +%install +make GXX="c++ %{boost_cxxflags}" GCC="c++ %{boost_cxxflags}" BJAM_FLAGS="%{bjam_flags}" install +chmod -R u+rw,go+rX %{buildroot}%{_prefix} +## symlink needed for jahshaka's openlibraries framework, jw@suse.de +(cd %{buildroot}%{_prefix}/%_lib; ln -s libboost_thread-mt.so libboost_thread.so) + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-,root,root) +%doc NEWS +%{_libdir}/libboost_date_time.so.* +%{_libdir}/libboost_filesystem.so.* +%{_libdir}/libboost_iostreams.so.* +%{_libdir}/libboost_prg_exec_monitor.so.* +%{_libdir}/libboost_program_options.so.* +%{_libdir}/libboost_python.so.* +%{_libdir}/libboost_regex.so.* +%{_libdir}/libboost_serialization.so.* +%{_libdir}/libboost_signals.so.* +%{_libdir}/libboost_test_exec_monitor.so.* +%{_libdir}/libboost_thread-mt.so.* +%{_libdir}/libboost_unit_test_framework.so.* +%{_libdir}/libboost_wserialization.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/libboost_date_time.a +%{_libdir}/libboost_filesystem.a +%{_libdir}/libboost_iostreams.a +%{_libdir}/libboost_prg_exec_monitor.a +%{_libdir}/libboost_program_options.a +%{_libdir}/libboost_python.a +%{_libdir}/libboost_regex.a +%{_libdir}/libboost_serialization.a +%{_libdir}/libboost_signals.a +%{_libdir}/libboost_test_exec_monitor.a +%{_libdir}/libboost_thread-mt.a +%{_libdir}/libboost_unit_test_framework.a +%{_libdir}/libboost_wserialization.a +%{_libdir}/libboost_date_time.so +%{_libdir}/libboost_filesystem.so +%{_libdir}/libboost_iostreams.so +%{_libdir}/libboost_prg_exec_monitor.so +%{_libdir}/libboost_program_options.so +%{_libdir}/libboost_python.so +%{_libdir}/libboost_regex.so +%{_libdir}/libboost_serialization.so +%{_libdir}/libboost_signals.so +%{_libdir}/libboost_test_exec_monitor.so +%{_libdir}/libboost_thread-mt.so +%{_libdir}/libboost_thread.so +%{_libdir}/libboost_unit_test_framework.so +%{_libdir}/libboost_wave.a +%{_libdir}/libboost_wserialization.so +%{_includedir}/boost + +%files doc +%defattr(-,root,root) +%doc .backup/* + +%changelog -n boost +* Fri Sep 22 2006 - pth@suse.de +- Apply patch from community to build with Python 2.5 +* Fri Jul 14 2006 - sf@suse.de +- fixed wrong usage of visit_each() (Bug #192116 ) +* Thu Jul 13 2006 - sf@suse.de +- fixed link creation to libboost_thread.so, using %%_lib instead + of lib +* Mon Jun 19 2006 - jw@suse.de +- added a libboost_thread.so as a symlink to libboost_thread-mt.so +* Tue Apr 04 2006 - pth@suse.de +- Add libboost_wave.a to file list +* Tue Apr 04 2006 - pth@suse.de +- Use explicit file names instead of wildcards to detect libraries + that weren't built. +* Wed Feb 08 2006 - schwab@suse.de +- Fix broken assembler constraints [#148429]. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Tue Jan 17 2006 - schwab@suse.de +- Don't strip binaries. +* Wed Dec 07 2005 - pth@suse.de +- Fix cases of type-punning in boost::python +- Compile without -fno-strict-aliasing again. +- Remove unnecessary type attributes in forward declarations. +* Tue Dec 06 2005 - pth@suse.de +- Update to 1.33.1. +- Fix use of uninitialized variable. +- Compile with -fno-strict-aliasing. +- Update NEWS file +* Thu Aug 25 2005 - pth@suse.de +- Incorporate fixes that are bound to be in 1.33.1 +- Build boost.regex with unicode support. +* Fri Aug 19 2005 - pth@suse.de +- Add a NEWS file. +* Thu Aug 18 2005 - pth@suse.de +- Update to 1.33.0 with 5 new libraries. See NEWS for specifics. +- Fix use of uninitialized class member (matz@suse.de) +- Compile with -O2 instead of -O3 +- Make build process use %%optflags +* Thu Mar 10 2005 - pth@suse.de +- Update to 1.32.0 +* Fri May 07 2004 - pth@suse.de +- Add convenience symlinks (#38491) +* Sun Apr 25 2004 - coolo@suse.de +- build with several jobs +* Fri Mar 05 2004 - pth@suse.de +- Update to 1.31.0. +- Make building boost work on Linux platforms where gcc does not + define _REENTRANT when passed -pthread. Patch was done by + Robert Schiele. +* Sat Jan 10 2004 - adrian@suse.de +- add %%run_ldconfig +* Wed Aug 20 2003 - pthomas@suse.de +- Update to 1.30.2, a bugfix release +* Wed Jul 23 2003 - pthomas@suse.de +- Initial package, based on the work by Robert Schiele. +- Fix building with Python 2.3 diff --git a/boost_1_33_1.tar.bz2 b/boost_1_33_1.tar.bz2 new file mode 100644 index 0000000..cb40229 --- /dev/null +++ b/boost_1_33_1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6232e93205acbc8c705f44f15977aae158550c99a384f41606cff26c16393be0 +size 11507161 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4