From 9540385a219adbeef1779f49b411761cef111665 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 5 May 2002 20:56:12 +0000 Subject: Fix a problem with MIME types and file type icon support. Prompted by: Franz Klammer --- devel/gnome-vfs1/Makefile | 5 +++-- devel/gnome-vfs1/files/patch-libgnomevfs_gnome-vfs-utils.c | 11 +++++++++++ devel/gnomevfs/Makefile | 5 +++-- devel/gnomevfs/files/patch-libgnomevfs_gnome-vfs-utils.c | 11 +++++++++++ 4 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 devel/gnome-vfs1/files/patch-libgnomevfs_gnome-vfs-utils.c create mode 100644 devel/gnomevfs/files/patch-libgnomevfs_gnome-vfs-utils.c (limited to 'devel') diff --git a/devel/gnome-vfs1/Makefile b/devel/gnome-vfs1/Makefile index 298d9caf546a..582f92bc0867 100644 --- a/devel/gnome-vfs1/Makefile +++ b/devel/gnome-vfs1/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomevfs PORTVERSION= 1.0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/gnome-vfs @@ -30,7 +30,8 @@ USE_X_PREFIX= yes USE_GNOMELIBS= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ + --disable-gtk-doc CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" \ BSD_PTHREAD_LIBS=${PTHREAD_LIBS} diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs_gnome-vfs-utils.c b/devel/gnome-vfs1/files/patch-libgnomevfs_gnome-vfs-utils.c new file mode 100644 index 000000000000..078542421129 --- /dev/null +++ b/devel/gnome-vfs1/files/patch-libgnomevfs_gnome-vfs-utils.c @@ -0,0 +1,11 @@ +--- libgnomevfs/gnome-vfs-utils.c.orig Sun May 5 16:42:00 2002 ++++ libgnomevfs/gnome-vfs-utils.c Sun May 5 16:42:15 2002 +@@ -771,7 +771,7 @@ + paths = g_strsplit (gnome_var, ":", 0); + + for (temp_paths = paths; *temp_paths != NULL; temp_paths++) { +- full_filename = g_strconcat (*temp_paths, "/share/pixmaps/", relative_filename, NULL); ++ full_filename = g_strconcat (*temp_paths, "/share/gnome/pixmaps/", relative_filename, NULL); + if (hack_file_exists (full_filename)) { + g_strfreev (paths); + return full_filename; diff --git a/devel/gnomevfs/Makefile b/devel/gnomevfs/Makefile index 298d9caf546a..582f92bc0867 100644 --- a/devel/gnomevfs/Makefile +++ b/devel/gnomevfs/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomevfs PORTVERSION= 1.0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/gnome-vfs @@ -30,7 +30,8 @@ USE_X_PREFIX= yes USE_GNOMELIBS= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ + --disable-gtk-doc CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" \ BSD_PTHREAD_LIBS=${PTHREAD_LIBS} diff --git a/devel/gnomevfs/files/patch-libgnomevfs_gnome-vfs-utils.c b/devel/gnomevfs/files/patch-libgnomevfs_gnome-vfs-utils.c new file mode 100644 index 000000000000..078542421129 --- /dev/null +++ b/devel/gnomevfs/files/patch-libgnomevfs_gnome-vfs-utils.c @@ -0,0 +1,11 @@ +--- libgnomevfs/gnome-vfs-utils.c.orig Sun May 5 16:42:00 2002 ++++ libgnomevfs/gnome-vfs-utils.c Sun May 5 16:42:15 2002 +@@ -771,7 +771,7 @@ + paths = g_strsplit (gnome_var, ":", 0); + + for (temp_paths = paths; *temp_paths != NULL; temp_paths++) { +- full_filename = g_strconcat (*temp_paths, "/share/pixmaps/", relative_filename, NULL); ++ full_filename = g_strconcat (*temp_paths, "/share/gnome/pixmaps/", relative_filename, NULL); + if (hack_file_exists (full_filename)) { + g_strfreev (paths); + return full_filename; -- cgit