Package: fop
Version: 1:1.0.dfsg-3
Severity: wishlist
Tags: patch

It would be nice to enable .conf.d/ configuration style in
/usr/bin/fop so libjeuclid-fop-java and libjlatexmath-fop-java could
be automatically configured. For example libjeuclid-fop-java would
only have to add:
FOP_HYPHENATION_PATH="$FOP_HYPHENATION_PATH jeuclid-fop jeuclid-core"
to /etc/fop.conf.d/jeuclid.conf

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fop depends on:
ii  java-wrappers    0.1.22                  wrappers for java executables
ii  libavalon-framew 4.2.0-7                 Common framework for Java server a
ii  libbatik-java    1.7-7                   xml.apache.org SVG Library
ii  libbsf-java      1:2.4.0-4               Bean Scripting Framework to suppor
ii  libcommons-io-ja 1.4-3                   Common useful IO related classes
ii  libcommons-loggi 1.1.1-8                 commmon wrapper interface for seve
ii  libxalan2-java   2.7.1-5                 XSL Transformations (XSLT) process
ii  libxerces2-java  2.9.1-4.1               Validating XML parser for Java wit
ii  libxml-commons-e 1.3.05-2                XML Commons external code - DOM, S
ii  libxmlgraphics-c 1.4.dfsg-3              reusable components used by Batik
ii  libxp6           1:1.0.1-1               X Printing Extension (Xprint) clie
ii  libxt6           1:1.1.1-1               X11 toolkit intrinsics library
ii  libxtst6         2:1.2.0-1               X11 Testing -- Record extension li
ii  sun-java6-jre [j 6.25-3                  Sun Java(TM) Runtime Environment (

Versions of packages fop recommends:
pn  libsaxon-java                 <none>     (no description available)

Versions of packages fop suggests:
pn  fop-doc                       <none>     (no description available)
pn  libservlet2.4-java            <none>     (no description available)

-- no debconf information
diff --git a/debian/fop.dirs b/debian/fop.dirs
index 60dac6d..aaf5db3 100644
--- a/debian/fop.dirs
+++ b/debian/fop.dirs
@@ -1,2 +1,3 @@
 usr/share/java
 usr/bin
+etc/fop.conf.d
diff --git a/debian/fop.sh b/debian/fop.sh
index 6130d45..d1b8250 100644
--- a/debian/fop.sh
+++ b/debian/fop.sh
@@ -16,6 +16,9 @@
 HEADLESS=-Djava.awt.headless=true
 
 
+for cf in /etc/fop.conf.d/*.conf; do
+    . $cf;
+done
 
 # Load system-wide configuration, if any
 if [ -f /etc/fop.conf ]; then

Reply via email to