aboutsummaryrefslogtreecommitdiff
path: root/graphics/geeqie/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-05-22 13:07:47 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-05-22 13:07:47 +0000
commit44c1aad5923bdc725546c8c72deb223bf44f89b0 (patch)
tree4dd0c8218eae5c5265daac27d9aff76fd00b830b /graphics/geeqie/files
parentce272c24aff6095e90481d70b1eefbbbb95f5414 (diff)
downloadports-44c1aad5923bdc725546c8c72deb223bf44f89b0.tar.gz
ports-44c1aad5923bdc725546c8c72deb223bf44f89b0.zip
Notes
Diffstat (limited to 'graphics/geeqie/files')
-rw-r--r--graphics/geeqie/files/patch-plugins-ufraw-geeqie-ufraw35
1 files changed, 35 insertions, 0 deletions
diff --git a/graphics/geeqie/files/patch-plugins-ufraw-geeqie-ufraw b/graphics/geeqie/files/patch-plugins-ufraw-geeqie-ufraw
new file mode 100644
index 000000000000..467d822c0d24
--- /dev/null
+++ b/graphics/geeqie/files/patch-plugins-ufraw-geeqie-ufraw
@@ -0,0 +1,35 @@
+--- plugins/ufraw/geeqie-ufraw.orig 2010-02-18 00:21:15.000000000 +0300
++++ plugins/ufraw/geeqie-ufraw 2010-05-22 17:06:21.000000000 +0400
+@@ -37,7 +37,7 @@
+
+ basename=${input%.*}
+ dirname=${basename%/*}
+- xmp=`find "$dirname" -maxdepth 1 -path "$basename.*" -regextype posix-egrep -iregex "$XMP_REGEX" -print | head -n 1`
++ xmp=`find -E "$dirname" -maxdepth 1 -path "$basename.*" -iregex "$XMP_REGEX" -print | head -n 1`
+ [ -f "$xmp" ] || return 1
+
+ output=`get_output_from_id "$idfile"`
+@@ -75,7 +75,7 @@
+ rawfile=$1
+ basename=${rawfile%.*}
+ dirname=${basename%/*}
+- outfiles=`find "$dirname" -maxdepth 1 -path "$basename.*" -regextype posix-egrep \( -iregex "$OUT_REGEX" -o -regex "$ID_REGEX" \) -print `
++ outfiles=`find -E "$dirname" -maxdepth 1 -path "$basename.*" \( -iregex "$OUT_REGEX" -o -regex "$ID_REGEX" \) -print `
+ [ -z "$outfiles" ] # return true if no possible output file exists
+
+ # raw+jpeg pair created by the camera is considered processed,
+@@ -136,12 +136,12 @@
+ {
+ list=`mktemp /tmp/geeqie-ufraw-list.XXXXXXXXXX` || exit 1
+
+- find "$@" -regextype posix-egrep -iregex "$RAW_REGEX" -print | while read rawfile ; do
++ find -E "$@" -iregex "$RAW_REGEX" -print | while read rawfile ; do
+ raw_file_not_processed "$rawfile" && echo "$rawfile"
+ done >>$list
+
+ #refresh output from changed id files
+- find "$@" -regextype posix-egrep -regex "$ID_REGEX" -print | while read idfile ; do
++ find -E "$@" -regex "$ID_REGEX" -print | while read idfile ; do
+ id_file_changed "$idfile" && echo "$idfile"
+ done >>$list
+