aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libgnome
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-23 04:13:24 +0800
committermarcus <marcus@FreeBSD.org>2003-12-23 04:13:24 +0800
commit369cd2a5049ea598ea9807f9b4a5e5388745992a (patch)
treec2e6412ccf89feb743d81ec33ea14e74f63063b2 /x11/libgnome
parent8f5a9c347bc99e3a4e879dc04e27684cf95b1244 (diff)
downloadfreebsd-ports-graphics-369cd2a5049ea598ea9807f9b4a5e5388745992a.tar.gz
freebsd-ports-graphics-369cd2a5049ea598ea9807f9b4a5e5388745992a.tar.zst
freebsd-ports-graphics-369cd2a5049ea598ea9807f9b4a5e5388745992a.zip
Hopefully fix the Help problem once and for all. This adjusts the DATADIR
parameters to be share/gnome/... instead of share/... Tested by: adamw Jeremy Messenger <mezz7@cox.net> Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'x11/libgnome')
-rw-r--r--x11/libgnome/Makefile2
-rw-r--r--x11/libgnome/files/patch-libgnome_gnome-program.c34
2 files changed, 32 insertions, 4 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile
index 5d83cf8d016..370a7878c7f 100644
--- a/x11/libgnome/Makefile
+++ b/x11/libgnome/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libgnome
PORTVERSION= 2.4.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES?= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4
diff --git a/x11/libgnome/files/patch-libgnome_gnome-program.c b/x11/libgnome/files/patch-libgnome_gnome-program.c
index c480676d590..90fcdd22c77 100644
--- a/x11/libgnome/files/patch-libgnome_gnome-program.c
+++ b/x11/libgnome/files/patch-libgnome_gnome-program.c
@@ -1,6 +1,12 @@
--- libgnome/gnome-program.c.orig Wed Jul 23 05:35:30 2003
-+++ libgnome/gnome-program.c Tue Dec 9 17:25:38 2003
-@@ -899,12 +899,12 @@
++++ libgnome/gnome-program.c Mon Dec 22 01:19:23 2003
+@@ -894,17 +894,17 @@
+ attr_rel = "";
+ break;
+ case GNOME_FILE_DOMAIN_DATADIR:
+- prefix_rel = "/share";
++ prefix_rel = "/share/gnome";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
attr_rel = "";
break;
case GNOME_FILE_DOMAIN_SOUND:
@@ -24,7 +30,14 @@
break;
case GNOME_FILE_DOMAIN_APP_LIBDIR:
prefix_rel = "/lib";
-@@ -931,13 +931,13 @@
+@@ -925,19 +925,19 @@
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_DATADIR:
+- prefix_rel = "/share";
++ prefix_rel = "/share/gnome";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "";
search_path = FALSE;
break;
case GNOME_FILE_DOMAIN_APP_SOUND:
@@ -40,3 +53,18 @@
attr_name = GNOME_PARAM_APP_DATADIR;
attr_rel = "/pixmaps";
search_path = FALSE;
+@@ -958,12 +958,12 @@
+
+ attr_name = GNOME_PARAM_APP_DATADIR;
+
+- len = strlen ("/gnome/help/") +
++ len = strlen ("/help/") +
+ strlen (program->_priv->app_id) + 1;
+ attr_rel = g_alloca (len);
+ if (attr_rel == NULL /* bad things */)
+ return NULL;
+- g_snprintf (attr_rel, len, "/gnome/help/%s", program->_priv->app_id);
++ g_snprintf (attr_rel, len, "/help/%s", program->_priv->app_id);
+
+ search_path = FALSE;
+ break;