diff options
Diffstat (limited to 'x11-toolkits/libgtk-java')
-rw-r--r-- | x11-toolkits/libgtk-java/Makefile | 53 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/files/patch-gdk_src_jni_org_gnu_gdk_Display.c | 12 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/files/patch-gtk_src_Makefile.in | 20 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c | 17 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_TreeStore.c | 38 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/pkg-descr | 8 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/pkg-message | 7 | ||||
-rw-r--r-- | x11-toolkits/libgtk-java/pkg-plist | 4 |
9 files changed, 0 insertions, 161 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile deleted file mode 100644 index 2ef3352b7..000000000 --- a/x11-toolkits/libgtk-java/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# New ports collection makefile for: libgtk-java -# Date created: 22 December 2003 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= libgtk-java -PORTVERSION= 2.3.6 -CATEGORIES= x11-toolkits java -MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3 -DIST_SUBDIR= gnome2 - -MAINTAINER= gnome@FreeBSD.org -COMMENT= Java wrapper for Gtk+, Pango, Atk, and Glib - -USE_BZIP2= yes -USE_XLIB= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -USE_JAVA= 1.2+ -USE_GNOME= gnomehack gtk20 -CONFIGURE_ARGS= --without-gcj-compile \ - --with-java-prefix=${JAVA_HOME} -CONFIGURE_ENV= DB2="/dev/null" - -GTK_API_VERSION= 2.4 -VERSION= beta1 -PLIST_SUB= GTK_API_VERSION=${GTK_API_VERSION} \ - PORTVERSION=${VERSION} - -PKGMESSAGE= ${WRKDIR}/pkg-message - -do-install: - ${MKDIR} ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/gtk/lib/libgtkjava${GTK_API_VERSION}.so.${VERSION} \ - ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so.${VERSION} ${PREFIX}/lib/libgtkjava${GTK_API_VERSION}.so - ${MKDIR} ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/gtk/lib/gtk${GTK_API_VERSION}-${VERSION}.jar \ - ${JAVAJARDIR} - ${LN} -sf ${JAVAJARDIR}/gtk${GTK_API_VERSION}-${VERSION}.jar \ - ${JAVAJARDIR}/gtk${GTK_API_VERSION}.jar - -post-install: - @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \ - s|%%PREFIX%%|${PREFIX}|g ; \ - s|%%GTK_API_VERSION%%|${GTK_API_VERSION}|g' \ - < ${PKGDIR}/pkg-message > ${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/x11-toolkits/libgtk-java/distinfo b/x11-toolkits/libgtk-java/distinfo deleted file mode 100644 index 4b589b40d..000000000 --- a/x11-toolkits/libgtk-java/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (gnome2/libgtk-java-2.3.6.tar.bz2) = 34267eea69bed295aeace367870363fb -SIZE (gnome2/libgtk-java-2.3.6.tar.bz2) = 378287 diff --git a/x11-toolkits/libgtk-java/files/patch-gdk_src_jni_org_gnu_gdk_Display.c b/x11-toolkits/libgtk-java/files/patch-gdk_src_jni_org_gnu_gdk_Display.c deleted file mode 100644 index d87d1195d..000000000 --- a/x11-toolkits/libgtk-java/files/patch-gdk_src_jni_org_gnu_gdk_Display.c +++ /dev/null @@ -1,12 +0,0 @@ ---- gdk/src/jni/org_gnu_gdk_Display.c.orig Sat Feb 7 20:32:44 2004 -+++ gdk/src/jni/org_gnu_gdk_Display.c Sat Feb 7 20:39:35 2004 -@@ -272,7 +272,8 @@ - JNIEXPORT jint JNICALL Java_org_gnu_gdk_Display_gdk_1display_1get_1window_1at_1pointer - (JNIEnv *env, jclass cls, jint display, jint x, jint y) - { -- return (jint)gdk_display_get_window_at_pointer((GdkDisplay*)display, &(gint)x, &(gint)y); -+ gint gy = (gint)y, gx = (gint)x; -+ return (jint)gdk_display_get_window_at_pointer((GdkDisplay*)display, &gx, &gy); - } - - /* diff --git a/x11-toolkits/libgtk-java/files/patch-gtk_src_Makefile.in b/x11-toolkits/libgtk-java/files/patch-gtk_src_Makefile.in deleted file mode 100644 index bb499db74..000000000 --- a/x11-toolkits/libgtk-java/files/patch-gtk_src_Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- gtk/src/Makefile.in.orig Thu Jan 22 02:59:16 2004 -+++ gtk/src/Makefile.in Thu Jan 22 03:36:50 2004 -@@ -136,7 +136,7 @@ - COMPILED_CLASSES:=$(shell echo $(CLASSES) | sed -e 's=\.class=\.o=g' ) - - ../lib/gtk${gtkapiversion}.jar: $(CLASSES) -- @(cd build-java; $(JAR) cf ../../lib/gtk${gtkapiversion}-${gtkversion}.jar `find -name "*.class"` ) -+ @(cd build-java; $(JAR) cf ../../lib/gtk${gtkapiversion}-${gtkversion}.jar `find . -name "*.class"` ) - @(cd ../lib; test ! -L gtk${gtkapiversion}.jar && ln -s gtk${gtkapiversion}-${gtkversion}.jar gtk${gtkapiversion}.jar) || exit 0 - - jar: dirs ../lib/gtk${gtkapiversion}.jar -@@ -146,7 +146,7 @@ - @(test ! -d ../lib && mkdir ../lib) || exit 0 - $(CC) $(CFLAGS) -shared -o ../lib/libgtkjava${gtkapiversion}.so.${gtkversion} \ - $(OBJECTS) \ -- $(CFLAGS) $(GTK_LIBS) $(JAVA_INCLUDES) -Xlinker --no-undefined -+ $(CFLAGS) $(GTK_LIBS) -lc $(JAVA_INCLUDES) -Xlinker --no-undefined - @(cd ../lib; test ! -L libgtkjava${gtkapiversion}.so && ln -s libgtkjava${gtkapiversion}.so.${gtkversion} libgtkjava${gtkapiversion}.so) || exit 0 - - nativelib: ../lib/libgtkjava${gtkapiversion}.so.${gtkversion} diff --git a/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c b/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c deleted file mode 100644 index 3c42fe4cf..000000000 --- a/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c +++ /dev/null @@ -1,17 +0,0 @@ ---- gtk/src/jni/org_gnu_gtk_IconInfo.c.orig Thu Feb 19 14:18:04 2004 -+++ gtk/src/jni/org_gnu_gtk_IconInfo.c Thu Feb 19 14:18:54 2004 -@@ -129,12 +129,13 @@ - GdkPoint** point = g_malloc(sizeof(GdkPoint*) * (gint)numPoints); - jint* elements = (*env)->GetIntArrayElements(env, points, NULL); - int index; -+ gint gNumPoints = (gint)numPoints; - - for (index = 0; index < (gint)numPoints; index++) - { - point[index] = (GdkPoint*)elements[index]; - } -- return gtk_icon_info_get_attach_points((GtkIconInfo*)info, point, &(gint)numPoints); -+ return gtk_icon_info_get_attach_points((GtkIconInfo*)info, point, &gNumPoints); - } - - /* diff --git a/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_TreeStore.c b/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_TreeStore.c deleted file mode 100644 index aaceca7c2..000000000 --- a/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_TreeStore.c +++ /dev/null @@ -1,38 +0,0 @@ ---- gtk/src/jni/org_gnu_gtk_TreeStore.c.orig Sun Mar 7 00:56:20 2004 -+++ gtk/src/jni/org_gnu_gtk_TreeStore.c Sun Mar 7 00:57:03 2004 -@@ -388,7 +388,7 @@ - *env, jclass cls, jint treeStore, jint parent, jint sibling) - { - GtkTreeStore *treeStore_g = (GtkTreeStore *)treeStore; -- GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter));; -+ GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter)); - GtkTreeIter *parent_g = (GtkTreeIter *)parent; - GtkTreeIter *sibling_g = (GtkTreeIter *)sibling; - gtk_tree_store_insert_before (treeStore_g, iter_g, parent_g, sibling_g); -@@ -404,7 +404,7 @@ - jclass cls, jint treeStore, jint parent, jint sibling) - { - GtkTreeStore *treeStore_g = (GtkTreeStore *)treeStore; -- GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter));; -+ GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter)); - GtkTreeIter *parent_g = (GtkTreeIter *)parent; - GtkTreeIter *sibling_g = (GtkTreeIter *)sibling; - gtk_tree_store_insert_after (treeStore_g, iter_g, parent_g, sibling_g); -@@ -420,7 +420,7 @@ - jclass cls, jint treeStore, jint parent) - { - GtkTreeStore *treeStore_g = (GtkTreeStore *)treeStore; -- GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter));; -+ GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter)); - GtkTreeIter *parent_g = (GtkTreeIter *)parent; - gtk_tree_store_prepend (treeStore_g, iter_g, parent_g); - return (jint)iter_g; -@@ -435,7 +435,7 @@ - cls, jint treeStore, jint parent) - { - GtkTreeStore *treeStore_g = (GtkTreeStore *)treeStore; -- GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter));; -+ GtkTreeIter *iter_g = (GtkTreeIter *)g_malloc(sizeof(GtkTreeIter)); - GtkTreeIter *parent_g = (GtkTreeIter *)parent; - gtk_tree_store_append (treeStore_g, iter_g, parent_g); - return (jint)iter_g; diff --git a/x11-toolkits/libgtk-java/pkg-descr b/x11-toolkits/libgtk-java/pkg-descr deleted file mode 100644 index abc1cdd10..000000000 --- a/x11-toolkits/libgtk-java/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Java-GNOME is a set of Java bindings for GNOME and GTK libraries, -so GNOME applications can be written in Java. It is implemented -as a JNI layer that delegates the Java calls out to the underlying -C library. - --- Java-GNOME README - -WWW: http://java-gnome.sourceforge.net/ diff --git a/x11-toolkits/libgtk-java/pkg-message b/x11-toolkits/libgtk-java/pkg-message deleted file mode 100644 index a7b105573..000000000 --- a/x11-toolkits/libgtk-java/pkg-message +++ /dev/null @@ -1,7 +0,0 @@ -************************************************************************ -Libgtk-java was successfully installed. In order to build and run GTK+ -Java applications, you must add the following to your CLASSPATH: - -%%JAVAJARDIR%%/gtk%%GTK_API_VERSION%%.jar - -************************************************************************ diff --git a/x11-toolkits/libgtk-java/pkg-plist b/x11-toolkits/libgtk-java/pkg-plist deleted file mode 100644 index 2c8e8158b..000000000 --- a/x11-toolkits/libgtk-java/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -lib/libgtkjava%%GTK_API_VERSION%%.so.%%PORTVERSION%% -lib/libgtkjava%%GTK_API_VERSION%%.so -share/java/classes/gtk%%GTK_API_VERSION%%-%%PORTVERSION%%.jar -share/java/classes/gtk%%GTK_API_VERSION%%.jar |