Compare commits

...

9 Commits
master ... f13

Author SHA1 Message Date
Petr Machata 47708211b0 The family of ARM machines is "%%{arm}", not "arm"
- Resolves: #663251
2010-12-15 16:29:27 +01:00
Tom "spot" Callaway d95884625c also package build-system.jam 2010-12-03 11:34:18 -05:00
Tom "spot" Callaway 7ecbf695c0 build boost-build and boost-jam subpackages 2010-12-02 10:48:35 -05:00
Denis Arnaud 66e84d00b2 Added a few generated files in .gitignore. 2010-08-05 00:08:08 +02:00
Fedora Release Engineering 85b633ef91 dist-git conversion 2010-07-28 11:12:00 +00:00
Petr Machata 093249437c - Don't distribute cmake support files.
- Related: #597020
- Don't build with mpich2 on s390/s390x/arm.
2010-06-04 15:49:42 +00:00
Petr Machata 4e52b50f37 - Add an upstream patch that fixes computation of CRC in zlib streams.
- Resolves: #590205
2010-05-13 16:59:53 +00:00
Petr Machata 66e612e086 - Add a patch for serialization of shared pointers to non polymorphic types 2010-02-22 13:32:44 +00:00
Jesse Keating 3ad8deedfc Initialize branch F-13 for boost 2010-02-17 00:59:23 +00:00
7 changed files with 136 additions and 28 deletions

View File

@ -1 +0,0 @@
boost-1.41.0.cmake0.tar.bz2

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
boost-*.tar.*
boost-*.src.rpm
boost-cmake-soname.patch
clog
.build*

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: boost
# $Id: Makefile,v 1.4 2007/10/15 17:13:04 scop Exp $
NAME := boost
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -0,0 +1,21 @@
Index: /trunk/boost/iostreams/filter/zlib.hpp
===================================================================
--- /trunk/boost/iostreams/filter/zlib.hpp (revision 45783)
+++ /trunk/boost/iostreams/filter/zlib.hpp (revision 57610)
@@ -21,4 +21,5 @@
#include <new>
#include <boost/config.hpp> // MSVC, STATIC_CONSTANT, DEDUCED_TYPENAME, DINKUM.
+#include <boost/cstdint.hpp> // uint*_t
#include <boost/detail/workaround.hpp>
#include <boost/iostreams/constants.hpp> // buffer size.
@@ -44,7 +45,7 @@
// Typedefs
-typedef unsigned int uint;
-typedef unsigned char byte;
-typedef unsigned long ulong;
+typedef uint32_t uint;
+typedef uint8_t byte;
+typedef uint32_t ulong;
// Prefix 'x' prevents symbols from being redefined when Z_PREFIX is defined

View File

@ -0,0 +1,14 @@
diff -up /home/petr/fedora/boost/devel/boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp\~ /home/petr/fedora/boost/devel/boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp
--- boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp~ 2009-12-17 20:51:55.000000000 +0100
+++ boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp 2010-02-22 14:13:18.000000000 +0100
@@ -108,7 +108,7 @@ public:
struct non_polymorphic {
static const boost::serialization::extended_type_info *
get_object_identifier(T & t){
- return boost::serialization::singleton<
+ return &boost::serialization::singleton<
BOOST_DEDUCED_TYPENAME
boost::serialization::type_info_implementation<T>::type
>::get_const_instance();
Diff finished. Mon Feb 22 14:13:38 2010

View File

@ -12,12 +12,17 @@
# Configuration of MPI backends
%bcond_without mpich2
%bcond_without openmpi
%ifarch s390 s390x %{arm}
# No OpenMPI support on these arches
%bcond_with openmpi
%else
%bcond_without openmpi
%endif
Name: boost
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.41.0
Release: 6%{?dist}
Release: 11%{?dist}
License: Boost
URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/
Group: System Environment/Libraries
@ -67,6 +72,8 @@ BuildRequires: chrpath
Patch0: boost-cmake-soname.patch
Patch1: boost-graph-compile.patch
Patch2: boost-1.41.0-mapnik.patch
Patch3: boost-1.41.0-shared_ptr_serialization.patch
Patch4: boost-1.41.0-iostreams-zlib.patch
%bcond_with tests
%bcond_with docs_generated
@ -349,6 +356,30 @@ backend to do the parallel work.
%endif
%package build
Summary: Cross platform build system for C++ projects
Group: Development/Tools
Requires: boost-jam
BuildArch: noarch
%description build
Boost.Build is an easy way to build C++ projects, everywhere. You
name your executables and libraries and list their sources.
Boost.Build takes care about compiling your sources with the right
options, creating static and shared libraries, making executables,
and other chores -- whether you're using gcc, msvc, or a dozen
more supported C++ compilers -- on Windows, OSX, Linux and
commercial UNIX systems.
%package jam
Summary: A low-level build tool
Group: Development/Tools
%description jam
Boost.Jam (BJam) is the low-level build engine tool for Boost.Build.
Historically, Boost.Jam is based on on FTJam and on Perforce Jam but has grown
a number of significant features and is now developed independently
%prep
%setup -q -n %{full_version}
@ -356,6 +387,8 @@ backend to do the parallel work.
sed 's/_FEDORA_SONAME/%{sonamever}/' %{PATCH0} | %{__patch} -p0 --fuzz=0
%patch1 -p0
%patch2 -p0
%patch3 -p1
%patch4 -p2
%build
# Support for building tests.
@ -406,6 +439,13 @@ export MPI_COMPILER
%{_mpich2_unload}
%endif
# Build Boost Jam
echo ============================= build Jam ==================
pushd tools/jam
export CFLAGS="%{optflags}"
./build_dist.sh
popd
%check
%if %{with tests}
@ -506,9 +546,30 @@ done
%{__rm} -f tmp-doc-directories
%{__install} -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm index.html
echo ============================= install jam ==================
mkdir -p $RPM_BUILD_ROOT%{_bindir}
pushd tools/jam
%{__install} -m 755 stage/bin.linux*/bjam $RPM_BUILD_ROOT%{_bindir}
popd
echo ============================= install build ==================
mkdir -p $RPM_BUILD_ROOT%{_datadir}/boost-build
pushd tools/build/v2
cp -a boost-build.jam bootstrap.jam build-system.jam build/ kernel/ options/ tools/ util/ user-config.jam $RPM_BUILD_ROOT%{_datadir}/boost-build/
# Not a real file
rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/build/project.ann.py
popd
# Remove scripts used to generate include files
find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{__rm} -f {} \;
# boost support of cmake needs some tuning. For the time being, leave
# the files out, and rely on cmake's FindBoost to DTRT, as it had been
# doing in pre-cmake-boost times. For further info, see:
# https://bugzilla.redhat.com/show_bug.cgi?id=597020
%{__rm} -Rfv $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
%{__rm} -Rfv $RPM_BUILD_ROOT%{_datadir}/cmake/%{name}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
@ -652,8 +713,6 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
%doc LICENSE_1_0.txt
%{_includedir}/%{name}
%{_libdir}/libboost_*.so
%{_datadir}/%{name}-%{version}
%{_datadir}/cmake/%{name}/BoostConfig*.cmake
%files static
%defattr(-, root, root, -)
@ -720,7 +779,39 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
%endif
%files build
%defattr(-, root, root, -)
%{_datadir}/boost-build/
%files jam
%defattr(-, root, root, -)
%doc LICENSE_1_0.txt
%{_bindir}/bjam
%changelog
* Wed Dec 15 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-12
- The family of ARM machines is "%%{arm}", not "arm"
- Resolves: #663251
* Fri Dec 3 2010 Tom "spot" Callaway <spot@fedoraproject.org> - 1.41.0-11
- also package build-system.jam in boost-build
* Thu Dec 2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.41.0-10
- add boost-build, boost-jam subpackages
* Fri Jun 4 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-9
- Don't distribute cmake support files.
- Related: #597020
- Don't build with mpich2 on s390/s390x/arm.
* Tue May 11 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-8
- Add an upstream patch that fixes computation of CRC in zlib streams.
- Resolves: #590205
* Mon Feb 22 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-7
- Add a patch for serialization of shared pointers to non polymorphic
types
* Tue Feb 2 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-6
- More subpackage interdependency adjustments
- boost doesn't bring in the MPI stuff. Instead, $MPI-devel does.

View File

@ -1,2 +0,0 @@
boost-1_37_0-1_fc10:HEAD:boost-1.37.0-1.fc10.src.rpm:1229535558
boost-1_39_0-1_fc10:HEAD:boost-1.39.0-1.fc10.src.rpm:1241744899