pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41952: recent update to jpeg7 breaks print/ghostscript



The following reply was made to PR pkg/41952; it has been noted by GNATS.

From: Rumko <rumcic%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/41952: recent update to jpeg7 breaks print/ghostscript
Date: Wed, 02 Sep 2009 15:44:52 +0200

 Uwe Klaus wrote:
 
 > The following reply was made to PR pkg/41952; it has been noted by GNATS.
 > 
 > From: Uwe Klaus <uklaus%hgb-leipzig.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
 > pkgsrc-bugs%NetBSD.org@localhost
 > Subject: Re: pkg/41952: recent update to jpeg7 breaks print/ghostscript
 > Date: Fri, 28 Aug 2009 16:30:13 +0200 (CEST)
 > 
 >  On Fri, 28 Aug 2009, OBATA Akio wrote:
 >  
 >  > From: "OBATA Akio" <obache%netbsd.org@localhost>
 >  > To: gnats-bugs%netbsd.org@localhost
 >  > Cc:
 >  > Subject: Re: pkg/41952: recent update to jpeg7 breaks print/ghostscript
 >  > Date: Fri, 28 Aug 2009 22:07:57 +0900
 >  >
 >  > Do you have enabled cups option for ghostscript?
 >  >
 >  > external jpeg7 v.s. internal jpeg6?
 >  >
 >  >
 <snip>
 
 This patch fixes the problem (at least it works here):
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/print/ghostscript/Makefile,v
 retrieving revision 1.64
 diff -u -r1.64 Makefile
 --- Makefile    31 Aug 2009 20:12:20 -0000      1.64
 +++ Makefile    2 Sep 2009 10:38:25 -0000
 @@ -72,12 +72,23 @@
  # should be fixed in next ghostscript release
  DELDOSCR= ${WRKSRC}/jasper/src/libjasper/jpc/jpc_qmfb.c
  
 +DISTFILES+=            ${DISTNAME}${EXTRACT_SUFX}
 +EXTRACT_ONLY+=         ${DISTNAME}${EXTRACT_SUFX}
 +
 +JPEG_SRCS=             jpegsrc.v7.tar.gz
 +JPEG_WRKSRC=           ${WRKDIR}/jpeg-6b
 +SITES.${JPEG_SRCS}=    http://www.ijg.org/files/
 +DISTFILES+=            ${JPEG_SRCS}
 +EXTRACT_ONLY+=         ${JPEG_SRCS}
 +
  post-extract:
         ${MKDIR} ${WRKSRC}/bin
         ${MKDIR} ${WRKSRC}/obj
  #      ${MV} ${WRKSRC}/jasper ${WRKSRC}/jasper.dontuse
         ${MV} ${WRKSRC}/libpng ${WRKSRC}/libpng.dontuse
  #      ${MV} ${WRKSRC}/zlib ${WRKSRC}/zlib.dontuse
 +       ${MV} ${WRKSRC}/jpeg ${WRKSRC}/jpeg.dontuse
 +       ${LN} -s ${JPEG_WRKSRC} ${WRKSRC}/jpeg
         ${TR} -d '\015' <${DELDOSCR} >${DELDOSCR}.tmp \
                 && ${MV} ${DELDOSCR}.tmp ${DELDOSCR}
  
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/print/ghostscript/distinfo,v
 retrieving revision 1.25
 diff -u -r1.25 distinfo
 --- distinfo    31 Aug 2009 20:12:20 -0000      1.25
 +++ distinfo    2 Sep 2009 10:38:25 -0000
 @@ -3,6 +3,9 @@
  SHA1 (ghostscript-8.70.tar.bz2) = 4e4132713258c680a4fbec577e6dfc82b980ec01
  RMD160 (ghostscript-8.70.tar.bz2) = 88f7d380d1075c57829aa7f34334542fd2bbd6ce
  Size (ghostscript-8.70.tar.bz2) = 17019673 bytes
 +SHA1 (jpegsrc.v7.tar.gz) = 88cced0fc3dbdbc82115e1d08abce4e9d23a4b47
 +RMD160 (jpegsrc.v7.tar.gz) = 6049c5fee2682c0757d4b51740abd981d1b24487
 +Size (jpegsrc.v7.tar.gz) = 960379 bytes
  SHA1 (patch-ab) = 7a98cad37f94394f172bdac23f5dd73fb1f08006
  SHA1 (patch-ad) = 8b3b743b2d6405ea35bfb16970942ecd55702401
  SHA1 (patch-ae) = 50335e72adebe95ab0cb5873d1c6dd00e971579a
 


Home | Main Index | Thread Index | Old Index