delete gcc40, gcc41, gcc42

Jack Howarth howarth at bromo.med.uc.edu
Wed Sep 14 07:06:00 PDT 2011


On Tue, Sep 13, 2011 at 09:37:16PM -0500, Ryan Schmidt wrote:
> 
> On Sep 13, 2011, at 17:05, Joshua Root wrote:
> 
> > On 2011-9-14 07:34 , "Markus W. Weißmann" wrote:
> >> Hey folks,
> >> 
> >> any objections to me deleting the ports gcc40, gcc41 and gcc42? They don't build anymore on 10.5 or 10.6 so they are basically there to frustrate users and waste cycles of the buildbot.
> > 
> > Are you sure they all don't build on 10.5? I seem to remember at least
> > one case where 4.2 worked better for Tiger and/or Leopard users than a
> > newer version.
> 
> pdftk seems to require gcc42 on Leopard and earlier, and sets its default_variants accordingly. Please don't delete gcc42 or pdftk won't work on Leopard or earlier (and thus on any PowerPC Mac) anymore.

Ryan,
   You should be able to use the gcc44 to provide the necessary gcj for pdftk. Fink has a pdftk-powerpc.info of the
form...

Package: pdftk
Version: 1.44
Revision: 1
Architecture: powerpc
BuildDepends: gcc44-compiler, libwmf, libjasper.1, fink (>= 0.24.12)
Depends: gcc44-shlibs, libwmf-shlibs, libjasper.1-shlibs
Source: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/%n-%v-src.zip
SourceDirectory: %n-%v-dist
Source-MD5: 9eb50fffcd621a627d387750c60982b4

PatchScript: <<
   #!/bin/sh -ev
   perl -pi -e "s|/sw.lib/gcc4.5/|%p/lib/gcc4.4/|g" ./pdftk/Makefile.OSX-10.6
   perl -pi -e "s|fsf-4.5|fsf-4.4|g" ./pdftk/Makefile.OSX-10.6
   gccvers=`gcc-fsf-4.4 -dumpversion`
   perl -pi -e "s|4.5.0|${gccvers}|g" ./pdftk/Makefile.OSX-10.6
   mv ./pdftk/Makefile.OSX-10.6 ./pdftk/Makefile
<<
CompileScript: <<
  cd pdftk; make
<<

InstallScript: <<
  mkdir -p %i/bin
  cp pdftk/pdftk %i/bin
  mkdir -p %i/share/man/man1
  cp pdftk.1 %i/share/man/man1 
<<

DocFiles: pdftk.1.txt pdftk.1.html changelog.html changelog.txt

Description: Handy tool for manipulating PDF
DescDetail: <<
       If  PDF  is  electronic paper, then pdftk is an electronic
       staple-remover, hole-punch,  binder,  secret-decoder-ring,
       and  X-Ray-glasses.   Pdftk  is  a  simple  tool for doing
       everyday things with PDF documents.  Use it to:

       * Merge PDF Documents
       * Split PDF Pages into a New Document
       * Decrypt Input as Necessary (Password Required)
       * Encrypt Output as Desired
       * Fill PDF Forms with FDF Data and/or Flatten Forms
       * Apply a Background Watermark
       * Report PDF Metrics such as Metadata and Bookmarks
       * Update PDF Metadata
       * Attach Files to PDF Pages or the PDF Document
       * Unpack PDF Attachments
       * Burst a PDF Document into Single Pages
       * Uncompress and Re-Compress Page Streams
       * Repair Corrupted PDF (Where Possible)
<<

DescPackaging: <<
    The original Makefile.OSX-10.6 uses a hard-coded /sw/lib. 
    A warning by fink validate is avoided by using /sw.lib in the patchscript.
<<

License: GPL
Homepage: http://www.pdfhacks.com/pdftk
Maintainer: Matthias Ringwald <freckle at users.sf.net>


Only gcc45 and later should be a problem for gcj. The gcc 4.5 release introduced the use of
libgcc_ext and the abandonment of building a second copy of the libgcc_s.10.4/10.5 stubs.
This resulted in the system unwinder being used rather than the unwinder from FSF gcc.
                 Jack

> 
> 
> 
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev


More information about the macports-dev mailing list