summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/openthreads')
-rw-r--r--dev-libs/openthreads/ChangeLog4
-rw-r--r--dev-libs/openthreads/Manifest20
-rw-r--r--dev-libs/openthreads/files/digest-openthreads-1.4.23
-rw-r--r--dev-libs/openthreads/files/openthreads-1.4.2-build.patch52
-rw-r--r--dev-libs/openthreads/openthreads-1.4.2.ebuild58
5 files changed, 133 insertions, 4 deletions
diff --git a/dev-libs/openthreads/ChangeLog b/dev-libs/openthreads/ChangeLog
index 37ae0a7e6..833fff6ab 100644
--- a/dev-libs/openthreads/ChangeLog
+++ b/dev-libs/openthreads/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 09 Sep 2006; Cedric Krier <ced@ced.homedns.org> +openthreads-1.4.2.ebuild,
+ +files/openthreads-1.4.2-build.patch:
+ Version bump
+
09 Sep 2006; Cedric Krier <ced@ced.homedns.org> +openthreads-1.2.1.ebuild,
+files/openthreads-1.2.1-build.patch, +metadata.xml:
New Ebuild for bug 60892 thanks to Eric Gottlieb, will@johnstonclan.net, jon
diff --git a/dev-libs/openthreads/Manifest b/dev-libs/openthreads/Manifest
index 8be35e5af..34b76a87b 100644
--- a/dev-libs/openthreads/Manifest
+++ b/dev-libs/openthreads/Manifest
@@ -2,15 +2,24 @@ AUX openthreads-1.2.1-build.patch 1216 RMD160 79cbbffe7014d0f19adf7da57668ac20fe
MD5 0b281b78178d98dabfe28cdfe666551f files/openthreads-1.2.1-build.patch 1216
RMD160 79cbbffe7014d0f19adf7da57668ac20fea68f9d files/openthreads-1.2.1-build.patch 1216
SHA256 6ab2a455d6998b63a5c8d55f61680c88b05271b092c9dbdde666532754725cf9 files/openthreads-1.2.1-build.patch 1216
+AUX openthreads-1.4.2-build.patch 1694 RMD160 55a05b0ec236b6afc7f1cf7e8f382a49d2e223c1 SHA1 cdae0d8b2216be6b7bf8265565a28014ef36ec36 SHA256 df5cb99cba9823697cde5190fa813b85e14b994a33a22c51e754224766088bcb
+MD5 36015c7ca9a818cd0596b7fb5c58371d files/openthreads-1.4.2-build.patch 1694
+RMD160 55a05b0ec236b6afc7f1cf7e8f382a49d2e223c1 files/openthreads-1.4.2-build.patch 1694
+SHA256 df5cb99cba9823697cde5190fa813b85e14b994a33a22c51e754224766088bcb files/openthreads-1.4.2-build.patch 1694
+DIST OpenThreads-1.4.2.zip 128625 RMD160 5624d12bbf63f7ca30a9e8213acd6c44861dbe16 SHA1 bf9b71c9b7666f93f62f5e3c70acaad9413ce2e0 SHA256 6e1940d5de282292a2706fc179b3676d9205e3f511fc24cb3052606cf75be8af
DIST OpenThreads-v1.2dev2-osg0.9.5.tar.gz 54295 RMD160 c4518c38a2ae04ad1e2ef4d9515593235c624b22 SHA1 946ce92de982fb7f7940c93cdb6bb8558f0eae6e SHA256 3aa96a0b2d947d82ae87f2632e37c56f6a242b08964dd0ce0b16666d7ad33977
EBUILD openthreads-1.2.1.ebuild 1144 RMD160 bdb1fca01b686fa3a976bca4241f830541688e04 SHA1 645e85048c35bd1e9fd0a313d8ac53a2eea3755c SHA256 bba8aa6c56be7d509f3dad95fa67b680828c239f525b1f4e6871516609f2467a
MD5 fd312a0286c40f30d0e88802ab5fc466 openthreads-1.2.1.ebuild 1144
RMD160 bdb1fca01b686fa3a976bca4241f830541688e04 openthreads-1.2.1.ebuild 1144
SHA256 bba8aa6c56be7d509f3dad95fa67b680828c239f525b1f4e6871516609f2467a openthreads-1.2.1.ebuild 1144
-MISC ChangeLog 429 RMD160 9050767ac141759be180dab0751cadc3d1ca4c02 SHA1 801f20902994c35e78c4a97dc4e310fec6e4460e SHA256 3e7a63feae13ee4242b98cdbcc182528b88c2a830e78af57f2e91e2b25bd15e1
-MD5 5c2e49380a81d3c909b0dfe295fd748c ChangeLog 429
-RMD160 9050767ac141759be180dab0751cadc3d1ca4c02 ChangeLog 429
-SHA256 3e7a63feae13ee4242b98cdbcc182528b88c2a830e78af57f2e91e2b25bd15e1 ChangeLog 429
+EBUILD openthreads-1.4.2.ebuild 1198 RMD160 86f9f25b153e45f2b052678d159c6c4a2c5fe4a7 SHA1 4607addf2e4500598ceedcedb0333d3d3dc8b4b8 SHA256 c40f278e0dfee2cf4307d125556120c6e66c71c0b89ccfb3b543fc76df180bab
+MD5 a72e8e3eb31b64205d7efd3ed8b55dfd openthreads-1.4.2.ebuild 1198
+RMD160 86f9f25b153e45f2b052678d159c6c4a2c5fe4a7 openthreads-1.4.2.ebuild 1198
+SHA256 c40f278e0dfee2cf4307d125556120c6e66c71c0b89ccfb3b543fc76df180bab openthreads-1.4.2.ebuild 1198
+MISC ChangeLog 562 RMD160 f1f3eb4bf70af939f1ed30839245b0742750b8f2 SHA1 58e56f5090c9a28dd98dd99b8d9f409a1c34448b SHA256 2dba63f44c2c0c493e0d6b11eaa0d6a890e7d2c240685aed263ce0a449987297
+MD5 bdd88379639e68c9231b43617a2e59e8 ChangeLog 562
+RMD160 f1f3eb4bf70af939f1ed30839245b0742750b8f2 ChangeLog 562
+SHA256 2dba63f44c2c0c493e0d6b11eaa0d6a890e7d2c240685aed263ce0a449987297 ChangeLog 562
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -18,3 +27,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 24b2fc748eef3a8c3565514c048e7728 files/digest-openthreads-1.2.1 286
RMD160 97cb813faf2d0e89be275df298df8814c17c9857 files/digest-openthreads-1.2.1 286
SHA256 64838f85b14adf64e06ee3b57b4539fc1713ed8398b29edec0f9b30a4f5da438 files/digest-openthreads-1.2.1 286
+MD5 7b0e685c15a2f10aba9583d7f3c7e6dc files/digest-openthreads-1.4.2 244
+RMD160 bdcc3524d55c7970f52fe2d87b2cd3ae09f4be3e files/digest-openthreads-1.4.2 244
+SHA256 2ec8507be46a192933e74582cac7b938e99d2038b5be72df56f9eeb89f8dba27 files/digest-openthreads-1.4.2 244
diff --git a/dev-libs/openthreads/files/digest-openthreads-1.4.2 b/dev-libs/openthreads/files/digest-openthreads-1.4.2
new file mode 100644
index 000000000..f8b31d5cb
--- /dev/null
+++ b/dev-libs/openthreads/files/digest-openthreads-1.4.2
@@ -0,0 +1,3 @@
+MD5 76bf55b7c18cc528c845eab1f06c2e07 OpenThreads-1.4.2.zip 128625
+RMD160 5624d12bbf63f7ca30a9e8213acd6c44861dbe16 OpenThreads-1.4.2.zip 128625
+SHA256 6e1940d5de282292a2706fc179b3676d9205e3f511fc24cb3052606cf75be8af OpenThreads-1.4.2.zip 128625
diff --git a/dev-libs/openthreads/files/openthreads-1.4.2-build.patch b/dev-libs/openthreads/files/openthreads-1.4.2-build.patch
new file mode 100644
index 000000000..ee463eb34
--- /dev/null
+++ b/dev-libs/openthreads/files/openthreads-1.4.2-build.patch
@@ -0,0 +1,52 @@
+diff -ru OpenThreads~/Make/makedefs OpenThreads/Make/makedefs
+--- OpenThreads~/Make/makedefs 2006-09-10 00:03:38.000000000 +0200
++++ OpenThreads/Make/makedefs 2006-09-10 00:05:50.000000000 +0200
+@@ -68,8 +68,8 @@
+
+ INC = -I$(TOPDIR)/include
+
+-CXXFLAGS = $(ARCHARGS) $(DOF) $(DEF) $(INC)
+-LDFLAGS = $(ARCHARGS) $(DOF) $(LINKARGS) -L$(TOPDIR)/lib/$(OS)$(ARCH)
++CXXFLAGS += -Wall $(ARCHARGS) $(DOF) $(DEF) $(INC)
++LDFLAGS += $(ARCHARGS) $(DOF) $(LINKARGS) -L$(TOPDIR)/lib/$(OS)$(ARCH)
+ OBJS = $(CXXFILES:.cpp=.o) \
+ $(C++FILES:.c++=.o) \
+ $(CFILES:.c=.o) \
+@@ -100,7 +100,7 @@
+ INSTLINKCMD = $(LINK)
+
+ LIB_PREFIX = lib
+-LIB_EXT = so
++LIB_EXT = so.$(VERSION)
+
+ MAKEDIST = echo " === Distribution build is not implemented yet for $(OS)"; printf "\n"
+ INSTLOGFILE = /tmp/.openThreads_inst_log
+@@ -227,12 +227,12 @@
+ CXX = g++
+ endif
+
+-ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES")
+- LDFLAGS += -Wl,-soname -Wl,$@.$(LIB_EXT).0
+-endif
++#ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES")
++ LDFLAGS += -Wl,-soname -Wl,$@.$(LIB_EXT)
++#endif
+
+ ###DEF += -fPIC
+- OPTF = -O2
++ #OPTF = -O2
+ DBGF = -ggdb -gstabs
+ ifeq ($(SYSARCH),x86_64)
+ ARCH = 64
+@@ -251,9 +251,9 @@
+ SHARED = -shared
+ ARCHARGS =
+ ifeq ($(SYSARCH),x86_64)
+- LINKARGS = -L/usr/X11R6/lib64
++ LINKARGS = -L/usr/lib64
+ else
+- LINKARGS = -L/usr/X11R6/lib
++ LINKARGS = -L/usr/lib
+ endif
+ MAKEDIST = $(TOPDIR)/Make/makerpms
+ endif
diff --git a/dev-libs/openthreads/openthreads-1.4.2.ebuild b/dev-libs/openthreads/openthreads-1.4.2.ebuild
new file mode 100644
index 000000000..635041ebe
--- /dev/null
+++ b/dev-libs/openthreads/openthreads-1.4.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fixheadtails toolchain-funcs multilib
+
+MY_PN="OpenThreads"
+
+DESCRIPTION="a minimal & complete Object-Oriented thread interface for C++"
+HOMEPAGE="http://www.openscenegraph.org/"
+SRC_URI="http://www.openscenegraph.org/downloads/dependencies/${MY_PN}-${PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc examples"
+
+DEPEND="app-arch/unzip
+ doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+
+ ht_fix_all
+}
+
+src_compile() {
+ emake CXX=$(tc-getCXX) || die "emake failed"
+
+ if use doc; then
+ cd docs
+ doxygen doxyfile
+ fi
+}
+
+src_install() {
+ emake INST_LOCATION="${D}"/usr install || die "emake install failed"
+
+ dosym /usr/$(get_libdir)/lib${MY_PN}.so{.${PV},}
+ dosym /usr/$(get_libdir)/lib${MY_PN}.so.{${PV},${PV%%.*}}
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins Make/producer.pc
+
+ dodoc AUTHORS.txt ChangeLog README.txt TODO.txt
+
+ use doc && dohtml -r docs/html/*
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples_src/*
+ fi
+}