diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-05 02:14:37 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-05 02:14:37 +0800 |
commit | 19132d4ebfaca70c7b0fa528f15d37dff1e9095a (patch) | |
tree | 6781a83df484352e2a693299f09ceb09d32d32de /devel/gnomevfs2/files | |
parent | 650838dd6479fd92109701a74c4aaf40af4a08f0 (diff) | |
download | marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.tar marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.tar.gz marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.tar.bz2 marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.tar.lz marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.tar.xz marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.tar.zst marcuscom-ports-19132d4ebfaca70c7b0fa528f15d37dff1e9095a.zip |
Adjust the MIME directory ordering to give preference to X11BASE over
LOCALBASE. This will allow non-shared-mime-info MIME types to get
priority.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2616 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2/files')
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-mime-info.c | 2 | ||||
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-mime-info.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-mime-info.c index 1106f419c..a61e83417 100644 --- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-mime-info.c +++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-mime-info.c @@ -5,7 +5,7 @@ xdg_data_dirs = g_getenv ("XDG_DATA_DIRS"); if (!xdg_data_dirs) { - xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/:/usr/local/share/gnome:%%X11BASE%%/share/gnome/:/usr/share/gnome/"; ++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"; } split_data_dirs = g_strsplit (xdg_data_dirs, ":", 0); diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c b/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c index 873c86d22..472a4b5f6 100644 --- a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c +++ b/devel/gnomevfs2/files/patch-libgnomevfs_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/:/usr/local/share/gnome:%%X11BASE%%/share/gnome/:/usr/share/gnome/"; ++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"; ptr = xdg_data_dirs; |