summaryrefslogtreecommitdiff
path: root/misc/gnome-osd
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-07 23:11:32 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-07 23:11:32 +0000
commit1e77d6b0a7360bccb2f3441f2fa45b2cc518105c (patch)
tree8251a0d3f96333a3542c76cdcce6990112d211f4 /misc/gnome-osd
parentNote that the GNOME 2.6 -> 2.8 update requires the use of gnome_upgrade.sh. (diff)
Add gnome-osd, a project to create an OSD (On-Screen-Display) infrastructure,
similar to XOSD. It includes a command-line client, and sample xchat and rhythmbox plugins. PR: 70778 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Notes
Notes: svn path=/head/; revision=121086
Diffstat (limited to 'misc/gnome-osd')
-rw-r--r--misc/gnome-osd/Makefile46
-rw-r--r--misc/gnome-osd/distinfo2
-rw-r--r--misc/gnome-osd/files/patch-README13
-rw-r--r--misc/gnome-osd/pkg-descr8
-rw-r--r--misc/gnome-osd/pkg-message6
-rw-r--r--misc/gnome-osd/pkg-plist23
6 files changed, 98 insertions, 0 deletions
diff --git a/misc/gnome-osd/Makefile b/misc/gnome-osd/Makefile
new file mode 100644
index 000000000000..750a6ae68cd3
--- /dev/null
+++ b/misc/gnome-osd/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: gnome-osd
+# Date created: 21 Aug 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-osd
+PORTVERSION= 0.4.0
+CATEGORIES= misc
+MASTER_SITES= http://yang.inescn.pt/~gjc/
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= An On-Screen-Display infrastructure using Pango text rendering
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnomeprefix intlhack pygnome2
+USE_PYTHON= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|share/pixmaps|share/gnome/pixmaps|' ${WRKSRC}/gnome-osd-properties
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} \
+ ${WRKSRC}/AUTHORS \
+ ${WRKSRC}/NEWS \
+ ${WRKSRC}/README \
+ ${DOCSDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} \
+ ${WRKSRC}/rbosd.py \
+ ${WRKSRC}/xchatosd.py \
+ ${EXAMPLESDIR}
+.endif
+
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/misc/gnome-osd/distinfo b/misc/gnome-osd/distinfo
new file mode 100644
index 000000000000..6aa428b3cf12
--- /dev/null
+++ b/misc/gnome-osd/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome-osd-0.4.0.tar.bz2) = 26d4bbaf9c644c6ae722872f63c54f02
+SIZE (gnome-osd-0.4.0.tar.bz2) = 101249
diff --git a/misc/gnome-osd/files/patch-README b/misc/gnome-osd/files/patch-README
new file mode 100644
index 000000000000..f3e28dbbff7a
--- /dev/null
+++ b/misc/gnome-osd/files/patch-README
@@ -0,0 +1,13 @@
+--- README.orig Sat Aug 21 17:29:37 2004
++++ README Sat Aug 21 17:30:03 2004
+@@ -35,10 +35,3 @@
+ yourself, somewhere. To start, simply run the program with no arguments.
+ From there on, every time rhythmbox changes song, you get an OSD message
+ notifying you of this.
+-
+- ** Note **
+- In order to make rbosd.py work correctly, you need to
+-apply the patch gnome-python-2.5.90.diff against gnome-python 2.5.90
+-source and recompile. This is a temporary solution until gnome-python
+-2.5.91 is released.
+-
diff --git a/misc/gnome-osd/pkg-descr b/misc/gnome-osd/pkg-descr
new file mode 100644
index 000000000000..ec4155818649
--- /dev/null
+++ b/misc/gnome-osd/pkg-descr
@@ -0,0 +1,8 @@
+Gnome OSD is a new small project to create an OSD (On-Screen-Display)
+infrastructure, similar to XOSD. It includes a command-line client,
+and sample xchat and rhythmbox plugins.
+
+WWW: http://www.gnomefiles.org/app.php?soft_id=350
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/misc/gnome-osd/pkg-message b/misc/gnome-osd/pkg-message
new file mode 100644
index 000000000000..a36577ee6ae2
--- /dev/null
+++ b/misc/gnome-osd/pkg-message
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------------------
+IMPORTANT: the GConf daemon must be restarted after installing this
+port, by typing:
+
+ gconftool-2 --shutdown && gconftool-2 --spawn
+-------------------------------------------------------------------------------
diff --git a/misc/gnome-osd/pkg-plist b/misc/gnome-osd/pkg-plist
new file mode 100644
index 000000000000..ceba8a22b26c
--- /dev/null
+++ b/misc/gnome-osd/pkg-plist
@@ -0,0 +1,23 @@
+bin/gnome-osd-client
+bin/gnome-osd-properties
+@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gnome-osd.schemas > /dev/null || /usr/bin/true
+etc/gconf/schemas/gnome-osd.schemas
+@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gnome-osd.schemas > /dev/null || /usr/bin/true
+libdata/bonobo/servers/GNOME_OSD.server
+%%PYTHON_SITELIBDIR%%/gconfsync.py
+%%PYTHON_SITELIBDIR%%/gconfsync.pyc
+%%PYTHON_SITELIBDIR%%/gconfsync.pyo
+%%PYTHON_SITELIBDIR%%/gosd.py
+%%PYTHON_SITELIBDIR%%/gosd.pyc
+%%PYTHON_SITELIBDIR%%/gosd.pyo
+libexec/gnome-osd-server
+share/gnome/control-center-2.0/capplets/gnome-osd-properties.desktop
+share/gnome/pixmaps/gnome-osd.png
+share/locale/pt/LC_MESSAGES/gnome-osd.mo
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/rbosd.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/xchatosd.py
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%