aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-10-14 16:59:47 +0800
committerahze <ahze@FreeBSD.org>2006-10-14 16:59:47 +0800
commit2f053994cae7e8ccab9b0c725c48df6dbac5b5d0 (patch)
treea9c932b7e96b70a41f22d428b3be46e76404a6d9
parentbcc3dbbb8d0e7ab752bfc38cceccb91fad00330e (diff)
downloadfreebsd-ports-gnome-2f053994cae7e8ccab9b0c725c48df6dbac5b5d0.tar.gz
freebsd-ports-gnome-2f053994cae7e8ccab9b0c725c48df6dbac5b5d0.tar.zst
freebsd-ports-gnome-2f053994cae7e8ccab9b0c725c48df6dbac5b5d0.zip
- Add ontv
GNOME Applet frontend of XMLTV Approved by: portmgr (marcus, kris)
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/ontv/Makefile32
-rw-r--r--deskutils/ontv/distinfo3
-rw-r--r--deskutils/ontv/files/patch-data_Makefile.in11
-rw-r--r--deskutils/ontv/files/patch-ontv_Main.py13
-rw-r--r--deskutils/ontv/files/patch-ontv___init__.in.py15
-rw-r--r--deskutils/ontv/pkg-descr1
-rw-r--r--deskutils/ontv/pkg-plist103
8 files changed, 179 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 30f8bce5ee62..e1306abaff69 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -119,6 +119,7 @@
SUBDIR += nautilus-sendto
SUBDIR += notification-daemon
SUBDIR += offix-trash
+ SUBDIR += ontv
SUBDIR += p5-Data-ICal
SUBDIR += p5-Goo
SUBDIR += pal
diff --git a/deskutils/ontv/Makefile b/deskutils/ontv/Makefile
new file mode 100644
index 000000000000..9d130bbdba80
--- /dev/null
+++ b/deskutils/ontv/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ontv
+# Date created: 2006-07-24
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/deskutils/ontv/Makefile,v 1.3 2006/10/08 16:50:42 mezz Exp $
+#
+
+PORTNAME= ontv
+PORTVERSION= 2.2.0
+PORTREVISION= 1
+CATEGORIES= deskutils
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME Applet frontend of XMLTV
+
+LIB_DEPENDS= notify.2:${PORTSDIR}/devel/libnotify
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree \
+ tv_grab_be:${PORTSDIR}/textproc/p5-xmltv
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GNOME= pygnomedesktop gnomeprefix pygnomeextras
+USE_GMAKE= yes
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+GCONF_SCHEMAS= ontv.schemas
+
+.include <bsd.port.mk>
diff --git a/deskutils/ontv/distinfo b/deskutils/ontv/distinfo
new file mode 100644
index 000000000000..a89575630aec
--- /dev/null
+++ b/deskutils/ontv/distinfo
@@ -0,0 +1,3 @@
+MD5 (ontv-2.2.0.tar.bz2) = 10f72547a3026c2485a379a12301376c
+SHA256 (ontv-2.2.0.tar.bz2) = 4e7fb7fc70899b0cb16c7452a10ef2dd8f0d14c127137c08eed32283958b50cb
+SIZE (ontv-2.2.0.tar.bz2) = 406089
diff --git a/deskutils/ontv/files/patch-data_Makefile.in b/deskutils/ontv/files/patch-data_Makefile.in
new file mode 100644
index 000000000000..79d3d00fc881
--- /dev/null
+++ b/deskutils/ontv/files/patch-data_Makefile.in
@@ -0,0 +1,11 @@
+--- data/Makefile.in.orig Mon Jul 24 23:13:40 2006
++++ data/Makefile.in Mon Jul 24 23:14:10 2006
+@@ -240,7 +240,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = images
+-serverdir = $(libdir)/bonobo/servers
++serverdir = @prefix@/libdata/bonobo/servers
+ server_in_files = GNOME_OnTVApplet.server.in
+ server_DATA = $(server_in_files:.server.in=.server)
+ gladedir = $(datadir)/ontv
diff --git a/deskutils/ontv/files/patch-ontv_Main.py b/deskutils/ontv/files/patch-ontv_Main.py
new file mode 100644
index 000000000000..f34850a3a22e
--- /dev/null
+++ b/deskutils/ontv/files/patch-ontv_Main.py
@@ -0,0 +1,13 @@
+--- ontv/Main.py.orig Mon Jul 24 23:09:57 2006
++++ ontv/Main.py Mon Jul 24 23:10:06 2006
+@@ -38,8 +38,8 @@
+ gettext.bindtextdomain(NAME.lower(), LOCALE_DIR)
+ gettext.textdomain(NAME.lower())
+
+- locale.bindtextdomain(NAME.lower(), LOCALE_DIR)
+- locale.textdomain(NAME.lower())
++# locale.bindtextdomain(NAME.lower(), LOCALE_DIR)
++# locale.textdomain(NAME.lower())
+
+ try:
+ opts, args = getopt.getopt(sys.argv[1:], "hdw", ["help", "debug",
diff --git a/deskutils/ontv/files/patch-ontv___init__.in.py b/deskutils/ontv/files/patch-ontv___init__.in.py
new file mode 100644
index 000000000000..a572e9074428
--- /dev/null
+++ b/deskutils/ontv/files/patch-ontv___init__.in.py
@@ -0,0 +1,15 @@
+--- ontv/__init__.py.in.orig Mon Jul 24 23:05:49 2006
++++ ontv/__init__.py.in Mon Jul 24 23:06:14 2006
+@@ -1,7 +1,7 @@
+ NAME = 'OnTV'
+ VERSION = '@VERSION@'
+-SERVERS_DIR = '@prefix@/lib/bonobo/servers'
+-DATA_DIR = '@prefix@/@DATADIRNAME@/ontv'
+-PIXMAPS_DIR = '@prefix@/@DATADIRNAME@/pixmaps'
+-UI_DIR = '@prefix@/@DATADIRNAME@/gnome-2.0/ui'
+-LOCALE_DIR = '@prefix@/@DATADIRNAME@/locale'
++SERVERS_DIR = '@prefix@/libdata/bonobo/servers'
++DATA_DIR = '@prefix@/share/gnome/ontv'
++PIXMAPS_DIR = '@prefix@/share/gnome/pixmaps'
++UI_DIR = '@prefix@/share/gnome/gnome-2.0/ui'
++LOCALE_DIR = '@prefix@/share/locale'
diff --git a/deskutils/ontv/pkg-descr b/deskutils/ontv/pkg-descr
new file mode 100644
index 000000000000..40fe2d716862
--- /dev/null
+++ b/deskutils/ontv/pkg-descr
@@ -0,0 +1 @@
+GNOME Applet frontend of XMLTV
diff --git a/deskutils/ontv/pkg-plist b/deskutils/ontv/pkg-plist
new file mode 100644
index 000000000000..678e481878ea
--- /dev/null
+++ b/deskutils/ontv/pkg-plist
@@ -0,0 +1,103 @@
+%%PYTHON_SITELIBDIR%%/ontv/AboutDialog.py
+%%PYTHON_SITELIBDIR%%/ontv/AboutDialog.pyc
+%%PYTHON_SITELIBDIR%%/ontv/AboutDialog.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Channel.py
+%%PYTHON_SITELIBDIR%%/ontv/Channel.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Channel.pyo
+%%PYTHON_SITELIBDIR%%/ontv/ChannelDialog.py
+%%PYTHON_SITELIBDIR%%/ontv/ChannelDialog.pyc
+%%PYTHON_SITELIBDIR%%/ontv/ChannelDialog.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Configuration.py
+%%PYTHON_SITELIBDIR%%/ontv/Configuration.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Configuration.pyo
+%%PYTHON_SITELIBDIR%%/ontv/DBus.py
+%%PYTHON_SITELIBDIR%%/ontv/DBus.pyc
+%%PYTHON_SITELIBDIR%%/ontv/DBus.pyo
+%%PYTHON_SITELIBDIR%%/ontv/GUI.py
+%%PYTHON_SITELIBDIR%%/ontv/GUI.pyc
+%%PYTHON_SITELIBDIR%%/ontv/GUI.pyo
+%%PYTHON_SITELIBDIR%%/ontv/KeyBinder.py
+%%PYTHON_SITELIBDIR%%/ontv/KeyBinder.pyc
+%%PYTHON_SITELIBDIR%%/ontv/KeyBinder.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Listings.py
+%%PYTHON_SITELIBDIR%%/ontv/Listings.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Listings.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Main.py
+%%PYTHON_SITELIBDIR%%/ontv/Main.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Main.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Notification.py
+%%PYTHON_SITELIBDIR%%/ontv/Notification.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Notification.pyo
+%%PYTHON_SITELIBDIR%%/ontv/OnTVApplet.py
+%%PYTHON_SITELIBDIR%%/ontv/OnTVApplet.pyc
+%%PYTHON_SITELIBDIR%%/ontv/OnTVApplet.pyo
+%%PYTHON_SITELIBDIR%%/ontv/PreferencesDialog.py
+%%PYTHON_SITELIBDIR%%/ontv/PreferencesDialog.pyc
+%%PYTHON_SITELIBDIR%%/ontv/PreferencesDialog.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Program.py
+%%PYTHON_SITELIBDIR%%/ontv/Program.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Program.pyo
+%%PYTHON_SITELIBDIR%%/ontv/ProgramDialog.py
+%%PYTHON_SITELIBDIR%%/ontv/ProgramDialog.pyc
+%%PYTHON_SITELIBDIR%%/ontv/ProgramDialog.pyo
+%%PYTHON_SITELIBDIR%%/ontv/ProgramWindow.py
+%%PYTHON_SITELIBDIR%%/ontv/ProgramWindow.pyc
+%%PYTHON_SITELIBDIR%%/ontv/ProgramWindow.pyo
+%%PYTHON_SITELIBDIR%%/ontv/Reminders.py
+%%PYTHON_SITELIBDIR%%/ontv/Reminders.pyc
+%%PYTHON_SITELIBDIR%%/ontv/Reminders.pyo
+%%PYTHON_SITELIBDIR%%/ontv/SearchDialog.py
+%%PYTHON_SITELIBDIR%%/ontv/SearchDialog.pyc
+%%PYTHON_SITELIBDIR%%/ontv/SearchDialog.pyo
+%%PYTHON_SITELIBDIR%%/ontv/TimeSpan.py
+%%PYTHON_SITELIBDIR%%/ontv/TimeSpan.pyc
+%%PYTHON_SITELIBDIR%%/ontv/TimeSpan.pyo
+%%PYTHON_SITELIBDIR%%/ontv/XMLTVFile.py
+%%PYTHON_SITELIBDIR%%/ontv/XMLTVFile.pyc
+%%PYTHON_SITELIBDIR%%/ontv/XMLTVFile.pyo
+%%PYTHON_SITELIBDIR%%/ontv/__init__.py
+%%PYTHON_SITELIBDIR%%/ontv/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ontv/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ontv/keybinder/__init__.py
+%%PYTHON_SITELIBDIR%%/ontv/keybinder/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ontv/keybinder/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ontv/keybinder/_keybinder.a
+%%PYTHON_SITELIBDIR%%/ontv/keybinder/_keybinder.la
+%%PYTHON_SITELIBDIR%%/ontv/keybinder/_keybinder.so
+%%PYTHON_SITELIBDIR%%/ontv/xmltv.py
+%%PYTHON_SITELIBDIR%%/ontv/xmltv.pyc
+%%PYTHON_SITELIBDIR%%/ontv/xmltv.pyo
+libdata/bonobo/servers/GNOME_OnTVApplet.server
+libexec/ontv
+share/gnome/gnome-2.0/ui/GNOME_OnTVApplet.xml
+share/gnome/ontv/ontv-logo-downloading.png
+share/gnome/ontv/ontv.glade
+share/gnome/pixmaps/ontv.png
+share/locale/bg/LC_MESSAGES/ontv.mo
+share/locale/de/LC_MESSAGES/ontv.mo
+share/locale/en_CA/LC_MESSAGES/ontv.mo
+share/locale/en_GB/LC_MESSAGES/ontv.mo
+share/locale/es/LC_MESSAGES/ontv.mo
+share/locale/fi/LC_MESSAGES/ontv.mo
+share/locale/fr/LC_MESSAGES/ontv.mo
+share/locale/lv/LC_MESSAGES/ontv.mo
+share/locale/nb/LC_MESSAGES/ontv.mo
+share/locale/nl/LC_MESSAGES/ontv.mo
+share/locale/pa/LC_MESSAGES/ontv.mo
+share/locale/pl/LC_MESSAGES/ontv.mo
+share/locale/pt_BR/LC_MESSAGES/ontv.mo
+share/locale/sv/LC_MESSAGES/ontv.mo
+share/locale/uk/LC_MESSAGES/ontv.mo
+share/locale/vi/LC_MESSAGES/ontv.mo
+share/locale/zh_CN/LC_MESSAGES/ontv.mo
+@dirrm share/gnome/ontv
+@dirrm %%PYTHON_SITELIBDIR%%/ontv/keybinder
+@dirrm %%PYTHON_SITELIBDIR%%/ontv
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/uk
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/pl
+@dirrmtry share/locale/fi/LC_MESSAGES
+@dirrmtry share/locale/fi