Bug#345268: jed: FTBFS on GNU/kFreeBSD

Aurelien Jarno aurel32 at debian.org
Fri Dec 30 00:19:18 UTC 2005


Package: jed
Severity: important
Tags: patch

Hi,

jed fails to build on GNU/kFreeBSD because of two reasons:
- libgmpg1-dev is linux specific and does not exists on this platform
- XJED_HAS_XRENDERFONT is set to 1 on GNU/Linux, but not set back to 0
  on other platforms.

Please find attached a patch to fix that. It would be nice if you could
add it in the next upload.

Thanks in advance,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
-------------- next part --------------
Author: aurel32
Status: in BTS

diff -u jed-0.99.16/debian/control jed-0.99.16/debian/control
--- jed-0.99.16/debian/control
+++ jed-0.99.16/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian JED Group <pkg-jed-devel at lists.alioth.debian.org>
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>= 4), hevea, libgpmg1-dev (>= 1.17.8-18) [!hurd-i386], perl (>= 5.004.05-1.1), perl-base (>= 5.004.05-1.1), libslang1-dev, xlibs-dev (>= 4.0.1-10), libfreetype6-dev (>= 2.0.1-1), libxft-dev, dpatch
+Build-Depends: debhelper (>= 4), hevea, libgpmg1-dev (>= 1.17.8-18) [!hurd-i386 !kfreebsd-i386], perl (>= 5.004.05-1.1), perl-base (>= 5.004.05-1.1), libslang1-dev, xlibs-dev (>= 4.0.1-10), libfreetype6-dev (>= 2.0.1-1), libxft-dev, dpatch
 
 Package: jed
 Architecture: any
diff -u jed-0.99.16/debian/rules jed-0.99.16/debian/rules
--- jed-0.99.16/debian/rules
+++ jed-0.99.16/debian/rules
@@ -37,6 +37,10 @@
 		perl -w -i -p \
 			-e 's/#define XJED_HAS_XRENDERFONT[[:space:]]*0/#define XJED_HAS_XRENDERFONT 1/;' \
 			src/jed-feat.h; \
+	else \
+		perl -w -i -p \
+			-e 's/#define XJED_HAS_XRENDERFONT[[:space:]]*1/#define XJED_HAS_XRENDERFONT 0/;' \
+			src/jed-feat.h; \
 	fi
 
 


More information about the Pkg-jed-devel mailing list