summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgtk-java
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-08 11:13:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-08 11:13:16 +0800
commit1b9a1adf20f68c0fd7d55543b27d7d71b91f3840 (patch)
treeb035d412e06b8432b72a6a3de5c21aa422e551ee /x11-toolkits/libgtk-java
parentdb8e5b0ef2fccddd3641c9b9f1aa08e152bcfc01 (diff)
downloadmarcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.tar
marcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.tar.gz
marcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.tar.bz2
marcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.tar.lz
marcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.tar.xz
marcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.tar.zst
marcuscom-ports-1b9a1adf20f68c0fd7d55543b27d7d71b91f3840.zip
Update to 2.3.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1795 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgtk-java')
-rw-r--r--x11-toolkits/libgtk-java/Makefile4
-rw-r--r--x11-toolkits/libgtk-java/distinfo3
-rw-r--r--x11-toolkits/libgtk-java/files/patch-gdk_src_jni_org_gnu_gdk_Display.c12
3 files changed, 16 insertions, 3 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile
index c68cd2e91..2dce4b48e 100644
--- a/x11-toolkits/libgtk-java/Makefile
+++ b/x11-toolkits/libgtk-java/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libgtk-java
-PORTVERSION= 2.3.3
-PORTREVISION= 1
+PORTVERSION= 2.3.4
CATEGORIES= x11-toolkits java
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
@@ -43,6 +42,7 @@ do-install:
post-install:
@${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; \
s|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%PORTVERSION%%|${PORTVERSION}|g ; \
s|%%GTK_API_VERSION%%|${GTK_API_VERSION}|g' \
< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
diff --git a/x11-toolkits/libgtk-java/distinfo b/x11-toolkits/libgtk-java/distinfo
index 236091fa8..bec032911 100644
--- a/x11-toolkits/libgtk-java/distinfo
+++ b/x11-toolkits/libgtk-java/distinfo
@@ -1 +1,2 @@
-MD5 (gnome2/libgtk-java-2.3.3.tar.bz2) = 65665f51a03543a251cb8a0a99954c72
+MD5 (gnome2/libgtk-java-2.3.4.tar.bz2) = cbe235a1bf0843a03626d30d6c3eee4f
+SIZE (gnome2/libgtk-java-2.3.4.tar.bz2) = 366074
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
new file mode 100644
index 000000000..d87d1195d
--- /dev/null
+++ b/x11-toolkits/libgtk-java/files/patch-gdk_src_jni_org_gnu_gdk_Display.c
@@ -0,0 +1,12 @@
+--- 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);
+ }
+
+ /*