debian/0000755000000000000000000000000012377670365007206 5ustar debian/watch0000644000000000000000000000030312342506705010217 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \ http://download.savannah.gnu.org/releases/charmap/charmap-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/charmap.app.install0000644000000000000000000000013712361726473012764 0ustar Charmap.xpm usr/share/pixmaps debian/Charmap.desktop usr/share/applications usr/bin usr/lib debian/rules0000755000000000000000000000207412366730626010264 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 include /usr/share/GNUstep/debian/config.mk export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,--as-needed d_app := $(CURDIR)/debian/charmap.app ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) optim := debug=yes endif %: dh $@ override_dh_auto_build: $(MAKE) messages=yes $(optim) $(shell dpkg-buildflags --export=cmdline) convert Charmap.png -resize 32x32 Charmap.xpm override_dh_clean: dh_clean Charmap.xpm override_dh_link: gsdh_gnustep dh_installdirs usr/share/GNUstep rm $(d_app)$(GNUSTEP_SYSTEM_APPS)/*.app/Resources/*.desktop mv $(d_app)$(GNUSTEP_SYSTEM_APPS)/Charmap.app/Resources \ $(d_app)/usr/share/GNUstep/Charmap.app dh_link /usr/share/GNUstep/Charmap.app \ $(GNUSTEP_SYSTEM_APPS)/Charmap.app/Resources # A hack to move arch-indep stuff into -common. Cannot be done in the # install-* targets as usual because /usr/share has been just # populated by this recipe. mkdir -p $(CURDIR)/debian/charmap.app-common/usr/share mv $(d_app)/usr/share/GNUstep \ $(CURDIR)/debian/charmap.app-common/usr/share debian/menu0000644000000000000000000000030511650511641010053 0ustar ?package(charmap.app):needs="X11" \ section="Applications/Text" \ title="Charmap" command="/usr/bin/Charmap" \ longtitle="Character map for GNUstep" \ icon="/usr/share/pixmaps/Charmap.xpm" debian/Charmap.desktop0000644000000000000000000000055512342456257012153 0ustar [Desktop Entry] Type=Application Version=1.0 Categories=Utility; Name=Charmap Name[bg]=Таблица със знаци (Charmap) Comment=Character map for GNUstep Comment[bg]=Таблица със знаци за GNUstep Keywords=font;unicode; Keywords[bg]=шрифт;юникод; Icon=/usr/lib/GNUstep/Applications/Charmap.app/Resources/Charmap.png Exec=Charmap debian/Charmap.10000644000000000000000000000152611650511641010627 0ustar .TH CHARMAP 1 "January 4, 2004" .SH NAME Charmap \- a character map .SH SYNOPSIS .B Charmap .SH OPTIONS \fBCharmap\fP has no options. .SH DESCRIPTION This manual page documents briefly the .B Charmap command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \fBCharmap\fP is a character map. It is developed using the GNUstep development environment (www.gnustep.org) and is meant to contribute to GNUstep's promise towards a desktop environment. Charmap offers font selection, allowing one to easily see all the glyphs which a particular font offers. Perhaps Charmap's biggest advantage is its support for displaying Unicode information. .SH AUTHOR This manual page was written by G\[:u]rkan Seng\[:u]n , for the Debian project (but may be used by others). debian/copyright0000644000000000000000000000334712367103645011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: charmap Upstream-Contact: Christopher Culver Source: http://download.savannah.gnu.org/releases/charmap/ Files: * Copyright: 2003-2005 Christopher Culver License: GPL-2+ Files: Documentation/* Copyright: 2004 Christopher Culver License: GFDL-1.1+ Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. . The Debian package maintainers choose to distribute it under the terms of the GNU Free Documentation License, version 1.2 or later. On Debian systems, the full text of the GNU Free Documentation License version 1.2 can be found in `/usr/share/common-licenses/GFDL-1.2'. Files: debian/* Copyright: 2004-2014 Debian GNUstep maintainers 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/docs0000644000000000000000000000001212361725233010036 0ustar NEWS TODO debian/source/0000755000000000000000000000000012342417376010477 5ustar debian/source/format0000644000000000000000000000001412342417376011705 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012342454236010622 5ustar debian/patches/ftbfs-fix.patch0000644000000000000000000000071012342424574013533 0ustar Description: Fix a trivial typo leading to build failure. Author: Yavor Doganov Forwarded: http://savannah.nongnu.org/bugs/index.php?42475 Last-Update: 2014-05-31 --- --- charmap.app.orig/Controller.m +++ charmap.app/Controller.m @@ -28,7 +28,7 @@ RELEASE(largeDict); RELEASE(cellDict); RELEASE(display); - RELEASE(CJKInspector); + RELEASE(cjkInspector); RELEASE(cjkChar); RELEASE(cjkDefinition); RELEASE(cjkMenuItem); debian/patches/fix-exception-gui0.24.patch0000644000000000000000000000104712342450636015515 0ustar Description: Fix exception when loading the main gorm file with gnustep-gui/0.24. Author: Yavor Doganov Forwarded: http://savannah.nongnu.org/bugs/index.php?42477 Last-Update: 2014-06-01 --- --- charmap.app-0.3~rc1.orig/Controller.m +++ charmap.app-0.3~rc1/Controller.m @@ -129,7 +129,7 @@ [[cjkDefinition textContainer] setWidthTracksTextView: YES]; [[cjkDefinition textStorage] setAttributedString: [[NSAttributedString alloc] - initWithString: nil]]; + initWithString: @""]]; [self generateCharmap]; debian/patches/gcc-warnings.patch0000644000000000000000000000467512342447526014245 0ustar Description: Fix some GCC warnings. Fixes the following warnings: . initialization from distinct Objective-C type pointer targets in assignment differ in signedness variable 'charTag' set but not used Author: Yavor Doganov Forwarded: http://savannah.nongnu.org/bugs/index.php?42476 Bug-Debian: http://bugs.debian.org/749737 Last-Update: 2014-06-01 --- --- charmap.app.orig/CharInspector.m +++ charmap.app/CharInspector.m @@ -43,8 +43,10 @@ - (id) init { - NSMutableParagraphStyle * paragraphStyle = [NSMutableParagraphStyle - defaultParagraphStyle]; + NSMutableParagraphStyle * paragraphStyle; + + paragraphStyle = [[[NSParagraphStyle defaultParagraphStyle] mutableCopy] + autorelease]; [paragraphStyle setAlignment: NSCenterTextAlignment]; ASSIGN(largeDict, ([NSDictionary dictionaryWithObjectsAndKeys: @@ -133,7 +135,7 @@ NSString *character; NSString *charNameString = nil; NSString *name = nil; - const unsigned char * cs; + const char * cs; if (position < 55296 || position > 56316) character = [[NSString alloc] initWithCharacters: &position length: 1]; --- charmap.app.orig/CJKInspector.m +++ charmap.app/CJKInspector.m @@ -39,8 +39,10 @@ - (id) init { - NSMutableParagraphStyle * paragraphStyle = [NSMutableParagraphStyle - defaultParagraphStyle]; + NSMutableParagraphStyle * paragraphStyle; + + paragraphStyle = [[[NSParagraphStyle defaultParagraphStyle] mutableCopy] + autorelease]; [paragraphStyle setAlignment: NSCenterTextAlignment]; ASSIGN(nonCJKDict, ([NSDictionary dictionaryWithObjectsAndKeys: --- charmap.app.orig/Controller.m +++ charmap.app/Controller.m @@ -63,8 +63,10 @@ { short int i; - NSMutableParagraphStyle * paragraphStyle = [NSMutableParagraphStyle - defaultParagraphStyle]; + NSMutableParagraphStyle * paragraphStyle; + + paragraphStyle = [[[NSParagraphStyle defaultParagraphStyle] mutableCopy] + autorelease]; [paragraphStyle setAlignment: NSCenterTextAlignment]; ASSIGN(cellDict, ([NSMutableDictionary dictionaryWithObjectsAndKeys: [NSFont systemFontOfSize: 14], @@ -230,9 +232,7 @@ - (void) putSelected: (id) sender { NSMutableString *selectedString; - int charTag; - charTag = [[charmapMatrix selectedCell] tag]; selectedString = [[NSMutableString alloc] init]; [selectedString appendString: [display stringValue]]; [selectedString appendString: [[charmapMatrix selectedCell] stringValue]]; debian/patches/series0000644000000000000000000000007712342451034012034 0ustar ftbfs-fix.patch gcc-warnings.patch fix-exception-gui0.24.patch debian/compat0000644000000000000000000000000212361724767010403 0ustar 9 debian/control0000644000000000000000000000265512361730502010600 0ustar Source: charmap.app Section: gnustep Priority: optional Maintainer: Debian GNUstep maintainers Uploaders: Yavor Doganov Build-Depends: debhelper (>= 9), gnustep-make (>= 2.6.6-2), libgnustep-gui-dev, imagemagick Standards-Version: 3.9.5 Homepage: http://www.nongnu.org/charmap/ Vcs-Git: git://anonscm.debian.org/pkg-gnustep/charmap.app.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-gnustep/charmap.app.git Package: charmap.app Architecture: any Depends: charmap.app-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, ${gnustep:Depends} Description: Character map for GNUstep This is a character map. It is developed using the GNUstep development environment (www.gnustep.org) and is meant to contribute to GNUstep's promise towards a desktop environment. . Charmap offers font selection, allowing one to easily see all the glyphs which a particular font offers. Package: charmap.app-common Architecture: all Depends: ${misc:Depends}, ${gnustep:Depends} Recommends: charmap.app Breaks: charmap.app (<< 0.3~rc1-1) Replaces: charmap.app (<< 0.3~rc1-1) Description: Character map for GNUstep (arch-independent files) Charmap is a character map for GNUstep. It offers font selection, allowing one to easily see all the glyphs which a particular font provides. . This package contains the architecture-independent files. debian/changelog0000644000000000000000000001371512377670365011067 0ustar charmap.app (0.3~rc1-2build1) utopic; urgency=medium * Rebuild against libgnustep-gui0.24. -- Colin Watson Thu, 28 Aug 2014 11:12:05 -0700 charmap.app (0.3~rc1-2) unstable; urgency=medium * debian/rules (override_dh_link): Fix FTBFS with dpkg-buildpackage -B. * debian/copyright: Add 2005 to copyright years. -- Yavor Doganov Fri, 01 Aug 2014 18:28:39 +0300 charmap.app (0.3~rc1-1) unstable; urgency=medium * New upstream release. * debian/watch: Update to look at Savannah. * debian/format: Switch to 3.0 (quilt). * debian/compat: Set to 9. * debian/rules: Rewrite for modern dh. Enable hardening. * debian/control (Build-Depends): Remove quilt and bump debhelper. Require gnustep-make >= 2.6.6-2. (Vcs-Git, Vcs-Browser): Use the canonical URIs. (Standards-Version): Claim compliance with 3.9.5 as of this release. (charmap.app-common): New package, split arch-indep files. Adjust package relationships accordingly. * debian/patches/load-gorm-file.patch: * debian/patches/Controller-generateCharmap.patch: Delete. * debian/patches/ftbfs-fix.patch: New. * debian/patches/gcc-warnings.patch: New (Closes: #749737). * debian/patches/fix-exception-gui0.24.patch: New; fixes NSException when loading the main gorm file with gnustep-gui/0.24. * debian/patches/series: Update. * debian/README.source: Delete. * debian/Charmap.desktop: Add Keywords field. * debian/docs: * debian/manpages: * debian/charmap.app.install: New file. * debian/copyright: Switch to format 1.0, add FDL blurb. -- Yavor Doganov Thu, 17 Jul 2014 14:20:21 +0300 charmap.app (0.2-11) unstable; urgency=low * debian/patches/load-gorm-file.patch: New, fixes startup issues with gnustep-gui/0.20 (Closes: #645927). * debian/patches/series: Update. * debian/control (Vcs-Arch): Replace with... (Vcs-Git, Vcs-Browser): ...as the package is now maintained in Git. (Standards-Version): Bump to 3.9.2; no changes needed. * debian/rules (binary-arch): Remove GS_USE_FHS conditional. * debian/preinst: Delete; not needed anymore. -- Yavor Doganov Sat, 22 Oct 2011 12:42:16 +0300 charmap.app (0.2-10) unstable; urgency=low * debian/compat: Set to 7. * debian/control (Section): Change to `gnustep'. (Maintainer): Adopt for the GNUstep team (Closes: #454276). (Uploaders): Add myself. (Build-Depends): Bump debhelper to >= 7. Don't require minimum libgnustep-gui-dev version. Add quilt and imagemagick. Remove gnustep-make. (Depends): Add ${misc:Depends} and ${gnustep:Depends}. (Conflicts, Replaces): Remove; obsolete. (Standards-Version): Claim compliance with 3.9.0 as of this release. (Vcs-Arch): New field. * debian/rules: Include /usr/share/quilt/quilt.make and adjust rules for quilt. Avoid gs_make. (d_app, LDFLAGS, optim): New variables. (build-stamp): Make the build verbose, support noopt. Convert the icon in XPM format. (clean-patched): Make only distclean; delete the generated icon. (install): Replace dh_clean -k with dh_prep. Don't invoke dh_installdirs. Install the XPM icon. (binary-arch): Don't install the lintian override file. Pass NEWS and TODO as arguments to dh_installdocs. Move Resources to /usr/share/GNUstep. Explicitly install the manpage. * debian/dirs: * debian/docs: * debian/lintian-override: * debian/manpages: Delete. * Controller.m: Move Debian modifications to ... * debian/patches/Controller-generateCharmap.patch: ... (patch by Ingolf Jandt). * debian/patches/series: * debian/source/format: * debian/README.source: * debian/watch: * debian/preinst: New file. * debian/Charmap.desktop: Make it valid, tweak some fields. * debian/menu: Add icon and longtitle. -- Yavor Doganov Thu, 01 Jul 2010 22:43:14 +0300 charmap.app (0.2-9) unstable; urgency=low * Orphaning package, setting maintainer to the Debian QA Group. -- Ana Beatriz Guerrero Lopez Wed, 05 Dec 2007 16:20:09 +0100 charmap.app (0.2-8) unstable; urgency=low * GNUstep transition. + Updated debian/rules. * Added a desktop file. -- Gürkan Sengün Tue, 09 Oct 2007 01:20:09 +0200 charmap.app (0.2-7) unstable; urgency=low * Rebuild against latest libgnustep-gui-dev. * Bump standards version. -- Gürkan Sengün Thu, 21 Sep 2006 20:27:23 +0200 charmap.app (0.2-6) unstable; urgency=low * Applied patch to fix startup crash. (Closes: #372167) -- Gürkan Sengün Mon, 17 Jul 2006 22:34:52 +0200 charmap.app (0.2-5) unstable; urgency=low * Rebuild against latest libgnustep-gui. * Update manual page. * Bump standards version. -- Gürkan Sengün Mon, 23 Jan 2006 10:54:03 +0100 charmap.app (0.2-4) unstable; urgency=low * Build again for upload. -- Brent A. Fulgham Sun, 19 Dec 2004 14:14:09 -0800 charmap.app (0.2-3) unstable; urgency=low * Renamed source package to charmap.app. * Updated debian/control build-depends for GNUstep 0.9.4. * Removed some old and unused stuff from debian/. -- Gürkan Sengün Sat, 20 Nov 2004 13:17:13 +0100 charmap (0.2-2) unstable; urgency=low * Updated build-depends for latest gnustep * Renamed binary package name to charmap.app. (Closes: #241612) * Removed Conflicts: gucharmap -- Gürkan Sengün Sun, 18 Jul 2004 11:32:12 +0200 charmap (0.2-1) unstable; urgency=low * New upstream release. -- Gürkan Sengün Mon, 31 May 2004 15:42:23 +0200 charmap (0.1-2) unstable; urgency=low * Added a Conflicts: gucharmap. (Closes: #241955) * Added gnustep-make to build-depends. -- Gürkan Sengün Fri, 16 Apr 2004 00:57:07 +0200 charmap (0.1-1) unstable; urgency=low * Initial Release. -- Gürkan Sengün Sun, 4 Jan 2004 17:08:52 +0100 debian/manpages0000644000000000000000000000002112361725244010703 0ustar debian/Charmap.1