debian/0000775000000000000000000000000012053173735007176 5ustar debian/Calculator.desktop0000664000000000000000000000051111762177545012670 0ustar [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 debian/Ink.desktop0000664000000000000000000000050111762177545011317 0ustar [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 debian/README.source0000664000000000000000000000042511762177545011367 0ustar 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 debian/changelog0000664000000000000000000001453212053173735011055 0ustar gnustep-examples (1:1.3.0-1build1) raring; urgency=low * Rebuild for gnustep-gui 0.22 transition. -- Benjamin Drung Wed, 21 Nov 2012 16:48:45 +0100 gnustep-examples (1:1.3.0-1) unstable; urgency=low * New upstream release. * debian/patches/no-MyGL.patch: Remove; already present upstream. * debian/patches/series: Update. * debian/control (Standards-Version): Set to 3.9.3; no changes needed. (Build-Depends): Remove quilt. Add dpkg-dev (>= 1.16.1~), for hardening support. (Vcs-Arch, Vcs-Git, Vcs-Browser): Switch from Arch to Git. * debian/copyright: Rewrite to reflect reality; thanks Axel Beckert. * debian/source/format: Switch to 3.0 (quilt). * debian/rules: Don't include /usr/share/quilt/quilt.make. Eliminate patch/unpatch dependencies. Enable hardening. Remove GS_USE_FHS conditional, always true. -- Yavor Doganov Fri, 01 Jun 2012 20:58:01 +0300 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 debian/compat0000664000000000000000000000000211762177545010405 0ustar 7 debian/control0000664000000000000000000000156311762204636010607 0ustar Source: gnustep-examples Section: gnustep Priority: optional Maintainer: Debian GNUstep maintainers Uploaders: Gürkan Sengün , Yavor Doganov Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.16.1~), libgnustep-gui-dev, imagemagick Standards-Version: 3.9.3 Homepage: http://www.gnustep.org/experience/examples.html Vcs-Git: git://git.debian.org/pkg-gnustep/gnustep-examples.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-gnustep/gnustep-examples.git 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. debian/copyright0000664000000000000000000000272511762204701011131 0ustar 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-2010 Free Software Foundation, Inc. License: This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA The Rhea theme (gui/ExampleTheme/Rhea) is licensed under GPLv3 or later. Some header files are licensed under LGPLv2 or later. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2', the complete text of the GNU General Lesser Public License can be found in `/usr/share/common-licenses/LGPL-2'. debian/gnustep-examples.10000664000000000000000000000366211762177545012601 0ustar .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. debian/menu0000664000000000000000000000066211762177545010102 0ustar ?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" debian/patches/0000775000000000000000000000000011762177545010636 5ustar debian/patches/sensible-browser.patch0000664000000000000000000000103511762177545015143 0ustar 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"; debian/patches/series0000664000000000000000000000002711762177545012052 0ustar sensible-browser.patch debian/preinst0000664000000000000000000000115111762177545010614 0ustar #!/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 debian/rules0000775000000000000000000000470411762205001010247 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/buildflags.mk include /usr/share/GNUstep/debian/config.mk 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: build-stamp build-stamp: dh_testdir $(MAKE) $(optim) messages=yes CPPFLAGS="$(CPPFLAGS)" \ OBJCFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" convert gui/Calculator/Calculator.app.tiff -resize 32x32 Calculator.xpm convert gui/Ink/Ink_app.tiff -resize 32x32 Ink.xpm touch $@ clean: 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. 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 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 debian/source/0000775000000000000000000000000011762177756010513 5ustar debian/source/format0000664000000000000000000000001411762177756011721 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000013211762177545010234 0ustar version=3 opts=pasv ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-examples-(.*)\.tar\.gz