debian/0000755000000000000000000000000011777105176007202 5ustar debian/source/0000755000000000000000000000000011357024613010470 5ustar debian/source/format0000644000000000000000000000001411357024613011676 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000327311777103751010264 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatability version to use. #export DH_COMPAT=4 build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir # Add here commands to compile the package. $(MAKE) BINDIR=/usr/games LIBDIR=/etc/X11/xfireworks MANDIR=/usr/share/man/man6 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/xfireworks. $(MAKE) BINDIR=`pwd`/debian/xfireworks/usr/games LIBDIR=`pwd`/debian/xfireworks/etc/X11/xfireworks MANDIR=`pwd`/debian/xfireworks/usr/share/man/man6 install # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install # dh_testversion dh_testdir dh_testroot # dh_installdebconf dh_installdocs dh_installexamples dh_installmenu # dh_installemacsen # dh_installpam # dh_installinit dh_installcron # dh_installmanpages dh_installinfo # dh_undocumented dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms # You may want to make some executables suid here. # dh_suidregister # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_lintian dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/dirs0000644000000000000000000000006011350362130010040 0ustar usr/games etc/X11/xfireworks usr/share/man/man6 debian/compat0000644000000000000000000000000211350362130010356 0ustar 5 debian/patches/0000755000000000000000000000000011777105012010616 5ustar debian/patches/hardening0000644000000000000000000000455311777105012012507 0ustar Index: xfireworks-1.3/Makefile =================================================================== --- xfireworks-1.3.orig/Makefile 2012-07-11 04:44:45.000000000 +0900 +++ xfireworks-1.3/Makefile 2012-07-11 05:01:04.000000000 +0900 @@ -21,53 +21,58 @@ XFIREWORKS_CONF_DIRECTRY = $(LIBDIR) +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + OBJS = main.o AfterImage.o Disp.o ColorGC.o Obj.o Stream.o Piece.o XFireworks.o Calculator.o etc.o arguments.o all : xfireworks manual xfireworks : $(OBJS) - $(CC) -o xfireworks $(OBJS) -L$(XLIBDIR) $(CFLAGS) $(LFLAGS) + $(CC) -o xfireworks $(OBJS) -L$(XLIBDIR) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LFLAGS) main.o : main.c - $(CC) -c main.c $(CFLAGS) \ + $(CC) -c main.c $(CPPFLAGS) $(CFLAGS) \ -DVERSION=\"$(VERSION)\" \ -DXFIREWORKS_CONF_DIRECTRY=\"$(XFIREWORKS_CONF_DIRECTRY)\" AfterImage.o : AfterImage.c - $(CC) -c AfterImage.c -I$(XINCLUDEDIR) $(CFLAGS) + $(CC) -c AfterImage.c -I$(XINCLUDEDIR) $(CPPFLAGS) $(CFLAGS) Disp.o : Disp.c - $(CC) -c Disp.c -I$(XINCLUDEDIR) $(CFLAGS) + $(CC) -c Disp.c -I$(XINCLUDEDIR) $(CPPFLAGS) $(CFLAGS) ColorGC.o : ColorGC.c - $(CC) -c ColorGC.c -I$(XINCLUDEDIR) $(CFLAGS) + $(CC) -c ColorGC.c -I$(XINCLUDEDIR) $(CPPFLAGS) $(CFLAGS) Obj.o : Obj.c - $(CC) -c Obj.c $(CFLAGS) + $(CC) -c Obj.c $(CPPFLAGS) $(CFLAGS) Stream.o : Stream.c - $(CC) -c Stream.c $(CFLAGS) + $(CC) -c Stream.c $(CPPFLAGS) $(CFLAGS) Calculator.o : Calculator.c - $(CC) -c Calculator.c $(CFLAGS) + $(CC) -c Calculator.c $(CPPFLAG) $(CFLAGS) Piece.o : Piece.c - $(CC) -c Piece.c -I$(XINCLUDEDIR) $(CFLAGS) + $(CC) -c Piece.c -I$(XINCLUDEDIR) $(CPPFLAGS) $(CFLAGS) XFireworks.o : XFireworks.c xfireworks_conf.h - $(CC) -c XFireworks.c -I$(XINCLUDEDIR) $(CFLAGS) + $(CC) -c XFireworks.c -I$(XINCLUDEDIR) $(CPPFLAGS) $(CFLAGS) xfireworks_conf.h : xfireworks.conf mkconf cat xfireworks.conf | ./mkconf > xfireworks_conf.h mkconf : mkconf.c - $(CC) mkconf.c -o mkconf + $(CC) $(CPPFLAGS) $(CFLAGS) mkconf.c -o mkconf etc.o : etc.c - $(CC) -c etc.c $(CFLAGS) + $(CC) -c etc.c $(CPPFLAGS) $(CFLAGS) arguments.o : arguments.c - $(CC) -c arguments.c $(CFLAGS) + $(CC) -c arguments.c $(CPPFLAGS) $(CFLAGS) manual : xfireworks.6.gz debian/patches/debian-changes-1.3-70000644000000000000000000000556511357024627014055 0ustar Description: Upstream changes introduced in version 1.3-7 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . xfireworks (1.3-7) unstable; urgency=low . * Correct lintian errors - remove prerm * Disp.c (Disp_Create): Fix a bug, replacing NULL to 0. . The person named in the Author field signed this changelog entry. Author: Yukiharu YABUKI --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- xfireworks-1.3.orig/xfireworks.1 +++ xfireworks-1.3/xfireworks.1 @@ -7,7 +7,7 @@ .\" the Free Software Foundation; either version 2, or (at your option) .\" any later version. .\" -.TH XFIREWORKS 1 "Release 6" "X Version 11" +.TH XFIREWORKS 6 "Release 6" "X Version 11" .SH NAME @@ -176,7 +176,7 @@ X(1) .SH FILES -.B ./xfireworks.conf, /lib/X11/XFireworks/xfireworks.conf +.B ./xfireworks.conf, /usr/lib/games/xfireworks/xfireworks.conf .PP The default file to configure XFireworks. .PP --- xfireworks-1.3.orig/Makefile +++ xfireworks-1.3/Makefile @@ -69,13 +69,13 @@ etc.o : etc.c arguments.o : arguments.c $(CC) -c arguments.c $(CFLAGS) -manual : xfireworks.1.gz +manual : xfireworks.6.gz -xfireworks.1.gz : xfireworks.1 - cat xfireworks.1 | gzip > xfireworks.1.gz +xfireworks.6.gz : xfireworks.1 + cat xfireworks.1 | gzip -9 > xfireworks.6.gz clean : - $(RM) *.o xfireworks xfireworks_conf.h mkconf xfireworks.1.gz + $(RM) *.o xfireworks xfireworks_conf.h mkconf xfireworks.6.gz install : install-bin install-lib install-man @@ -91,8 +91,8 @@ install-lib : install-man : manual $(MKDIR) $(MANDIR) - $(CP) xfireworks.1.gz $(MANDIR) - $(CHMOD) 0444 $(MANDIR)/xfireworks.1.gz + $(CP) xfireworks.6.gz $(MANDIR) + $(CHMOD) 0444 $(MANDIR)/xfireworks.6.gz uninstall : uninstall-bin uninstall-lib uninstall-man @@ -103,7 +103,7 @@ uninstall-lib : $(RM) $(LIBDIR)/xfireworks.conf uninstall-man : - $(RM) $(MANDIR)/xfireworks.1.gz + $(RM) $(MANDIR)/xfireworks.6.gz package : $(MKDIR) $(PKGNAME) --- xfireworks-1.3.orig/Disp.c +++ xfireworks-1.3/Disp.c @@ -64,7 +64,7 @@ Disp Disp_Create(char * display_name, in disp->direct_draw = direct_draw; if (disp->direct_draw) { - disp->pixmap = NULL; + disp->pixmap = 0; } else { disp->pixmap = XCreatePixmap(disp->display, disp->root_window, disp->width, disp->height, disp->depth); debian/patches/series0000644000000000000000000000003711777104030012032 0ustar debian-changes-1.3-7 hardening debian/copyright0000644000000000000000000000326311350362130011117 0ustar This package was debianized by Kenshi Muto on Fri, 28 Jul 2000 11:31:18 +0900. It was downloaded from http://wwwmiya.ee.kagu.sut.ac.jp/~sakai/myfreesoft/xfireworks-1.0.tar.gz Upstream Author: SAKAI Hiroaki Copyright: Public License can be found in '/usr/share/common-licenses/GPL' /* XFireworks Copyright (c) 2000 Sakai Hiroaki. */ /* All Rights Reserved. */ /*===========================================================================*/ /* 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, 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; see the file COPYING. If not, write to */ /* the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /*****************************************************************************/ debian/README.Debian0000644000000000000000000000017711350362130011226 0ustar xfireworks for Debian ---------------------- Have a fun! -- Kenshi Muto , Fri, 28 Jul 2000 11:31:18 +0900 debian/postinst0000644000000000000000000000233311350362130010767 0ustar #! /bin/sh # postinst script for xfireworks # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see /usr/doc/packaging-manual/ # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000644000000000000000000000073511777103537010611 0ustar Source: xfireworks Section: games Priority: optional Maintainer: Yukiharu YABUKI Standards-Version: 3.9.3 Build-Depends: libx11-dev, debhelper (>= 5) Package: xfireworks Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Fireworks in your root window XFireworks makes fireworks in the root window on X. This is imitation of Japanese "Hanabi Taikai". It is very popular event in Japanese summer and performed on some rivers. debian/docs0000644000000000000000000000003111350362130010025 0ustar README OMAKE.jpn AUTHORS debian/preinst0000644000000000000000000000204011350362130010563 0ustar #! /bin/sh # preinst script for xfireworks # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' case "$1" in install|upgrade) # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/xfireworks.pid \ # --exec /usr/sbin/xfireworks 2>/dev/null || true # fi if [ "$1" = "upgrade" ] then if [ -f "/usr/lib/games/xfireworks/xfireworks.conf" ] then mkdir -p /etc/X11/xfireworks mv /usr/lib/games/xfireworks/xfireworks.conf /etc/X11/xfireworks fi fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/changelog0000644000000000000000000000505011777103327011050 0ustar xfireworks (1.3-9) unstable; urgency=low * update standard version * hardening * remove linintan warning -- Yukiharu YABUKI Wed, 11 Jul 2012 04:47:02 +0900 xfireworks (1.3-8) unstable; urgency=low * converting to source format 3.0 (quilt) -- Yukiharu YABUKI Wed, 07 Apr 2010 15:49:02 +0900 xfireworks (1.3-7) unstable; urgency=low * Correct lintian errors - remove prerm * Disp.c (Disp_Create): Fix a bug, replacing NULL to 0. -- Yukiharu YABUKI Sun, 14 Jun 2009 23:16:02 +0900 xfireworks (1.3-6) unstable; urgency=low * I adopt the package from orphaned list. (closes: #448110). * Set DH_COMPAT=5. - In copyright file. - correct FSF address. - Point License file. - Change Author(s)(plural) to Author(Singular). - In docs file. - Remove INSTALL document in Debian package. Package users don't need it. - Remove NEWS document in Debian package. It is 0 byte. - In controle file - set new maintainer name and email. - upgrade standard version 3.7.2 to 3.7.3. - In menu file. - Added quote for needs and section. - In rules file. - Do not use -$(MAKE). Change [ ! -f Makefile ] || $(MAKE). - Change working directory 'tmp' to 'xfireworks'. * Make debian/compat file. - Do not set DH_COMPAT in rules file. -- Yukiharu YABUKI Sun, 14 Jun 2009 23:10:26 +0900 xfireworks (1.3-5) unstable; urgency=low * Orphaned (#448110). Set maintainer to QA Group. -- Kenshi Muto Fri, 26 Oct 2007 15:31:44 +0900 xfireworks (1.3-4) unstable; urgency=medium * Fix FTBFS of xlibs-dev transition (closes: #346814) -- Kenshi Muto Tue, 10 Jan 2006 19:42:28 +0900 xfireworks (1.3-3) unstable; urgency=low * Add build-depends. Thanks Daniel (closes: Bug#190624). -- Kenshi Muto Fri, 25 Apr 2003 14:10:42 +0900 xfireworks (1.3-2) unstable; urgency=low * Remove duplicated manpage from man1 (closes: Bug#83310). Thanks, Micha. -- Kenshi Muto Fri, 9 Feb 2001 23:36:39 +0900 xfireworks (1.3-1) unstable; urgency=low * New upstream release -- Kenshi Muto Fri, 18 Aug 2000 18:31:39 +0900 xfireworks (1.1-1) unstable; urgency=low * New upstream release -- Kenshi Muto Mon, 31 Jul 2000 17:24:22 +0900 xfireworks (1.0-1) unstable; urgency=low * Initial Release. -- Kenshi Muto Fri, 28 Jul 2000 11:31:18 +0900 Local variables: mode: debian-changelog End: debian/postrm0000644000000000000000000000173611350362130010436 0ustar #! /bin/sh # postrm script for xfireworks # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see /usr/doc/packaging-manual/ case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) # update the menu system # if [ -x /usr/bin/update-menus ]; then update-menus; fi ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 0 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# debian/menu0000644000000000000000000000015411350362130010047 0ustar ?package(xfireworks):needs="X11" section="Games/Toys"\ title="xfireworks" command="/usr/games/xfireworks"