Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] community/xpdf: Update 3.04 -> 4.00

From: Leonardo <rnalrd_at_gmail.com>
Date: Wed, 3 Apr 2019 12:05:31 +0200

Hi,

On 3/27/19 10:50 AM, Marian Buschsieweke wrote:
> ---
> community/xpdf/APKBUILD | 44 ++++----
> community/xpdf/xpdf-3.04-protection.patch | 84 ----------------
> community/xpdf/xpdf-4.00-libpaperfix.patch | 105 ++++++++++++++++++++
> community/xpdf/xpdf-4.00-man-path-fix.patch | 96 ++++++++++++++++++
> community/xpdf/xpdfrc | 36 +++----
> 5 files changed, 242 insertions(+), 123 deletions(-)
> delete mode 100644 community/xpdf/xpdf-3.04-protection.patch
> create mode 100644 community/xpdf/xpdf-4.00-libpaperfix.patch
> create mode 100644 community/xpdf/xpdf-4.00-man-path-fix.patch

my build fails here with:

-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mkstemps
-- Looking for mkstemps - found
-- Looking for popen
-- Looking for popen - found
-- Performing Test HAVE_STD_SORT
-- Performing Test HAVE_STD_SORT - Success
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fseek64
-- Looking for fseek64 - not found
-- Looking for _fseeki64
-- Looking for _fseeki64 - not found
-- Found FreeType (old-style includes): /usr/lib/libfreetype.so
-- Found ZLIB: /lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.35")
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found TIFF: /usr/lib/libtiff.so (found version "4.0.10")
-- lcms2 not found
-- Qt5 found
CMake Deprecation Warning at cmake-config.txt:263 (cmake_policy):
   The OLD behavior for policy CMP0020 will be removed from a future version
   of CMake.

   The cmake-policies(7) manual explains that the OLD behaviors of all
   policies are deprecated and that a policy should be set to OLD only under
   specific short-term circumstances.  Projects should be ported to the NEW
   behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
   CMakeLists.txt:15 (include)


-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
CMake Deprecation Warning at xpdf-qt/CMakeLists.txt:27 (cmake_policy):
   The OLD behavior for policy CMP0020 will be removed from a future version
   of CMake.

   The cmake-policies(7) manual explains that the OLD behaviors of all
   policies are deprecated and that a policy should be set to OLD only under
   specific short-term circumstances.  Projects should be ported to the NEW
   behavior and not rely on setting a policy to OLD.


CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
HAVE_PAPER_H
     linked by target "pdftohtml" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdfimages" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdftops" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdffonts" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdfdetach" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdftoppm" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdftopng" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdftotext" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "pdfinfo" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf
     linked by target "xpdf" in directory
/home/larena/aports/community/xpdf/src/xpdf-4.00/xpdf-qt

-- Configuring incomplete, errors occurred!
See also
"/home/larena/aports/community/xpdf/src/xpdf-4.00/build/CMakeFiles/CMakeOutput.log".
See also
"/home/larena/aports/community/xpdf/src/xpdf-4.00/build/CMakeFiles/CMakeError.log".
>>> ERROR: xpdf: build failed

I believe it's still missing some mdepends.

Thanks!

/eo




---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Apr 03 2019 - 12:05:31 UTC