[Buildroot] [Bug 14976] Ghostscript package can not process pdf files anymore

bugzilla at busybox.net bugzilla at busybox.net
Tue Aug 30 05:25:09 UTC 2022


https://bugs.busybox.net/show_bug.cgi?id=14976

--- Comment #1 from Lars <lars.george at biotronik.com> ---
I digged into the problem a little bit and got a fix for myself. First of all I
patched the mk file of the Ghostscript package:

 define GHOSTSCRIPT_REMOVE_LIBS
        rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jbig2dec $(@D)/jpeg \
-               $(@D)/lcms2mt $(@D)/libpng $(@D)/openjpeg $(@D)/tiff \
+               $(@D)/lcms2mt $(@D)/libpng $(@D)/tiff \
                $(@D)/zlib
 endef
 GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBS
@@ -43,7 +43,7 @@
        --enable-freetype \
        --disable-gtk \
        --without-libpaper \
-       --without-pdf \
+       --with-pdf \
        --with-system-libtiff

 ifeq ($(BR2_PACKAGE_JBIG2DEC),y)


Furthermore I do need to have the following BR packages:
- BR2_PACKAGE_JBIG2DEC
- BR2_PACKAGE_OPENJPEG

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list