diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-19 05:10:29 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-19 05:10:29 +0800 |
commit | 2507caf2d3f170f28abc42c897a011638f5f6aeb (patch) | |
tree | 85ed2de90b81b0d5a8cf3a208acc154b31f05694 | |
parent | 0ce47203d8b420afcfbbb4407fca298ce0628f1a (diff) | |
download | marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.tar marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.tar.gz marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.tar.bz2 marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.tar.lz marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.tar.xz marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.tar.zst marcuscom-ports-2507caf2d3f170f28abc42c897a011638f5f6aeb.zip |
Add rep-gtk2, and fix it for GNOME 2.6.
Obtained from: GNOME CVS repo
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2120 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-toolkits/rep-gtk2/Makefile | 44 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/files/patch-gnome-canvas.defs | 14 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/files/patch-gnomeui.defs | 72 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/pkg-plist | 14 |
6 files changed, 149 insertions, 0 deletions
diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile new file mode 100644 index 000000000..2db6ffc90 --- /dev/null +++ b/x11-toolkits/rep-gtk2/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: rep-gtk +# Date created: 06 October 1999 +# Whom: Yukihiro Nakai <nakai@FreeBSD.org> +# +# $FreeBSD: ports/x11-toolkits/rep-gtk2/Makefile,v 1.47 2004/03/18 20:10:42 marcus Exp $ +# + +PORTNAME= rep-gtk2 +PORTVERSION= 0.18 +PORTREVISION= 1 +PORTEPOCH= 1 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//} +DISTNAME= rep-gtk-${PORTVERSION} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GTK+-2 binding for rep Lisp interpreter + +LIB_DEPENDS= rep.12:${PORTSDIR}/lang/librep + +PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//} + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= libglade2 +WANT_GNOME= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libglade +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//} + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +USE_GNOME+= libgnomeui +CONFIGURE_ARGS+= --with-gnome +PKGNAMESUFFIX= -gnome +.else +CONFIGURE_ARGS+= --without-gnome +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/rep-gtk2/distinfo b/x11-toolkits/rep-gtk2/distinfo new file mode 100644 index 000000000..20094a72f --- /dev/null +++ b/x11-toolkits/rep-gtk2/distinfo @@ -0,0 +1,2 @@ +MD5 (rep-gtk-0.18.tar.gz) = 220b0d728656472c068e40823f0a3b22 +SIZE (rep-gtk-0.18.tar.gz) = 147665 diff --git a/x11-toolkits/rep-gtk2/files/patch-gnome-canvas.defs b/x11-toolkits/rep-gtk2/files/patch-gnome-canvas.defs new file mode 100644 index 000000000..06a547e90 --- /dev/null +++ b/x11-toolkits/rep-gtk2/files/patch-gnome-canvas.defs @@ -0,0 +1,14 @@ +--- gnome-canvas.defs.orig Thu Mar 18 15:02:22 2004 ++++ gnome-canvas.defs Thu Mar 18 15:02:26 2004 +@@ -295,11 +295,6 @@ + + ;; GnomeCanvasGroup + +-(define-func gnome_canvas_group_child_bounds +- none +- ((GnomeCanvasGroup group) +- (GnomeCanvasItem item))) +- + + ;; gnome-canvas-util + diff --git a/x11-toolkits/rep-gtk2/files/patch-gnomeui.defs b/x11-toolkits/rep-gtk2/files/patch-gnomeui.defs new file mode 100644 index 000000000..6d963c35e --- /dev/null +++ b/x11-toolkits/rep-gtk2/files/patch-gnomeui.defs @@ -0,0 +1,72 @@ +--- gnomeui.defs.orig Thu Mar 18 15:03:51 2004 ++++ gnomeui.defs Thu Mar 18 15:04:41 2004 +@@ -228,42 +228,6 @@ + (protection *result*)) + + +-;; gnome-geometry +- +-(define-func gnome_parse_geometry +- bool +- ((string geom) +- ((ret int) xpos) +- ((ret int) ypos) +- ((ret int) width) +- ((ret int) height))) +- +-(define-func gnome_geometry_string +- string +- ((GdkWindow window))) +- +- +-;; gtkcauldron +- +-;; [the interface isn't suited to lisp anyway..] +- +- +-;; GnomeAbout +- +-(define-object GnomeAbout (GtkDialog)) +- +-(define-func gnome_about_new +- GtkWidget +- ((string name) +- (string version) +- (string copyright) +- (string comments) +- ((tvec string) authors) +- ((tvec string) documentors) +- (string translator_credits) +- (GdkPixbuf logo (null-ok)))) +- +- + ;; GnomeApp + + (define-object GnomeApp (GtkWindow)) +@@ -327,11 +291,6 @@ + none + ((GnomeAppBar appbar))) + +-(define-func gnome_appbar_set_progress +- none +- ((GnomeAppBar appbar) +- (float percentage))) +- + (define-func gnome_appbar_get_progress + GtkProgress + ((GnomeAppBar appbar))) +@@ -675,14 +634,6 @@ + ((GnomeEntry ge) + (int save) + (string text))) +- +-(define-func gnome_entry_load_history +- none +- ((GnomeEntry ge))) +- +-(define-func gnome_entry_save_history +- none +- ((GnomeEntry ge))) + + + ;; GnomeFileEntry diff --git a/x11-toolkits/rep-gtk2/pkg-descr b/x11-toolkits/rep-gtk2/pkg-descr new file mode 100644 index 000000000..4ceb045b3 --- /dev/null +++ b/x11-toolkits/rep-gtk2/pkg-descr @@ -0,0 +1,3 @@ +Rep-gtk offers GTK+-2 bindings for rep Lisp interpreter. + +WWW: http://rep-gtk.sourceforge.net/ diff --git a/x11-toolkits/rep-gtk2/pkg-plist b/x11-toolkits/rep-gtk2/pkg-plist new file mode 100644 index 000000000..57f4fd56e --- /dev/null +++ b/x11-toolkits/rep-gtk2/pkg-plist @@ -0,0 +1,14 @@ +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-canvas.la +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-canvas.so +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-lib.la +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-lib.so +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-ui.la +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-ui.so +libexec/rep/%%GNUHOST%%/gui/gtk-2/gtk.la +libexec/rep/%%GNUHOST%%/gui/gtk-2/gtk.so +libexec/rep/%%GNUHOST%%/gui/gtk-2/libglade.la +libexec/rep/%%GNUHOST%%/gui/gtk-2/libglade.so +libexec/rep/%%GNUHOST%%/gui/gtk-2/types.la +libexec/rep/%%GNUHOST%%/gui/gtk-2/types.so +@dirrm libexec/rep/%%GNUHOST%%/gui/gtk-2 +@dirrm libexec/rep/%%GNUHOST%%/gui |