From a3504b9b42ad6e58da8dcee8a114095712c6df2d Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 10 Jan 2007 21:54:33 +0000 Subject: [PATCH] add some fixes Package-Manager: portage-2.1.2_rc4-r7 --- net-p2p/transmission/ChangeLog | 11 +++- net-p2p/transmission/Manifest | 23 ++++++-- .../files/digest-transmission-0.6.1-r1 | 3 ++ .../files/transmission-0.6.1-as-needed.patch | 11 ++++ .../files/transmission-0.6.1-gtk+-check.patch | 11 ++++ .../transmission/transmission-0.6.1-r1.ebuild | 53 +++++++++++++++++++ 6 files changed, 106 insertions(+), 6 deletions(-) create mode 100644 net-p2p/transmission/files/digest-transmission-0.6.1-r1 create mode 100644 net-p2p/transmission/files/transmission-0.6.1-as-needed.patch create mode 100644 net-p2p/transmission/files/transmission-0.6.1-gtk+-check.patch create mode 100644 net-p2p/transmission/transmission-0.6.1-r1.ebuild diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog index 559d49842674..48ee476e06ea 100644 --- a/net-p2p/transmission/ChangeLog +++ b/net-p2p/transmission/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-p2p/transmission -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.5 2006/08/15 23:58:18 squinky86 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.6 2007/01/10 21:54:33 compnerd Exp $ + +*transmission-0.6.1-r1 (10 Jan 2007) + + 10 Jan 2007; + +files/transmission-0.6.1-as-needed.patch, + +files/transmission-0.6.1-gtk+-check.patch, +transmission-0.6.1-r1.ebuild: + Add fixes for as-needed, install, and remove ssl's useflag 15 Aug 2006; Jon Hood +files/0.6.1-configure.patch, transmission-0.6.1.ebuild: diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest index faadf4fb3cce..ae5e616c4556 100644 --- a/net-p2p/transmission/Manifest +++ b/net-p2p/transmission/Manifest @@ -2,6 +2,14 @@ AUX 0.6.1-configure.patch 494 RMD160 6a6b6b921acc703f76bfaf692c0e865a7dae9a25 SH MD5 447919de49d12cc86e880afb13218853 files/0.6.1-configure.patch 494 RMD160 6a6b6b921acc703f76bfaf692c0e865a7dae9a25 files/0.6.1-configure.patch 494 SHA256 00376d0971ad599c02aaccff88709f796a1532f5c88f96a3f240cf1d911d7e3e files/0.6.1-configure.patch 494 +AUX transmission-0.6.1-as-needed.patch 287 RMD160 5ce913a0333feaa121029416a244131bda18f0f6 SHA1 3fa9dc9fa3ef8050c20e3f9bb170f7f6309f896e SHA256 1ed37822a18234903c4237464bd1fefa8ec30f81918f391c2b1684a014717d20 +MD5 cf472745bf6b892373c6b208e3fb2fb1 files/transmission-0.6.1-as-needed.patch 287 +RMD160 5ce913a0333feaa121029416a244131bda18f0f6 files/transmission-0.6.1-as-needed.patch 287 +SHA256 1ed37822a18234903c4237464bd1fefa8ec30f81918f391c2b1684a014717d20 files/transmission-0.6.1-as-needed.patch 287 +AUX transmission-0.6.1-gtk+-check.patch 375 RMD160 576773a1baa6164f786a2d63240720adf4e6d031 SHA1 538fe0727cb26981d01898be2d828a4710f3ea0e SHA256 a5501e833078db8435e1c20782fc25fe9e72b81f7ecebefd1cb0c7c971ff5a29 +MD5 2e0b131b747d796c35b88caf95670567 files/transmission-0.6.1-gtk+-check.patch 375 +RMD160 576773a1baa6164f786a2d63240720adf4e6d031 files/transmission-0.6.1-gtk+-check.patch 375 +SHA256 a5501e833078db8435e1c20782fc25fe9e72b81f7ecebefd1cb0c7c971ff5a29 files/transmission-0.6.1-gtk+-check.patch 375 AUX transmission.desktop 286 RMD160 c9a73d30a323d89e52e0715ddbb4cab78c374f17 SHA1 f214f283587fc5df7297ca03d5f74348b7fb31bc SHA256 190527892d668058f010b7611dff29f4740925d312911ffca3e8675cd7f542e3 MD5 910d0f149a82cdf5eb80fd5953d92081 files/transmission.desktop 286 RMD160 c9a73d30a323d89e52e0715ddbb4cab78c374f17 files/transmission.desktop 286 @@ -17,6 +25,10 @@ EBUILD transmission-0.5-r1.ebuild 985 RMD160 c9f6f5d104cbaa395e1f24d452e15865297 MD5 55e272b7cbbd699b7bcb968c997ac3e8 transmission-0.5-r1.ebuild 985 RMD160 c9f6f5d104cbaa395e1f24d452e1586529724426 transmission-0.5-r1.ebuild 985 SHA256 09837c501fa900cfc9c770ca02cc0a2768cdf8e65c4217689b9af39997cf9788 transmission-0.5-r1.ebuild 985 +EBUILD transmission-0.6.1-r1.ebuild 1271 RMD160 685d0b1c16f4324a1db497a6608ab30fe2c1b027 SHA1 dd1f8a96aa1fb2a8d2fdc77f99c6aa80d8b795e2 SHA256 c6d9f70c55a2de487e0e608ac5cc982cc4dcb1966cf68619d0865802d2a8abfa +MD5 ec8964e8df29e4c44bd95a93864797be transmission-0.6.1-r1.ebuild 1271 +RMD160 685d0b1c16f4324a1db497a6608ab30fe2c1b027 transmission-0.6.1-r1.ebuild 1271 +SHA256 c6d9f70c55a2de487e0e608ac5cc982cc4dcb1966cf68619d0865802d2a8abfa transmission-0.6.1-r1.ebuild 1271 EBUILD transmission-0.6.1.ebuild 1101 RMD160 ca45bc5c0f0fb57a54532e753db7c546af3b8a30 SHA1 a9d74f8aba4120ae1acc45e290e76c955a14b80a SHA256 7cbbfd085458d764beff7f78094aead8fe74b9729a3a66fd1e3af990f26a8ca3 MD5 240c0469a56cf8e310acca945a1afca1 transmission-0.6.1.ebuild 1101 RMD160 ca45bc5c0f0fb57a54532e753db7c546af3b8a30 transmission-0.6.1.ebuild 1101 @@ -25,10 +37,10 @@ EBUILD transmission-0.6.ebuild 1016 RMD160 5615f2f7761433522b32ecdafbbe27ba4b0fb MD5 4ab9bff9d9f10d6beae010ba96c24a46 transmission-0.6.ebuild 1016 RMD160 5615f2f7761433522b32ecdafbbe27ba4b0fbbb2 transmission-0.6.ebuild 1016 SHA256 86d98b6c2f1ce55fa3083f51f9c1b81bdbc040a76ad9fded2f36ae3beb656aa6 transmission-0.6.ebuild 1016 -MISC ChangeLog 1186 RMD160 6d385dcacea60ede712d0c8518f7a531a28312f8 SHA1 0b23b851bf41fd8f158d43d19ae11431581a5993 SHA256 8acf59f1af8d5524c59e4c5c11c1ad65852219b00f8fcabb9b911cf847751680 -MD5 a2e3d2399ff629df660afc92a3713f8f ChangeLog 1186 -RMD160 6d385dcacea60ede712d0c8518f7a531a28312f8 ChangeLog 1186 -SHA256 8acf59f1af8d5524c59e4c5c11c1ad65852219b00f8fcabb9b911cf847751680 ChangeLog 1186 +MISC ChangeLog 1444 RMD160 78d416cc9570f2e6e113fe5d2506bf6739901fe9 SHA1 dc3fb030a26fc8e5d5fff32ad343379ded13499b SHA256 00af7b9f40d65a6add3beb13c4942824a70b8a3de6be0ec671d62d154a6c5a8d +MD5 e1924b959835ba09e8624c30cf17a313 ChangeLog 1444 +RMD160 78d416cc9570f2e6e113fe5d2506bf6739901fe9 ChangeLog 1444 +SHA256 00af7b9f40d65a6add3beb13c4942824a70b8a3de6be0ec671d62d154a6c5a8d ChangeLog 1444 MISC metadata.xml 249 RMD160 38da73e9ff96e4dee4f6777663921cc783d62275 SHA1 f34f21bd6835f434a510380c0dd0671a4c37a831 SHA256 2f1489340045cbe5f1d4bf40113fd8219e1b8f40fd13e40086defd9b2bb008ac MD5 17962a184725595e32029c854e3dbd13 metadata.xml 249 RMD160 38da73e9ff96e4dee4f6777663921cc783d62275 metadata.xml 249 @@ -42,3 +54,6 @@ SHA256 25208f476cd1cacbabb36b8b95c1a82a290b827d727b80fedc07053fd5ee7632 files/di MD5 a2a9074cd068061796db342bbe185fb1 files/digest-transmission-0.6.1 256 RMD160 d53c15fd9b7e70b816327b7e53a7222fc0e93540 files/digest-transmission-0.6.1 256 SHA256 f14fff3120383d791c1458b9c7c5270fd6c009da6f7c6f00380b396d2520a0cc files/digest-transmission-0.6.1 256 +MD5 a2a9074cd068061796db342bbe185fb1 files/digest-transmission-0.6.1-r1 256 +RMD160 d53c15fd9b7e70b816327b7e53a7222fc0e93540 files/digest-transmission-0.6.1-r1 256 +SHA256 f14fff3120383d791c1458b9c7c5270fd6c009da6f7c6f00380b396d2520a0cc files/digest-transmission-0.6.1-r1 256 diff --git a/net-p2p/transmission/files/digest-transmission-0.6.1-r1 b/net-p2p/transmission/files/digest-transmission-0.6.1-r1 new file mode 100644 index 000000000000..1b4c2f493096 --- /dev/null +++ b/net-p2p/transmission/files/digest-transmission-0.6.1-r1 @@ -0,0 +1,3 @@ +MD5 1156a88c77ab71782b9261881ea13811 Transmission-0.6.1.tar.gz 447868 +RMD160 cef6e825b72bad7565fa756ec298cbb8167c107f Transmission-0.6.1.tar.gz 447868 +SHA256 e427a78c680052edffb5850e31956c077c174dfa6c22ab1433d8c03617f914c0 Transmission-0.6.1.tar.gz 447868 diff --git a/net-p2p/transmission/files/transmission-0.6.1-as-needed.patch b/net-p2p/transmission/files/transmission-0.6.1-as-needed.patch new file mode 100644 index 000000000000..157c72e554fd --- /dev/null +++ b/net-p2p/transmission/files/transmission-0.6.1-as-needed.patch @@ -0,0 +1,11 @@ +--- configure 2007-01-02 21:58:49.000000000 -0600 ++++ configure 2007-01-02 21:59:16.000000000 -0600 +@@ -115,7 +115,7 @@ + then + if runcmd $CC -o testconf testconf.c -lm + then +- LDFLAGS="$LDFLAGS -lm" ++ LDFLAGS="-lm $LDFLAGS" + fi + fi + rm -f testconf.c testconf diff --git a/net-p2p/transmission/files/transmission-0.6.1-gtk+-check.patch b/net-p2p/transmission/files/transmission-0.6.1-gtk+-check.patch new file mode 100644 index 000000000000..b0098cee5eb4 --- /dev/null +++ b/net-p2p/transmission/files/transmission-0.6.1-gtk+-check.patch @@ -0,0 +1,11 @@ +--- configure.orig 2006-12-02 16:27:05.000000000 -0600 ++++ configure 2006-12-02 16:32:17.000000000 -0600 +@@ -173,7 +173,7 @@ + verbose gtk_test + if runcmd pkg-config gtk+-2.0 + then +- if runcmd expr `pkg-config --modversion gtk+-2.0` '>=' 2.6.0 ++ if `pkg-config gtk+-2.0 --atleast-version 2.6.0` + then + cat > testconf.c << EOF + #include diff --git a/net-p2p/transmission/transmission-0.6.1-r1.ebuild b/net-p2p/transmission/transmission-0.6.1-r1.ebuild new file mode 100644 index 000000000000..3695384042d8 --- /dev/null +++ b/net-p2p/transmission/transmission-0.6.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-0.6.1-r1.ebuild,v 1.1 2007/01/10 21:54:33 compnerd Exp $ + +inherit eutils + +MY_PN="Transmission" + +DESCRIPTION="Simple BitTorrent client" +HOMEPAGE="http://transmission.m0k.org/" +SRC_URI="http://download.m0k.org/transmission/files/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +RDEPEND="sys-devel/gettext + gtk? ( >=x11-libs/gtk+-2.6 )" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/pkgconfig-0.19" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PN}-0.6.1-gtk+-check.patch + epatch ${FILESDIR}/${PN}-0.6.1-as-needed.patch + + # Fix man page install location + sed -i -e 's|/man/man1|/share/man/man1|' mk/common.mk +} + +src_compile() { + econf $(use_enable gtk) || die "configure failed" + emake || die "build failed" +} + +src_install() { + make PREFIX="${D}${ROOT}usr" LOCALEDIR="\$(PREFIX)/share/locale" install \ + || die "install failed" + + if use gtk ; then + doicon "${FILESDIR}/transmission.png" + make_desktop_entry "transmission-gtk" "${PN}" "${PN}.png" \ + "Network;Internet;P2P" + fi + + dodoc AUTHORS NEWS README +} -- 2.26.2