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

Bug#589987: marked as done (bogl: FTBFS on non-linux ports)



Your message dated Sun, 20 Mar 2011 21:58:41 +0000
with message-id <E1Q1Qe1-000054-Qn@franck.debian.org>
and subject line Bug#589987: fixed in bogl 0.1.18-5
has caused the Debian Bug report #589987,
regarding bogl: FTBFS on non-linux ports
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
589987: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589987
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: bogl
Version: 0.1.18-4
Severity: important
Tags: d-i patch

Hello,

bogl FTBFS on non-linux. This would look normal at first, but d-i uses
reduce-font from libbogl-dev to save room on d-i images. This patch
makes bogl at least build libbogl-dev shipping mergebdf and reduce-font
on non-linux ports.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel Thibault <samuel.thibault@fnac.net>
	/* Amuse the user. */
	printk(
"              \\|/ ____ \\|/\n"
"              \"@'/ ,. \\`@\"\n"
"              /_| \\__/ |_\\\n"
"                 \\__U_/\n");
(From linux/arch/sparc/kernel/traps.c:die_if_kernel())
diff -urN bogl-0.1.18/debian/control bogl-0.1.18.nonlinux/debian/control
--- bogl-0.1.18/debian/control	2010-06-22 02:15:11.000000000 +0200
+++ bogl-0.1.18.nonlinux/debian/control	2010-07-22 20:02:27.000000000 +0200
@@ -19,7 +19,7 @@
 
 Package: libbogl0
 Section: libs
-Architecture: any
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Ben's Own Graphics Library - shared library
  Ben's Own Graphics Library is a small framebuffer library,
@@ -30,7 +30,7 @@
 
 Package: bogl-bterm
 Section: utils
-Architecture: any
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Ben's Own Graphics Library - graphical terminal
  Ben's Own Graphics Library is a small framebuffer library,
@@ -42,7 +42,7 @@
 Package: bogl-bterm-udeb
 XC-Package-Type: udeb
 Section: debian-installer
-Architecture: any
+Architecture: linux-any
 Priority: extra
 Depends: ${shlibs:Depends}
 Description: Ben's Own Graphics Library - graphical terminal
diff -urN bogl-0.1.18/debian/libbogl-dev.files.hurd-i386 bogl-0.1.18.nonlinux/debian/libbogl-dev.files.hurd-i386
--- bogl-0.1.18/debian/libbogl-dev.files.hurd-i386	1970-01-01 01:00:00.000000000 +0100
+++ bogl-0.1.18.nonlinux/debian/libbogl-dev.files.hurd-i386	2010-07-22 20:15:35.000000000 +0200
@@ -0,0 +1,2 @@
+usr/bin/mergebdf
+usr/bin/reduce-font
diff -urN bogl-0.1.18/debian/libbogl-dev.files.kfreebsd-amd64 bogl-0.1.18.nonlinux/debian/libbogl-dev.files.kfreebsd-amd64
--- bogl-0.1.18/debian/libbogl-dev.files.kfreebsd-amd64	1970-01-01 01:00:00.000000000 +0100
+++ bogl-0.1.18.nonlinux/debian/libbogl-dev.files.kfreebsd-amd64	2010-07-22 20:16:05.000000000 +0200
@@ -0,0 +1,2 @@
+usr/bin/mergebdf
+usr/bin/reduce-font
diff -urN bogl-0.1.18/debian/libbogl-dev.files.kfreebsd-i386 bogl-0.1.18.nonlinux/debian/libbogl-dev.files.kfreebsd-i386
--- bogl-0.1.18/debian/libbogl-dev.files.kfreebsd-i386	1970-01-01 01:00:00.000000000 +0100
+++ bogl-0.1.18.nonlinux/debian/libbogl-dev.files.kfreebsd-i386	2010-07-22 20:16:25.000000000 +0200
@@ -0,0 +1,2 @@
+usr/bin/mergebdf
+usr/bin/reduce-font
diff -urN bogl-0.1.18/debian/rules bogl-0.1.18.nonlinux/debian/rules
--- bogl-0.1.18/debian/rules	2010-06-22 02:07:25.000000000 +0200
+++ bogl-0.1.18.nonlinux/debian/rules	2010-07-22 20:18:59.000000000 +0200
@@ -14,6 +14,8 @@
 #major=`ls src/.libs/lib*.so.* | \
 # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
 build: build-stamp
 build-stamp:
 	dh_testdir
@@ -46,10 +48,12 @@
 
 	dh_movefiles
 
+ifeq ($(DEB_HOST_ARCH_OS), linux)
 	install -d debian/bogl-bterm-udeb/usr/bin
 	install -m 755 debian/bogl-bterm/usr/bin/bterm debian/bogl-bterm-udeb/usr/bin/bterm
 	install -d debian/bogl-bterm-udeb/usr/share/terminfo/b
 	install -m 644 debian/bogl-bterm/usr/share/terminfo/b/bterm debian/bogl-bterm-udeb/usr/share/terminfo/b/bterm
+endif
 
 	dh_installdocs
 	dh_installexamples
diff -urN bogl-0.1.18/Makefile bogl-0.1.18.nonlinux/Makefile
--- bogl-0.1.18/Makefile	2010-06-22 02:07:25.000000000 +0200
+++ bogl-0.1.18.nonlinux/Makefile	2010-07-22 20:17:02.000000000 +0200
@@ -9,6 +9,7 @@
 ALLCFLAGS = $(CFLAGS) $(WARNCFLAGS) $(FBCFLAGS)
 
 architecture := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+os := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 
 LIBOBJECTS = $(LIBBOGLOBJECTS) $(LIBBOMLOBJECTS) $(LIBBOWLOBJECTS)	\
 	$(LIBRSRCOBJECTS)
@@ -18,9 +19,12 @@
 LIBRSRCOBJECTS = helvB10.o helvB12.o helvR10.o timBI18.o tux75.o
 
 SOURCES_DEP = arrow.c bdftobogl.c bogl-cfb.c bogl-cfb.h bogl-cfb8.c	\
-bogl-cfb8.h bogl-font.c bogl-font.h bogl-pcfb.c bogl-pcfb.h		\
-bogl-tcfb.c bogl-tcfb.h bogl-test.c bogl.c bogl.h boglP.h boml.c	\
-boml.h bowl-boxes.c bowl.c bowl.h pngtobogl.c
+bogl-cfb8.h bogl-font.c bogl-font.h \
+bogl-test.c bogl.h boglP.h boml.c	\
+boml.h bowl.c bowl.h pngtobogl.c
+
+ifeq ($(os),linux)
+	SOURCES_DEP += bogl-pcfb.c bogl-pcfb.h bogl-tcfb.c bogl-tcfb.h bowl-boxes.c bogl.c
 
 ifeq (,)
 	FBCFLAGS += -DBOGL_CFB_FB=1
@@ -32,13 +36,18 @@
 	LIBBOGLOBJECTS += bogl-vga16.o
 	SOURCES_DEP += bogl-vga16.c bogl-vga16.h
 endif
+endif
 
 OBJECTS = $(LIBOBJECTS) bowl-boxes.o
 
 GENERATED = helvB10.c helvB12.c helvR10.c timBI18.c tux75.c
 
 #		 libutf8/libutf8_plug.so unifont-reduced.bgf
-all:    depend $(SHARED_LIB) $(LIB) bterm bdftobogl reduce-font
+all:    depend
+ifeq ($(os),linux)
+all: $(SHARED_LIB) $(LIB) bterm bdftobogl pngtobogl
+endif
+all: reduce-font
 
 %.lo: %.c
 	$(CC) $(ALLCFLAGS) -o $@ -fPIC -c $<
@@ -109,12 +118,16 @@
 endif
 
 install: all
-	install -d $(DESTDIR)/usr/lib $(DESTDIR)/usr/include/bogl $(DESTDIR)/usr/bin
+	install -d $(DESTDIR)/usr/bin
+ifeq ($(os),linux)
+	install -d $(DESTDIR)/usr/lib $(DESTDIR)/usr/include/bogl
 	install -m644 $(SHARED_LIB) $(DESTDIR)/usr/lib/$(SHARED_LIB)
 	ln -s $(SHARED_LIB) $(DESTDIR)/usr/lib/$(DEVLINK)
 	ln -s $(SHARED_LIB) $(DESTDIR)/usr/lib/$(SONAME)
 	install -m644 $(LIB) $(DESTDIR)/usr/lib/$(LIB)
 	install -m644 *.h $(DESTDIR)/usr/include/bogl
-	install -m755 bdftobogl mergebdf bterm pngtobogl reduce-font $(DESTDIR)/usr/bin
+	install -m755 bdftobogl bterm pngtobogl $(DESTDIR)/usr/bin
 	install -d $(DESTDIR)/usr/share/terminfo
 	tic -o$(DESTDIR)/usr/share/terminfo bterm.ti
+endif
+	install -m755 mergebdf reduce-font $(DESTDIR)/usr/bin

--- End Message ---
--- Begin Message ---
Source: bogl
Source-Version: 0.1.18-5

We believe that the bug you reported is fixed in the latest version of
bogl, which is due to be installed in the Debian FTP archive:

bogl-bterm-udeb_0.1.18-5_amd64.udeb
  to main/b/bogl/bogl-bterm-udeb_0.1.18-5_amd64.udeb
bogl-bterm_0.1.18-5_amd64.deb
  to main/b/bogl/bogl-bterm_0.1.18-5_amd64.deb
bogl_0.1.18-5.diff.gz
  to main/b/bogl/bogl_0.1.18-5.diff.gz
bogl_0.1.18-5.dsc
  to main/b/bogl/bogl_0.1.18-5.dsc
bogl_0.1.18.orig.tar.gz
  to main/b/bogl/bogl_0.1.18.orig.tar.gz
libbogl-dev_0.1.18-5_amd64.deb
  to main/b/bogl/libbogl-dev_0.1.18-5_amd64.deb
libbogl0_0.1.18-5_amd64.deb
  to main/b/bogl/libbogl0_0.1.18-5_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 589987@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated bogl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 20 Mar 2011 19:03:58 +0100
Source: bogl
Binary: libbogl-dev libbogl0 bogl-bterm bogl-bterm-udeb
Architecture: source amd64
Version: 0.1.18-5
Distribution: unstable
Urgency: low
Maintainer: Samuel Thibault <sthibault@debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description: 
 bogl-bterm - Ben's Own Graphics Library - graphical terminal
 bogl-bterm-udeb - Ben's Own Graphics Library - graphical terminal (udeb)
 libbogl-dev - Ben's Own Graphics Library - development files
 libbogl0   - Ben's Own Graphics Library - shared library
Closes: 385919 589987
Changes: 
 bogl (0.1.18-5) unstable; urgency=low
 .
   * New maintainer (Closes: #385919).
   * Fix compilation warnings.
   * Drop -lpng and -lm, they are actually not needed.
   * Add manpages for mergebdf, pngtobogl, reduce-font.
   * Remove debian/libbogl0.postinst.
   * Bump Standards-Version to 3.9.1 (no change needed).
   * Fix non-Linux build (Closes: #589987).
Checksums-Sha1: 
 6cd1c25f6225e19b8b3525ef26a71456bdeac69e 1049 bogl_0.1.18-5.dsc
 f7c4ba5313916b4f9d51b50186eafef0831ba3d9 89479 bogl_0.1.18.orig.tar.gz
 cf27ee272948c17ed4fa0292bae19dc5220e2338 14464 bogl_0.1.18-5.diff.gz
 dd5e60d5d1a249cdc7a5352b36721cc10e282ce8 92806 libbogl-dev_0.1.18-5_amd64.deb
 f2b69a2792734477832cb866f47aea1d2870c41d 53494 libbogl0_0.1.18-5_amd64.deb
 60b4b56521483a35c295b3fbb19ceca542e136fa 31146 bogl-bterm_0.1.18-5_amd64.deb
 221c1c31c7ed7746446998772c10ab54eec71776 25130 bogl-bterm-udeb_0.1.18-5_amd64.udeb
Checksums-Sha256: 
 95b8a3c7f89a49806b3789f782876c7d49c5dd6458cd70c2eb85ccea15cc1aad 1049 bogl_0.1.18-5.dsc
 ab1bc07633f0b24c431625fffcabc20b706fb40a858cd6eef3743a112009a10d 89479 bogl_0.1.18.orig.tar.gz
 d51fc2c740cb00465bc113f2a806ebf2701c765ee5c58acf6328451922cabc98 14464 bogl_0.1.18-5.diff.gz
 2c81f2348494635d891944ca4a82fb33e068b14e6d9e79d881529813f0384656 92806 libbogl-dev_0.1.18-5_amd64.deb
 01443a5ae22b42d6f996464d02ddaaa6a6639f9d2251d332879fd0af21774abf 53494 libbogl0_0.1.18-5_amd64.deb
 e2e77de471e5143aa06e2e1816a8d5d72ab8288fb6c7222667b9d13b1a51107f 31146 bogl-bterm_0.1.18-5_amd64.deb
 ba5763fc0655533823f679ee18b00ccacffdacf92ba4640f607f102136eecd77 25130 bogl-bterm-udeb_0.1.18-5_amd64.udeb
Files: 
 87a1e5f6bd3e4c9457171f7c948187a1 1049 devel optional bogl_0.1.18-5.dsc
 78c7998972bdd7e1f7dba53ca3c92e4b 89479 devel optional bogl_0.1.18.orig.tar.gz
 96b9b6564c4628aef33355b1b63804f0 14464 devel optional bogl_0.1.18-5.diff.gz
 7b7597d71737074032fabe9633883328 92806 libdevel optional libbogl-dev_0.1.18-5_amd64.deb
 a6438131dd95c53add1c70daad9e32fd 53494 libs optional libbogl0_0.1.18-5_amd64.deb
 3ad84f76de4d8c95b57fb564e7056410 31146 utils optional bogl-bterm_0.1.18-5_amd64.deb
 23ce1eae237409e450f1d415f1de2bd5 25130 debian-installer extra bogl-bterm-udeb_0.1.18-5_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAk2GWMYACgkQg7iRWpzNNcOXYAD/ZhH3CjbcBlIEl6fUI1zOESU0
CVPMvnhxRSvn5MziN+QA/i3rnPVRYkg8fTfEXNgiIPrBWgqbfu4bSwCRxe1w0egN
=plbs
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: