summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-06-27 17:48:10 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-06-27 17:48:10 +0000
commit6c4a82c2dff1bdf4d446243307dd983dfcf8a2a5 (patch)
tree93a4e8d6696e31f4c36834cf98c11893ace0bb9c /net-p2p/transmission
parentversion bump of dev-python/keyring to 1.5 (diff)
downloadhistorical-6c4a82c2dff1bdf4d446243307dd983dfcf8a2a5.tar.gz
historical-6c4a82c2dff1bdf4d446243307dd983dfcf8a2a5.tar.bz2
historical-6c4a82c2dff1bdf4d446243307dd983dfcf8a2a5.zip
Version bump.
Package-Manager: portage-2.2.0_alpha184/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/ChangeLog9
-rw-r--r--net-p2p/transmission/Manifest29
-rw-r--r--net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch17
-rw-r--r--net-p2p/transmission/transmission-2.80.ebuild145
4 files changed, 182 insertions, 18 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index b75a548e0872..9e5a05241c5e 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.231 2013/03/02 23:10:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.232 2013/06/27 17:47:59 ssuominen Exp $
+
+*transmission-2.80 (27 Jun 2013)
+
+ 27 Jun 2013; Samuli Suominen <ssuominen@gentoo.org>
+ +transmission-2.80.ebuild,
+ +files/transmission-2.80-translations-path-fix.patch:
+ Version bump.
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> transmission-2.73.ebuild,
transmission-2.76.ebuild, transmission-2.77.ebuild:
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 3b905fc20212..8be1d191c694 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -2,32 +2,27 @@
Hash: SHA256
AUX transmission-2.77-translations-path-fix.patch 731 SHA256 b90c26906c9ef3ddb0c81d02b54afaf515b3dfc236b5856fad9c3ab20383b346 SHA512 e8f1c9eea0ac5491bce901bd629e0b92821933989d009c78afca1a65e97b273f39c05bce4358b377be6cd30b87d6a36d1be9021e7d646719a64e82600887898e WHIRLPOOL cd5d688194babf090be381c0e1a0062d3ff1769324da4b343d7a848dc57ea347241eddbf042a9f4fad44061e7c074a0a8bfda5b492877b154046dc8e410878ec
+AUX transmission-2.80-translations-path-fix.patch 718 SHA256 94951127429649d18af5d9f04f9a4c1f2c698266fc6ee17b43d83015e2218548 SHA512 e317b23918fd47d27af3bca4694f8a71d6adb5f65ac5f3b30faa2d636d4420e6a691eca912c7be70103364f7c279f1b4ec851a5d8c5a1ca3dee880b465327fda WHIRLPOOL fbbabafb81d7e72fbf01a1b64d1c4a6e5473c254b14ed94e71e77ea8447982af3200ce76466df99d6cf9648c35f4e58dff83fe2cfd1b67b678c4b69a42982541
AUX transmission-daemon.confd.3 703 SHA256 4b47acf195a14a322550cfcaa735a59aac38410d1c2c63ffa824ff131c55ca70 SHA512 a3b9ac2b7bbe30e33060c8b6a693dc7072d3c6ac44f92ddd567969d8f57a0bfc1a561e781ae167703ccb4b2fd5b0e6d8f8a66c5ba14fe01d8d89a501d4501474 WHIRLPOOL 41e2937a7bd03b6e667c991d122b8370d650dc8c26ed9e5825fe0e76aa68bb356171411e6057c44c1a51780f2f2d5eb23b8f3e1ad22a89836587944a8ef9e7c5
AUX transmission-daemon.initd.8 2247 SHA256 c4383a3380c7dac82941d073a3d52451ed6e1d6bf0969ea0fe3e86aa4b8cbe2e SHA512 bc27b582c02220fe1b771581a4ff7df4d8cbe39b778e1e30f9dd7f3ee6abd5114626cbdb3ede85a41ff80dce06c0f1d99ae45b00fafd16285301e70a25908547 WHIRLPOOL 69007d64bdc660e8cded35c229e1e20dd8cc68ae9d3d2b9a3980282e4ea180b16a223aafd75c0a177046dcbb5a25e9dd67cf69f604091b11f74e265b9e40df6d
DIST transmission-2.73.tar.xz 2947316 SHA256 7907f47f6eabf63f25ecc63b388f2abd4ac82f61d7d827657681ec36ff1507f6 SHA512 d591d8f14eb10edc7773ed7e13c52c3172da9a511a34487030feb300d87e4e835f4d70c83e30b49d3a119c38ae987d571ba17a11c0db6b3c9dab15527185b686 WHIRLPOOL 59cfcff5f1f3b34c062d0d9685bc793e868259fc272b1618a28e5a3f245d86aed173df6fce8c6d9fa95e48a0d9c28758da5d7710e9884ee91982beaee3633798
DIST transmission-2.76.tar.xz 2954220 SHA256 02c8c47da5b5567f9018d4a1fdad585cff58d315bd2a544da71e7bd473853b33 SHA512 ccd45cf9889534df5551394f11934ce33420749247d7e8105d684fba8b4872cceddc763f873a4b98101486acc7f49fbcb96734cdb0fcd9bbc60bc1779f3ca591 WHIRLPOOL 88d5cbd16b32432af243827b9f48db27508b96df13df48acdd62fd9315b722436a686e0bc6c36633581523b5c136168b49fee7466b84e5e6e563d639b5c21933
DIST transmission-2.77.tar.xz 2953840 SHA256 55b1653fc18a10153ba9439f284bd7b2276a6859416dcae217d9e8c689841fde SHA512 2c7457ab2bd25300ef5cb2ba9218df70b33451c5ac46e0f12738fe562cd4885d62bce5361f8d0fb10e823674c833ee4d0cb785724519d6352f2701879154dfff WHIRLPOOL c003d31d3c54ddd522717bc976c9d97224cc16c754e4d3067c609be32b5711678e7f0711418b06a601e0aa8f60469afc4ed915484fe80ceae6e6e386b92a0895
+DIST transmission-2.80.tar.xz 3167136 SHA256 0ea0bc62e3917ce4cb848582888ecdcd0c0dbe8ffb9482d7330c823e1ff15df3 SHA512 1d442fe7f744161644d3eb0b6f0d79cace058e09213ac00fc258dbf97d5161d75825310faabd139ccbcce7fa435b09c2755ac807905cc698cd4272a92aa90182 WHIRLPOOL 6ec7f9beb74a466f42b8785fac14d81d614a5d9b112c8492eb6855977be8daebcc32fb416b941e21d56d3b829fb0b2933c45c328701141454c7d0a9298d02971
EBUILD transmission-2.73.ebuild 3898 SHA256 a91f567df6d8097108260b9052a6b238e5a784abd3c9934580b186988a158cc5 SHA512 5c7be3ce722a788a8af058b7620141ebb575ffd8bcca46eaafc88f6e4ab6bfc2d7967c253143664b49c425facbb62a1e6d3f635dc81a9299edb87e6de16915e3 WHIRLPOOL 098080be4aa2227685319c16172cf1575bb2360606187254063612142f6b527a20613c6346ed4c75f50a8296b2ed093d770500be9ad5916dd8d8ee4ff67cd541
EBUILD transmission-2.76.ebuild 3210 SHA256 2c68318a15f0232535d384dee322dae0c1df7afde23a25577f4ad6fd391261ac SHA512 7559e64f4933ea293384d1a50cad7cb455194a241b658dd9e21a41ce43d45bfc10edb39b2248684e29c0bc434c33e15e2ad99c0bcc00956622dcc44056972b65 WHIRLPOOL c4b6af97a0ca3a9763516e40fb68c8a6e4904ed710f80c8d1ded1be77c7ada6a2ec5aa9f0bcf9383bf5047b44f1c7feaa3e5fe77294c47c65753f6d4a001191f
EBUILD transmission-2.77.ebuild 3316 SHA256 4dc8cda122a64a666e47a7c8960c35c58f88a63a997ab4a602c20b3a0a16b6e0 SHA512 6d2ff748a7ead879871052d9673d4648675ebbbdcb74d1afd1ebd1a7e95d4095c6690190babb03ef288dbbdead252c1d4c129fff348d400692f2b31c9cd9a86f WHIRLPOOL ea789464e43f8e2eedeb703c962a11475aff35c42733ed1a3ca6fb80d4190a61bafe3f8ce80cb2aa04e0ed5ccac377c4b7bd761a5be6e779be851ef4202c7982
-MISC ChangeLog 39621 SHA256 5329c102f4738fc9b51f15f9439051bf459a5f09739ca58b3ebaa0803d5bfa24 SHA512 dc547d447ebafce5dde87b8dadc2f46ab3a07ab611f040a13c293a0f45948b91b21913309382c5a8a612e0d19cd2e6d361a8f85b9bf342f746488b97519121dc WHIRLPOOL 0a4e7aeff38e462d02c79ca2839b6384bc45d9c908f021a142c5eaf9ec6f811c7ac584ac333f99ffd57c229e9c6fb7acff651f5d0ab8f6e71288b3073c5d1125
+EBUILD transmission-2.80.ebuild 3480 SHA256 640f1783b81ad8d4c0d958b62dfeeaa2103a1159c3634f99b49d1b4dcf5c1920 SHA512 22ea56669fb7a706776609d956653d140035e0ddcf6d7a1e7a2de901de18cb43a8c1a8fb64308b206c37583b3aa8de04ed1fb5697bd6933d4bdb888d92678d28 WHIRLPOOL 0d35af100634bb0f773126862dbfe9ca85dad57ac1594042a8a4a2100504be407d21cd6f2f155ca28af77e8d2869815f084ebf072322cb6fde6bd4f811d4025b
+MISC ChangeLog 39812 SHA256 1948129564739ac89476a950a64b14b94b0409d58cf2f399edb6f8edfaf4f751 SHA512 33e275a6179c3ae8d615b2a73e065ec87b5ef46c19d34dd60ab872a342efb932e0070c9d636fb746c87ea84565d1222ab74a7578a40e85f7146abddf1123409f WHIRLPOOL 2d3737133f9e2c588e13f81ed20d6d9a1240878e962f69e257e7dd71412d682f5164ab23f291b1c64e32a2cdd88febd2ee5aa2802a5589e7f518ed4f47af5aad
MISC metadata.xml 566 SHA256 ee4ef67c4bf912c1b5e529965fc45eca1f41dbebf76bcf785c8fc7b38a602633 SHA512 60ee8ea3d363fa60f5a1f94ec9d8fe7653465cb2fc3de8c92d6945f5cb01468f7af580149ceefeb8fdd866af7b5ae2143b584853bf3aa5fcc69408a21e4566eb WHIRLPOOL b3b4ed16faa68d7abb0519e025607c55c68a1ba0462992ac1e8b3e7f775dca278039391041097abcb1063b6cc5fa3f8741ecd76587fb3533c437d780ce4b0423
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQJ8BAEBCABmBQJRMobdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQz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QY1ai7g3Ah3BVzhAxn30P1zpCgkv9eMyLtO/2v
+FywA+nClqO9dpGef3KjqYT+caQFeIk24m0+MKRanDT+D7u+yIYtHH7y6OH2t4e0=
+=4Zhz
-----END PGP SIGNATURE-----
diff --git a/net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch b/net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch
new file mode 100644
index 000000000000..48638010f96f
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch
@@ -0,0 +1,17 @@
+This patch was adapted from -2.77-transmations-path-fix.patch for 2.80
+
+Fix path for finding locale-specific files:
+QCoreApplication::applicationDirPath() transforms to '/usr/bin'
+and locale files are in '/usr/share/qt4/translations'
+
+--- qt/app.cc
++++ qt/app.cc
+@@ -98,7 +98,7 @@
+ installTranslator (&qtTranslator);
+
+ // install the transmission translator
+- appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QCoreApplication::applicationDirPath () + "/translations");
++ appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QLibraryInfo::location(QLibraryInfo::TranslationsPath) );
+ installTranslator (&appTranslator);
+
+ Formatter::initUnits ();
diff --git a/net-p2p/transmission/transmission-2.80.ebuild b/net-p2p/transmission/transmission-2.80.ebuild
new file mode 100644
index 000000000000..6820b90f8fc9
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.80.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.80.ebuild,v 1.1 2013/06/27 17:47:59 ssuominen Exp $
+
+EAPI=5
+inherit autotools eutils fdo-mime gnome2-utils qt4-r2 user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/"
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz"
+
+LICENSE="GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk lightweight systemd qt4 xfs"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND="
+ >=dev-libs/libevent-2.0.10:=
+ dev-libs/openssl:0=
+ net-libs/libnatpmp:=
+ >=net-libs/miniupnpc-1.6.20120509:=
+ >=net-misc/curl-7.16.3:=[ssl]
+ sys-libs/zlib:=
+ gtk? (
+ >=dev-libs/dbus-glib-0.100:=
+ >=dev-libs/glib-2.28:2=
+ >=x11-libs/gtk+-3.4:3=
+ ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+ )
+ systemd? ( sys-apps/systemd )
+ qt4? (
+ dev-qt/qtcore:4=
+ dev-qt/qtgui:4=[dbus]
+ )"
+
+DEPEND="${RDEPEND}
+ dev-libs/glib:2
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/os-headers
+ virtual/pkgconfig
+ xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk )"
+
+DOCS="AUTHORS NEWS qt/README.txt"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+ use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; }
+
+ # http://trac.transmissionbt.com/ticket/4324
+ sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die
+
+ # fix for broken translations path
+ epatch "${FILESDIR}"/${P}-translations-path-fix.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+ econf \
+ --enable-external-natpmp \
+ $(use_enable lightweight) \
+ $(use_with systemd systemd-daemon) \
+ $(use_with gtk)
+
+ if use qt4; then
+ pushd qt >/dev/null
+ eqmake4 qtr.pro
+ popd >/dev/null
+ fi
+}
+
+src_compile() {
+ emake
+
+ if use qt4; then
+ pushd qt >/dev/null
+ emake
+ lrelease translations/*.ts
+ popd >/dev/null
+ fi
+}
+
+src_install() {
+ default
+
+ rm -f "${ED}"/usr/share/${PN}/web/LICENSE
+
+ newinitd "${FILESDIR}"/${PN}-daemon.initd.8 ${PN}-daemon
+ newconfd "${FILESDIR}"/${PN}-daemon.confd.3 ${PN}-daemon
+
+ keepdir /var/{${PN}/{config,downloads},log/${PN}}
+ fowners -R ${PN}:${PN} /var/{${PN}/{,config,downloads},log/${PN}}
+
+ if use qt4; then
+ pushd qt >/dev/null
+ emake INSTALL_ROOT="${ED}"/usr install
+
+ domenu ${PN}-qt.desktop
+
+ local res
+ for res in 16 22 24 32 48 64 72 96 128 192 256; do
+ doicon -s ${res} icons/hicolor/${res}x${res}/${PN}-qt.png
+ done
+ doicon -s scalable icons/hicolor/scalable/${PN}-qt.svg
+
+ insinto /usr/share/qt4/translations
+ doins translations/*.qm
+ popd >/dev/null
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ elog "If you use ${PN}-daemon, please, set 'rpc-username' and"
+ elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on"
+ elog "start) in settings.json file located at /var/${PN}/config or"
+ elog "any other appropriate config directory."
+ elog
+ elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for"
+ elog "the UDP socket. You can append following lines into /etc/sysctl.conf:"
+ elog " net.core.rmem_max = 4194304"
+ elog " net.core.wmem_max = 1048576"
+ elog "and run sysctl -p"
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}