Last change
on this file since 32228 was 32228, checked in by ak19, 6 years ago |
Tried to compile xpdf-tools up statically with CMake, but still not successful. For now committing modifications necessary (including the new additional packages) for compiling xpdf-tools agains dynamically linked libs of libpng and zlib and freetype. Although these 3 packages have been introduced and are successfully compiled up (and I can even get the CMake configure stage of xpdf-tools to 'see' them), the xpdftools binaries upon successful compilation are shown by ldd to still refer to system versions of zlib, libpng and freetype. Some modifications to a single file in the xpdftools src package were necessary to get things to compile again with these changes, so recommitting the xpdftools src package with modications using the usual gs- prefix and a readme.
|
-
Property svn:executable
set to
*
|
File size:
846 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=libpng
|
---|
4 | #version=-1.5.0
|
---|
5 | version=-1.5.30
|
---|
6 |
|
---|
7 | progname=$0
|
---|
8 |
|
---|
9 | source ../cascade-make/lib/cascade-lib.bash GEXT_XPDFTOOLS ../.. $*
|
---|
10 |
|
---|
11 | prefix=$GEXTXPDFTOOLS_INSTALLED
|
---|
12 |
|
---|
13 | export CFLAGS="$CFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
|
---|
14 | export CPPFLAGS="$CPPFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
|
---|
15 | export CXXFLAGS="$CXXFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
|
---|
16 | export LDFLAGS="$LDFLAGS -L$GEXTXPDFTOOLS_INSTALLED/lib"
|
---|
17 |
|
---|
18 | echo GSDLOS = $GSDLOS
|
---|
19 |
|
---|
20 | if [ $GSDLOS != "darwin" ] ; then
|
---|
21 |
|
---|
22 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
23 | opt_run_configure $force_config $auto_config $package $version $prefix
|
---|
24 |
|
---|
25 | opt_run_make $compile $package $version
|
---|
26 | opt_run_make $install $package $version "install"
|
---|
27 | opt_run_make $clean $package $version "clean"
|
---|
28 | opt_run_make $distclean $package $version "distclean"
|
---|
29 |
|
---|
30 | opt_run_tarclean $tarclean $package $version
|
---|
31 |
|
---|
32 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.