--- macopix-1.6.4.orig/debian/patches/002_patch_nokkari.c.patch +++ macopix-1.6.4/debian/patches/002_patch_nokkari.c.patch @@ -0,0 +1,11 @@ +--- src/nokkari.c 2007-08-05 11:04:27.814620425 +0800 ++++ src/nokkari.c 2007-08-05 11:04:52.000000000 +0800 +@@ -92,6 +92,8 @@ + + extern typMascot *Mascot; + ++extern gchar* FullPathPixmapFile(); ++ + + // のっかりキャラ用 iniファイルのセーブ + void NkrSave (typMascot *mascot) --- macopix-1.6.4.orig/debian/patches/001_patch_man_page.patch +++ macopix-1.6.4/debian/patches/001_patch_man_page.patch @@ -0,0 +1,8 @@ +--- macopix.1 2006-09-07 13:01:04.000000000 +0800 ++++ macopix.1 2007-05-03 23:16:59.000000000 +0800 +@@ -1,4 +1,4 @@ +-.TH MACOPIX 1 "Feb 21 ,2005" "" "MaCoPiX - Users Manual" ++.TH MACOPIX 6 "Feb 21 ,2005" "" "MaCoPiX - Users Manual" + .SH "NAME" + MaCoPiX \- Mascot Constructive Pilot for X + .SH "SYNOPSIS" --- macopix-1.6.4.orig/debian/control +++ macopix-1.6.4/debian/control @@ -0,0 +1,16 @@ +Source: macopix +Section: games +Priority: optional +Maintainer: Ying-Chun Liu (PaulLiu) +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libgtk2.0-dev, libgnutls-dev, netpbm +Standards-Version: 3.7.2 + +Package: macopix-gtk2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Mascot Constructive Pilot for X based on GTK+ 2 + MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application for + UNIX / X Window system. You can make window sitters, fixed desktop mascots, + and, furthermore, desktop clock mascots, using MaCoPiX. + . + Homepage: http://rosegray.sakura.ne.jp/macopix/ --- macopix-1.6.4.orig/debian/rules +++ macopix-1.6.4/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS = --bindir=/usr/games --with-gnutls + +build/macopix-gtk2:: + winicontoppm -allicons -writeands src/macopix.ico src/macopix + ppmtoxpm -name=macopix_xpm -alphamask=src/macopix_and_1.pbm \ + src/macopix_xor_1.ppm > src/macopix.xpm + +cleanbuilddir/macopix-gtk2:: + rm -f src/macopix_and_*.pbm src/macopix_xor_*.ppm src/macopix.xpm + +install/macopix-gtk2:: + mv -f $(CURDIR)/debian/macopix-gtk2/usr/share/man/man1/macopix.1 \ + $(CURDIR)/debian/macopix-gtk2/usr/share/man/man6/macopix.6 --- macopix-1.6.4.orig/debian/watch +++ macopix-1.6.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://rosegray.sakura.ne.jp/macopix/dl.html \./macopix-([\d\.]*)\.tar\.gz --- macopix-1.6.4.orig/debian/changelog +++ macopix-1.6.4/debian/changelog @@ -0,0 +1,14 @@ +macopix (1.6.4-2) unstable; urgency=low + + * Apply 002_patch_nokkari.c.patch to fix implicitly converted to pointer + (Closes: #431593) + + -- Ying-Chun Liu (PaulLiu) Sun, 05 Aug 2007 11:02:57 +0800 + +macopix (1.6.4-1) unstable; urgency=low + + * Initial release (Closes: #422027) + * Apply 001_patch_man_page.patch to move man pages from section 1 + (executable programs or shell commands) to section 6 (games) + + -- Ying-Chun Liu (PaulLiu) Wed, 30 May 2007 20:28:45 +0800 --- macopix-1.6.4.orig/debian/macopix-gtk2.dirs +++ macopix-1.6.4/debian/macopix-gtk2.dirs @@ -0,0 +1,2 @@ +usr/games +usr/share/man/man6 --- macopix-1.6.4.orig/debian/macopix-gtk2.docs +++ macopix-1.6.4/debian/macopix-gtk2.docs @@ -0,0 +1,4 @@ +README +README.ja +ChangeLog.ja +NKR.README.ja --- macopix-1.6.4.orig/debian/macopix-gtk2.menu +++ macopix-1.6.4/debian/macopix-gtk2.menu @@ -0,0 +1,3 @@ +?package(macopix-gtk2):needs="X11" section="Games/Toys"\ + title="MaCoPiX" command="/usr/games/macopix"\ + icon="/usr/share/pixmaps/macopix-gtk2/macopix.xpm" --- macopix-1.6.4.orig/debian/compat +++ macopix-1.6.4/debian/compat @@ -0,0 +1 @@ +5 --- macopix-1.6.4.orig/debian/copyright +++ macopix-1.6.4/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by Ying-Chun Liu (PaulLiu) +on Thu, 3 May 2007 21:28:43 +0800. + +It was downloaded from http://rosegray.sakura.ne.jp/macopix/ + +Upstream Author: Kurumi Chimari + +Copyright: + Copyright (C) 2002-2007 K.Chimari + Copyright (C) 1999-2006 Hiroyuki Yamamoto + Copyright (C) 2000 David Helder + Copyright (C) 1995 Spencer Kimball and Peter Mattis + Copyright (C) 1997-2000 Alexander.Schulz@stud.uni-karlsruhe.de + Copyright (C) 1998-1999 Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson + and 4Front Technologies + Copyright (C) 1999-2001 TKS + Copyright (C) Yoshioka Tsuneo(QWF00133@nifty.ne.jp) + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + md5c.c, md5.h: + + GNet API added by David Helder 2000-6-11. All + additions and changes placed in the public domain. + + Files originally from: http://www.gxsnmp.org/CVS/gxsnmp/ + + tar32api.h: + LICENSE of this file: + There is no restriction for using this file. + You can use this file in your software for any purpose. + In other words, you can use this file as Public Domain Software. + RECOMMENDATION for Programmer(not restriction): + If you find points to improve code, please report me. + If you find bug in source code, please report me. + If you fixed bug, please teach me. + I want any trivial information. + If you use this file, please report me. + +The Debian packaging is (C) 2007, Ying-Chun Liu (PaulLiu) + and is licensed under the GPL, +see `/usr/share/common-licenses/GPL'. --- macopix-1.6.4.orig/debian/macopix-gtk2.install +++ macopix-1.6.4/debian/macopix-gtk2.install @@ -0,0 +1 @@ +src/macopix.xpm /usr/share/pixmaps/macopix-gtk2