Skip to content

Commit

Permalink
ghostscript:
Browse files Browse the repository at this point in the history
Remove --enable dynamic

    configure: error: Sorry, (deprecated) dynamic driver support not compatible with hidden symbols - use --disable-hidden-visibility
  • Loading branch information
pmenzel committed Apr 14, 2023
1 parent 9ab8f18 commit e20aa3c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ghostscript.be0
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
#!/bin/env beesh

# BEE_VERSION ghostscript-9.55.0-0
# BEE_VERSION ghostscript-10.01.1-0

XPKGVERSION_COMPACT=$(echo ${PKGVERSION} | tr -d '.')

#SRCURL[0]="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${XPKGVERSION_COMPACT}/ghostscript-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/4d3e03b54741265dfbcd24c08a1680a7/ghostscript-9.55.0.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/9e2d94ab40c4580d04b3221c3f78934a/ghostscript-10.01.1.tar.gz"

build_in_sourcedir

mee_patch() {
bee_patch "${@}"
sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac configure
rm -rf freetype lcms2 jpeg libpng openjpeg
sed -i 's/gscms_transformm_color_const/gscms_transform_color_const/' base/gsicc_lcms2.c
# sed -i 's/gscms_transformm_color_const/gscms_transform_color_const/' base/gsicc_lcms2.c
}

mee_configure() {
bee_configure \
--enable-dynamic \
--with-drivers=ALL,x11 \
--with-system-libtiff \
--disable-compile-inits
Expand Down

0 comments on commit e20aa3c

Please sign in to comment.