[Lunar-commits] <moonbase-other> ghostscript: Adding a CONFIGURE to allow enabling of the omni print driver.

stumbles stumbles at lunar-linux.org
Mon Jan 28 13:47:39 CET 2013


commit e8970d4778a82aec2be0fb08d2a0b270e0f8d308
Author: stumbles <stumbles at lunar-linux.org>
Date: Mon, 28 Jan 2013 04:47:39 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/e8970d4778a82aec2be0fb08d2a0b270e0f8d308

ghostscript: Adding a CONFIGURE to allow enabling of the omni print driver.

Adjusting the DEPENDS, ghostscript prefers lcms2.
Adjusting the BUILD to remove the source provided lcms2 and adding to OPTS
--with-install-cups so it will install some of its conversion tools.
---
  printer/ghostscript/BUILD     | +2/-2     
  printer/ghostscript/CONFIGURE | +2/-0     
  printer/ghostscript/DEPENDS   | +1/-1     
  3 files changed, 5 insertions(+), 3 deletions(-)

--- a/printer/ghostscript/BUILD
+++ b/printer/ghostscript/BUILD
@@ -3,9 +3,9 @@
   # Remove local libs so we'll always use system libs,
   # and don't waste configure / compile time on them.
   verbose_msg "Removing unneeded local libs" &&
-  rm -rf expat freetype jasper jbig2dec jpeg{,xr} lcms libpng tiff zlib &&
+  rm -rf expat freetype jasper jbig2dec jpeg{,xr} lcms{,2} libpng tiff zlib &&
 
-  OPTS+=" --disable-compile-inits --enable-dynamic --with-system-libtiff LIBS=-lz" &&
+  OPTS+=" --disable-compile-inits --enable-dynamic --with-system-libtiff LIBS=-lz --with-install-cups" &&
 
   # Will run ./configure with Lunar's options, in default_build
   sedit "s:\$srcdir/configure:echo:" autogen.sh &&
--- /dev/null
+++ b/printer/ghostscript/CONFIGURE
@@ -0,0 +1,2 @@
+mquery ENABLE_OMNI "Enable the omni print driver?" y "--with-omni" "--without-omni"
+
--- a/printer/ghostscript/DEPENDS
+++ b/printer/ghostscript/DEPENDS
@@ -1,7 +1,7 @@
 depends  %JPEG
 depends  libpng
 depends  tiff
-depends  lcms
+depends  lcms2
 
 optional_depends "jasper"                              \
                  "--with-jasper"                       \




More information about the Lunar-commits mailing list