diff options
Diffstat (limited to 'devel/xdg-utils/files/patch-scripts_xdg-mime')
-rw-r--r-- | devel/xdg-utils/files/patch-scripts_xdg-mime | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/devel/xdg-utils/files/patch-scripts_xdg-mime b/devel/xdg-utils/files/patch-scripts_xdg-mime deleted file mode 100644 index cb8a4c22a..000000000 --- a/devel/xdg-utils/files/patch-scripts_xdg-mime +++ /dev/null @@ -1,38 +0,0 @@ ---- scripts/xdg-mime.orig 2012-09-19 21:04:46.000000000 +0000 -+++ scripts/xdg-mime 2012-09-19 21:24:43.000000000 +0000 -@@ -496,7 +496,7 @@ - - info_gnome() - { -- file=`readlink -f "$1"` # Normalize path -+ file=`stat -f "$1"` # Normalize path - - if gvfs-info --help 2>/dev/null 1>&2; then - DEBUG 1 "Running gvfs-info \"$file\"" -@@ -677,7 +677,7 @@ - [ -n "$xdg_user_dir" ] || xdg_user_dir="$HOME/.local/share" - xdg_user_dir="$xdg_user_dir/$xdg_dir_name" - xdg_system_dirs="$XDG_DATA_DIRS" -- [ -n "$xdg_system_dirs" ] || xdg_system_dirs=/usr/local/share/:/usr/share/ -+ [ -n "$xdg_system_dirs" ] || xdg_system_dirs=%%LOCALBASE%%/share:/usr/local/share/:/usr/share/ - - for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do - DEBUG 2 "Checking $x/applications/defaults.list" -@@ -953,7 +953,7 @@ - xdg_user_dir="$xdg_user_dir/$xdg_dir_name" - - xdg_system_dirs="$XDG_DATA_DIRS" --[ -n "$xdg_system_dirs" ] || xdg_system_dirs=/usr/local/share/:/usr/share/ -+[ -n "$xdg_system_dirs" ] || xdg_system_dirs=%%LOCALBASE%%/share:/usr/local/share/:/usr/share/ - for x in `echo $xdg_system_dirs | sed 's/:/ /g'`; do - if [ -w $x/$xdg_dir_name ] ; then - [ x"$mode" = x"system" ] && xdg_base_dir="$x/mime" -@@ -985,7 +985,7 @@ - # TODO: Gnome legacy support - # See http://forums.fedoraforum.org/showthread.php?t=26875 - gnome_user_dir="$HOME/.gnome/apps" --gnome_global_dir=/usr/share/gnome/apps -+gnome_global_dir=%%LOCALBASE%%/share/gnome/apps - [ -w $gnome_global_dir ] || gnome_global_dir= - DEBUG 3 "gnome_user_dir: $gnome_user_dir" - DEBUG 3 "gnome_global_dir: $gnome_global_dir" |