--- tuxpaint-config-0.0.8.orig/Makefile +++ tuxpaint-config-0.0.8/Makefile @@ -175,10 +175,10 @@ # are the same as they were when you installed, of course!!! uninstall: -# if [ "x$(GNOME_PREFIX)" != "x" ]; then \ -# -rm $(GNOME_PREFIX)/share/gnome/apps/Graphics/tuxpaint-config.desktop; \ -# -rm $(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \ -# fi + if [ "x$(GNOME_PREFIX)" != "x" ]; then \ + -rm $(GNOME_PREFIX)/share/applications/tuxpaint-config.desktop; \ + -rm $(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \ + fi if [ "x$(KDE_PREFIX)" != "x" ]; then \ rm $(KDE_PREFIX)/Preferences/tuxpaint-config.desktop; \ fi @@ -193,16 +193,16 @@ # Install a launcher icon in the Gnome menu, under "???" install-gnome: -# @echo -# @echo "...Installing launcher icon into GNOME..." -# if [ "x$(GNOME_PREFIX)" != "x" ]; then \ -# install -d $(GNOME_PREFIX)/share/pixmaps; \ -# cp data/images/icon.png $(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \ -# chmod 644 $(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \ -# install -d $(GNOME_PREFIX)/share/gnome/apps/Graphics; \ -# cp src/tuxpaint.desktop $(GNOME_PREFIX)/share/gnome/apps/Graphics/; \ -# chmod 644 $(GNOME_PREFIX)/share/gnome/apps/Graphics/tuxpaint.desktop; \ -# fi + @echo + @echo "...Installing launcher icon into GNOME..." + if [ "x$(GNOME_PREFIX)" != "x" ]; then \ + install -d $(GNOME_PREFIX)/share/pixmaps; \ + cp data/images/icon.png $(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \ + chmod 644 $(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \ + install -d $(GNOME_PREFIX)/share/applications; \ + cp src/tuxpaint-config.desktop $(GNOME_PREFIX)/share/applications/; \ + chmod 644 $(GNOME_PREFIX)/share/applications/tuxpaint-config.desktop; \ + fi # Install a launcher icon in the KDE menu... --- tuxpaint-config-0.0.8.orig/src/tuxpaint-config.desktop +++ tuxpaint-config-0.0.8/src/tuxpaint-config.desktop @@ -6,4 +6,4 @@ Exec=tuxpaint-config Terminal=false Type=Application -Categories=Settings; +Categories=Education; Art; --- tuxpaint-config-0.0.8.orig/debian/changelog +++ tuxpaint-config-0.0.8/debian/changelog @@ -0,0 +1,52 @@ +tuxpaint-config (0.0.8-1ubuntu1) hardy; urgency=low + + * Modified Makefile for correct .desktop file installation + * Modified .desktop file to match the freedesktop.org Specs + (Closes LP: #173294) + * Modified Maintainer value to match Debian-Mantainer-Field Spec + + -- Nicolas Valcárcel Tue, 01 Jan 2008 21:07:08 -0500 + +tuxpaint-config (0.0.8-1) unstable; urgency=low + + * New upstream release. + + -- Ben Armstrong Tue, 03 Jul 2007 22:12:27 -0300 + +tuxpaint-config (0.0.7+0.0.8rc1-1) unstable; urgency=low + + * New upstream release. + + -- Ben Armstrong Sat, 30 Jun 2007 17:46:26 -0300 + +tuxpaint-config (0.0.7-1) unstable; urgency=low + + * New upstream release. + + -- Ben Armstrong Sun, 22 Oct 2006 12:00:14 -0300 + +tuxpaint-config (0.0.6+0.0.7rc5-1) unstable; urgency=low + + * New upstream release. + + -- Ben Armstrong Sun, 15 Oct 2006 11:05:04 -0300 + +tuxpaint-config (0.0.6-2) unstable; urgency=low + + * Fixed X11 dependencies (thanks, Matt Kraai) (Closes: #356274) + + -- Ben Armstrong Sun, 2 Apr 2006 10:28:04 -0300 + +tuxpaint-config (0.0.6-1) unstable; urgency=low + + * New upstream release. + * Fix missing menu entry. + + -- Ben Armstrong Sat, 21 Jan 2006 19:06:41 -0400 + +tuxpaint-config (0.0.5-1) unstable; urgency=low + + * Initial Release. + + -- Ben Armstrong Thu, 7 Oct 2004 10:26:42 -0300 + --- tuxpaint-config-0.0.8.orig/debian/control +++ tuxpaint-config-0.0.8/debian/control @@ -0,0 +1,18 @@ +Source: tuxpaint-config +Section: graphics +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Ben Armstrong +Build-Depends: debhelper (>= 4.0.0), libfltk1.1-dev, libxft-dev, libxinerama-dev, libpaper-dev +Standards-Version: 3.7.2 + +Package: tuxpaint-config +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: tuxpaint (= 1:0.9.17) +Conflicts: tuxpaint (<< 1:0.9.17) +Description: Configuration tool for Tux Paint + Tux Paint has a rich set of configuration options, controllable via + command-line options or configuration files. This configuration tool + provides a point-and-click interface for administrators to tailor Tux + Paint to suit the needs of their users. --- tuxpaint-config-0.0.8.orig/debian/compat +++ tuxpaint-config-0.0.8/debian/compat @@ -0,0 +1 @@ +4 --- tuxpaint-config-0.0.8.orig/debian/copyright +++ tuxpaint-config-0.0.8/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Ben Armstrong on +Tue, 5 Oct 2004 11:40:24 -0300. + +It was downloaded from http://www.newbreedsoftware.com/tuxpaint/ + +Upstream Authors: + Torsten Giebl , + Jan Wynholds + Bill Kendrick + +Copyright: + +Copyright (c) 2004 by Torsten Giebl , +Jan Wynholds and Bill Kendrick . + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL --- tuxpaint-config-0.0.8.orig/debian/dirs +++ tuxpaint-config-0.0.8/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/icons/hicolor/48x48/apps +usr/share/icons/hicolor/32x32/apps +usr/share/icons/hicolor/16x16/apps --- tuxpaint-config-0.0.8.orig/debian/menu +++ tuxpaint-config-0.0.8/debian/menu @@ -0,0 +1,2 @@ +?package(tuxpaint-config):needs="X11" section="Apps/Graphics"\ + title="tuxpaint-config" command="/usr/bin/tuxpaint-config" icon="/usr/share/pixmaps/tuxpaint-config.xpm" --- tuxpaint-config-0.0.8.orig/debian/rules +++ tuxpaint-config-0.0.8/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# 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 + +export DH_ALWAYS_EXCLUDE=CVS + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) PREFIX=/usr CFLAGS="$(CFLAGS)" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tuxpaint-config. + $(MAKE) install \ + PREFIX=$(CURDIR)/debian/tuxpaint-config/usr \ + CONFDIR=$(CURDIR)/debian/tuxpaint/etc/tuxpaint \ + GNOME_PREFIX=$(CURDIR)/debian/tuxpaint-config/usr \ + KDE_PREFIX=$(CURDIR)/debian/tuxpaint-config/usr/share/applnk \ + KDE_ICON_PREFIX=$(CURDIR)/debian/tuxpaint-config/usr/share/icons \ + X11_ICON_PREFIX=$(CURDIR)/debian/tuxpaint-config/usr/share/pixmaps/ + # Cleanup after install + rm $(CURDIR)/debian/tuxpaint-config/usr/share/doc/tuxpaint-config/CHANGES.txt + rm $(CURDIR)/debian/tuxpaint-config/usr/share/doc/tuxpaint-config/COPYING.txt + +# 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_testdir + dh_testroot + dh_installchangelogs docs/CHANGES.txt + dh_installdocs + dh_installexamples + dh_installman + dh_installmenu + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- tuxpaint-config-0.0.8.orig/debian/docs +++ tuxpaint-config-0.0.8/debian/docs @@ -0,0 +1,3 @@ +docs/README.txt +docs/TODO.txt +docs/html/