diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-p2p/tribler | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-p2p/tribler')
-rw-r--r-- | net-p2p/tribler/Manifest | 6 | ||||
-rw-r--r-- | net-p2p/tribler/files/tribler-5.9.12-fix-global-declarations.patch | 22 | ||||
-rw-r--r-- | net-p2p/tribler/files/tribler-6.1.0-fix-desktop.patch | 21 | ||||
-rw-r--r-- | net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch | 12 | ||||
-rw-r--r-- | net-p2p/tribler/files/tribler-fix-desktop.patch | 18 | ||||
-rw-r--r-- | net-p2p/tribler/files/tribler-log2homedir.patch | 12 | ||||
-rw-r--r-- | net-p2p/tribler/metadata.xml | 18 | ||||
-rw-r--r-- | net-p2p/tribler/tribler-6.0.3.ebuild | 80 | ||||
-rw-r--r-- | net-p2p/tribler/tribler-6.3.3-r1.ebuild | 68 |
9 files changed, 257 insertions, 0 deletions
diff --git a/net-p2p/tribler/Manifest b/net-p2p/tribler/Manifest new file mode 100644 index 000000000000..3fe2e1315317 --- /dev/null +++ b/net-p2p/tribler/Manifest @@ -0,0 +1,6 @@ +DIST tribler-swift_6.0.0-28795_amd64.deb 718596 SHA256 b3bfe52eebc37539d6adb62f49a439d8794635c10e4d52d66bec663b6abc2467 SHA512 9f9734c2574b6d205e885c0621dcac5f5f3dcd45e1b6764017d6b6aaba5a346c242e44b1d69ea8dc47611cf6993c44e5e0e57bca150c81f5ca5b7635464d7c50 WHIRLPOOL 65933467ab002f91d1b4f81353170b5c05cec731a91bb89f28dc82fec2edee5f351b16e704a0eab5784111cab8d95670c6dc6d65747da59fbdafdaa20db46abc +DIST tribler-swift_6.0.0-28795_i386.deb 736976 SHA256 1cd339fbb0b5e1f26c6ee75e2300c423ffe21ef8729e0f2a112a394ebf8469ac SHA512 a6458d49d1fb5c7b5d3db844cc614eaf77f72dca53809529c431e97b8fb5b4dcadce5d45a32a38853dbb4a29a9190a8486ce8ea1d1613637236d8244a312573e WHIRLPOOL fafce3fce9c0e6fcc322973bfb3701aba693a53cb301a236cbde1f5c6a8a0c22e5244f47b3be048803b1f264362a1bd5ac01ca27c1f54f706584cfadf986b040 +DIST tribler-swift_6.3.3_amd64.deb 3056230 SHA256 9453576d40312af1395821a49f72c3e87eea5d34ba6dd4d81bb3b60e88556f92 SHA512 590542a94981bcaf289955019b2c51d9e71bf915176a11f0dd8e8f68548137f8c503f9a08a0edee31116373e654cf4cc06b2a2d10d32ce4d12a24980ca6692aa WHIRLPOOL f320c075eca4b98593eafbfb4ea67935b169d6b04b953885941a74260138197233baf15c20b5b4277131082a9748eada1b416d18d75640f652724c2fffa45f8d +DIST tribler-swift_6.3.3_i386.deb 3073730 SHA256 17d4b0e5c623a1bdde2c2fb3e5e201d32e5e022ed1f13cee7af5e11e96602982 SHA512 980481e694d1977b81ec5cd5e15f4adb971b87ea20b206c101fd80e045d9a48798d647d3a41d2ae23045805da55934ee77dfcb6f50f42ac1981a4c8ee39d20cb WHIRLPOOL 3917ced229360346482fcef62ec2cba57bb46f641c328d803f1ec8f73d2d6bad38ad84bf7c8d23bb521cd605425b68c90f870f9adf768a0bc6c645279dff682a +DIST tribler_6.0.3_all.deb 5848674 SHA256 bf6173e2162602133e93a0ca06026f33d5a95edcefc57ff41c3a59f14a19e835 SHA512 fc4a165d0ae7460a3805fe4fde86150a21152a7cff92c226186f475d690cf4a7a3366767b1da4119b2222b3b83e8c07c9a1c23300abd0b7e01ea642d0e413551 WHIRLPOOL b13f5dbc2bdf9b980dc1195b77a19aff66f26a9d2d27adfbfa0ccb0373d62fd3c8769d7e64aeb842a7fd5eddb33774129732463f6ad88ec36e520d895465f21f +DIST tribler_6.3.3_all.deb 1997346 SHA256 95f6cac8f5760229896bb66ee8e4d6b50939b7da4f1fb0c9a589a7617c456010 SHA512 afea5ef80c8dbc8da003997c8070116adf34334aceab91e258dfdddcfd7375238fc933866c655475ebdf347ac8ef4635716ec4ba1ad6bff6f638e804a4bbbf12 WHIRLPOOL 2b11404be050f81f6a8205edaa3c0c402a14148e5bf4e013ab7a95937f389a1a59b3ad44c1d237b1f431f5ceda5a26c48366bb4b78763ff52165ccf2de11d9d3 diff --git a/net-p2p/tribler/files/tribler-5.9.12-fix-global-declarations.patch b/net-p2p/tribler/files/tribler-5.9.12-fix-global-declarations.patch new file mode 100644 index 000000000000..9e0887a1a2f1 --- /dev/null +++ b/net-p2p/tribler/files/tribler-5.9.12-fix-global-declarations.patch @@ -0,0 +1,22 @@ +diff -Naur usr.orig/share/tribler/Tribler/Player/swarmplayer.py usr/share/tribler/Tribler/Player/swarmplayer.py +--- usr.orig/share/tribler/Tribler/Player/swarmplayer.py 2012-02-11 11:54:10.000000000 -0500 ++++ usr/share/tribler/Tribler/Player/swarmplayer.py 2012-02-11 11:53:15.000000000 -0500 +@@ -438,9 +438,9 @@ + + s_play = status.get_or_create_status_element("playable", False) + if playable: ++ global START_TIME + if preprogress < 1.0: + if s_play.get_value() == True: +- global START_TIME + status.create_and_add_event("failed_after", [time.time() - START_TIME]) + START_TIME = time.time() + +@@ -448,7 +448,6 @@ + + elif s_play.get_value() == False: + s_play.set_value(True) +- global START_TIME + status.create_and_add_event("playable_in", [time.time() - START_TIME]) + START_TIME = time.time() + diff --git a/net-p2p/tribler/files/tribler-6.1.0-fix-desktop.patch b/net-p2p/tribler/files/tribler-6.1.0-fix-desktop.patch new file mode 100644 index 000000000000..250deda21616 --- /dev/null +++ b/net-p2p/tribler/files/tribler-6.1.0-fix-desktop.patch @@ -0,0 +1,21 @@ +diff -Naur usr.orig/share/applications/swarmplayer.desktop usr/share/applications/swarmplayer.desktop +--- usr.orig/share/applications/swarmplayer.desktop 2013-05-09 20:47:46.000000000 -0400 ++++ usr/share/applications/swarmplayer.desktop 2013-05-09 20:48:34.000000000 -0400 +@@ -5,4 +5,4 @@ + Icon=swarmplayer + Terminal=false + Type=Application +-Categories=Application;Network;P2P ++Categories=Network;P2P; +diff -Naur usr.orig/share/applications/tribler.desktop usr/share/applications/tribler.desktop +--- usr.orig/share/applications/tribler.desktop 2013-05-09 20:47:46.000000000 -0400 ++++ usr/share/applications/tribler.desktop 2013-05-09 20:49:03.000000000 -0400 +@@ -5,5 +5,5 @@ + Icon=tribler + Terminal=false + Type=Application +-Categories=Application;Network;P2P +-MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet +\ No newline at end of file ++Categories=Network;P2P; ++MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet; diff --git a/net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch b/net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch new file mode 100644 index 000000000000..23689bf2fb4d --- /dev/null +++ b/net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch @@ -0,0 +1,12 @@ +diff -Naur usr.orig/share/applications/tribler.desktop usr/share/applications/tribler.desktop +--- usr.orig/share/applications/tribler.desktop 2013-05-09 20:47:46.000000000 -0400 ++++ usr/share/applications/tribler.desktop 2013-05-09 20:49:03.000000000 -0400 +@@ -5,5 +5,5 @@ + Icon=tribler + Terminal=false + Type=Application +-Categories=Application;Network;P2P +-MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet +\ No newline at end of file ++Categories=Network;P2P; ++MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet; diff --git a/net-p2p/tribler/files/tribler-fix-desktop.patch b/net-p2p/tribler/files/tribler-fix-desktop.patch new file mode 100644 index 000000000000..469ed7ee7e03 --- /dev/null +++ b/net-p2p/tribler/files/tribler-fix-desktop.patch @@ -0,0 +1,18 @@ +diff -Naur usr.orig/share/applications/tribler.desktop usr/share/applications/tribler.desktop +--- usr.orig/share/applications/tribler.desktop 2012-09-24 20:50:23.000000000 -0400 ++++ usr/share/applications/tribler.desktop 2013-02-18 13:58:57.000000000 -0500 +@@ -5,4 +5,4 @@ + Icon=tribler + Terminal=false + Type=Application +-Categories=Application;Network;P2P ++Categories=Network;P2P; +diff -Naur usr.orig/share/tribler/Tribler/Main/Build/Ubuntu/tribler.desktop usr/share/tribler/Tribler/Main/Build/Ubuntu/tribler.desktop +--- usr.orig/share/tribler/Tribler/Main/Build/Ubuntu/tribler.desktop 2012-11-19 23:26:42.000000000 -0500 ++++ usr/share/tribler/Tribler/Main/Build/Ubuntu/tribler.desktop 2013-02-18 13:59:08.000000000 -0500 +@@ -5,4 +5,4 @@ + Icon=tribler + Terminal=false + Type=Application +-Categories=Application;Network;P2P ++Categories=Network;P2P; diff --git a/net-p2p/tribler/files/tribler-log2homedir.patch b/net-p2p/tribler/files/tribler-log2homedir.patch new file mode 100644 index 000000000000..2f86c95ccf15 --- /dev/null +++ b/net-p2p/tribler/files/tribler-log2homedir.patch @@ -0,0 +1,12 @@ +diff -Naur usr.orig/bin/tribler usr/bin/tribler +--- usr.orig/bin/tribler 2012-02-07 10:33:48.000000000 -0500 ++++ usr/bin/tribler 2012-02-11 12:19:05.000000000 -0500 +@@ -6,5 +6,7 @@ + export PYTHONPATH="$PYTHONPATH":$_TRIBLERPATH + + echo "Starting Tribler..." ++STATEDIR="$HOME/.Tribler" ++[ ! -d $STATEDIR ] && mkdir -p $STATEDIR + cd $_TRIBLERPATH +-exec python -O Tribler/Main/tribler.py "$@" > /tmp/$USER-tribler.log 2>&1 ++exec python2 -O Tribler/Main/tribler.py "$@" > $STATEDIR/tribler.log 2>&1 diff --git a/net-p2p/tribler/metadata.xml b/net-p2p/tribler/metadata.xml new file mode 100644 index 000000000000..091789da9c72 --- /dev/null +++ b/net-p2p/tribler/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <longdescription> + Python based bittorrent client that does not require an external + website or indexing service to discover content. + </longdescription> + <use> + <flag name="vlc">Enable vlc support.</flag> + </use> + <upstream> + <remote-id type="github">Tribler/tribler</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-p2p/tribler/tribler-6.0.3.ebuild b/net-p2p/tribler/tribler-6.0.3.ebuild new file mode 100644 index 000000000000..a679195dfa7b --- /dev/null +++ b/net-p2p/tribler/tribler-6.0.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="sqlite" + +inherit eutils python unpacker + +MY_PV="${PN}_${PV}_all" + +DESCRIPTION="Bittorrent client that does not require a website to discover content" +HOMEPAGE="http://www.tribler.org/" +SRC_URI=" + http://dl.tribler.org/${MY_PV}.deb + x86? ( http://dl.tribler.org/tribler-swift_6.0.0-28795_i386.deb ) + amd64? ( http://dl.tribler.org/tribler-swift_6.0.0-28795_amd64.deb )" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="vlc" + +RDEPEND=" + dev-python/apsw + dev-python/m2crypto + dev-python/netifaces + dev-libs/openssl + dev-python/wxpython + vlc? ( + media-video/vlc + media-video/ffmpeg:0 + )" + +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}" + +QA_PREBUILT="/usr/share/tribler/swift" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-5.9.12-fix-global-declarations.patch" + epatch "${FILESDIR}/${PN}-log2homedir.patch" + epatch "${FILESDIR}/${PN}-fix-desktop.patch" + + python_convert_shebangs -r 2 . +} + +src_compile() { :; } + +src_install() { + #Rename the doc dir properly + mv usr/share/doc/${PN} usr/share/doc/${P} + + #Move the readme to the doc dir + mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P} + + #Remove the licenses scattered throughout + rm usr/share/doc/${P}/copyright + rm usr/share/${PN}/Tribler/*.txt + rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt} + + #Copy the rest over + cp -pPR usr/ "${ED}"/ +} + +pkg_postinst() { + python_mod_optimize "${ROOT}"usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup "${ROOT}"usr/share/${PN} +} diff --git a/net-p2p/tribler/tribler-6.3.3-r1.ebuild b/net-p2p/tribler/tribler-6.3.3-r1.ebuild new file mode 100644 index 000000000000..cf59f787debe --- /dev/null +++ b/net-p2p/tribler/tribler-6.3.3-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils unpacker + +DESCRIPTION="Bittorrent client that does not require a website to discover content" +HOMEPAGE="http://www.tribler.org/" +SRC_URI=" + https://github.com/Tribler/tribler/releases/download/v${PV}/tribler_${PV}_all.deb + x86? ( https://github.com/Tribler/tribler/releases/download/v${PV}/tribler-swift_${PV}_i386.deb ) + amd64? ( https://github.com/Tribler/tribler/releases/download/v${PV}/tribler-swift_${PV}_amd64.deb )" + +LICENSE="GPL-2 LGPL-2.1+ PSF-2.4 openssl wxWinLL-3.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="vlc" + +RDEPEND=" + dev-lang/python:2.7[sqlite] + dev-python/apsw + dev-python/feedparser + dev-python/gmpy + dev-python/m2crypto + dev-python/netifaces + dev-python/pyasn1 + dev-python/pycrypto + dev-python/twisted-core + dev-python/wxpython + dev-libs/openssl:0[-bindist] + net-libs/rb_libtorrent[python] + vlc? ( + media-video/vlc + media-video/ffmpeg:0 + )" + +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}" + +QA_PREBUILT="/usr/lib/tribler/swift" + +src_prepare() { + epatch "${FILESDIR}/${PN}-log2homedir.patch" + epatch "${FILESDIR}/${PN}-6.2.0-fix-desktop.patch" +} + +src_compile() { :; } + +src_install() { + #Remove the licenses scattered throughout + rm usr/share/doc/${PN}-swift/copyright # LGPL-2.1+ + rm usr/share/doc/${PN}/copyright # LGPL-2.1+ + rm usr/share/${PN}/Tribler/binary-LICENSE-postfix.txt # GPL-2 LGPL-2.1+ PSF-2.4 openssl wxWinLL-3.1 + + #Rename the doc dir properly + mv usr/share/doc/${PN}-swift usr/share/doc/${PN} + mv usr/share/doc/${PN} usr/share/doc/${P} + + #Move the readme to the doc dir + mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P} + + #Copy the rest over + cp -pPR usr/ "${ED}"/ +} |