graphics/djvulibre:

- Add USES=libtool and bump dependent ports
- Remove threading related patches
This commit is contained in:
Tijl Coosemans 2014-10-05 21:30:26 +00:00
parent ea8128e0d2
commit 49d24ca548
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370129
15 changed files with 16 additions and 81 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= pdf2djvu
PORTVERSION= 0.7.17
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX}

View file

@ -2,6 +2,7 @@
PORTNAME= ImageMagick
DISTVERSION= 6.8.9-8
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics perl5
MASTER_SITES= http://www.imagemagick.org/download/ \

View file

@ -3,7 +3,7 @@
PORTNAME= apvlv
PORTVERSION= 0.1.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://cloud.github.com/downloads/naihe2010/apvlv/
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source

View file

@ -3,6 +3,7 @@
PORTNAME= atril
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= graphics print mate
MASTER_SITES= MATE
DIST_SUBDIR= mate

View file

@ -3,7 +3,7 @@
PORTNAME= djview
PORTVERSION= 4.9
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/djvu/DjView/${PORTVERSION}

View file

@ -3,7 +3,7 @@
PORTNAME= djvulibre
PORTVERSION= 3.5.25.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics www
MASTER_SITES= SF/djvu/DjVuLibre/${PORTVERSION:R}
@ -15,16 +15,13 @@ LICENSE= GPLv2
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libtiff.so:${PORTSDIR}/graphics/tiff
USES= pathfix iconv
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \
TIFF_CFLAGS="-I${LOCALBASE}/include" \
TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-threads=pthread --enable-shared
TIFF_LIBS="-L${LOCALBASE}/lib -ltiff"
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
USES= iconv libtool pathfix
USE_LDCONFIG= yes
CONFLICTS= djvulibre-nox11-3*
WRKSRC= ${WRKDIR}/${DISTNAME:R}

View file

@ -1,17 +0,0 @@
--- config/ltmain.sh.orig 2010-11-19 01:46:29.000000000 -0800
+++ config/ltmain.sh 2010-11-19 01:46:38.000000000 -0800
@@ -2076,14 +2076,6 @@
func_execute_cmds "$postinstall_cmds" 'exit $?'
fi
- # Install the pseudo-library for information purposes.
- func_basename "$file"
- name="$func_basename_result"
- instname="$dir/$name"i
- func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
;;
*.lo)

View file

@ -1,14 +1,5 @@
--- tools/Makefile.in.orig 2009-07-07 17:04:26.000000000 +0200
+++ tools/Makefile.in 2009-07-07 17:11:00.000000000 +0200
@@ -53,7 +53,7 @@
INCS = -I${top_builddir} -I${top_srcdir} -I${top_srcdir}/libdjvu -I${srcdir}
FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${TIFF_CFLAGS} ${THREAD_CFLAGS}
-LIBS= @LDFLAGS@ @LIBS@
+LIBS= @LDFLAGS@ @LIBS@ @THREAD_LIBS@
MORELIBS= @LDFLAGS@ ${TIFF_LIBS} @LIBS@
CFLAGS = ${FLAGS} @CPPFLAGS@ @CFLAGS@
CXXFLAGS = ${FLAGS} ${CXXRPOFLAGS} @CPPFLAGS@ @CXXFLAGS@
@@ -83,7 +83,7 @@
install-scripts: FORCE
${INSTALL} -d ${DESTDIR}${bindir}
@ -18,21 +9,3 @@
|| exit ; done
install-man: FORCE
@@ -127,7 +127,7 @@
cjb2: cjb2.o ${JB2OBJS}
${LIBTOOL} --mode=link \
- ${CXX} -o $@ ${CXXFLAGS} cjb2.o ${JB2OBJS} ${LIBDJVU} ${MORELIBS}
+ ${CXX} -o $@ ${CXXFLAGS} cjb2.o ${JB2OBJS} ${LIBDJVU} ${MORELIBS} ${THREAD_LIBS}
cpaldjvu: cpaldjvu.o ${JB2OBJS}
${LIBTOOL} --mode=link \
@@ -139,7 +139,7 @@
ddjvu: ddjvu.o tiff2pdf.o
${LIBTOOL} --mode=link \
- ${CXX} -o $@ ${CXXFLAGS} ddjvu.o tiff2pdf.o ${LIBDJVU} ${MORELIBS}
+ ${CXX} -o $@ ${CXXFLAGS} ddjvu.o tiff2pdf.o ${LIBDJVU} ${MORELIBS} ${THREAD_LIBS}
djvm: djvm.o
${LIBTOOL} --mode=link \

View file

@ -1,11 +0,0 @@
--- ./xmltools/Makefile.in.orig 2009-07-03 16:10:50.000000000 +0400
+++ ./xmltools/Makefile.in 2009-07-03 16:11:10.000000000 +0400
@@ -51,7 +51,7 @@
INCS = -I${top_builddir} -I${top_srcdir}/libdjvu -I${srcdir}
FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${THREAD_CFLAGS}
-LIBS= @LDFLAGS@ @LIBS@
+LIBS= @LDFLAGS@ @LIBS@ ${THREAD_LIBS}
CFLAGS = ${FLAGS} @CPPFLAGS@ @CFLAGS@
CXXFLAGS = ${FLAGS} ${CXXRPOFLAGS} @CPPFLAGS@ @CXXFLAGS@

View file

@ -20,7 +20,8 @@ bin/djvuxmlparser
include/libdjvu/ddjvuapi.h
include/libdjvu/miniexp.h
lib/libdjvulibre.so
lib/libdjvulibre.so.25
lib/libdjvulibre.so.21
lib/libdjvulibre.so.21.4.0
libdata/pkgconfig/ddjvuapi.pc
%%ANY2DJVU%%man/man1/any2djvu.1.gz
man/man1/bzz.1.gz
@ -70,14 +71,3 @@ share/djvu/osi/zh/messages.xml
share/djvu/pubtext/DjVuMessages.dtd
share/djvu/pubtext/DjVuOCR.dtd
share/djvu/pubtext/DjVuXML-s.dtd
@dirrm share/djvu/pubtext
@dirrm share/djvu/osi/zh
@dirrm share/djvu/osi/ja
@dirrm share/djvu/osi/fr
@dirrm share/djvu/osi/en
@dirrm share/djvu/osi/desktop
@dirrm share/djvu/osi/de
@dirrm share/djvu/osi/cs
@dirrm share/djvu/osi
@dirrmtry share/djvu
@dirrm include/libdjvu

View file

@ -4,7 +4,7 @@
PORTNAME= evince
PORTVERSION= 2.32.0
PORTREVISION= 15
PORTREVISION= 16
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2

View file

@ -2,7 +2,7 @@
PORTNAME= okular
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}

View file

@ -3,6 +3,7 @@
PORTNAME= zathura-djvu
PORTVERSION= 0.2.3
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://pwmt.org/projects/zathura/plugins/download/

View file

@ -3,7 +3,7 @@
PORTNAME= qpdfview
PORTVERSION= 0.4.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= https://launchpadlibrarian.net/140746246/

View file

@ -3,7 +3,7 @@
PORTNAME= leechcraft
PORTVERSION= 0.6.70
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://dist.leechcraft.org/LeechCraft/0.6.70/
DISTNAME= ${PORTNAME}-${PORTVERSION}