summaryrefslogtreecommitdiff
path: root/data/boost
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/boost
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/boost')
-rw-r--r--data/boost/_metadata/description2
-rw-r--r--data/boost/_metadata/license23
l---------data/boost/_metadata/maintainer1
-rw-r--r--data/boost/_metadata/priority1
-rw-r--r--data/boost/_metadata/section1
-rw-r--r--data/boost/_metadata/version1
-rw-r--r--data/boost/boost_1_34_1.tar.gzbin0 -> 16017741 bytes
-rw-r--r--data/boost/make.sh14
-rw-r--r--data/boost/port.diff162
9 files changed, 205 insertions, 0 deletions
diff --git a/data/boost/_metadata/description b/data/boost/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/boost/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/boost/_metadata/license b/data/boost/_metadata/license
new file mode 100644
index 000000000..36b7cd93c
--- /dev/null
+++ b/data/boost/_metadata/license
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/data/boost/_metadata/maintainer b/data/boost/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/boost/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/boost/_metadata/priority b/data/boost/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/boost/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/boost/_metadata/section b/data/boost/_metadata/section
new file mode 100644
index 000000000..f99e8394e
--- /dev/null
+++ b/data/boost/_metadata/section
@@ -0,0 +1 @@
+platform
diff --git a/data/boost/_metadata/version b/data/boost/_metadata/version
new file mode 100644
index 000000000..a95a46d9f
--- /dev/null
+++ b/data/boost/_metadata/version
@@ -0,0 +1 @@
+1.34.1
diff --git a/data/boost/boost_1_34_1.tar.gz b/data/boost/boost_1_34_1.tar.gz
new file mode 100644
index 000000000..da01fdb6b
--- /dev/null
+++ b/data/boost/boost_1_34_1.tar.gz
Binary files differ
diff --git a/data/boost/make.sh b/data/boost/make.sh
new file mode 100644
index 000000000..75f76d8a4
--- /dev/null
+++ b/data/boost/make.sh
@@ -0,0 +1,14 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/boost_1_34_1.tar.gz"
+cd boost_1_34_1
+pkg:patch
+./configure --prefix=/usr --without-icu --without-libraries=python
+echo 'using darwin ;' >user-config.jam
+make
+make install PREFIX="${PKG_DEST}/usr"
+rm -f "${PKG_DEST}"/usr/lib/*-d?(-+([0-9_])).@(a|dylib)
+for na in "${PKG_DEST}"/usr/lib/*-+([0-9_]).a; do
+ a=${na/-+([0-9_]).a/.a}
+ rm -f "$a"
+ ln -s "$(basename "$na")" "$a"
+done
diff --git a/data/boost/port.diff b/data/boost/port.diff
new file mode 100644
index 000000000..c1747eeb4
--- /dev/null
+++ b/data/boost/port.diff
@@ -0,0 +1,162 @@
+diff -ru boost_1_34_1/boost/test/impl/execution_monitor.ipp boost_1_34_1+iPhone/boost/test/impl/execution_monitor.ipp
+--- boost_1_34_1/boost/test/impl/execution_monitor.ipp 2006-02-22 16:14:45.000000000 +0000
++++ boost_1_34_1+iPhone/boost/test/impl/execution_monitor.ipp 2007-12-29 13:59:38.000000000 +0000
+@@ -85,7 +85,9 @@
+
+ # include <unistd.h>
+ # include <signal.h>
++extern "C" {
+ # include <setjmp.h>
++}
+
+ #else
+
+diff -ru boost_1_34_1/configure boost_1_34_1+iPhone/configure
+--- boost_1_34_1/configure 2007-05-09 22:09:39.000000000 +0000
++++ boost_1_34_1+iPhone/configure 2007-12-29 14:31:08.000000000 +0000
+@@ -339,8 +339,8 @@
+ @cd status && ../\$(BJAM) \$(BJAM_CONFIG) --user-config=../user-config.jam || echo "Some Boost regression tests failed. This is normal for many compilers."
+
+ install: .dummy
+- @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) --exec-prefix=\$(EPREFIX) --libdir=\$(LIBDIR) --includedir=\$(INCLUDEDIR) \$(LIBS) install"
+- @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) --exec-prefix=\$(EPREFIX) --libdir=\$(LIBDIR) --includedir=\$(INCLUDEDIR) \$(LIBS) install || echo "Not all Boost libraries built properly."
++ @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) \$(LIBS) install"
++ @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) \$(LIBS) install || echo "Not all Boost libraries built properly."
+
+ .dummy:
+
+diff -ru boost_1_34_1/libs/serialization/build/Jamfile.v2 boost_1_34_1+iPhone/libs/serialization/build/Jamfile.v2
+--- boost_1_34_1/libs/serialization/build/Jamfile.v2 2006-03-06 08:20:39.000000000 +0000
++++ boost_1_34_1+iPhone/libs/serialization/build/Jamfile.v2 2007-12-29 13:50:00.000000000 +0000
+@@ -60,11 +60,3 @@
+ :
+ : <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
+ ;
+-
+-lib boost_wserialization
+- : $(WSOURCES).cpp boost_serialization
+- : <toolset>msvc:<cxxflags>/Gy
+- <link>shared:<define>BOOST_WSERIALIZATION_DYN_LINK=1
+- :
+- : <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
+- ;
+diff -ru boost_1_34_1/tools/build/v2/test/BoostBuild.py boost_1_34_1+iPhone/tools/build/v2/test/BoostBuild.py
+--- boost_1_34_1/tools/build/v2/test/BoostBuild.py 2006-11-10 07:41:29.000000000 +0000
++++ boost_1_34_1+iPhone/tools/build/v2/test/BoostBuild.py 2007-12-29 09:35:11.000000000 +0000
+@@ -43,8 +43,7 @@
+ if toolset in ["gcc"]:
+ suffixes['.lib'] = '.a' # static libs have '.a' suffix with mingw...
+ suffixes['.obj'] = '.o'
+- if os.__dict__.has_key('uname') and os.uname()[0] == 'Darwin':
+- suffixes['.dll'] = '.dylib'
++ suffixes['.dll'] = '.dylib'
+
+ def re_remove(sequence,regex):
+ me = re.compile(regex)
+diff -ru boost_1_34_1/tools/build/v2/tools/darwin.jam boost_1_34_1+iPhone/tools/build/v2/tools/darwin.jam
+--- boost_1_34_1/tools/build/v2/tools/darwin.jam 2007-03-15 04:02:23.000000000 +0000
++++ boost_1_34_1+iPhone/tools/build/v2/tools/darwin.jam 2007-12-29 13:45:29.000000000 +0000
+@@ -31,7 +31,7 @@
+ rule init ( version ? : command * : options * )
+ {
+ local condition = [ common.check-init-parameters darwin : version $(version) ] ;
+- local command = [ common.get-invocation-command darwin : g++ : $(command) ] ;
++ local command = [ common.get-invocation-command darwin : arm-apple-darwin-g++ : $(command) ] ;
+
+ common.handle-options darwin : $(condition) : $(command) : $(options) ;
+
+@@ -42,6 +42,7 @@
+ flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ;
+ }
+
++ #flags darwin.compile.c++ OPTIONS : -v ;
+ gcc.init-link-flags darwin darwin $(condition) ;
+
+ flags darwin.link NEED_STRIP $(condition)/<debug-symbols>off : "" ;
+@@ -86,7 +87,7 @@
+
+ actions link.dll bind LIBRARIES
+ {
+- $(CONFIG_COMMAND) -dynamiclib -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
++ $(CONFIG_COMMAND) -dynamiclib -single_module -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
+ }
+
+ actions piecemeal archive
+diff -ru boost_1_34_1/tools/build/v2/tools/gcc.jam boost_1_34_1+iPhone/tools/build/v2/tools/gcc.jam
+--- boost_1_34_1/tools/build/v2/tools/gcc.jam 2007-06-12 04:47:49.000000000 +0000
++++ boost_1_34_1+iPhone/tools/build/v2/tools/gcc.jam 2007-12-29 09:30:15.000000000 +0000
+@@ -62,7 +62,7 @@
+ {
+ # Information about the gcc command...
+ # The command.
+- local command = [ common.get-invocation-command gcc : g++ : $(command) ] ;
++ local command = [ common.get-invocation-command gcc : arm-apple-darwin-g++ : $(command) ] ;
+ # The root directory of the tool install.
+ local root = [ feature.get-values <root> : $(options) ] ;
+ # The bin directory where to find the command to execute.
+@@ -109,17 +109,7 @@
+ common.handle-options gcc : $(condition) : $(command) : $(options) ;
+
+ local linker = [ feature.get-values <linker-type> : $(options) ] ;
+- if ! $(linker) {
+-
+- if [ os.name ] = OSF
+- {
+- linker = osf ;
+- }
+- else
+- {
+- linker = gnu ;
+- }
+- }
++ linker = darwin ;
+ init-link-flags gcc $(linker) $(condition) ;
+
+
+@@ -310,14 +300,6 @@
+ # to implement and will increase target path length even more.
+ flags gcc.compile OPTIONS <link>shared : -fPIC ;
+ }
+-if [ os.name ] != NT && [ os.name ] != OSF
+-{
+- # OSF does have an option called -soname but it doesn't seem to work as
+- # expected, therefore it has been disabled.
+-
+- HAVE_SONAME = "" ;
+- SONAME_OPTION = -h ;
+-}
+
+
+
+@@ -629,7 +611,7 @@
+ # Differ from 'link' above only by -shared.
+ actions link.dll bind LIBRARIES
+ {
+- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
++ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -dynamiclib $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
+ }
+
+ # Set up threading support. It's somewhat contrived, so perform it at the end,
+diff -ru boost_1_34_1/tools/jam/src/jam.c boost_1_34_1+iPhone/tools/jam/src/jam.c
+--- boost_1_34_1/tools/jam/src/jam.c 2005-11-15 05:44:03.000000000 +0000
++++ boost_1_34_1+iPhone/tools/jam/src/jam.c 2007-12-29 09:28:28.000000000 +0000
+@@ -375,7 +375,7 @@
+ list_new(
+ list_new(
+ list_new( L0,
+- newstr( u.sysname ) ),
++ newstr( "Darwin" ) ),
+ newstr( u.nodename ) ),
+ newstr( u.release ) ),
+ newstr( u.version ) ),
+diff -ru boost_1_34_1/tools/jam/src/jam.h boost_1_34_1+iPhone/tools/jam/src/jam.h
+--- boost_1_34_1/tools/jam/src/jam.h 2005-10-16 15:34:27.000000000 +0000
++++ boost_1_34_1+iPhone/tools/jam/src/jam.h 2007-12-29 09:42:21.000000000 +0000
+@@ -556,4 +556,7 @@
+ # define DEBUG_GRAPH ( globs.debug[ 12 ] ) /* debug dependencies */
+ # define DEBUG_FATE ( globs.debug[ 13 ] ) /* show changes to fate in make0() */
+
++# undef OSMINOR
++# define OSMINOR "OS=MACOSX"
++
+ #endif