--- textedit.app-4.0+20061029.orig/Document.m +++ textedit.app-4.0+20061029/Document.m @@ -124,12 +124,6 @@ [self setViewSize: size]; } - [[NSNotificationCenter defaultCenter] - addObserver: self - selector: @selector (fixUpScrollViewBackgroundColor:) - name: NSSystemColorsDidChangeNotification - object: nil]; - potentialSaveDirectory = nil; return self; } @@ -195,10 +189,6 @@ NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; [center removeObserver: self - name: NSSystemColorsDidChangeNotification - object: nil]; - - [center removeObserver: self name: NSTextStorageDidProcessEditingNotification object: [self textStorage]]; @@ -1361,13 +1351,13 @@ { SEL action = [aCell action]; #ifdef GNUSTEP - const char *sel_name = sel_get_name (action); + const char *sel_name = sel_getName (action); - if (!strcmp (sel_name, sel_get_name (@selector (toggleRich:)))) { + if (!strcmp (sel_name, sel_getName (@selector (toggleRich:)))) { validateToggleItem (aCell, [self isRichText], _(@"&Make Plain Text"), _(@"&Make Rich Text")); - } else if (!strcmp (sel_name, sel_get_name (@selector (togglePageBreaks:)))) { + } else if (!strcmp (sel_name, sel_getName (@selector (togglePageBreaks:)))) { validateToggleItem (aCell, [self hasMultiplePages], _(@"&Wrap to Window"), _(@"&Wrap to Page")); - } else if (!strcmp (sel_name, sel_get_name (@selector (toggleHyphenation:)))) { + } else if (!strcmp (sel_name, sel_getName (@selector (toggleHyphenation:)))) { if (!hyphenationSupported()) // Disable it return NO; validateToggleItem (aCell, ([self hyphenationFactor] > 0.0), _(@"Disallow &Hyphenation"), _(@"Allow &Hyphenation")); --- textedit.app-4.0+20061029.orig/ScalingScrollView.m +++ textedit.app-4.0+20061029/ScalingScrollView.m @@ -11,11 +11,7 @@ #import "ScalingScrollView.h" -#import -#import -#import -#import -#import +#import /* For genstrings: NSLocalizedString(@"10%", @"Zoom popup entry") --- textedit.app-4.0+20061029.orig/debian/TextEdit.1 +++ textedit.app-4.0+20061029/debian/TextEdit.1 @@ -0,0 +1,21 @@ +.TH TEXTEDIT 1 "March 5, 2004" +.SH NAME +TextEdit \- basic editor for GNUstep +.SH SYNOPSIS +.B TextEdit +.SH DESCRIPTION +This manual page documents briefly the +.B TextEdit +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBTextEdit\fP is a relatively basic text editor. It handles plain text +or RTF, has a nice "Wrap to Page" mode, has search/replace functionality, +and can display any file as text. +.SH SEE ALSO +.BR open (1), +.BR GNUstep (7). +.SH AUTHOR +This manual page was written by G\[:u]rkan Seng\[:u]n , +for the Debian project (but may be used by others). --- textedit.app-4.0+20061029.orig/debian/TextEdit.desktop +++ textedit.app-4.0+20061029/debian/TextEdit.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Version=0.94 +Categories=Utility;TextEditor; +Name=TextEdit +Comment=an OpenStep text editor +Icon=/usr/lib/GNUstep/Applications/TextEdit.app/Resources/Edit.tiff +Exec=TextEdit --- textedit.app-4.0+20061029.orig/debian/changelog +++ textedit.app-4.0+20061029/debian/changelog @@ -0,0 +1,125 @@ +textedit.app (4.0+20061029-3.5build2) bionic; urgency=medium + + * No-change rebuild for gnustep-gui soname change. + + -- Matthias Klose Tue, 30 Jan 2018 05:47:41 +0000 + +textedit.app (4.0+20061029-3.5build1) bionic; urgency=medium + + * No-change rebuild for gnustep-base soname change. + + -- Matthias Klose Tue, 07 Nov 2017 08:26:16 +0000 + +textedit.app (4.0+20061029-3.5) unstable; urgency=medium + + * Non-maintainer upload. + * Bump debhelper version. Closes: #817691. + * Fix lintian warnings. + + -- Matthias Klose Fri, 02 Sep 2016 09:13:46 +0200 + +textedit.app (4.0+20061029-3.4) unstable; urgency=low + + * Non-maintainer upload. + * debian/control: + - Maintainer email address was invalid and bounced. Update it to + use a valid address. (Closes: #675220) + + -- Markus Koschany Wed, 12 Sep 2012 15:49:59 +0200 + +textedit.app (4.0+20061029-3.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix "Can't create a new document." Applied patch from Yavor Doganov + (Closes: #660430) + + -- Bastian Venthur Mon, 06 Aug 2012 10:26:36 +0200 + +textedit.app (4.0+20061029-3.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS with GCC-4.7": apply patch from Yavor Doganov. + (Closes: #667886) + + -- gregor herrmann Mon, 28 May 2012 15:42:09 +0200 + +textedit.app (4.0+20061029-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Use AppKit.h instead of particular .h includes (Closes: #581986). + + -- Luk Claes Tue, 24 Aug 2010 12:45:31 +0000 + +textedit.app (4.0+20061029-3) unstable; urgency=low + + * Upload to sid. + * debian/control: Moved homepage field. + + -- Gürkan Sengün Fri, 12 Oct 2007 10:17:21 +0200 + +textedit.app (4.0+20061029-2) experimental; urgency=low + + * GNUstep transition. + + Updated debian/rules. + + Updated debian/dirs. + * Menu transition: Moved from Apps/Editors to Applications/Editors. + * Added a desktop file. + + -- Gürkan Sengün Fri, 03 Aug 2007 21:42:22 +0200 + +textedit.app (4.0+20061029-1) unstable; urgency=low + + * New upstream version, fixes Info/Preferences. + + -- Gürkan Sengün Sun, 29 Oct 2006 12:06:04 +0100 + +textedit.app (4.0-3) unstable; urgency=low + + * Rebuild against latest libgnustep-gui-dev. + * Bump standards version. + + -- Gürkan Sengün Fri, 15 Sep 2006 17:44:32 +0200 + +textedit.app (4.0-2) unstable; urgency=low + + * Rebuild against latest libgnustep-gui. + * Bump standards version. + * Update manual page. + + -- Gürkan Sengün Mon, 23 Jan 2006 11:00:32 +0100 + +textedit.app (4.0-1) unstable; urgency=low + + * New upstream cvs checkout version. + * Renamed source package to textedit.app. + * Updated manual page. + * Updated debian/control build-depends for GNUstep 0.9.4. + * Cleaned up debian/rules. + + -- Gürkan Sengün Sun, 28 Nov 2004 18:29:23 +0100 + +textedit (4-4) unstable; urgency=high + + * Fixed the typo app-wrapper symlink in debian/rules + + -- Gürkan Sengün Tue, 17 Aug 2004 00:10:35 +0200 + +textedit (4-3) unstable; urgency=low + + * Rebuild against latest gnustep + * Rename binary package to textedit.app. (Closes: #241615) + + -- Gürkan Sengün Thu, 29 Jul 2004 00:51:43 +0200 + +textedit (4-2) unstable; urgency=low + + * Added gnustep-make to build-depends. (Closes: #240390) + * Dropped .app from debian/menu. + + -- Gürkan Sengün Sat, 27 Mar 2004 14:39:56 +0100 + +textedit (4-1) unstable; urgency=low + + * Initial Release. + + -- Gürkan Sengün Fri, 5 Mar 2004 01:15:41 +0100 --- textedit.app-4.0+20061029.orig/debian/compat +++ textedit.app-4.0+20061029/debian/compat @@ -0,0 +1 @@ +9 --- textedit.app-4.0+20061029.orig/debian/control +++ textedit.app-4.0+20061029/debian/control @@ -0,0 +1,18 @@ +Source: textedit.app +Section: editors +Priority: optional +Maintainer: Gürkan Sengün +Build-Depends: debhelper (>= 9), libgnustep-gui-dev (>= 0.12.0), gnustep-make +Standards-Version: 3.9.8 +Homepage: http://www.nongnu.org/backbone/apps.html + +Package: textedit.app +Architecture: any +Depends: ${shlibs:Depends} +Replaces: textedit +Conflicts: textedit +Recommends: aspell, latex.service +Description: Text editor for GNUstep + TextEdit is a relatively basic text editor. It handles plain text, RTF, and + RTFD has a nice "Wrap to Page" mode, has search/replace functionality, and + can display any file as text. --- textedit.app-4.0+20061029.orig/debian/copyright +++ textedit.app-4.0+20061029/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Gürkan Sengün on +Fri, 5 Mar 2004 01:15:41 +0100. + +It was downloaded from http://www.nongnu.org/backbone/download.html + +Upstream Authors: Ali Ozer , + Jeff Teunissen , + Alexander Malmberg , + Nicolas Roard + +Copyright: + + Copyright (c) 1995-1996, NeXT Software, Inc. All rights reserved. + Copyright (c) 2001-2003 Dusk to Dawn Computing, Inc. + +You may freely copy, distribute and reuse the code in this example. +NeXT disclaims any warranty of any kind, expressed or implied, +as to its fitness for any particular use. --- textedit.app-4.0+20061029.orig/debian/dirs +++ textedit.app-4.0+20061029/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/lintian/overrides --- textedit.app-4.0+20061029.orig/debian/docs +++ textedit.app-4.0+20061029/debian/docs @@ -0,0 +1,2 @@ +README.rtf +TextEdit.rtf --- textedit.app-4.0+20061029.orig/debian/lintian-override +++ textedit.app-4.0+20061029/debian/lintian-override @@ -0,0 +1 @@ +textedit.app: image-file-in-usr-lib --- textedit.app-4.0+20061029.orig/debian/manpages +++ textedit.app-4.0+20061029/debian/manpages @@ -0,0 +1 @@ +debian/TextEdit.1 --- textedit.app-4.0+20061029.orig/debian/menu +++ textedit.app-4.0+20061029/debian/menu @@ -0,0 +1,2 @@ +?package(textedit.app):needs="X11" section="Applications/Editors"\ + title="TextEdit" command="/usr/bin/TextEdit" --- textedit.app-4.0+20061029.orig/debian/rules +++ textedit.app-4.0+20061029/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/GNUstep/debian/config.mk +GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) + +build-arch: build +build-indep: build +build: build-stamp + +build-stamp: + dh_testdir + gs_make + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + gs_make clean distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + gs_make install DESTDIR=$(CURDIR)/debian/textedit.app GNUSTEP_INSTALLATION_DOMAIN=SYSTEM + dh_install debian/TextEdit.desktop usr/share/applications/ + rm $(CURDIR)/debian/textedit.app/usr/lib/GNUstep/Applications/TextEdit.app/Resources/TextEdit.desktop + +# 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 + install -m 644 debian/lintian-override $(CURDIR)/debian/textedit.app/usr/share/lintian/overrides/textedit.app + 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