diff options
author | marcus <marcus@FreeBSD.org> | 2004-08-05 02:33:45 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-08-05 02:33:45 +0800 |
commit | d29d2613e421d23a7bb48fc2dc0c47644bd2e788 (patch) | |
tree | 588cfb700513a751382db0df2a8e87a46ccaf020 /x11-toolkits | |
parent | fb0a62d8f1db4c0e5ce654d62c618ff2f0a924d8 (diff) | |
download | freebsd-ports-gnome-d29d2613e421d23a7bb48fc2dc0c47644bd2e788.tar.gz freebsd-ports-gnome-d29d2613e421d23a7bb48fc2dc0c47644bd2e788.tar.zst freebsd-ports-gnome-d29d2613e421d23a7bb48fc2dc0c47644bd2e788.zip |
Sync the MIME search directories from gnome-vfs. This fixes some
prioritization issues with custom MIME types.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 7352df7e42fd..9245bc79b0f2 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk PORTVERSION= 2.4.4 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.4,} \ ftp://ftp.gtk.org/pub/gtk/v2.3/ \ diff --git a/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c b/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c index 14804bd2e143..76c5eea6c35b 100644 --- a/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c +++ b/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c @@ -5,7 +5,7 @@ xdg_data_dirs = getenv ("XDG_DATA_DIRS"); if (xdg_data_dirs == NULL) - xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/"; ++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"; ptr = xdg_data_dirs; diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 7352df7e42fd..9245bc79b0f2 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk PORTVERSION= 2.4.4 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.4,} \ ftp://ftp.gtk.org/pub/gtk/v2.3/ \ diff --git a/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c b/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c index 14804bd2e143..76c5eea6c35b 100644 --- a/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c +++ b/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c @@ -5,7 +5,7 @@ xdg_data_dirs = getenv ("XDG_DATA_DIRS"); if (xdg_data_dirs == NULL) - xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/"; ++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"; ptr = xdg_data_dirs; |