aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2009-03-23 11:09:53 +0800
committeredwin <edwin@FreeBSD.org>2009-03-23 11:09:53 +0800
commitc3bdb2681b201607f6d15098de9e11fbe6e688eb (patch)
tree853136da6ce5fca17b07882d79b4d634f4b4ab7e /net
parent73f693f330581d0744df1667c9958ce893e6cd49 (diff)
downloadfreebsd-ports-gnome-c3bdb2681b201607f6d15098de9e11fbe6e688eb.tar.gz
freebsd-ports-gnome-c3bdb2681b201607f6d15098de9e11fbe6e688eb.tar.zst
freebsd-ports-gnome-c3bdb2681b201607f6d15098de9e11fbe6e688eb.zip
Update to version 4.0:
# Lots of bugfixes, perfomance improvements, etc # Supports Nokia N800/N810 Maemo devices # Better setup of mozilla environment, should no longer crash on startup on any platform # Commandline control of media player # Local image caching so images still appear when offline
Diffstat (limited to 'net')
-rw-r--r--net/penguintv/Makefile6
-rw-r--r--net/penguintv/distinfo6
-rw-r--r--net/penguintv/files/patch-penguintv-utils.py16
-rw-r--r--net/penguintv/files/patch-share__defaultsubs.opml19
-rw-r--r--net/penguintv/files/patch-share_defaults.opml22
-rw-r--r--net/penguintv/pkg-message4
-rw-r--r--net/penguintv/pkg-plist36
7 files changed, 78 insertions, 31 deletions
diff --git a/net/penguintv/Makefile b/net/penguintv/Makefile
index c096abe3efba..564f043973ac 100644
--- a/net/penguintv/Makefile
+++ b/net/penguintv/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= PenguinTV
-PORTVERSION= 3.60
+PORTVERSION= 4.0.0
CATEGORIES= net audio multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= penguintv
@@ -47,6 +47,10 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimed
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/lucene/_lucene.so:${PORTSDIR}/textproc/py-lucene
.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," \
+ ${WRKSRC}/penguintv/utils.py
+
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
diff --git a/net/penguintv/distinfo b/net/penguintv/distinfo
index 3cf0d0403b7c..0c9fe795882b 100644
--- a/net/penguintv/distinfo
+++ b/net/penguintv/distinfo
@@ -1,3 +1,3 @@
-MD5 (PenguinTV-3.60.tar.gz) = 18eec14a343c9615caa31945b6137318
-SHA256 (PenguinTV-3.60.tar.gz) = f0c858d0fc6c6e3d9e2d823bc3eaaa20515a62f684e208a9ec5329a237467534
-SIZE (PenguinTV-3.60.tar.gz) = 347136
+MD5 (PenguinTV-4.0.0.tar.gz) = 5d5d4667fbb01e2d7050ff3deca2f34d
+SHA256 (PenguinTV-4.0.0.tar.gz) = e08b7027e2ef5346a2f877f38e8883340dc016529b638f3e643e485b361cd7aa
+SIZE (PenguinTV-4.0.0.tar.gz) = 417001
diff --git a/net/penguintv/files/patch-penguintv-utils.py b/net/penguintv/files/patch-penguintv-utils.py
index 33a7177a9af4..d630ad99a95a 100644
--- a/net/penguintv/files/patch-penguintv-utils.py
+++ b/net/penguintv/files/patch-penguintv-utils.py
@@ -1,10 +1,12 @@
---- penguintv/utils.py.orig 2008-03-13 21:59:27.000000000 +0000
-+++ penguintv/utils.py 2008-03-13 22:00:06.000000000 +0000
-@@ -186,6 +186,7 @@
+--- penguintv/utils.py.orig 2009-03-23 08:35:01.000000000 +1100
++++ penguintv/utils.py 2009-03-23 08:35:31.000000000 +1100
+@@ -228,7 +228,8 @@
os.path.join(os.path.split(os.path.abspath(sys.argv[0]))[0],"share"),
os.path.join(GetPrefix(),"share","sugar","activities","ptv","share"),
- os.path.join(os.path.split(os.path.split(utils.__file__)[0])[0],'share'),
-+ "/usr/local/share/penguintv",
- "/usr/share/penguintv"):
+ os.path.join(os.path.split(os.path.split(utils.__file__)[0])[0],'share','glade'),
+- "/usr/share/penguintv/glade"):
++ "/usr/share/penguintv/glade",
++ "%%LOCALBASE%%/penguintv/glade"):
try:
- os.stat(os.path.join(p,"penguintv.glade"))
+ os.stat(os.path.join(p,"dialogs.glade"))
+ logging.debug("glade prefix found: %s" % (p,))
diff --git a/net/penguintv/files/patch-share__defaultsubs.opml b/net/penguintv/files/patch-share__defaultsubs.opml
deleted file mode 100644
index 77ab8c655e8a..000000000000
--- a/net/penguintv/files/patch-share__defaultsubs.opml
+++ /dev/null
@@ -1,19 +0,0 @@
---- share/defaultsubs.opml.orig Sun Jul 16 01:36:04 2006
-+++ share/defaultsubs.opml Mon Jul 17 08:36:35 2006
-@@ -1,6 +1,16 @@
- <opml version="1.1">
- <head><title>All</title></head>
- <body>
-+ <outline xmlUrl="http://feeds.feedburner.com/Bsdtalk"
-+ text="bsdtalk"
-+ description="Technical talks about the BSD family of free operating systems."
-+ title="bsdtalk">
-+ </outline>
-+ <outline xmlUrl="http://feeds.blastpodcast.com/freebsdforall/index.xml"
-+ text="FreeBSD For All"
-+ description="User oriented talks about FreeBSD."
-+ title="FreeBSD For All">
-+ </outline>
- <outline xmlUrl="http://lugradio.org/episodes.ogg.rss"
- text="LugRadio episodes (ogg)"
- description="The world's premiere Linux and Free Software radio show"
diff --git a/net/penguintv/files/patch-share_defaults.opml b/net/penguintv/files/patch-share_defaults.opml
new file mode 100644
index 000000000000..9650edffb3a5
--- /dev/null
+++ b/net/penguintv/files/patch-share_defaults.opml
@@ -0,0 +1,22 @@
+--- share/defaultsubs.opml.orig 2009-03-23 13:37:19.000000000 +1100
++++ share/defaultsubs.opml 2009-03-23 13:40:39.000000000 +1100
+@@ -27,3 +27,19 @@
+ title="Planet GNOME">
+ </outline>
+ </body></opml>
++ <outline xmlUrl="http://planet.freebsdish.org/rss20.xml"
++ text="Planet FreeBSD"
++ description="Planet FreeBSD - http://planet.freebsdish.org/"
++ title="Planet FreeBSD">
++ </outline>
++ <outline xmlUrl="http://planet.freebsdish.org/complete/rss20.xml"
++ text="Planet FreeBSD - Complete"
++ description="Planet FreeBSD - http://planet.freebsdish.org/complete/"
++ title="Planet FreeBSD - Complete">
++ </outline>
++ <outline xmlUrl="http://www.mavetju.org/unix/multimedia/freebsd/multimedia.xml"
++ text="FreeBSD Multimedia Resources List"
++ description="FreeBSD Multimedia Resources List - http://www.freebsd.org/multimedia/multimedia.html"
++ title="FreeBSD Multimedia Resources List">
++ </outline>
++</body></opml>
diff --git a/net/penguintv/pkg-message b/net/penguintv/pkg-message
index b3e51bd78200..de36eb7260cc 100644
--- a/net/penguintv/pkg-message
+++ b/net/penguintv/pkg-message
@@ -5,3 +5,7 @@ by default, and if you install it from a package you don't have
threads support. Reinstall databases/sqlite3-threads if you don't
have this.
----------------------------- 8< -----------------------------------------
+If PenguinTV complains that it can't find run-mozilla.sh,
+use this to start it up:
+$ WITH_MOZ_DIR=/usr/local/lib/firefox/run-mozilla.sh PenguinTV
+----------------------------- 8< -----------------------------------------
diff --git a/net/penguintv/pkg-plist b/net/penguintv/pkg-plist
index e5c2f45ebd90..64cd2a6148c8 100644
--- a/net/penguintv/pkg-plist
+++ b/net/penguintv/pkg-plist
@@ -15,7 +15,7 @@ share/penguintv/pixmaps/throbber.gif
share/pixmaps/penguintvicon.png
share/dbus-1/services/penguintv.service
-%%PYTHON_SITELIBDIR%%/PenguinTV-3.60-py2.5.egg-info
+%%PYTHON_SITELIBDIR%%/PenguinTV-4.0.0-py2.5.egg-info
%%PYTHON_SITELIBDIR%%/penguintv/AddFeedDialog.py
%%PYTHON_SITELIBDIR%%/penguintv/AddFeedDialog.pyc
%%PYTHON_SITELIBDIR%%/penguintv/AddFeedUtils.py
@@ -26,6 +26,10 @@ share/dbus-1/services/penguintv.service
%%PYTHON_SITELIBDIR%%/penguintv/ArticleSync.pyc
%%PYTHON_SITELIBDIR%%/penguintv/BTDownloader.py
%%PYTHON_SITELIBDIR%%/penguintv/BTDownloader.pyc
+%%PYTHON_SITELIBDIR%%/penguintv/BeautifulSoup/BeautifulSoup.py
+%%PYTHON_SITELIBDIR%%/penguintv/BeautifulSoup/BeautifulSoup.pyc
+%%PYTHON_SITELIBDIR%%/penguintv/BeautifulSoup/__init__.py
+%%PYTHON_SITELIBDIR%%/penguintv/BeautifulSoup/__init__.pyc
%%PYTHON_SITELIBDIR%%/penguintv/DownloadView.py
%%PYTHON_SITELIBDIR%%/penguintv/DownloadView.pyc
%%PYTHON_SITELIBDIR%%/penguintv/Downloader.py
@@ -68,6 +72,8 @@ share/dbus-1/services/penguintv.service
%%PYTHON_SITELIBDIR%%/penguintv/MediaManager.pyc
%%PYTHON_SITELIBDIR%%/penguintv/OPML.py
%%PYTHON_SITELIBDIR%%/penguintv/OPML.pyc
+%%PYTHON_SITELIBDIR%%/penguintv/OfflineImageCache.py
+%%PYTHON_SITELIBDIR%%/penguintv/OfflineImageCache.pyc
%%PYTHON_SITELIBDIR%%/penguintv/PTVXapian.py
%%PYTHON_SITELIBDIR%%/penguintv/PTVXapian.pyc
%%PYTHON_SITELIBDIR%%/penguintv/PlanetView.py
@@ -187,10 +193,38 @@ share/dbus-1/services/penguintv.service
%%PYTHON_SITELIBDIR%%/penguintv/utils.py
%%PYTHON_SITELIBDIR%%/penguintv/utils.pyc
+share/penguintv/gtkhtml.css
+share/penguintv/glade/widescreen.glade
+share/penguintv/glade/vertical.glade
+share/penguintv/glade/standard.glade
+share/penguintv/glade/planet.glade
+share/penguintv/glade/extra_dialogs.glade
+share/penguintv/glade/dialogs.glade
+share/penguintv/glade/dialog_add_feed.glade
+share/penguintv/glade/desktop.glade
+share/icons/hicolor/scalable/hildon/penguintvicon.png
+share/icons/hicolor/scalable/apps/penguintvicon.png
+share/icons/hicolor/64x64/hildon/penguintvicon.png
+share/icons/hicolor/64x64/apps/penguintvicon.png
+share/icons/hicolor/40x40/hildon/penguintvicon.png
+share/icons/hicolor/40x40/apps/penguintvicon.png
+share/icons/hicolor/26x26/hildon/penguintvicon.png
+share/icons/hicolor/26x26/apps/penguintvicon.png
+
+@dirrm %%PYTHON_SITELIBDIR%%/penguintv/BeautifulSoup/
@dirrm %%PYTHON_SITELIBDIR%%/penguintv/ajax
@dirrm %%PYTHON_SITELIBDIR%%/penguintv/ptvbittorrent
@dirrm %%PYTHON_SITELIBDIR%%/penguintv/amazon
@dirrm %%PYTHON_SITELIBDIR%%/penguintv/trayicon
@dirrm %%PYTHON_SITELIBDIR%%/penguintv
@dirrm share/penguintv/pixmaps
+@dirrm share/penguintv/glade
@dirrm share/penguintv
+@dirrm share/icons/hicolor/scalable/hildon
+@dirrm share/icons/hicolor/64x64/hildon
+@dirrm share/icons/hicolor/40x40/hildon
+@dirrm share/icons/hicolor/40x40/apps
+@dirrm share/icons/hicolor/40x40
+@dirrm share/icons/hicolor/26x26/hildon
+@dirrm share/icons/hicolor/26x26/apps
+@dirrm share/icons/hicolor/26x26