debian/0000755000000000000000000000000011755527220007174 5ustar debian/compat0000644000000000000000000000000211755513635010377 0ustar 9 debian/copyright0000644000000000000000000000455211755524351011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: macopix Upstream-Contact: Kurumi Chimari Source: http://rosegray.sakura.ne.jp/macopix/ Files: * Copyright: 2002-2007 K.Chimari License: GPL-2+ Files: src/base64.h src/base64.c src/unmime.c src/unmime.h src/quoted-printable.h src/codeconv.c src/codeconv.h src/ssl.h src/ssl.c src/trayicon.c Copyright: 2002-2007 K.Chimari 1999-2004 Hiroyuki Yamamoto License: GPL-2+ Files: src/bmp.c src/bmpwrite.c Copyright: 2002-2007 K.Chimari 1995 Spencer Kimball and Peter Mattis 1997-2000 Alexander.Schulz@stud.uni-karlsruhe.de License: GPL-2+ Files: src/configfile.h src/configfile.c Copyright: 2002-2007 K.Chimari 1998-1999 Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies License: GPL-2+ Files: src/md5c.c src/md5.h Copyright: 2000 David Helder License: 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/ Files: src/pop.c src/libpop.h Copyright: 1999-2001 TKS License: GPL-2+ Files: src/tar32api.h Copyright: Yoshioka Tsuneo License: 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. Files: debian/* Copyright: 2007 Ying-Chun Liu (PaulLiu) License: GPL-2+ License: GPL-2+ 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. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/control0000644000000000000000000000117711755513626010612 0ustar Source: macopix Section: games Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Build-Depends: debhelper (>= 9), autotools-dev, libgtk2.0-dev, libgnutls-dev, netpbm, dh-autoreconf Standards-Version: 3.9.3 Homepage: http://rosegray.sakura.ne.jp/macopix/ 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. debian/watch0000644000000000000000000000014711540162766010231 0ustar version=3 http://rosegray.sakura.ne.jp/macopix/dl.html \./macopix-([\d\.]*)\.tar\.gz \ debian uupdate debian/macopix-gtk2.dirs0000644000000000000000000000003511540162766012364 0ustar usr/games usr/share/man/man6 debian/patches/0000755000000000000000000000000011755526125010626 5ustar debian/patches/series0000644000000000000000000000020511755525550012041 0ustar 001_make_autoreconf_work.patch 002_patch_man_page.patch 003_fix_implicit_pointer_function_main.h.patch 004_dont_link_to_gcrypt.patch debian/patches/003_fix_implicit_pointer_function_main.h.patch0000644000000000000000000000105411755524722021611 0ustar Subject: Add missing header Author: Ying-Chun Liu (PaulLiu) Last-Update: 2011-03-17 Index: macopix-1.7.4/src/main.h =================================================================== --- macopix-1.7.4.orig/src/main.h 2012-05-19 03:48:55.939535071 +0800 +++ macopix-1.7.4/src/main.h 2012-05-19 03:58:06.237604163 +0800 @@ -93,6 +93,9 @@ #include #include //#include +#include +#include +#include #ifndef DISABLE_CAIRO #if defined(CAIRO_H) debian/patches/004_dont_link_to_gcrypt.patch0000644000000000000000000000150511755526125016306 0ustar Description: Don't link to gcrypt This prevents compilation against GnuTLS 3.0.0 (available in experimental), which does not use gcrypt as crypto backend anymore. Bug-Debian: http://bugs.debian.org/638412 Author: Ying-Chun Liu (PaulLiu) Last-Update: 2012-05-19 Index: macopix-1.7.4/configure.in =================================================================== --- macopix-1.7.4.orig/configure.in 2012-05-19 03:49:05.619363578 +0800 +++ macopix-1.7.4/configure.in 2012-05-19 04:05:22.669591784 +0800 @@ -290,7 +290,7 @@ AC_CACHE_CHECK([for GnuTLS libraries], gnutls_libs, [ - LIBS="$LIBS $with_gnutls_libs -lgnutls -lgcrypt -lgnutls-openssl" + LIBS="$LIBS $with_gnutls_libs -lgnutls -lgnutls-openssl" AC_TRY_LINK_FUNC(gnutls_init, gnutls_libs="yes", gnutls_libs="no") LIBS="$LIBS_save" ]) debian/patches/002_patch_man_page.patch0000644000000000000000000000104511755523651015157 0ustar Subject: Change section from 1 to 6 Author: Ying-Chun Liu (PaulLiu) Last-Update: 2011-03-17 Index: macopix-1.7.4/macopix.1 =================================================================== --- macopix-1.7.4.orig/macopix.1 2012-05-19 03:44:15.260504574 +0800 +++ macopix-1.7.4/macopix.1 2012-05-19 03:44:42.200027872 +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" debian/patches/001_make_autoreconf_work.patch0000644000000000000000000000360311755523655016442 0ustar Description: Make autogen.sh to work In Debian sometimes we need to modify configure.in. This patch makes autogen.sh to work in Debian. It basically remove GTK1.2 support. And then copy the mkinstalldirs because automake >= 1.8 prefers mkdir over mkinstalldirs. mkinstalldirs is not copy/link automatically anymore. Author: Ying-Chun Liu (PaulLiu) Last-Update: 2012-05-19 Index: macopix-1.7.4/configure.in =================================================================== --- macopix-1.7.4.orig/configure.in 2012-05-19 03:43:34.801220402 +0800 +++ macopix-1.7.4/configure.in 2012-05-19 03:44:40.648055336 +0800 @@ -146,13 +146,7 @@ [use_gtk1=yes]) if test x"${use_gtk1}" = "xyes"; then -AM_PATH_GLIB(1.2.6,, - AC_MSG_ERROR(Test for GLIB failed. See the file 'INSTALL' for help.), - gthread) -AM_PATH_GTK(1.2.0, , - AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) -AM_PATH_GDK_PIXBUF(0.7.0, , - AC_MSG_ERROR(Cannot find GdkPixbuf: Is gdk-pixbuf-config in path?)) +AC_MSG_ERROR(No GTK1 support) dnl for libpng (In the case of Gtk+2, gdk_pixbuf_save are used.) AC_CHECK_LIB(png,png_create_write_struct, [PNGLIB_LIBS="-lz -lpng -lm"], @@ -164,6 +158,7 @@ AM_PATH_GTK_2_0(2.0.0,, AC_MSG_ERROR([gtk+-2.x is required]), gthread gobject) AC_DEFINE(USE_GTK2,[], [Use Gtk+2.x instead of Gtk+1.x]) PNGLIB_LIBS="" +PKG_CHECK_MODULES(GDK_PIXBUF, [gdk-pixbuf-2.0]) fi AC_SUBST(PNGLIB_LIBS) Index: macopix-1.7.4/autogen.sh =================================================================== --- macopix-1.7.4.orig/autogen.sh 2012-05-19 03:43:34.801220402 +0800 +++ macopix-1.7.4/autogen.sh 2012-05-19 03:44:40.648055336 +0800 @@ -6,3 +6,5 @@ && automake --add-missing --foreign --copy \ && autoconf \ && ./configure $@ +MKINSTALLDIRS=`find /usr/share/automake* -name mkinstalldirs | sort -V | tail -1` +cp -f $MKINSTALLDIRS . debian/source/0000755000000000000000000000000011540164547010475 5ustar debian/source/format0000644000000000000000000000001411540164547011703 0ustar 3.0 (quilt) debian/macopix-gtk2.menu0000644000000000000000000000023611540162766012372 0ustar ?package(macopix-gtk2):needs="X11" section="Games/Toys"\ title="MaCoPiX" command="/usr/games/macopix"\ icon="/usr/share/pixmaps/macopix-gtk2/macopix.xpm" debian/clean0000644000000000000000000000007411755516571010211 0ustar src/macopix_and_*.pbm src/macopix_xor_*.ppm src/macopix.xpm debian/macopix-gtk2.docs0000644000000000000000000000005411540162766012354 0ustar README README.ja ChangeLog.ja NKR.README.ja debian/macopix-gtk2.install0000644000000000000000000000006011540162766013067 0ustar src/macopix.xpm /usr/share/pixmaps/macopix-gtk2 debian/changelog0000644000000000000000000000371711755524370011061 0ustar macopix (1.7.4-4) unstable; urgency=low * Bump Standards-Version to 3.9.3: Nothing needs to be changed * Bump debhelper version to 9 - Use debhelper7 and remove cdbs * Use autoreconf to regenerate the configure * Fix link against libgcrypt without using gcrypt functions (Closes: #638412) * Update debian/copyright to latest format -- Ying-Chun Liu (PaulLiu) Sat, 19 May 2012 03:54:22 +0800 macopix (1.7.4-3) unstable; urgency=low * debian/rules: Add LDFLAGS=-lX11 to fix FTBFS with binutils-gold (Closes: #555581) * Update debian/copyright to use dep5 format * Use DebSrc3.0 format * Bump Standards-Version to 3.9.1: Nothing needs to be changed * Bump debhelper version to 7 -- Ying-Chun Liu (PaulLiu) Thu, 17 Mar 2011 00:40:24 +0800 macopix (1.7.4-2) unstable; urgency=low * debian/patches/002_fix_implicit_pointer_function_main.h.patch: - Fix implicitly pointer conversion (Closes: #538152) -- Ying-Chun Liu (PaulLiu) Sat, 25 Jul 2009 16:06:31 +0800 macopix (1.7.4-1) unstable; urgency=low * New upstream release * Removed 002_patch_nokkari.c.patch. Upstream already contains this patch. * Bump Standards-Version to 3.8.2 - Nothing need to be changed. * Use Homepage field in debian/control instead of old pseudo-header. * Use uupdate in debian/watch for easier update. -- Ying-Chun Liu (PaulLiu) Thu, 23 Jul 2009 11:00:01 +0800 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 debian/rules0000755000000000000000000000116211755517435010263 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf $(CURDIR)/autogen.sh override_dh_auto_configure: dh_auto_configure -- --bindir=/usr/games --with-gnutls LDFLAGS="$(LDFLAGS) -lX11" override_dh_auto_build: dh_auto_build 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 override_dh_auto_install: dh_auto_install mv -f $(CURDIR)/debian/macopix-gtk2/usr/share/man/man1/macopix.1 \ $(CURDIR)/debian/macopix-gtk2/usr/share/man/man6/macopix.6