Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
ed1a2f40
Commit
ed1a2f40
authored
Oct 21, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/ghostscript: build with libidn
without libidn, decrypting password protected PDFs does not fully work.
parent
9e3530cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
component/ghostscript/buildout.cfg
component/ghostscript/buildout.cfg
+4
-4
No files found.
component/ghostscript/buildout.cfg
View file @
ed1a2f40
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
extends =
extends =
../fontconfig/buildout.cfg
../fontconfig/buildout.cfg
../freetype/buildout.cfg
../freetype/buildout.cfg
../libidn/buildout.cfg
../libjpeg/buildout.cfg
../libjpeg/buildout.cfg
../libtiff/buildout.cfg
../libtiff/buildout.cfg
../libxml2/buildout.cfg
../libxml2/buildout.cfg
...
@@ -16,13 +17,12 @@ recipe = slapos.recipe.cmmi
...
@@ -16,13 +17,12 @@ recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/ghostscript-10.02.0.tar.xz
url = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/ghostscript-10.02.0.tar.xz
md5sum = 80c1cdfada72f2eb5987dc0d590ea5b2
md5sum = 80c1cdfada72f2eb5987dc0d590ea5b2
pkg_config_depends = ${libtiff:location}/lib/pkgconfig:${libjpeg:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}
pkg_config_depends = ${lib
idn:location}/lib/pkgconfig:${lib
tiff:location}/lib/pkgconfig:${libjpeg:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}
# XXX --with-tessdata work arounds a slaprunner bug of having softwares installed in a path containing //
# XXX --with-tessdata work arounds a slaprunner bug of having softwares installed in a path containing //
configure-options =
configure-options =
--disable-cups
--disable-cups
--disable-threadsafe
--disable-threadsafe
--with-system-libtiff
--with-system-libtiff
--without-libidn
--without-so
--without-so
--without-x
--without-x
--with-drivers=FILES
--with-drivers=FILES
...
@@ -31,8 +31,8 @@ environment =
...
@@ -31,8 +31,8 @@ environment =
PATH=${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
CFLAGS=-I${libjpeg:location}/include
CFLAGS=-I${libjpeg:location}/include
LDFLAGS=-Wl,-rpath=${fontconfig:location}/lib -Wl,-rpath=${freetype:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib
LDFLAGS=-Wl,-rpath=${
libidn:location}/lib -Wl,-rpath=${
fontconfig:location}/lib -Wl,-rpath=${freetype:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib
LD_LIBRARY_PATH=${fontconfig:location}/lib:${freetype:location}/lib:${libtiff:location}/lib:${libxml2:location}/lib
LD_LIBRARY_PATH=${
libidn:location}/lib:${
fontconfig:location}/lib:${freetype:location}/lib:${libtiff:location}/lib:${libxml2:location}/lib
# configure gives priority to local jpeg library and refuse mixing local libjpeg with "system" libtiff.
# configure gives priority to local jpeg library and refuse mixing local libjpeg with "system" libtiff.
# We remove this local jpeg library source folder so that configure picks up the slapos versions of these libraries.
# We remove this local jpeg library source folder so that configure picks up the slapos versions of these libraries.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment