Hello community, here is the log from the commit of package ghostscript-cjk checked in at Tue Jan 30 15:38:37 CET 2007. -------- --- ghostscript-cjk/ghostscript-cjk.changes 2006-12-19 14:18:24.000000000 +0100 +++ /mounts/work_src_done/NOARCH/ghostscript-cjk/ghostscript-cjk.changes 2007-01-30 13:15:14.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Jan 30 13:14:14 CET 2007 - mfabian@suse.de + +- Bugzilla #239692: acroread moved to /usr/lib for openSUSE > 10.2, + adapt the script acroread-cidfont-config. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghostscript-cjk.spec ++++++ --- /var/tmp/diff_new_pack.g21019/_old 2007-01-30 15:38:20.000000000 +0100 +++ /var/tmp/diff_new_pack.g21019/_new 2007-01-30 15:38:20.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghostscript-cjk (Version 20050315) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -16,7 +16,7 @@ Autoreqprov: on Provides: locale(ghostscript-library:ja;ko;zh) Version: 20050315 -Release: 41 +Release: 44 Requires: ghostscript-library >= 8.15, ft2demos Obsoletes: CMap-Adobe-Identity,CMap-Adobe-Japan2,CMap-Adobe-Korea1,CMap-Adobe-GB1,CMap-Adobe-CNS1,CMap-Adobe-Japan1 URL: http://www.gyve.org/gs-cjk/ @@ -94,6 +94,9 @@ %{_mandir}/*/* %changelog -n ghostscript-cjk +* Tue Jan 30 2007 - mfabian@suse.de +- Bugzilla #239692: acroread moved to /usr/lib for openSUSE > 10.2, + adapt the script acroread-cidfont-config. * Tue Dec 19 2006 - mfabian@suse.de - disable the generation of CID-keyed font setup when mkcfm is missing. Support for CID-keyed fonts has been dropped from ++++++ acroread-cidfont-config ++++++ --- ghostscript-cjk/acroread-cidfont-config 2005-09-01 18:19:29.000000000 +0200 +++ /mounts/work_src_done/NOARCH/ghostscript-cjk/acroread-cidfont-config 2007-01-30 13:13:53.000000000 +0100 @@ -52,7 +52,7 @@ my $cmap_dir = "/usr/share/ghostscript/Resource/CMap"; my $cidfont_dir = "/usr/share/ghostscript/Resource/CIDFont"; -my $acrobat_dir = "/usr/X11R6/lib/Acrobat7/Resource/Font"; +my $acrobat_dir = search_directory ("/usr/lib/Acrobat7/Resource/Font", "/usr/X11R6/lib/Acrobat7/Resource/Font"); my %cidfont_replacements = ( @@ -146,6 +146,24 @@ chdir $cwd || die "Can't cd to $cwd: $!\n"; } +sub search_executable { + for my $file (@_) { + if (-x $file) { + return $file; + } + } + return ""; +} + +sub search_directory { + for my $dir (@_) { + if (-d $dir) { + return $dir; + } + } + return ""; +} + sub my_system { my ($command) = @_; if ($OPT_VERBOSE) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de