[Lunar-commits] <moonbase> ufraw: Adjusting the BUILD per build.lunar. Adding a CONFIGURE to allow

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Jun 16 17:01:13 CEST 2011


commit 101686c50c7e3db98d5c18988dc0d23d567c45e2
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Jun 16 11:01:13 2011 -0400

    ufraw: Adjusting the BUILD per build.lunar. Adding a CONFIGURE to allow
    
    for non-dependency enables. Adjusting the DEPENDS; making the gtk gui optional. The remaining
    optional_depends have no corresponding --with/--without.
---
 graphics/ufraw/BUILD     |    8 ++------
 graphics/ufraw/CONFIGURE |    5 +++++
 graphics/ufraw/DEPENDS   |    4 ++--
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/graphics/ufraw/BUILD b/graphics/ufraw/BUILD
index f829f87..1bac281 100644
--- a/graphics/ufraw/BUILD
+++ b/graphics/ufraw/BUILD
@@ -1,11 +1,7 @@
 (
 
-
-  sedit 's:if ((cp = strchr (sp="nbrkStqmHAC", opt))):if ((cp = (char *) strchr (sp="nbrkStqmHACg", opt))):' dcraw.cc &&
-
-  OPTS+=" --enable-extras --enable-dst-correction --enable-contrast \
-          --enable-mime" &&
+  sedit 's:if ((cp = strchr (sp="nbrkStqmHAC", opt))):if ((cp = (char *) strchr (sp="nbrkStqmHACg", opt))):' dcraw.cc
 
   default_build
 
-) > $C_FIFO 2>&1
+)
diff --git a/graphics/ufraw/CONFIGURE b/graphics/ufraw/CONFIGURE
new file mode 100644
index 0000000..6b08ad9
--- /dev/null
+++ b/graphics/ufraw/CONFIGURE
@@ -0,0 +1,5 @@
+# These are disabled by default in its configure script.
+mquery ENABLE_EXTRAS "build extra (dcraw, nikon-curve) executables?" y "--enable-extras"
+mquery ENABLE_DST "enable DST correction for file timestamps?" y "--enable-dst-correction"
+mquery ENABLE_CONT "enable the contrast setting option?" y "--enable-contrast"
+mquery ENALBE_MIME "install mime files?" y "--enable-mime"
diff --git a/graphics/ufraw/DEPENDS b/graphics/ufraw/DEPENDS
index bb08237..bb1ae6a 100644
--- a/graphics/ufraw/DEPENDS
+++ b/graphics/ufraw/DEPENDS
@@ -1,8 +1,8 @@
 depends lcms
-depends gtkimageview
 
+optional_depends "gtkimageview" "--with-gtk"  "--without-gtk"  "for a GTK GUI"
+optional_depends "gimp"         "--with-gimp" "--without-gimp" "for UFRaw to create a Gimp plug-in"
 optional_depends "exiv2"    "" "" "to access image metadata"
 optional_depends "libexif"  "" "" "get exif data"
 optional_depends "cfitsio"  "" "" "for Flexible Image Transport System support"
 optional_depends "lensfun"  "" "" "for lens correction support"
-optional_depends "gimp"     "--with-gimp" "--without-gimp" "for UFRaw to create a Gimp plug-in"


More information about the Lunar-commits mailing list