diff options
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/py-gnome-desktop/Makefile | 63 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-desktop/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c | 20 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-desktop/pkg-descr | 2 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-desktop/pkg-plist | 135 |
5 files changed, 223 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-desktop/Makefile b/x11-toolkits/py-gnome-desktop/Makefile new file mode 100644 index 000000000..7d06f8abf --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: py-gnome-desktop +# Date created: 20 January 2006 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/x11-toolkits/py-gnome-desktop/Makefile,v 1.72 2008/03/09 21:58:25 mezz Exp $ +# + +PORTNAME= gnome +PORTVERSION= 2.22.0 +PORTREVISION= 1 +CATEGORIES= x11-toolkits python gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-python-desktop/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= -desktop +DISTNAME= gnome-python-desktop-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A set of Python bindings used by modules in the GNOME Desktop + +BUILD_DEPENDS= bug-buddy:${PORTSDIR}/devel/bug-buddy +LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \ + totem-plparser.12:${PORTSDIR}/multimedia/totem-pl-parser \ + gnome-media-profiles.0:${PORTSDIR}/audio/gnome-media \ + gnome-keyring:${PORTSDIR}/security/gnome-keyring +RUN_DEPENDS= bug-buddy:${PORTSDIR}/devel/bug-buddy + +USE_BZIP2= yes +USE_GMAKE= yes +USE_PYTHON= yes +USE_GNOME= gnomehack libgnomeprintui gnomepanel gnomedesktop \ + gtksourceview libwnck nautiluscdburner pygnome2 metacity \ + evolutiondataserver +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-metacity +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +EG_SRC_DIR= ${WRKSRC}/examples +EG_DST_DIR= ${PREFIX}/share/examples/py-gnome +.if !defined(NOPORTDOCS) +DOCSDIR= ${PREFIX}/share/doc/py-gnome-desktop +.else +DOCSDIR= ${WRKSRC}/share/doc/py-gnome-desktop +.endif + +.include <bsd.port.pre.mk> + +post-patch: + @${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ + -e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g' + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${EG_DST_DIR} + ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf - + ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR} + ${CHMOD} -R go-w ${EG_DST_DIR} +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/py-gnome-desktop/distinfo b/x11-toolkits/py-gnome-desktop/distinfo new file mode 100644 index 000000000..ccb42e48d --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-python-desktop-2.22.0.tar.bz2) = 504877a973f6abc0788283232cd703cb +SHA256 (gnome2/gnome-python-desktop-2.22.0.tar.bz2) = 116213b0b0fc3f1fa6771589eab86ccdf5d5024c30a987f3b912da0902be9d37 +SIZE (gnome2/gnome-python-desktop-2.22.0.tar.bz2) = 571816 diff --git a/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c new file mode 100644 index 000000000..05db58a4c --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c @@ -0,0 +1,20 @@ +--- gtop/gtop.c.orig Wed May 18 00:54:59 2005 ++++ gtop/gtop.c Wed May 18 00:54:12 2005 +@@ -44,6 +44,7 @@ + + #include <sys/types.h> + #include <sys/socket.h> ++#include <netinet/in.h> + #include <arpa/inet.h> + + +@@ -1316,8 +1317,8 @@ build_siglist(void) + + for(i = 0; i < len; ++i) + { +- p = &glibtop_sys_siglist[i]; + PyObject* d; ++ p = &glibtop_sys_siglist[i]; + + d = PyDict_New(); + my_dict_add_and_decref(d, "number", PyI_L(p->number)); diff --git a/x11-toolkits/py-gnome-desktop/pkg-descr b/x11-toolkits/py-gnome-desktop/pkg-descr new file mode 100644 index 000000000..cbc8cc5d8 --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/pkg-descr @@ -0,0 +1,2 @@ +GnomePythonDesktop provides python interfacing modules for some GNOME +libraries part of the GNOME Desktop. diff --git a/x11-toolkits/py-gnome-desktop/pkg-plist b/x11-toolkits/py-gnome-desktop/pkg-plist new file mode 100644 index 000000000..cdc0b502b --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/pkg-plist @@ -0,0 +1,135 @@ +%%PYTHON_SITELIBDIR%%/gtk-2.0/bugbuddy.py +%%PYTHON_SITELIBDIR%%/gtk-2.0/bugbuddy.pyc +%%PYTHON_SITELIBDIR%%/gtk-2.0/bugbuddy.pyo +%%PYTHON_SITELIBDIR%%/gtk-2.0/evolution/__init__.py +%%PYTHON_SITELIBDIR%%/gtk-2.0/evolution/ebook.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/evolution/ebook.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/evolution/ecal.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/evolution/ecal.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/applet.py +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/applet.pyc +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnome/applet.pyo +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeapplet.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeapplet.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomedesktop/__init__.py +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomedesktop/__init__.pyc +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomedesktop/__init__.pyo +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomedesktop/_gnomedesktop.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomedesktop/_gnomedesktop.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomekeyring.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomekeyring.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/__init__.py +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/__init__.pyc +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/__init__.pyo +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/_print.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/_print.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/ui.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint/ui.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gtksourceview.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gtksourceview.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/gtop.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gtop.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/mediaprofiles.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/mediaprofiles.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/metacity.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/metacity.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/nautilusburn.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/nautilusburn.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/rsvg.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/rsvg.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/totem/__init__.py +%%PYTHON_SITELIBDIR%%/gtk-2.0/totem/__init__.pyc +%%PYTHON_SITELIBDIR%%/gtk-2.0/totem/__init__.pyo +%%PYTHON_SITELIBDIR%%/gtk-2.0/totem/plparser.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/totem/plparser.so +%%PYTHON_SITELIBDIR%%/gtk-2.0/wnck.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/wnck.so +libdata/pkgconfig/gnome-python-desktop-2.0.pc +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/class-gnomeprintconfig.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/class-gnomeprintcontext.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/class-gnomeprintfont.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/class-gnomeprintfontface.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/class-gnomeprintglyphlist.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/class-gnomeprintjob.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/gnomeprint-class-reference.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/index.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprint/pygnomeprint.devhelp +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuidialog.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuifontdialog.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuifontpreview.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuifontselection.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuijobpreview.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuipaperselector.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/class-gnomeprintuipreview.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/gnomeprintui-class-reference.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/index.html +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/pygnomeprintui/pygnomeprintui.devhelp +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcebuffer.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcelanguage.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcelanguagesmanager.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcemarker.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourceprintjob.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcestylescheme.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcetag.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcetagstyle.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourcetagtable.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/class-gtksourceview.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/gtksourceview-class-reference.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/index.html +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/pygtksourceview/pygtksourceview.devhelp +%%PORTDOCS%%share/examples/py-gnome/applet/GNOME_PythonAppletSample.server +%%PORTDOCS%%share/examples/py-gnome/applet/README +%%PORTDOCS%%share/examples/py-gnome/applet/applet.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/README +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_01.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_02.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_03.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_04.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_05.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_06.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_08.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_09.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_10.glade +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_10.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/example_11.py +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/sample-image.png +%%PORTDOCS%%share/examples/py-gnome/gnomeprint/test-print.py +%%PORTDOCS%%share/examples/py-gnome/gtksourceview/test-widget.py +%%PORTDOCS%%share/examples/py-gnome/keyring-async.py +%%PORTDOCS%%share/examples/py-gnome/keyring.py +%%PORTDOCS%%share/examples/py-gnome/mediaprofiles/profiles.py +%%PORTDOCS%%share/examples/py-gnome/nautilusburn/blank_disc.py +%%PORTDOCS%%share/examples/py-gnome/nautilusburn/drive_selection.py +%%PORTDOCS%%share/examples/py-gnome/nautilusburn/write_iso.py +%%PORTDOCS%%share/examples/py-gnome/rsvg/rsvg-cairo.py +%%PORTDOCS%%share/examples/py-gnome/wnck_example.py +share/pygtk/2.0/defs/_gnomedesktop.defs +share/pygtk/2.0/defs/applet.defs +share/pygtk/2.0/defs/art.defs +share/pygtk/2.0/defs/ebook.defs +share/pygtk/2.0/defs/gnomekeyring.defs +share/pygtk/2.0/defs/gtksourceview.defs +share/pygtk/2.0/defs/mediaprofiles.defs +share/pygtk/2.0/defs/metacity.defs +share/pygtk/2.0/defs/nautilus_burn.defs +share/pygtk/2.0/defs/print.defs +share/pygtk/2.0/defs/printui.defs +share/pygtk/2.0/defs/wnck.defs +%%PORTDOCS%%@dirrm share/examples/py-gnome/rsvg +%%PORTDOCS%%@dirrm share/examples/py-gnome/nautilusburn +%%PORTDOCS%%@dirrm share/examples/py-gnome/mediaprofiles +%%PORTDOCS%%@dirrm share/examples/py-gnome/gtksourceview +%%PORTDOCS%%@dirrm share/examples/py-gnome/gnomeprint +%%PORTDOCS%%@dirrm share/examples/py-gnome/applet +%%PORTDOCS%%@dirrmtry share/examples/py-gnome +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pygtksourceview +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pygnomeprintui +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pygnomeprint +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/totem +@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gnomeprint +@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gnomedesktop +@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/evolution |