From d18cb53667e5fae09485e68dff923df881f3be87 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 23 Aug 2004 14:32:23 +0000 Subject: Add gnome-osd, an On-Screen Display infrastructure using Pango text rendering. Submitted by: Jean-Yves Lefort git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2706 df743ca5-7f9a-e211-a948-0013205c9059 --- misc/gnome-osd/Makefile | 46 +++++++++++++++++++++++++++++++++++++++ misc/gnome-osd/distinfo | 2 ++ misc/gnome-osd/files/patch-README | 13 +++++++++++ misc/gnome-osd/pkg-descr | 8 +++++++ misc/gnome-osd/pkg-message | 6 +++++ misc/gnome-osd/pkg-plist | 23 ++++++++++++++++++++ 6 files changed, 98 insertions(+) create mode 100644 misc/gnome-osd/Makefile create mode 100644 misc/gnome-osd/distinfo create mode 100644 misc/gnome-osd/files/patch-README create mode 100644 misc/gnome-osd/pkg-descr create mode 100644 misc/gnome-osd/pkg-message create mode 100644 misc/gnome-osd/pkg-plist (limited to 'misc') 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 +# +# $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 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%% -- cgit v1.2.3