summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-04-17 22:57:30 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-04-17 22:57:30 +0000
commit0d7578011985dfc74fec66d082a92171d7278a79 (patch)
treeea786f7c3986793dd26a7d5a7943c302dc06ea7c /dev-libs/protobuf
parentx86 stable, bug #315483 (diff)
downloadhistorical-0d7578011985dfc74fec66d082a92171d7278a79.tar.gz
historical-0d7578011985dfc74fec66d082a92171d7278a79.tar.bz2
historical-0d7578011985dfc74fec66d082a92171d7278a79.zip
Remove old versions.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/protobuf')
-rw-r--r--dev-libs/protobuf/ChangeLog11
-rw-r--r--dev-libs/protobuf/Manifest24
-rw-r--r--dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch17
-rw-r--r--dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch15
-rw-r--r--dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch17
-rw-r--r--dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch15
-rw-r--r--dev-libs/protobuf/protobuf-2.1.0.ebuild96
-rw-r--r--dev-libs/protobuf/protobuf-2.2.0a.ebuild96
8 files changed, 25 insertions, 266 deletions
diff --git a/dev-libs/protobuf/ChangeLog b/dev-libs/protobuf/ChangeLog
index 766faa3b05f5..f9c0c4198b43 100644
--- a/dev-libs/protobuf/ChangeLog
+++ b/dev-libs/protobuf/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/protobuf
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/ChangeLog,v 1.14 2010/04/02 19:22:47 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/ChangeLog,v 1.15 2010/04/17 22:57:30 nelchael Exp $
+
+ 17 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org>
+ -files/protobuf-2.0.3-decoder_test_64bit_fix.patch,
+ -protobuf-2.1.0.ebuild,
+ -files/protobuf-2.1.0-fix-emacs-byte-compile.patch,
+ -files/protobuf-2.2.0-decoder_test_64bit_fix.patch,
+ -files/protobuf-2.2.0-fix-emacs-byte-compile.patch,
+ -protobuf-2.2.0a.ebuild:
+ Remove old versions.
02 Apr 2010; Fabian Groffen <grobian@gentoo.org> protobuf-2.3.0.ebuild:
Marked ~x64-macos, bug #312589
diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 93a887727316..62ed6fdf0717 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,13 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 70protobuf-gentoo.el 170 RMD160 f6208c9a555325c1a6e1b26daee6fbc425cbfd98 SHA1 8f8f8ce9bdab9a8f9a11b16236be383488277cb3 SHA256 b6e5c2f11a63f9eb4a9382227ce8f41bfcf23213166d2fb212e21e237b2f264d
-AUX protobuf-2.0.3-decoder_test_64bit_fix.patch 935 RMD160 71b217978e1ae97e0db49292be3d325483990d03 SHA1 1c7704958ce43e958a59852eb7c71ebec092fd8d SHA256 c836602d5f0c4686122c07312892b42e8dc20c8517d8a89ff41924c0872be4b0
-AUX protobuf-2.1.0-fix-emacs-byte-compile.patch 653 RMD160 64580c8aeb0d7656096367eabb3debd4e1410d98 SHA1 78e12dbde5e8581748dac5953dd398aa7a1b6d2e SHA256 74f0fd6978eda88cfea02f3ab5b451e5400ba154f0e3443fee20a3f338af2eed
-AUX protobuf-2.2.0-decoder_test_64bit_fix.patch 935 RMD160 71b217978e1ae97e0db49292be3d325483990d03 SHA1 1c7704958ce43e958a59852eb7c71ebec092fd8d SHA256 c836602d5f0c4686122c07312892b42e8dc20c8517d8a89ff41924c0872be4b0
-AUX protobuf-2.2.0-fix-emacs-byte-compile.patch 653 RMD160 64580c8aeb0d7656096367eabb3debd4e1410d98 SHA1 78e12dbde5e8581748dac5953dd398aa7a1b6d2e SHA256 74f0fd6978eda88cfea02f3ab5b451e5400ba154f0e3443fee20a3f338af2eed
-DIST protobuf-2.1.0.tar.bz2 1286218 RMD160 f209732febc8d4cc321246c5caff2b7502d13073 SHA1 042025cac0b8f76468091bc796d3fd8807a4664f SHA256 55ead035337b248bb63243d2c6deeb42e5e88789109d14b5ae0beda6548928e1
-DIST protobuf-2.2.0a.tar.bz2 1350849 RMD160 b029fb9336c3f7e457c1c148c613e202ce252ee1 SHA1 755cd8e381478bfed8158d9cb52e4a5a2618767b SHA256 7ed69101bab0607f9fdb59ae93d0603c3c8748b2a5c91051af07c13260fb0026
DIST protobuf-2.3.0.tar.bz2 1424966 RMD160 92b9c374ce3ccbb0b0d22d08e9f9d3a5a68d1ac8 SHA1 db0fbdc58be22a676335a37787178a4dfddf93c6 SHA256 760c7707c3fe9ce801916bbd3067d711a33aa550c01b32d1e1761119cf6280ac
-EBUILD protobuf-2.1.0.ebuild 2343 RMD160 9e4315fa1f72ac413cb35e74c93497a7b8ed6d88 SHA1 a1d299408f32cba3652b4118b7c5cb03b77a2ecc SHA256 0cc39313c78b45fb67c54970b22442ed69302ce2f93f993dabbf7fcc74c6c1b0
-EBUILD protobuf-2.2.0a.ebuild 2344 RMD160 e5e3204b7c082de1c900bce39831c42e84d9e62f SHA1 60b860c029a60a63609799257001c4b0547e82a8 SHA256 4f50ace6272793c3802fae0ef6d16856b3a37de6a6b3be2183e3b8a542ec6cb3
EBUILD protobuf-2.3.0.ebuild 2208 RMD160 3cba5d6d036b4436235091bb477010955b604473 SHA1 82ddf97dafd7b82188ec49f991dcef7190c4f718 SHA256 5cd2ac6dfc86156626d0f4c54cf0759d957398bf51e776b29765346a0f2fd2a4
-MISC ChangeLog 2555 RMD160 e9883af6ebed82e80cfafd8212e42ef1fc15d7dc SHA1 1aa02e1d68481d196f7144ede79ba3ca76954a55 SHA256 697f0088aa4b80c3dd8d46743a357311d2d5648f0ba7e3ea766cc5ee8889cc20
+MISC ChangeLog 2903 RMD160 527bb362268274c9f8c75d5c8c330f753589ea10 SHA1 bf909d082438b70887e5f9a46f3edc4b34f5f512 SHA256 ae4bdf57f16df3e50d9cd4ff12be0cf398121e02628c7531e6d7a7acc92c6e13
MISC metadata.xml 259 RMD160 854ca28d16ec40e1d7e59e2416c9633513d97454 SHA1 09b1f80597e496801e479f5b2642cd04aafadb74 SHA256 e4352d15b7bff1306476d49687525386bd7acca33010e3f06ed91b963e3d5893
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iQEcBAEBAgAGBQJLyjzfAAoJEBZyv1r2qA5GZyMH/i5/Mg+16rn7tERtyncDctxy
+Jx1XDUvT5gvVUAS8j2C/LJC5tv9RYU+oqvfh5pOrdzPvl5Olwjc6QfIwBlJqTq/0
+lrDy/JUNMKoaO5VEV+Arw2Ni83K00VGGjrznJJttnR7Ke//E7Q1R7pIO/oOzBLNi
+/ieHxsxfHTzAM2QCL3nuQKx7go0da1A0y5YkWYj45qTmta+p9xRVrf1nEfmUVNZm
+2pXzo1ZIuCFiEqanxi0i5mKPphmUjzBqsr7pcWNaBlcZKtKhPOaFZblnL/MMdYpX
+oLyZgSGX72miZmuCktJHQUepMCW3Kt6SRvuoN1LoCA5VUE2GvmK5PrZittIXfsA=
+=8uZX
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch b/dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch
deleted file mode 100644
index 5a88a119e538..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naurp protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py
---- protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py 2008-12-05 19:07:15.000000000 +0100
-+++ protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py 2008-12-06 22:11:48.000000000 +0100
-@@ -106,6 +106,13 @@ class DecoderTest(unittest.TestCase):
- self.mox.ReplayAll()
- result = decoder_method(d)
- self.assertEqual(expected_result, result)
-+ # HACK: Convert all ints to longs so that different behavior
-+ # between 32-bit and 64-bit systems does not impact the result
-+ # of the test.
-+ if isinstance(result, int):
-+ result = long(result)
-+ if isinstance(expected_result, int):
-+ expected_result = long(expected_result)
- self.assert_(isinstance(result, type(expected_result)))
- self.mox.VerifyAll()
- self.mox.ResetAll()
diff --git a/dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch b/dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch
deleted file mode 100644
index 8a2381a47083..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/271007
-Fix error with byte-compilation in Emacs.
-
---- protobuf-2.1.0-orig/editors/protobuf-mode.el 2009-05-13 22:36:40.000000000 +0200
-+++ protobuf-2.1.0/editors/protobuf-mode.el 2009-05-24 13:37:04.000000000 +0200
-@@ -71,7 +71,8 @@
-
- ;; This mode does not inherit properties from other modes. So, we do not use
- ;; the usual `c-add-language' function.
--(put 'protobuf-mode 'c-mode-prefix "protobuf-")
-+(eval-and-compile
-+ (put 'protobuf-mode 'c-mode-prefix "protobuf-"))
-
- ;; The following code uses of the `c-lang-defconst' macro define syntactic
- ;; features of protocol buffer language. Refer to the documentation in the
diff --git a/dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch b/dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch
deleted file mode 100644
index 5a88a119e538..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naurp protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py
---- protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py 2008-12-05 19:07:15.000000000 +0100
-+++ protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py 2008-12-06 22:11:48.000000000 +0100
-@@ -106,6 +106,13 @@ class DecoderTest(unittest.TestCase):
- self.mox.ReplayAll()
- result = decoder_method(d)
- self.assertEqual(expected_result, result)
-+ # HACK: Convert all ints to longs so that different behavior
-+ # between 32-bit and 64-bit systems does not impact the result
-+ # of the test.
-+ if isinstance(result, int):
-+ result = long(result)
-+ if isinstance(expected_result, int):
-+ expected_result = long(expected_result)
- self.assert_(isinstance(result, type(expected_result)))
- self.mox.VerifyAll()
- self.mox.ResetAll()
diff --git a/dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch b/dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch
deleted file mode 100644
index 8a2381a47083..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/271007
-Fix error with byte-compilation in Emacs.
-
---- protobuf-2.1.0-orig/editors/protobuf-mode.el 2009-05-13 22:36:40.000000000 +0200
-+++ protobuf-2.1.0/editors/protobuf-mode.el 2009-05-24 13:37:04.000000000 +0200
-@@ -71,7 +71,8 @@
-
- ;; This mode does not inherit properties from other modes. So, we do not use
- ;; the usual `c-add-language' function.
--(put 'protobuf-mode 'c-mode-prefix "protobuf-")
-+(eval-and-compile
-+ (put 'protobuf-mode 'c-mode-prefix "protobuf-"))
-
- ;; The following code uses of the `c-lang-defconst' macro define syntactic
- ;; features of protocol buffer language. Refer to the documentation in the
diff --git a/dev-libs/protobuf/protobuf-2.1.0.ebuild b/dev-libs/protobuf/protobuf-2.1.0.ebuild
deleted file mode 100644
index a821620fbb5f..000000000000
--- a/dev-libs/protobuf/protobuf-2.1.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.1.0.ebuild,v 1.3 2009/05/24 22:32:50 nelchael Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="source"
-
-inherit eutils distutils python java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${PF}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs examples java python vim-syntax"
-
-DEPEND="${DEPEND} java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools )
- emacs? ( virtual/emacs )"
-RDEPEND="${RDEPEND} java? ( >=virtual/jre-1.5 )
- emacs? ( virtual/emacs )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-2.0.3-decoder_test_64bit_fix.patch"
- epatch "${FILESDIR}/${PN}-2.1.0-fix-emacs-byte-compile.patch"
-}
-
-src_compile() {
- emake || die
-
- if use python; then
- cd python; distutils_src_compile; cd ..
- fi
-
- if use java; then
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd
- jar cf "${PN}.jar" -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}/editors/protobuf-mode.el" || die "elisp-compile failed!"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
-
- if use python; then
- cd python; distutils_src_install; cd ..
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el* || die "elisp-install failed!"
- elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/* || die "doins examples failed"
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- cd python; ${python} setup.py test || die "python test failed"
- cd ..
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.2.0a.ebuild b/dev-libs/protobuf/protobuf-2.2.0a.ebuild
deleted file mode 100644
index 960c97235085..000000000000
--- a/dev-libs/protobuf/protobuf-2.2.0a.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.2.0a.ebuild,v 1.2 2009/11/28 10:41:39 nelchael Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="source"
-
-inherit eutils distutils python java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${PF}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs examples java python vim-syntax"
-
-DEPEND="${DEPEND} java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools )
- emacs? ( virtual/emacs )"
-RDEPEND="${RDEPEND} java? ( >=virtual/jre-1.5 )
- emacs? ( virtual/emacs )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-2.2.0-decoder_test_64bit_fix.patch"
- epatch "${FILESDIR}/${PN}-2.2.0-fix-emacs-byte-compile.patch"
-}
-
-src_compile() {
- emake || die
-
- if use python; then
- cd python; distutils_src_compile; cd ..
- fi
-
- if use java; then
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd
- jar cf "${PN}.jar" -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}/editors/protobuf-mode.el" || die "elisp-compile failed!"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
-
- if use python; then
- cd python; distutils_src_install; cd ..
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el* || die "elisp-install failed!"
- elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/* || die "doins examples failed"
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- cd python; ${python} setup.py test || die "python test failed"
- cd ..
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}