[SM-Commit] PERFORCE change 78454 by Treeve Jelbert for review
Perforce Review Daemon
p4review at smee.org
Wed Apr 26 08:50:00 EDT 2006
Change 78454 by treeve_jelbert at treeve-knowhow on 2006/04/26 13:45:46
espgs - allow selection of printer types
Affected files ...
... //sgl/grimoires/devel/printer/espgs/BUILD#8 edit
... //sgl/grimoires/devel/printer/espgs/CONFIGURE#2 edit
... //sgl/grimoires/devel/printer/espgs/HISTORY#29 edit
... //sgl/grimoires/devel/printer/espgs/INSTALL#3 edit
Differences ...
==== //sgl/grimoires/devel/printer/espgs/BUILD#8 (xtext) ====
@@ -1,4 +1,6 @@
-OPTS="--enable-dynamic ${OPTS}" &&
+# need a comma separated list
+OPTS="--with-drivers=`echo ${ESPGS_PRINTERS} |sed "s/^ *//;s/ /,/g"`,FILES \
+ --enable-dynamic ${OPTS}" &&
make_single &&
default_build &&
==== //sgl/grimoires/devel/printer/espgs/CONFIGURE#2 (xtext) ====
@@ -1,1 +1,8 @@
config_query ESPGS_LIBGS "Install libgs.so, used by gsview and others, requires GTK+?" n
+config_query ESP_SEL "Do you wish to select printer types?" n
+if [[ -z ${ESPGS_PRINTERS} ]] || [[ ${ESP_SEL} == y ]]; then
+ source $GRIMOIRE/config_query_multi.function &&
+ config_query_multi ESPGS_PRINTERS "Please select printer types" \
+ ALL APPLE BROTHER CANON EPSON HP IBM JAPAN LEXMARK OKI
+ peRsistent_remove ESP_SEL
+fi
==== //sgl/grimoires/devel/printer/espgs/HISTORY#29 (text) ====
@@ -1,3 +1,7 @@
+2006-04-26 Treeve Jelbert <treeve01 at pi.be>
+ * BUILD CONFIGURE: allow selection of printer types
+ * INSTALL: remove hard-coded version numbers
+
2006-04-25 Treeve Jelbert <treeve01 at pi.be>
* DETAILS: version 8.15.2
==== //sgl/grimoires/devel/printer/espgs/INSTALL#3 (xtext) ====
@@ -1,11 +1,11 @@
default_install &&
-ln -v -s ../ghostscript/8.15/doc /usr/share/doc/espgs-8.15.1 &&
+ln -v -s ../ghostscript/8.15/doc /usr/share/doc/espgs-${VERSION} &&
for INSTFILE in `ls doc`
do
- if [ ! -f /usr/share/doc/espgs-8.15.1/${INSTFILE} ]; then
- install -v -m644 doc/${INSTFILE} /usr/share/doc/espgs-8.15.1/
+ if [ ! -f /usr/share/doc/espgs-${VERSION}/${INSTFILE} ]; then
+ install -v -m644 doc/${INSTFILE} /usr/share/doc/espgs-${VERSION}/
fi
done &&
More information about the SM-Commit
mailing list