summaryrefslogtreecommitdiff
path: root/media-sound/pithos/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-02-26 23:50:05 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-02-26 23:50:05 +0000
commited40676841e317a2aafa04c4c804bb6043864740 (patch)
tree91c5e4b12acc09eabb2b1234eb633aa78af224d2 /media-sound/pithos/files
parentdc106bfbeb980942a8490753d6883eb34b13ea12 (diff)
repo cleanup...drop old ebuilds, drop ebuilds already in portage tree
Diffstat (limited to 'media-sound/pithos/files')
-rw-r--r--media-sound/pithos/files/pithos-20130808-detect-datadir.patch16
-rw-r--r--media-sound/pithos/files/pithos-20130808-dont-notify-volume.patch13
-rw-r--r--media-sound/pithos/files/setup.py37
3 files changed, 0 insertions, 66 deletions
diff --git a/media-sound/pithos/files/pithos-20130808-detect-datadir.patch b/media-sound/pithos/files/pithos-20130808-detect-datadir.patch
deleted file mode 100644
index ba3414bb..00000000
--- a/media-sound/pithos/files/pithos-20130808-detect-datadir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/pithos/pithosconfig.py b/pithos/pithosconfig.py
-index dfaaf5d..f82b458 100644
---- a/pithos/pithosconfig.py
-+++ b/pithos/pithosconfig.py
-@@ -16,7 +16,10 @@
-
- # where your project will head for your data (for instance, images and ui files)
- # by default, this is ../data, relative your trunk layout
--__pithos_data_directory__ = '../data/'
-+from os.path import isdir, normpath, join
-+__pithos_data_directory__ = (normpath(join(__file__, '../data/'))
-+ if isdir(join(__file__, '../data/'))
-+ else '/usr/share/pithos')
- __license__ = 'GPL-3'
-
- VERSION = '0.3.17'
diff --git a/media-sound/pithos/files/pithos-20130808-dont-notify-volume.patch b/media-sound/pithos/files/pithos-20130808-dont-notify-volume.patch
deleted file mode 100644
index cf605b32..00000000
--- a/media-sound/pithos/files/pithos-20130808-dont-notify-volume.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/bin/pithos b/bin/pithos
-index 725ad7b..62ddd88 100755
---- a/bin/pithos
-+++ b/bin/pithos
-@@ -204,7 +204,7 @@ class PithosWindow(gtk.Window):
- bus.connect("message::eos", self.on_gst_eos)
- bus.connect("message::buffering", self.on_gst_buffering)
- bus.connect("message::error", self.on_gst_error)
-- self.player.connect("notify::volume", self.on_gst_volume)
-+ #self.player.connect("notify::volume", self.on_gst_volume)
- self.player.connect("notify::source", self.on_gst_source)
- self.time_format = gst.Format(gst.FORMAT_TIME)
-
diff --git a/media-sound/pithos/files/setup.py b/media-sound/pithos/files/setup.py
deleted file mode 100644
index 0d5776ae..00000000
--- a/media-sound/pithos/files/setup.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# replacement for setup.py for pithos as the included one is.. less than ideal
-
-from os import walk
-from glob import glob
-from os.path import join
-from setuptools import setup, find_packages
-
-DATA_DIR = '/usr/share/pithos/'
-ICON_DIR = '/usr/share/icons/hicolor/'
-APP_DIR = '/usr/share/applications'
-
-datadir = 'data'
-datadirs = ['ui', 'media']
-icondir = 'data/icons'
-bindir = 'bin'
-
-datafiles = [[(join(DATA_DIR, root.partition(datadir)[2].lstrip('/')), [join(root, f) for f in files])
- for root, dirs, files in walk(join(datadir, data))][0] for data in datadirs]
-
-datafiles += ([(join(ICON_DIR, root.partition(icondir)[2].lstrip('/')), [join(root, f) for f in files])
- for root, dirs, files in walk(icondir)])
-
-datafiles += [(APP_DIR, glob('*.desktop'))]
-
-setup(
- name='pithos',
- version='0.3',
- ext_modules=[],
- license='GPL-3',
- author='Kevin Mehall',
- author_email='km@kevinmehall.net',
- description='Pandora.com client for the GNOME desktop',
- packages=find_packages(),
- url='https://launchpad.net/pithos',
- data_files=datafiles,
- scripts=glob('bin/*'),
-)