From 8c6ac8e78ee24a5f793734cf534ea9527aff201d Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Fri, 30 Mar 2007 19:21:52 +0000 Subject: [PATCH] Version bump for bug 140362. Package-Manager: portage-2.1.2.3 --- media-libs/libgii/ChangeLog | 8 +++- media-libs/libgii/Manifest | 30 +++++++------- media-libs/libgii/files/digest-libgii-1.0.2 | 3 ++ .../libgii-1.0.2-configure-cpuid-pic.patch | 12 ++++++ media-libs/libgii/libgii-1.0.2.ebuild | 39 +++++++++++++++++++ 5 files changed, 77 insertions(+), 15 deletions(-) create mode 100644 media-libs/libgii/files/digest-libgii-1.0.2 create mode 100644 media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch create mode 100644 media-libs/libgii/libgii-1.0.2.ebuild diff --git a/media-libs/libgii/ChangeLog b/media-libs/libgii/ChangeLog index aabfc4aaa488..5bd9bf4117e3 100644 --- a/media-libs/libgii/ChangeLog +++ b/media-libs/libgii/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libgii # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/ChangeLog,v 1.28 2007/01/06 19:53:10 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/ChangeLog,v 1.29 2007/03/30 19:21:52 drac Exp $ + +*libgii-1.0.2 (30 Mar 2007) + + 30 Mar 2007; Samuli Suominen + +files/libgii-1.0.2-configure-cpuid-pic.patch, +libgii-1.0.2.ebuild: + Version bump for bug 140362. 06 Jan 2007; Danny van Dyk -libgii-0.8.1.ebuild: QA: Removed unused versions. diff --git a/media-libs/libgii/Manifest b/media-libs/libgii/Manifest index eb864830353f..ed737a8dac81 100644 --- a/media-libs/libgii/Manifest +++ b/media-libs/libgii/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX libgii-0.9.0-configure-cpuid-pic.patch 576 RMD160 4eba40d6e3b80ead91dbdd7e55c070a371e55323 SHA1 6cec058f06002c6c0151d9958cac852bdeaf954a SHA256 cc7aacee4c29af9fa746621fc40ff616e00c78da29192b4f85d9ae001d7a9a19 MD5 4aab1efd034a4b3f9ea8f82036e7cbe7 files/libgii-0.9.0-configure-cpuid-pic.patch 576 RMD160 4eba40d6e3b80ead91dbdd7e55c070a371e55323 files/libgii-0.9.0-configure-cpuid-pic.patch 576 @@ -13,19 +10,28 @@ AUX libgii-0.9.0-linux26-headers.patch 419 RMD160 24b4ea5258f3b10bc47447f57c24ed MD5 87872067beb306c082b41bfb0d3b6163 files/libgii-0.9.0-linux26-headers.patch 419 RMD160 24b4ea5258f3b10bc47447f57c24ed3bc433212e files/libgii-0.9.0-linux26-headers.patch 419 SHA256 3b8219be83b51ec8d676cea2a677bc07f20b6aee788b3c7948d9dd9000829a7c files/libgii-0.9.0-linux26-headers.patch 419 +AUX libgii-1.0.2-configure-cpuid-pic.patch 519 RMD160 9d17076b5c7577d17921e4163f878c2abdfab29d SHA1 e31bf6b7134ceb344c4c44d4968b413eb8ff7dae SHA256 c1931db83de878d406233584aba7b688dd7c11e18f986fd4377128d267d5d7f1 +MD5 2cfe96af3c8d555e357817ca06439ae5 files/libgii-1.0.2-configure-cpuid-pic.patch 519 +RMD160 9d17076b5c7577d17921e4163f878c2abdfab29d files/libgii-1.0.2-configure-cpuid-pic.patch 519 +SHA256 c1931db83de878d406233584aba7b688dd7c11e18f986fd4377128d267d5d7f1 files/libgii-1.0.2-configure-cpuid-pic.patch 519 AUX libgii-linux-headers-2.6.patch 1478 RMD160 cf539da8dedb9574b17ed42f0cd9f4e75412efa5 SHA1 abce53ca7df2c46187d9e07e10f7f91667e14d98 SHA256 152b55a2902ef48a119880b5a3d8c3af64c52e1584f8cf1551910af0929f3332 MD5 3547639e381b37fef548f22dca2bd248 files/libgii-linux-headers-2.6.patch 1478 RMD160 cf539da8dedb9574b17ed42f0cd9f4e75412efa5 files/libgii-linux-headers-2.6.patch 1478 SHA256 152b55a2902ef48a119880b5a3d8c3af64c52e1584f8cf1551910af0929f3332 files/libgii-linux-headers-2.6.patch 1478 DIST libgii-0.9.0.src.tar.gz 733125 RMD160 c766b917e0e4c72fcc118a5264d1da683eb09102 SHA1 e051661374d1a2c615af4e1f06061d27c2d7036f SHA256 0c2050e2d9ada97a85edaf320a525d5de77e4fee4e6159f993bea2033d6a4d29 +DIST libgii-1.0.2.src.tar.bz2 701099 RMD160 8109f5e9bdd061c3d90120b439c471f5c4369971 SHA1 5ee0cd4a5652df85d68303ace41b88df825a6ea0 SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d EBUILD libgii-0.9.0.ebuild 1454 RMD160 19f77bb4bd80f60307b73c683fd643380fe0b032 SHA1 1dda4d9e9f5af7ef20069d448ae235ba699a286d SHA256 7e7cae835b8a46d20ca4438164498b5391454f622f3bb120df4417d87049fe94 MD5 963df3c58a1aef75d6d490626d31c697 libgii-0.9.0.ebuild 1454 RMD160 19f77bb4bd80f60307b73c683fd643380fe0b032 libgii-0.9.0.ebuild 1454 SHA256 7e7cae835b8a46d20ca4438164498b5391454f622f3bb120df4417d87049fe94 libgii-0.9.0.ebuild 1454 -MISC ChangeLog 3538 RMD160 38fe82f87d41713f81c9129c56807f7e511e9e98 SHA1 8ff5b707175108151e340a32b44243bc29fc8eea SHA256 88b3fd38348a0c198f9d56c02c1facac9c659a5dd52587f889c242220cf0ef55 -MD5 588afccf30c9108da0a8bccf8d005571 ChangeLog 3538 -RMD160 38fe82f87d41713f81c9129c56807f7e511e9e98 ChangeLog 3538 -SHA256 88b3fd38348a0c198f9d56c02c1facac9c659a5dd52587f889c242220cf0ef55 ChangeLog 3538 +EBUILD libgii-1.0.2.ebuild 1193 RMD160 a13fce70c9106d44c89e12cdaad54f975ff3b54b SHA1 41ef9420213cc182fef4f7bc6c6264ffb933bda0 SHA256 cec625dc094af70ee70d3fbfab2833f837dce1a3157aa7e39599584da357e9dc +MD5 125d363c3c22e0574c08bd1764f52659 libgii-1.0.2.ebuild 1193 +RMD160 a13fce70c9106d44c89e12cdaad54f975ff3b54b libgii-1.0.2.ebuild 1193 +SHA256 cec625dc094af70ee70d3fbfab2833f837dce1a3157aa7e39599584da357e9dc libgii-1.0.2.ebuild 1193 +MISC ChangeLog 3714 RMD160 3b01c5662dd56297500abec084d558145284bb13 SHA1 29037c45de53ed881f64b254663e63899f205359 SHA256 94336abaed3f02ff7a6efbffbcb96b23b88678d53f92739476f851cfcda55040 +MD5 98ad5f07efc833b88fbe3df375689b10 ChangeLog 3714 +RMD160 3b01c5662dd56297500abec084d558145284bb13 ChangeLog 3714 +SHA256 94336abaed3f02ff7a6efbffbcb96b23b88678d53f92739476f851cfcda55040 ChangeLog 3714 MISC metadata.xml 237 RMD160 c8e67b9ed38f0b1f4a09268a438fd51981e0a017 SHA1 893e2795205e43c12fbb4b034fb48356f047b449 SHA256 ba5b60fec3f01393f9e5a70f37a0372d8e99b6b15934baefa95566dce16dd3d8 MD5 4a9bb1a9ddd9cc85f7698fb677bee7d7 metadata.xml 237 RMD160 c8e67b9ed38f0b1f4a09268a438fd51981e0a017 metadata.xml 237 @@ -33,10 +39,6 @@ SHA256 ba5b60fec3f01393f9e5a70f37a0372d8e99b6b15934baefa95566dce16dd3d8 metadata MD5 3207726516ab5030d02cdd25fd4b9861 files/digest-libgii-0.9.0 250 RMD160 b086f5b9dec88036969fd79df05b816faf2a80a4 files/digest-libgii-0.9.0 250 SHA256 7c7c4465cf83750bb04b60b59c9d5b4fadb6a5492266acddb560e2b58d368b38 files/digest-libgii-0.9.0 250 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.4 (GNU/Linux) - -iD8DBQFFn/4y5mJXAu5GbtIRAveXAJ9/oA1OCpVFZjjqixWn+7kFxcU9zwCeK5rm -eUkg3dD0krn4wfIURSXJW/4= -=bDD0 ------END PGP SIGNATURE----- +MD5 a03b9b381c86128cb35b59df3d85a6d5 files/digest-libgii-1.0.2 253 +RMD160 d35fe0eb619af9c39ab366f361e6a5e38bc8f01f files/digest-libgii-1.0.2 253 +SHA256 df93c951ca18f3896e9eb7f3057716a9370e98d44aae5aa4be36371b65775d68 files/digest-libgii-1.0.2 253 diff --git a/media-libs/libgii/files/digest-libgii-1.0.2 b/media-libs/libgii/files/digest-libgii-1.0.2 new file mode 100644 index 000000000000..7fa223f37486 --- /dev/null +++ b/media-libs/libgii/files/digest-libgii-1.0.2 @@ -0,0 +1,3 @@ +MD5 e002b3b3b7fae2b2558fe7ac854359b7 libgii-1.0.2.src.tar.bz2 701099 +RMD160 8109f5e9bdd061c3d90120b439c471f5c4369971 libgii-1.0.2.src.tar.bz2 701099 +SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d libgii-1.0.2.src.tar.bz2 701099 diff --git a/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch new file mode 100644 index 000000000000..f4cb50cc2593 --- /dev/null +++ b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch @@ -0,0 +1,12 @@ +diff -ur libgii-1.0.2.orig/acinclude.m4 libgii-1.0.2/acinclude.m4 +--- libgii-1.0.2.orig/acinclude.m4 2007-01-26 22:06:57.000000000 +0200 ++++ libgii-1.0.2/acinclude.m4 2007-03-30 22:06:16.000000000 +0300 +@@ -8069,7 +8069,7 @@ + #ifdef _MSC_VER + __asm cpuid + #else +- asm("cpuid": "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" (in)); ++ asm("pushl %%ebx; cpuid; movl %%ebx,%2; popl %%ebx": "=a" (a), "=r" (b), "=c" (c), "=d" (d) : "a" (in)); + #endif + return d;], + ggi_cv_cc_can_cpuid="yes", ggi_cv_cc_can_cpuid="no")]) diff --git a/media-libs/libgii/libgii-1.0.2.ebuild b/media-libs/libgii/libgii-1.0.2.ebuild new file mode 100644 index 000000000000..91ad3e7cafc3 --- /dev/null +++ b/media-libs/libgii/libgii-1.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-1.0.2.ebuild,v 1.1 2007/03/30 19:21:52 drac Exp $ + +inherit autotools eutils + +DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)" +HOMEPAGE="http://www.ggi-project.org" +SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="X" + +RDEPEND="X? ( x11-libs/libX11 ) + >=sys-kernel/linux-headers-2.6.11" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch + # Modify configure check that tries to compile the cpuid instruction + # to work on hardened compiler. Modified acinclude.m4. + epatch "${FILESDIR}"/${P}-configure-cpuid-pic.patch + # Since acinclude.m4 is modified, need to autoreconf. + eautoreconf +} + +src_compile() { + econf $(use_with X x) $(use_enable X x) + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc ChangeLog* FAQ NEWS README +} -- 2.26.2