mirror of
https://github.com/archlinux/aur.git
synced 2026-02-11 07:34:23 +01:00
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@343 df209809-8e4a-0410-9a64-c169741eb0fc
30 lines
984 B
Diff
30 lines
984 B
Diff
Index: pdfsizeopt.py
|
|
===================================================================
|
|
--- pdfsizeopt.py (revision 171)
|
|
+++ pdfsizeopt.py (working copy)
|
|
@@ -6712,7 +6712,11 @@
|
|
Pathname to Multivalent.jar or None.
|
|
"""
|
|
assert os.sep not in file_name
|
|
- multivalent_jar = FindOnPath(file_name)
|
|
+ # XXX ArchLinux packaging-specific
|
|
+ multivalent_jar = "/usr/share/java/multivalent/%s" % file_name
|
|
+ if not os.path.isfile(multivalent_jar):
|
|
+ # XXX resume normal operation
|
|
+ multivalent_jar = FindOnPath(file_name)
|
|
if multivalent_jar is None:
|
|
slash_file_name = os.sep + file_name
|
|
for item in os.getenv('CLASSPATH', '').split(os.pathsep):
|
|
@@ -6865,9 +6869,9 @@
|
|
argv.append('--help')
|
|
|
|
try:
|
|
- use_pngout = True
|
|
- use_jbig2 = True
|
|
- use_multivalent = True
|
|
+ use_pngout = False
|
|
+ use_jbig2 = False
|
|
+ use_multivalent = False
|
|
do_optimize_images = True
|
|
do_optimize_objs = True
|
|
do_unify_fonts = True
|