--- gtamsanalyzer.app-0.42.orig/debian/docs +++ gtamsanalyzer.app-0.42/debian/docs @@ -0,0 +1,3 @@ +ReadMe.rtf +ReadMe.pdf +ReleaseNotes.html --- gtamsanalyzer.app-0.42.orig/debian/menu +++ gtamsanalyzer.app-0.42/debian/menu @@ -0,0 +1,5 @@ +?package(gtamsanalyzer.app):needs="X11" \ + section="Applications/Text" \ + title="GTAMSAnalyzer" command="/usr/bin/GTAMSAnalyzer" \ + icon="/usr/share/pixmaps/GTAMSAnalyzer.xpm" \ + longtitle="Qualitative Research Software for GNUstep" --- gtamsanalyzer.app-0.42.orig/debian/lintian-override +++ gtamsanalyzer.app-0.42/debian/lintian-override @@ -0,0 +1 @@ +gtamsanalyzer.app: image-file-in-usr-lib --- gtamsanalyzer.app-0.42.orig/debian/GTAMSAnalyzer.1 +++ gtamsanalyzer.app-0.42/debian/GTAMSAnalyzer.1 @@ -0,0 +1,25 @@ +.TH GTAMSANALYZER 1 "December 8, 2004" +.SH NAME +GTAMSAnalyzer \- Qualitative Research Software +.SH SYNOPSIS +.B GTAMSAnalyzer +.SH DESCRIPTION +This manual page documents briefly the +.B GTAMSAnalyzer +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBGTAMSAnalyzer\fP is a a complete coding and analysis package. +It is a "port" of TAMS Analyzer for Macintosh OS X. Note, at some point +the two projects will have identical file formats, at which point the +initial G (for GNUstep) will be dropped. GTAMS stands for GNUstep Text +Analysis Markup System, it is a convention for identifying themes in text. +The software offers a wide range of tools for applying themes to texts and +identifying patterns of themes within and between texts. +.SH SEE ALSO +.BR GNUstep (7). +.br +.SH AUTHOR +This manual page was written by G\[:u]rkan Seng\[:u]n , +for the Debian project (but may be used by others). --- gtamsanalyzer.app-0.42.orig/debian/control +++ gtamsanalyzer.app-0.42/debian/control @@ -0,0 +1,21 @@ +Source: gtamsanalyzer.app +Section: text +Priority: optional +Maintainer: Debian GNUstep maintainers +Uploaders: Yavor Doganov +Build-Depends: debhelper (>= 5), dpatch, libgnustep-gui-dev (>= 0.12), libpcre3-dev, imagemagick +Standards-Version: 3.7.2 +Homepage: http://tamsys.sourceforge.net/gtams/ + +Package: gtamsanalyzer.app +Architecture: any +Depends: ${shlibs:Depends}, gv +Recommends: graphviz, abiword | abiword-gnome +Description: Qualitative Research Software for the Free World for GNUstep + GTAMS Analyzer is a complete coding and analysis package. It is a "port" of + TAMS Analyzer for Macintosh OS X. Note, at some point the two projects will + have identical file formats, at which point the initial G (for GNUstep) + will be dropped. GTAMS stands for GNUstep Text Analysis Markup System, it + is a convention for identifying themes in text. The software offers a wide + range of tools for applying themes to texts and identifying patterns of + themes within and between texts. --- gtamsanalyzer.app-0.42.orig/debian/rules +++ gtamsanalyzer.app-0.42/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# Make sure there are no undefined symbols and avoid unnecessary +# dependencies. +LDFLAGS := -Wl,-z,defs -Wl,--as-needed + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +OPTFLAG := -O0 +else +OPTFLAG := -O2 +endif + + +build: patch build-stamp + +build-stamp: + dh_testdir + GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles \ + $(MAKE) -C Source OPTFLAG=$(OPTFLAG) \ + LDFLAGS="$(LDFLAGS)" messages=yes + convert Source/largeApp.tif -resize 32x32 GTAMSAnalyzer.xpm + touch $@ + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + gs_make -C Source distclean clean + rm -f GTAMSAnalyzer.xpm + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + cd Source && gs_make install \ + DESTDIR=$(CURDIR)/debian/gtamsanalyzer.app GNUSTEP_INSTALLATION_DOMAIN=SYSTEM + cd $(CURDIR)/debian/gtamsanalyzer.app/usr/lib/GNUstep/Applications/GTAMSAnalyzer.app/Resources/ && chmod -x *strings *.tif* +# Remove invalid .desktop file and install ours. + rm $(CURDIR)/debian/*.app/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop + install -D -m 644 debian/GTAMSAnalyzer.desktop \ + $(CURDIR)/debian/gtamsanalyzer.app/usr/share/applications/GTAMSAnalyzer.desktop +# Install the XPM icon. + install -D -m 644 GTAMSAnalyzer.xpm \ + $(CURDIR)/debian/gtamsanalyzer.app/usr/share/pixmaps/GTAMSAnalyzer.xpm + install -D -m 644 debian/lintian-override \ + $(CURDIR)/debian/gtamsanalyzer.app/usr/share/lintian/overrides/gtamsanalyzer.app + +# 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 changes.html + dh_installdocs + dh_installmenu + dh_installman + 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 --- gtamsanalyzer.app-0.42.orig/debian/changelog +++ gtamsanalyzer.app-0.42/debian/changelog @@ -0,0 +1,73 @@ +gtamsanalyzer.app (0.42-5build1) intrepid; urgency=low + + * Rebuild for GNUstep transition. + + -- Luca Falavigna Sun, 06 Jul 2008 14:59:22 +0200 + +gtamsanalyzer.app (0.42-5) unstable; urgency=low + + * debian/control (Maintainer): Package adopted, set to the GNUstep team + (Closes: #450891). + (Uploaders): Add myself. + (Section): Changed to `text', seems more appropriate. + (Build-Depends): Bump debhelper to (>= 5) and libgnustep-gui-dev to + (>= 0.12). Add dpatch, libpcre3-dev and imagemagick. Drop + gnustep-make. + (Homepage): Add. + * debian/compat: Increase to 5. + * debian/dirs: Delete. + * debian/docs: Drop ReadMe.txt; has MuckOS EOLs so not viewable with + `less' and most of the generic programs. + * debian/rules: Include /usr/share/dpatch/dpatch.make. + (LDFLAGS): Define. + (OPTFLAG): Define conditionally based on the value of + DEB_BUILD_OPTIONS. + (build): Depend on the `patch' target. + (build-stamp): Define GNUSTEP_MAKEFILES and honor the compiler flags. + Convert the icon in XPM format. + (clean): Rename to `clean-patched'; depend on it and `unpatch'. + (clean-patched): Do not source GNUstep.sh and use gs_make. Delete the + XPM icon here. (Closes: #450461). + (install): Remove dh_installdirs invocation. Install using DESTDIR + and GNUSTEP_INSTALLATION_DOMAIN=SYSTEM. Install the .desktop file and + icon. Deal with the lintian override here. + (binary-arch): Do not create symlink for the app wrapper. + * debian/GTAMSAnalyzer.desktop: New file. + * debian/menu (section): Changed to `Applications/Text' to comply with + the new policy. + (icon, longtitle): Add. + * debian/patches/05_system_pcre.dpatch: New; use the system PCRE library + for security concerns. + * debian/patches/10_gv_path.dpatch: New; adjust the path to the `gv' + binary. + * debian/patches/00list: Create and populate accordingly. + + -- Yavor Doganov Sun, 25 Nov 2007 17:46:37 +0000 + +gtamsanalyzer.app (0.42-4) unstable; urgency=low + + * Fix installdir. + + -- Gürkan Sengün Wed, 8 Nov 2006 12:54:21 +0100 + +gtamsanalyzer.app (0.42-3) unstable; urgency=low + + * Rebuild against latest libgnustep-gui-dev. + * Bump standards version. + + -- Gürkan Sengün Sun, 24 Sep 2006 13:52:14 +0200 + +gtamsanalyzer.app (0.42-2) unstable; urgency=low + + * Rebuild against latest libgnustep-gui. (closes: #350424) + * Update manual page. + * Bump standards version. + * Add alternative abiword to recommends. (closes: #298992) + + -- Gürkan Sengün Tue, 31 Jan 2006 09:06:02 +0100 + +gtamsanalyzer.app (0.42-1) unstable; urgency=low + + * Initial Release. (closes: #285376) + + -- Gürkan Sengün Wed, 8 Dec 2004 21:01:49 +0100 --- gtamsanalyzer.app-0.42.orig/debian/manpages +++ gtamsanalyzer.app-0.42/debian/manpages @@ -0,0 +1 @@ +debian/GTAMSAnalyzer.1 --- gtamsanalyzer.app-0.42.orig/debian/compat +++ gtamsanalyzer.app-0.42/debian/compat @@ -0,0 +1 @@ +5 --- gtamsanalyzer.app-0.42.orig/debian/GTAMSAnalyzer.desktop +++ gtamsanalyzer.app-0.42/debian/GTAMSAnalyzer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=GTAMSAnalyzer +Name[bg]=GTAMSAnalyzer +Comment=Qualitative Research Software for GNUstep +Comment[bg]=Софтуер за изследване на текст за GNUstep +Type=Application +Version=0.94 +Categories=Utility;TextTools; +Icon=/usr/lib/GNUstep/Applications/GTAMSAnalyzer.app/Resources/largeApp.tif +Exec=GTAMSAnalyzer --- gtamsanalyzer.app-0.42.orig/debian/copyright +++ gtamsanalyzer.app-0.42/debian/copyright @@ -0,0 +1,98 @@ +This package was debianized by Gürkan Sengün on +Wed, 8 Dec 2004 21:01:49 +0100. + +It was downloaded from http://tamsys.sourceforge.net/gtams/ + +Upstream Authors: Matthew Weinstein , + Aram Greenman, + Philip Hazel , + Fred Kiefer + +License (Everything except AGRegex and PCRE Library and template.plist): + + Copyright (C) 1994-2004 Matthew Weinstein + + 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; version 2 dated June, 1991. + + 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 + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +License (AGRegex): + + Copyright (C) 2002 Aram Greenman. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License (PCRE Library): + + Copyright (C) 1997-2003 University of Cambridge + + Permission is granted to anyone to use this software for any purpose on + any computer system, and to redistribute it freely, subject to the + following restrictions: + + 1. This software 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. + + 2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 4. If PCRE is embedded in any software that is released under the GNU + General Purpose Licence (GPL), then the terms of that licence shall + supersede any condition above with which it is incompatible. + +License (template.plist): + + Copyright (C) 2000 Fred Kiefer (template.plist) + + 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; version 2 dated June, 1991. + + 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 + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- gtamsanalyzer.app-0.42.orig/debian/patches/05_system_pcre.dpatch +++ gtamsanalyzer.app-0.42/debian/patches/05_system_pcre.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_system_pcre.dpatch by Yavor Doganov +## +## DP: Link against the system PCRE library. + +@DPATCH@ +diff -urNad gtamsanalyzer.app-0.42~/Source/GNUmakefile gtamsanalyzer.app-0.42/Source/GNUmakefile +--- gtamsanalyzer.app-0.42~/Source/GNUmakefile 2004-12-23 08:52:57.000000000 +0200 ++++ gtamsanalyzer.app-0.42/Source/GNUmakefile 2007-11-18 22:59:01.000000000 +0200 +@@ -187,13 +187,9 @@ + # + + GTAMSAnalyzer_C_FILES= \ +-chartables.c \ +-get.c \ +-maketables.c \ +-newline.c \ +-pcre.c \ +-pcreposix.c \ +-study.c ++newline.c ++ ++ADDITIONAL_OBJC_LIBS += -lpcre + + -include GNUmakefile.preamble + -include GNUmakefile.local --- gtamsanalyzer.app-0.42.orig/debian/patches/00list +++ gtamsanalyzer.app-0.42/debian/patches/00list @@ -0,0 +1,2 @@ +05_system_pcre +10_gv_path --- gtamsanalyzer.app-0.42.orig/debian/patches/10_gv_path.dpatch +++ gtamsanalyzer.app-0.42/debian/patches/10_gv_path.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_gv_path.dpatch by Yavor Doganov +## +## DP: Adjust the default path to the `gv' binary. + +@DPATCH@ +diff -urNad gtamsanalyzer.app-0.42~/Source/appDelegate.m gtamsanalyzer.app-0.42/Source/appDelegate.m +--- gtamsanalyzer.app-0.42~/Source/appDelegate.m 2004-12-23 08:52:57.000000000 +0200 ++++ gtamsanalyzer.app-0.42/Source/appDelegate.m 2007-11-18 23:01:15.000000000 +0200 +@@ -121,7 +121,7 @@ + forKey: TACoderID ]; + + if([NSDEF objectForKey: TAGGVDir] == nil) +- [[NSUserDefaults standardUserDefaults] setObject: @"/usr/X11R6/bin/gv" ++ [[NSUserDefaults standardUserDefaults] setObject: @"/usr/bin/gv" + forKey: TAGGVDir ]; + if([NSDEF objectForKey: TAGDotDir] == nil) + [[NSUserDefaults standardUserDefaults] setObject: @"/usr/bin/dot"