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

Re: pdftk -



Rob Munsch <rmunsch@solutionsforprogress.com> wrote:

> Hello,
>
> I see pdftk in Testing now, but listing gcc4.1 and some other
> dependencies that we aren't running.  Stable still has 1.12.
>
> Our devs need 1.40, so I went and grabbed the 1.40 source from the
> project site and compiled it against gcc 3.3.5 and gcj 3.4.4 and
> everything seems to work all right.  Pulled in a large number of things
> to build it when i installed libgcj5-dev but nothing seems borked.
>
> My question is, is this a candidate for a backport or not?  

The backport should use gcc and gcj from sarge.  If I read the changelog
right, the explicit dependency on gcc-4.1 and gcj-4.1 is only to ensure
the same versions are used.

> I understand
> they're normally pulled from Testing, but testing is built against later
> compiler and library versions than we're using, sooo... i'm not sure
> where this stands.  

The very purpose of backports is to use sarge's compiler and basic
libraries. 

Hm, it seems there's a little more to it, because after just applying this
patch:

diff -Nur pdftk-1.40/debian/control pdftk-1.40.new/debian/control
--- pdftk-1.40/debian/control	2006-11-14 11:14:17.000000000 +0100
+++ pdftk-1.40.new/debian/control	2006-11-14 08:26:42.000000000 +0100
@@ -2,7 +2,7 @@
 Maintainer: Aurélien GÃRÃME <ag@roxor.cx>
 Section: text
 Priority: optional
-Build-Depends: debhelper (>= 4.0.0), gcj-4.1, g++-4.1
+Build-Depends: debhelper (>= 4.0.0), gcj-3.3, g++-3.3, libgcj4-dev
 Standards-Version: 3.7.2
 
 Package: pdftk
diff -Nur pdftk-1.40/pdftk/Makefile.Debian pdftk-1.40.new/pdftk/Makefile.Debian
--- pdftk-1.40/pdftk/Makefile.Debian	2006-09-21 18:36:16.000000000 +0200
+++ pdftk-1.40.new/pdftk/Makefile.Debian	2006-11-14 08:22:03.000000000 +0100
@@ -12,7 +12,7 @@
 
 # tools
 TOOLPATH=
-VERSUFF=-4.1
+VERSUFF=-3.3
 CXX= $(TOOLPATH)g++$(VERSUFF)
 export GCJ= $(TOOLPATH)gcj$(VERSUFF)
 export GCJH= $(TOOLPATH)gcjh$(VERSUFF)

it still FTBFS in sarge.  I haven't tried to build in a sarge-backports
environment, though.

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply to: