summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-23 22:32:23 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-23 22:32:23 +0800
commitd18cb53667e5fae09485e68dff923df881f3be87 (patch)
tree51f668c6635d55c11397bda29fd937c9f03b29d9 /misc
parent02c9d8b151cbf35a911c9e864ef93aef25c5757e (diff)
downloadmarcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.tar
marcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.tar.gz
marcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.tar.bz2
marcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.tar.lz
marcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.tar.xz
marcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.tar.zst
marcuscom-ports-d18cb53667e5fae09485e68dff923df881f3be87.zip
Add gnome-osd, an On-Screen Display infrastructure using Pango text
rendering. Submitted by: Jean-Yves Lefort <jylefort@brutele.be> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2706 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-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 000000000..750a6ae68
--- /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 000000000..6aa428b3c
--- /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 000000000..f3e28dbbf
--- /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 000000000..ec4155818
--- /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 000000000..a36577ee6
--- /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 000000000..ceba8a22b
--- /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%%