[Chinese-commits] [lunar] 02/05: Imported Debian patch 2.2-2

Anthony Fok foka at debian.org
Sat Sep 19 19:35:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

foka pushed a commit to branch master
in repository lunar.

commit 2bd82d0a528a5b7ce8f37bfa79199728aec4866d
Author: Anthony Fok <foka at debian.org>
Date:   Sat Oct 19 02:00:36 2002 +0800

    Imported Debian patch 2.2-2
---
 debian/changelog | 8 ++++++++
 debian/rules     | 3 ++-
 lunar.c          | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7c0aea1..379c004 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+lunar (2.2-2) unstable; urgency=medium
+
+  * Oops, I forgot to install lunar.bitmap and to specify its full path
+    in the source code!  Many thanks to Jeronimo Pellegrini for providing
+    the patch to fix the problem.  (Closes: Bug#162634)
+
+ -- Anthony Fok <foka at debian.org>  Sat, 19 Oct 2002 02:00:36 +0800
+
 lunar (2.2-1) unstable; urgency=low
 
   * Initial Release.
diff --git a/debian/rules b/debian/rules
index 5a7790e..970da92 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,10 +37,11 @@ install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs usr/bin
+	dh_installdirs usr/bin usr/share/lunar
 
 	# Add here commands to install the package into debian/lunar.
 	install -m755 -p lunar debian/lunar/usr/bin/
+	install -m644 -p lunar.bitmap debian/lunar/usr/share/lunar/
 
 # Build architecture-independent files here.
 binary-indep: build install
diff --git a/lunar.c b/lunar.c
index 6076a45..aa0ed7a 100644
--- a/lunar.c
+++ b/lunar.c
@@ -163,7 +163,7 @@ int	showHZ = 0;			/* output in hanzi */
 int	showBM = 0;			/* output in bitmap */
 int	showHZ_GB = 0;			/* output in GB-encoded hanzi */
 int	showHZ_B5 = 0;			/* output in Big5-encoded hanzi */
-char	BMfile[] = "lunar.bitmap";	/* bit map file */
+char	BMfile[] = "/usr/share/lunar/lunar.bitmap";	/* bit map file */
 char	GZBM[NBM][BMRow][BMCol];	/* the bitmap array */
 char	*progname;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/lunar.git



More information about the Chinese-commits mailing list