--- gnustep-examples-1.2.0.orig/debian/changelog +++ gnustep-examples-1.2.0/debian/changelog @@ -0,0 +1,154 @@ +gnustep-examples (1:1.2.0-3build1) natty; urgency=low + + * Rebuild for the GNUstep transition. + + -- Luca Falavigna Fri, 29 Oct 2010 20:49:34 +0200 + +gnustep-examples (1:1.2.0-3) unstable; urgency=low + + * debian/compat: Set to 7. + * debian/control (Section): Change to `gnustep'. + (Uploaders): Remove Eric and Hubert, add myself. + (Build-Depends): Bump debhelper to >= 7, unversion + libgnustep-gui-dev. Add quilt and imagemagick. Remove + libgl1-mesa-dev and libglu1-mesa-dev. + (Description): Extend. + (Standards-Version): Compliant with 3.8.4 as of this release. + (Homepage, Vcs-Arch): New fields. + * debian/patches/sensible-browser.patch: New; move from the diff.gz. + * Restore apps list supported/enabled by default upstream (remove + gui/GNUmakefile local modification from diff.gz); incidentally + fixes FTBFS with gnustep-gui/0.18.0 (Closes: #582079). + * debian/patches/no-MyGL.patch: New; disable MyGL as well following + upstream. + * debian/patches/series: New file. + * debian/rules: Adapt for quilt. Get rid of gs_make. Cleanups. + (pkg, dir): Replace with... + (d_app): ...which is more common; all uses updated. + (OPTFLAG): No longer define; rework noopt handling to be compatible + with gnustep-make/2.4.x (Closes: #582080). + (LDFLAGS): New variable. + (configure, configure-stamp): Remove; useless. + (build-stamp): Generate XPM icons for the menu file. + (clean-patched): Delete them. Simplify rule. + (install): Replace dh_clean -k with dh_prep. Do not invoke + dh_installdirs. Do not install lintian overrides. + (binary-arch): Don't install upstream README files; obsolete. Remove + unneeded dh_* commands. Install the newly added generic manpage and + create the corresponding symlinks. Install the XPM icons and .desktop + files. Conditionally move Resources to /usr/share/GNUstep. + * debian/overrides: + * debian/menu.test: + * debian/README.Debian: Delete. + * debian/source/format: + * debian/README.source: + * debian/gnustep-examples.1: + * debian/Calculator.desktop: + * debian/Ink.desktop: + * debian/preinst: New file. + * debian/watch: Bump version, prepend opts=pasv, don't uupdate. + * debian/menu: Retain only the most useful apps, i.e. Ink and + Calculator. Fix command, section, longtitle fields. Add icon. + * debian/copyright: Clarify copyright vs. license. + + -- Yavor Doganov Thu, 27 May 2010 00:47:50 +0300 + +gnustep-examples (1:1.2.0-2) unstable; urgency=low + + * debian/control: + * Update Gürkan's email address. + * Bump standards version to 3.7.3. (no other changes needed) + * Add dependency on ${gnustep:Depends}. + + -- Hubert Chathi Tue, 17 Jun 2008 07:14:14 -0400 + +gnustep-examples (1:1.2.0-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Optimised (-O2) compiling fixes FTBFS (Closes: #457555). + + -- Luk Claes Tue, 01 Jan 2008 02:05:17 +0100 + +gnustep-examples (1:1.2.0-1) unstable; urgency=low + + * New upstream release. + * Build-depend on libgl1-mesa-dev and libglu1-mesa-dev for GL example. + * Change default web browser for example service to sensible-browser. + * Update maintainer address. + * debian/menu: s/Apps/Applications/g, and other menu updates. + + -- Hubert Chathi Fri, 5 Oct 2007 19:49:55 -0400 + +gnustep-examples (1:1.1.0-1) unstable; urgency=low + + * New upstream release. + * Bump standards version to 3.7.2. (no changes) + * Rebuild against latest GNUstep libraries. + * Don't build GPuzzle (removed by upstream). + + -- Hubert Chan Mon, 25 Sep 2006 18:27:25 -0400 + +gnustep-examples (1:1.0.0-2) unstable; urgency=low + + * Rebuild against latest GNUstep libraries. + * Bump standards version to 3.6.2.1. + + -- Hubert Chan Fri, 30 Dec 2005 16:37:05 -0700 + +gnustep-examples (1:1.0.0-1) unstable; urgency=low + + * New upstream version. + * Don't suffix application names with ".app". + * Add ToolbarExample. + * Add a debian/watch file. + + -- Eric Heintzmann Sat, 27 Nov 2004 17:50:04 +0100 + +gnustep-examples (1:0.9.7-3) unstable; urgency=medium + + * debian/control: + - Rebuild using latest GNUstep Core packages (closes #259536). + - Update Debian GNustep maintainers e-mail address. + - Bump Standards-Version to 3.6.1.1. + * debian/menu: + - Sufix application names with ".app". + - No longer source GNUstep.sh before openapp. + * debian/README.Debian: + - Remove instructions about sourcing GNUstep.sh. + - Add GFractal and GPuzzle in the application list. + * debian/rules: + - Add messages=yes flag when building. + + -- Eric Heintzmann Sun, 18 Jul 2004 16:00:53 +0200 + +gnustep-examples (1:0.9.7-2) unstable; urgency=low + + * Update debian/rules to use flattened directory structure : + remove GS_HOST, GS_CPU, GS_OS, GS_LIB_DIR, GS_COMBO_DIR variables. + * Update Build-Depends field in debian/control file. + * Update Standard-Version to 3.6.1. + * Update to Debhelper compatibility level 4. + * Update debian/README.Debian file. + * Update debian/copyright file. + * New Co-Maintainer. + * New debian/menu file. + + -- Eric Heintzmann Thu, 7 Aug 2003 01:44:51 +0200 + +gnustep-examples (1:0.9.7-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sat, 20 Jul 2002 18:29:24 +0200 + +gnustep-examples (0.9.020407-1) unstable; urgency=low + + * CVS snapshot of the GNUstep examples. + + -- Matthias Klose Sun, 7 Apr 2002 15:21:59 +0200 + +gnustep-examples (0.9.2.90-1) unstable; urgency=low + + * Initial Release. + + -- Matthias Klose Sat, 19 Jan 2002 14:58:19 +0100 --- gnustep-examples-1.2.0.orig/debian/preinst +++ gnustep-examples-1.2.0/debian/preinst @@ -0,0 +1,32 @@ +#!/bin/sh +# dpkg will not replace a directory with a symlink. +# FIXME: Remove during the squeeze+1 cycle. + +set -e +set -u + +APPDIR=/usr/lib/GNUstep/Applications + +case "$1" in + install | upgrade) + # Assume that if Ink's Resources are not moved, a lending hand + # is needed. + if [ -d $APPDIR/Ink.app/Resources ] \ + && [ ! -L $APPDIR/Ink.app/Resources ]; then + rm -rf $APPDIR/Ink.app/Resources $APPDIR/Calculator.app/Resources \ + $APPDIR/NSPanelTest.app/Resources + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- gnustep-examples-1.2.0.orig/debian/watch +++ gnustep-examples-1.2.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +opts=pasv ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-examples-(.*)\.tar\.gz --- gnustep-examples-1.2.0.orig/debian/control +++ gnustep-examples-1.2.0/debian/control @@ -0,0 +1,23 @@ +Source: gnustep-examples +Section: gnustep +Priority: optional +Maintainer: Debian GNUstep maintainers +Uploaders: Gürkan Sengün , + Yavor Doganov +Build-Depends: debhelper (>= 7), + libgnustep-gui-dev, + quilt, + imagemagick +Standards-Version: 3.8.4 +Homepage: http://www.gnustep.org/experience/examples.html +Vcs-Arch: http://arch.debian.org/arch/pkg-gnustep/gnustep/gnustep-examples--debian--1.0 + +Package: gnustep-examples +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${gnustep:Depends} +Description: GNUstep example applications + A collection of examples for the GNUstep libraries. Some of them are + useful applications on their own, others are intended only for + testing purposes. --- gnustep-examples-1.2.0.orig/debian/Ink.desktop +++ gnustep-examples-1.2.0/debian/Ink.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Ink Text Editor +Name[bg]=Текстов редактор (Ink) +Comment=Example text editor for GNUstep +Comment[bg]=Примерен текстов редактор за GNUstep +Type=Application +Categories=Utility;TextEditor; +Icon=/usr/lib/GNUstep/Applications/Ink.app/Resources/Ink_app.tiff +Exec=Ink --- gnustep-examples-1.2.0.orig/debian/Calculator.desktop +++ gnustep-examples-1.2.0/debian/Calculator.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=GNUstep Calculator +Name[bg]=Калкулатор за GNUstep +Comment=Example calculator for GNUstep +Comment[bg]=Примерен калкулатор за GNUstep +Type=Application +Categories=Utility;Calculator; +Icon=/usr/lib/GNUstep/Applications/Calculator.app/Resources/Calculator.app.tiff +Exec=Calculator --- gnustep-examples-1.2.0.orig/debian/compat +++ gnustep-examples-1.2.0/debian/compat @@ -0,0 +1 @@ +7 --- gnustep-examples-1.2.0.orig/debian/copyright +++ gnustep-examples-1.2.0/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Matthias Klose on +Sat, 19 Jan 2002 14:58:19 +0100. + +The source for the package was taken from one of the source packages at + + ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-examples-X.Y.Z.tar.gz + +Upstream Authors: see the GNUstep Project Page at + + http://savannah.gnu.org/projects/gnustep + + +Copyright © 1997-2004 Free Software Foundation, Inc. + +License: + + The GNUstep libraries are covered under the GNU Lesser Public +License. This means you can use these libraries in any program (even +non-free programs). If you distribute the libraries along with your +program, you must make the improvements you have made to the libraries +freely available. + + GNUstep tools, test programs, and other files are covered under the +GNU Public License. This means if you make changes to these programs, +you cannot charge a fee, other than distribution fees, for others to +use the program. + + With GNUstep-Base, we strongly recommend the use of the ffcall +libraries, which provides stack frame handling for NSInvocation and +NSConnection. "Ffcall is under GNU GPL. As a special exception, if used +in GNUstep or in derivate works of GNUstep, the included parts of ffcall +are under GNU LGPL" (Text in quotes provided by the author of ffcall). + + On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL', the complete +text of the GNU General Lesser Public License can be found in +`/usr/share/common-licenses/LGPL'. --- gnustep-examples-1.2.0.orig/debian/README.source +++ gnustep-examples-1.2.0/debian/README.source @@ -0,0 +1,8 @@ +This package uses quilt (in a fairly standard/straightforward way) to +manage all modifications to the upstream source. Please see + + /usr/share/doc/quilt/README.source and quilt(1) + +for further instructions. + + -- Yavor Doganov , Wed, 26 May 2010 17:34:50 +0300 --- gnustep-examples-1.2.0.orig/debian/menu +++ gnustep-examples-1.2.0/debian/menu @@ -0,0 +1,15 @@ +?package(gnustep-examples):\ + needs="X11"\ + section="Applications/Science/Mathematics"\ + title="Calculator"\ + longtitle="GNUstep calculator for basic arithmetic."\ + command="/usr/bin/Calculator"\ + icon="/usr/share/pixmaps/Calculator.xpm" + +?package(gnustep-examples):\ + needs="X11"\ + section="Applications/Editors"\ + title="Ink"\ + longtitle="Simplistic GNUstep text editor"\ + command="/usr/bin/Ink"\ + icon="/usr/share/pixmaps/Ink.xpm" --- gnustep-examples-1.2.0.orig/debian/gnustep-examples.1 +++ gnustep-examples-1.2.0/debian/gnustep-examples.1 @@ -0,0 +1,86 @@ +.TH gnustep-examples 1 "May 26, 2010" "GNUstep" "GNUstep System Manual" + +.SH NAME +gnustep-examples \- various example GNUstep tools/applications + +.SH SYNOPSIS +[ +.B example program +] + +.SH DESCRIPTION +.B GNUstep Examples +are a compilation of applications and tools to demonstrate and test +the abilities of certain GNUstep classes. Some of them are useful +enough on their own; others are included purely for testing purposes. +.PP +Here is a short description of the programs in alphabetical order: +.TP +.B Calculator +Fully functional, but very simple calculator which supports only basic +arithmetic functions. +.BR EdenMath (1) +and +.BR Stepulator (1) +are much more user-friendly and powerful. +.TP +.B CurrencyConverter +Simple currency converter. +.TP +.B GSTest +Tests for various +.I GNUstep GUI +classes, combined in one application. +.TP +.B Ink +A text editor that supports both plain text and RTF/RTFD. Usually the +\[lq]standard\[rq] test application, especially for the +.I NSDocument +class. +.TP +.B md5Digest +This tool creates an md5 digest using the example filter based on what +type of file is being accessed. +.TP +.B NSBrowserTest +Test application for the +.I NSBrowser +class. +.TP +.B NSImageTest +Test application for the +.I NSImage +class. +.TP +.B NSPanelTest +Test application for the +.I NSPanel +class. +.TP +.B NSScreenTest +Test application for the +.I NSScreen +class. Usually used to check the display's capabilities. + +.SH OPTIONS +All programs do not accept any options except the standard GNUstep +ones. +.B md5Digest +reads files from the standard input. + +.SH SEE ALSO +.BR GNUstep (7). + +.SH AUTHORS +The +.B GNUstep Examples +were written by various GNUstep developers. +.P +This manual page was added by Yavor Doganov . + +.SH COPYRIGHT +Copyright \[co] 1997-2010 Free Software Foundation, Inc. +.P +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. --- gnustep-examples-1.2.0.orig/debian/rules +++ gnustep-examples-1.2.0/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/GNUstep/debian/config.mk +include /usr/share/quilt/quilt.make + +export GNUSTEP_MAKEFILES := $(GS_MAKE_DIR) + +d_app := $(CURDIR)/debian/gnustep-examples +LDFLAGS := -Wl,-z,defs -Wl,--as-needed + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +optim := debug=yes +endif + +build: patch build-stamp + +build-stamp: + dh_testdir + $(MAKE) $(optim) messages=yes LDFLAGS="$(LDFLAGS)" + convert gui/Calculator/Calculator.app.tiff -resize 32x32 Calculator.xpm + convert gui/Ink/Ink_app.tiff -resize 32x32 Ink.xpm + + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + $(MAKE) distclean + dh_clean build-stamp Calculator.xpm Ink.xpm + +install: build + dh_testdir + dh_testroot + dh_prep + + $(MAKE) install DESTDIR=$(d_app) GNUSTEP_INSTALLATION_DOMAIN=SYSTEM +# Delete invalid .desktop files and install ours. + find $(d_app) -name \*.desktop -delete + dh_install debian/Calculator.desktop debian/Ink.desktop \ + usr/share/applications +# Install the XPM icons. + dh_install Calculator.xpm Ink.xpm usr/share/pixmaps + +# 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 gui/ChangeLog + dh_installdocs + dh_installmenu + dh_installman debian/gnustep-examples.1 +# Create symlinks for the manpage. Deliberately do not derive the +# programs' list from /usr/bin -- if an app is added upstream; the +# manpage has to be updated. + for p in Calculator CurrencyConverter GSTest Ink md5Digest \ + NSBrowserTest NSImageTest NSPanelTest NSScreenTest; do \ + dh_link usr/share/man/man1/gnustep-examples.1 \ + usr/share/man/man1/$$p.1; \ + done +# Move arch-independent Resources to /usr/share. +ifeq ($(GS_USE_FHS),yes) + gsdh_gnustep + dh_installdirs usr/share/GNUstep +# As aobve, deliberately hardcode the apps to notice the appearance of +# an offending one (lintian will emit a warning image-file-in-usr-lib). + for p in Calculator Ink NSPanelTest; do \ + mv $(d_app)$(GNUSTEP_SYSTEM_APPS)/$$p.app/Resources \ + $(d_app)/usr/share/GNUstep/$$p.app \ + && dh_link usr/share/GNUstep/$$p.app \ + $(GNUSTEP_SYSTEM_APPS)/$$p.app/Resources; \ + done +endif + 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 --- gnustep-examples-1.2.0.orig/debian/source/format +++ gnustep-examples-1.2.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- gnustep-examples-1.2.0.orig/debian/patches/sensible-browser.patch +++ gnustep-examples-1.2.0/debian/patches/sensible-browser.patch @@ -0,0 +1,17 @@ +2007-10-05 Hubert Chathi + + * gui/ExampleService/example.m (-[ExampleServices + openURL:userData:error:]) : Use sensible-browser. + + +--- gnustep-examples-1.2.0.orig/gui/ExampleService/example.m ++++ gnustep-examples-1.2.0/gui/ExampleService/example.m +@@ -124,7 +124,7 @@ + browser = [defs objectForKey:@"NSWebBrowser"]; + if(!browser || [browser isEqualToString:@""]) + { +- browser = @"mozilla -remote \"openURL(%@,new-window)\""; ++ browser = @"sensible-browser %@"; + } + + path = @"/bin/sh"; --- gnustep-examples-1.2.0.orig/debian/patches/no-MyGL.patch +++ gnustep-examples-1.2.0/debian/patches/no-MyGL.patch @@ -0,0 +1,16 @@ +2010-03-07 Nicola + + * GNUmakefile (SUBPROJECTS): Do not compile MyGL by default as not + everyone has OpenGL. + + +--- gnustep-examples-1.2.0.orig/gui/GNUmakefile ++++ gnustep-examples-1.2.0/gui/GNUmakefile +@@ -30,7 +30,6 @@ + CurrencyConverter \ + Ink \ + ExampleService \ +- MyGL \ + GSTest + + include GNUmakefile.preamble --- gnustep-examples-1.2.0.orig/debian/patches/series +++ gnustep-examples-1.2.0/debian/patches/series @@ -0,0 +1,2 @@ +no-MyGL.patch +sensible-browser.patch