1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix help file detection in certain cases (especially newer apps that use

the screen-egg code).
This commit is contained in:
Joe Marcus Clarke 2003-12-09 22:29:01 +00:00
parent 49d766ecf7
commit fc5cb38672
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95510
2 changed files with 6 additions and 21 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= libgnome
PORTVERSION= 2.4.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4

View File

@ -1,6 +1,6 @@
--- libgnome/gnome-program.c.orig Fri Mar 22 11:02:45 2002
+++ libgnome/gnome-program.c Mon May 20 18:28:24 2002
@@ -882,12 +882,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 @@
attr_rel = "";
break;
case GNOME_FILE_DOMAIN_SOUND:
@ -15,7 +15,7 @@
attr_name = GNOME_PARAM_GNOME_DATADIR;
attr_rel = "/pixmaps";
break;
@@ -899,7 +899,7 @@
@@ -916,7 +916,7 @@
case GNOME_FILE_DOMAIN_HELP:
prefix_rel = "/share/gnome/help";
attr_name = GNOME_PARAM_GNOME_DATADIR;
@ -24,7 +24,7 @@
break;
case GNOME_FILE_DOMAIN_APP_LIBDIR:
prefix_rel = "/lib";
@@ -914,13 +914,13 @@
@@ -931,13 +931,13 @@
search_path = FALSE;
break;
case GNOME_FILE_DOMAIN_APP_SOUND:
@ -40,18 +40,3 @@
attr_name = GNOME_PARAM_APP_DATADIR;
attr_rel = "/pixmaps";
search_path = FALSE;
@@ -941,12 +941,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;