Date: Sun, 29 Sep 2002 17:18:19 +0400 (MSD) From: "Lev A. Serebryakov" <lev@serebryakov.spb.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/43468: [PATCH] Update and unbroke for port graphics/djvulibre Message-ID: <200209291318.g8TDIJ3v064516@ftp.translate.ru>
next in thread | raw e-mail | index | archive | help
>Number: 43468 >Category: ports >Synopsis: [PATCH] Update and unbroke for port graphics/djvulibre >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Sep 29 06:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Lev A. Serebryakov <lev@serebryakov.spb.ru> >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD freebsd.sereb.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 8 20:06:13 MSD 2002 root@freebsd.sereb.net:/usr/obj/usr/src/sys/LEVMAIL i386 Ports collection: 29 Sep 2002 QT version : 3.0.5 >Description: This patch update djvulibre port to latest version 3.5.8 and allows this port to be compiled with qt3 (so, unbroke it). >How-To-Repeat: >Fix: diff -ruN djvulibre.orig/Makefile djvulibre/Makefile --- djvulibre.orig/Makefile Sat Sep 28 15:25:49 2002 +++ djvulibre/Makefile Sat Sep 28 15:29:36 2002 @@ -6,21 +6,17 @@ # PORTNAME= djvulibre -PORTVERSION= 3.5.4 -PORTREVISION= 1 +PORTVERSION= 3.5.8 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= djvu MAINTAINER= john_m_cooper@yahoo.com -BROKEN= "Does not compile" - LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ iconv.3:${PORTSDIR}/converters/libiconv .ifndef WITHOUT_X11 -USE_QT_VER= 2 -#LIB_DEPENDS+= qt2:${PORTSDIR}/x11-toolkits/qt23 +USE_QT_VER= 3 .else PKGNAMESUFFIX= -nox11 .endif @@ -32,9 +28,9 @@ .ifndef WITHOUT_X11 CONFIGURE_ENV+= CXX=${CXX} PTHREAD_CFLAGS=-pthread PTHREAD_LIBS=-pthread \ - MOC=${LOCALBASE}/bin/moc2 UIC=${LOCALBASE}/bin/uic \ - QT_CFLAGS=-I"${LOCALBASE}/include/qt2" \ - QT_LIBS="-L${LOCALBASE}/lib -lqt2" + MOC=${X11BASE}/bin/moc2 UIC=${X11BASE}/bin/uic \ + QT_CFLAGS=-I"${X11BASE}/include" \ + QT_LIBS="-L${X11BASE}/lib -lqt-mt" .else CONFIGURE_ARGS+=--disable-djview .endif diff -ruN djvulibre.orig/distinfo djvulibre/distinfo --- djvulibre.orig/distinfo Sat Sep 28 15:25:49 2002 +++ djvulibre/distinfo Sat Sep 28 15:36:52 2002 @@ -1 +1 @@ -MD5 (djvulibre-3.5.4.tar.gz) = d6e5cb5683c8b71867ef1b76c646e5ef +MD5 (djvulibre-3.5.8.tar.gz) = 2327716fac996f68f4d1baee1ba8a64b diff -ruN djvulibre.orig/pkg-plist djvulibre/pkg-plist --- djvulibre.orig/pkg-plist Sat Sep 28 15:25:49 2002 +++ djvulibre/pkg-plist Sun Sep 29 13:37:05 2002 @@ -16,6 +16,8 @@ bin/djvutxt lib/libdjvulibre3.so.5.4 %%X11%%lib/netscape/plugins/nsdejavu.so +%%X11%%@unexec rmdir %D/lib/netscape/plugins 2>/dev/null || true +%%X11%%@unexec rmdir %D/lib/netscape 2>/dev/null || true share/djvu/osi/Chinese_PRC/libdjvu++.xml share/djvu/osi/Chinese_PRC/messages.xml @dirrm share/djvu/osi/Chinese_PRC @@ -38,5 +40,6 @@ share/djvu/languages.xml @dirrm share/djvu %%PORTDOCS%%share/doc/djvulibre/djvu2spec.djvu +%%PORTDOCS%%share/doc/djvulibre/lizard2002.djvu %%PORTDOCS%%share/doc/djvulibre/djvu3changes.txt %%PORTDOCS%%@dirrm share/doc/djvulibre >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209291318.g8TDIJ3v064516>