Package: knights
Version: 0.6-4
Severity: normal
Tags: patch
Hi
The menu has no icon, but there are several icons which are coming with
the upstream.
An other problem is the po/de.gmo file. It should be deleted during the
clean rule, because otherwise the package wont build, because of changes to the
upstream.
For both bugs I made a patch. You have to edit the rules, menu and control
files.
See the code below.
Greetings
Steffen
Code:
--- old/knights-0.6/debian/rules 2005-10-11 18:50:31.000000000 +0200
+++ new/knights-0.6/debian/rules 2005-10-11 17:10:41.000000000 +0200
@@ -27,6 +27,9 @@
-include debian/debiandirs
+debian/knights.xpm: media/hi32-app-knights.png
+ convert $< $@
+
config.status: configure patch
dh_testdir
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) \
@@ -35,7 +38,7 @@
build: build-stamp
-build-stamp: config.status
+build-stamp: config.status debian/knights.xpm
dh_testdir
$(MAKE)
touch build-stamp
@@ -55,7 +58,7 @@
cp -f /usr/share/misc/config.guess config.guess
endif
-
+ rm -f po/de.gmo
dh_clean
install: build
@@ -65,7 +68,7 @@
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/knights
-
+ install -D -m 644 debian/knights.xpm
debian/knights/usr/share/pixmaps/knights.xpm
binary-indep: build install
--- old/knights-0.6/debian/menu 2005-10-11 18:50:31.000000000 +0200
+++ new/knights-0.6/debian/menu 2005-10-11 18:43:16.000000000 +0200
@@ -2,4 +2,5 @@
needs="X11"\
section="Games/Board"\
title="Knights"\
-command="/usr/bin/knights"
+ command="/usr/bin/knights"\
+ icon="/usr/share/pixmaps/knights.xpm"
--- old/knights-0.6/debian/control 2005-10-11 18:50:31.000000000 +0200
+++ new/knights-0.6/debian/control 2005-10-11 17:10:53.000000000 +0200
@@ -2,7 +2,7 @@
Section: games
Priority: optional
Maintainer: Tommaso Moroni <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), kdelibs4-dev, libqt3-compat-headers,
poxml, xlibs-dev, dpatch
+Build-Depends: debhelper (>= 4.0.0), kdelibs4-dev, libqt3-compat-headers,
poxml, xlibs-dev, dpatch, imagemagick
Standards-Version: 3.6.2
Package: knights
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages knights depends on:
ii kdelibs4c2 4:3.4.2-4 core libraries for all KDE applica
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libarts1c2 1.4.2-4 aRts sound system core components
ii libasound2 1.0.9-3 ALSA library
ii libaudio2 1.7-3 The Network Audio System (NAS). (s
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libesd0 0.2.36-1 Enlightened Sound Daemon - Shared
ii libfam0 2.7.0-8 client library to control the FAM
ii libfontconfig1 2.3.2-1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-2 GCC support library
ii libglib2.0-0 2.8.3-1 The GLib library of C routines
ii libice6 6.8.2.dfsg.1-8 Inter-Client Exchange library
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libjack0.100.0-0 0.100.0-4 JACK Audio Connection Kit (librari
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libmad0 0.15.1b-2.1 MPEG audio decoder library
ii libogg0 1.1.2-1 Ogg Bitstream Library
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libqt3-mt 3:3.3.5-1 Qt GUI Library (Threaded runtime v
ii libsm6 6.8.2.dfsg.1-8 X Window System Session Management
ii libstdc++6 4.0.2-2 The GNU Standard C++ Library v3
ii libvorbis0a 1.1.0-1 The Vorbis General Audio Compressi
ii libvorbisenc2 1.1.0-1 The Vorbis General Audio Compressi
ii libvorbisfile3 1.1.0-1 The Vorbis General Audio Compressi
ii libx11-6 6.8.2.dfsg.1-8 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.8.2.dfsg.1-8 X Window System miscellaneous exte
ii libxft2 2.1.7-1 FreeType-based font drawing librar
ii libxi6 6.8.2.dfsg.1-8 X Window System Input extension li
ii libxinerama1 6.8.2.dfsg.1-8 X Window System multi-head display
ii libxrandr2 6.8.2.dfsg.1-8 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0-2 X Rendering Extension client libra
ii libxt6 6.8.2.dfsg.1-8 X Toolkit Intrinsics
ii xlibs 6.8.2.dfsg.1-8 X Window System client libraries m
ii zlib1g 1:1.2.3-4 compression library - runtime
knights recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]