--- nedit-5.6~cvs20081118.orig/debian/control +++ nedit-5.6~cvs20081118/debian/control @@ -0,0 +1,48 @@ +Source: nedit +Section: editors +Priority: optional +Maintainer: Paul Gevers +Build-Depends: debhelper (>= 5), + dpatch, + lesstif2-dev (>= 1:0.95.0-2.3), + libx11-dev, + libxt-dev, + libxp-dev, + x11proto-core-dev, + bison, + perl +Homepage: http://www.nedit.org/ +Standards-Version: 3.8.3 + +Package: nedit +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: nedit-dmotif, nedit-smotif +Replaces: nedit-dmotif, nedit-smotif +Suggests: csh +Description: powerful, customizable, Motif based text editor + NEdit is a multi-purpose text editor for the X Window System, which + combines a standard, easy to use, graphical user interface with the + thorough functionality and stability required by users who edit text + eight hours a day. It provides intensive support for development in + a wide variety of languages, text processors, and other tools, but + at the same time can be used productively by just about anyone who + needs to edit text. Users of Macintosh and MS Windows based text + editors will find NEdit a familiar and comfortable environment. + +Package: nedit-dbg +Architecture: any +Section: debug +Priority: extra +Depends: nedit (= ${binary:Version}) +Description: debugging symbols for nedit + NEdit is a multi-purpose text editor for the X Window System, which + combines a standard, easy to use, graphical user interface with the + thorough functionality and stability required by users who edit text + eight hours a day. It provides intensive support for development in + a wide variety of languages, text processors, and other tools, but + at the same time can be used productively by just about anyone who + needs to edit text. Users of Macintosh and MS Windows based text + editors will find NEdit a familiar and comfortable environment. + . + This package contains the debugging symbols. --- nedit-5.6~cvs20081118.orig/debian/nedit.install +++ nedit-5.6~cvs20081118/debian/nedit.install @@ -0,0 +1,4 @@ +debian/Nedit.xpm usr/share/pixmaps/ +source/nedit usr/bin/ +source/nedit-nc usr/bin/ +debian/nedit.desktop usr/share/applications/ --- nedit-5.6~cvs20081118.orig/debian/README.debian +++ nedit-5.6~cvs20081118/debian/README.debian @@ -0,0 +1,12 @@ +nedit for Debian +---------------------- + +Note that due to a program name conflict with netcat (also named "nc"), NEdit's +version of "nc" has been renamed to "nedit-nc". Sorry for any confusion this +may cause. + +The shell sh is used by default. You can switch to csh if necessary. + +Erik Andersen , Mon, 29 Oct 2001 22:12:29 -0700 +Martin Loschwitz Tue, 24 Dec 2002 14:35:00 +0100 +Alexandre Pineau Tue, 2 Mar 2004 --- nedit-5.6~cvs20081118.orig/debian/README.source +++ nedit-5.6~cvs20081118/debian/README.source @@ -0,0 +1,2 @@ +The source of this package is patched using dpatch. For a information, see the +/usr/share/doc/dpatch/README.source.gz file provided in the dpatch package. --- nedit-5.6~cvs20081118.orig/debian/nedit.doc-base +++ nedit-5.6~cvs20081118/debian/nedit.doc-base @@ -0,0 +1,9 @@ +Document: nedit +Title: NEdit User's Manual +Author: The NEdit developers +Abstract: This document describes the use of NEdit. +Section: Editors + +Format: HTML +Index: /usr/share/doc/nedit/html/nedit.html +Files: /usr/share/doc/nedit/html/*.html --- nedit-5.6~cvs20081118.orig/debian/changelog +++ nedit-5.6~cvs20081118/debian/changelog @@ -0,0 +1,388 @@ +nedit (1:5.6~cvs20081118-7) unstable; urgency=low + + * Fixed the debian/rules to really create the debugging package + (Closes: #549328) + + -- Paul Gevers Mon, 05 Oct 2009 21:13:54 +0200 + +nedit (1:5.6~cvs20081118-6) unstable; urgency=low + + * Standards-Version bumped to 3.8.3 (no changes needed) + * Created debugging symbols package + * Added 10_EOF_Parser_error.dpatch created from upstream cvs + to fix a parser error (upstream bug 2687525) + * Added 30_off_by_one.dpatch created from upstream cvs to fix for + off-by-one error, potentially causing a crash (upstream bug 2858723) + * Added 40_Pointer_to_Integer.dpatch to fix compiler warning on 64 bit + (from upstream bug 2846694) + * Added 80_Update_version_description.dpatch to create a version + string reflecting the real version, i.e. a cvs checkout of 5.6. + * Updated patches to comply with DEP3 format for patches. + + -- Paul Gevers Mon, 28 Sep 2009 18:21:01 +0200 + +nedit (1:5.6~cvs20081118-5) unstable; urgency=low + + * Apply 70_EditVersionText.dpatch and slightly improved the text. + + -- Paul Gevers Fri, 08 May 2009 20:18:58 +0200 + +nedit (1:5.6~cvs20081118-4) UNRELEASED; urgency=low + + * Upload to unstable. + * Standards-Version bumped to 3.8.1 (no changes needed) + * Bumped build-depends on lesstif2-dev to >= 1:0.95.0-2.3 because + of crashing bug in previous versions. + * Improved debian/nedit.desktop, proper use of fields, and now + also install it. + * Added 70_EditVersionText.dpatch to improve the text shown on + "nedit -version" and remove the warning about a bad lesstif. + + -- Paul Gevers Tue, 05 May 2009 21:50:55 +0200 + +nedit (1:5.6~cvs20081118-3) experimental; urgency=low + + * Removed source/nedit-nc in debian/rules clean target because + nedit fails to build twice + * Reference to GLP-2 in debian/copyright instead of GPL (Lintian + pedantic warning copyright-refers-to-symlink-license) + * Use "set -e" in debian/postinst and debian/prerm instead of + setting it on the #! line (Policy 10.4) + + -- Paul Gevers Thu, 12 Feb 2009 20:14:01 +0100 + +nedit (1:5.6~cvs20081118-2) UNRELEASED; urgency=low + + * Removed patch 01_CleanupLinks and remove the symlinks directly + in debian/rules (fails to build twice in a row otherwise). + + -- Paul Gevers Tue, 10 Feb 2009 21:31:15 +0100 + +nedit (1:5.6~cvs20081118-1) UNRELEASED; urgency=low + + * CVS checkout of 5.6 branch to experiment with upcoming release + * New maintainer (Closes: 499316) + * Adjusted short description (removed "A" at beginning) + * Added patch system (dpatch) + * Added debian/README.source + * Checked original diff.gz changes (all implemented upstream or solved + below) + * Clean up of symlinks in Makefile clean rule (patch 01_CleanupLinks) + * Added -DBUILD_BROKEN_NEDIT and -DBUILD_UNTESTED_NEDIT to CFLAGS in + debian/rules and changed Makefile.linux to use it because LessTif2 + version in Debian is considered bugged by upstream + (patch 20_ChangeFlagsLinuxMakefile) + * Updated debian/rules to use dh_install + * Removed doc/README.FAQ (not relevant) + * Build man pages from pod source to change name of NC in Nedit-NC + (patch 50_ChangeNCinMan) + * Created debian/nedit.desktop file and install it + + -- Paul Gevers Mon, 02 Feb 2009 14:50:37 +0100 + +nedit (1:5.5-3) unstable; urgency=low + + * QA upload + * Trigger relinking by uploading (Closes: 431973) + * Standards-Version changed to 3.8.0 (necessary changes included below) + * Added debian/watch file + * Changed build-dependency x-dev (obsolete) to x11proto-core-dev + * Changed build-dependency debhelper to > 5 + * Added debian/compat level 5 + * Removed DH_COMPAT line from debian/rules (handeled by debian/compat) + * Added -Wall to CFLAGS in debian/rules to match debian-policy 10.1 + * Changed maintainers to QA and removed uploaders (package is orhaned, see + bug #499316) + * Added homepage to debian/control + * Fixed doc-base-invalid-document-field lintian error by converting capitals + in docid + * Fixed doc-base-uses-applications-section lintian warning by removing + unneeded "Apps/" part + * Converted debian/copyright to UTF-8 + * Fixed menu-item-uses-apps-section lintian warning by replacing Apps by + Applications in section field + * Escaped 3 hyphens in doc/nc.man + + -- Paul Gevers Mon, 17 Nov 2008 22:53:48 -0600 + +nedit (1:5.5-2) unstable; urgency=low + + * add Nedit icon to menu entry (in debian/menu and debian/rules) + * acknowledge the changes from the non maintainer upload + (Closes: #349124) + * correct FSF adress in debian/copyright file + * Standards-Version bumped to 3.6.2.2 -- no changes. + * remove libxmu-dev from build-depends (useless) + * remove -DBUILD_UNTESTED_NEDIT from Makefile.linux and remove test + on BUILD_UNTESTED_NEDIT flag in util/misc.c + Indeed, the use of a specific version has no sense for a shared + library. (Closes: #343703) + * apply patch Xorg-32.diff from Nedit upstream to util/misc.c to correct + an issue with Xorg (Closes: #330048, #318261) + + -- Alexandre Pineau Mon, 6 Feb 2006 23:34:45 +0100 + +nedit (1:5.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Replace build-dependency on xlibs-dev with an explicit build-dependency + on each required package. (Closes: #346890) + + -- Steinar H. Gunderson Sat, 21 Jan 2006 03:07:31 +0100 + +nedit (1:5.5-1) unstable; urgency=low + + * New upstream release (Closes: #283086) + * clean links from Xlt and Microline/XmL directories + * apply patch from yooden to correct the "cursor blinks while typing" bug + (Closes: #60672) + * use the noopt flag and O2 optimization (Closes: #240408) + + -- Alexandre Pineau Thu, 31 Mar 2005 19:06:49 +0200 + +nedit (1:5.4-1) unstable; urgency=low + + * New Maintainer: Alexandre Pineau (Closes: #229919) + * New co-maintainer: Thosten Haude + * New upstream release : + + Replaces csh-specific scriptlet with awklet. + + Workaround for KDE's FONTLIST bug (and for the various BACKGROUND and + FOREGROUND resource values).(Closes: #184553) + * sh is now the default shell for NEdit (Closes: #178686) + * Use lesstif2 (Motif 2.1 compatible) for building the package and update the + Build-depends (Closes: #162209, #174065) + * remove manual confirmation to continue the building of NEdit if a an + untested version of Lesstif is used. + * add HTML documentation to doc-base + * call the clean rule instead of cleaning the sources tree 'by hand' + * clean links from util and source directories + * link NEdit dynamically to lesstif (Closes: #195321) + * mfile menu.c, line 4343 : remove {} from badFilenameChars to correct the + neditdb corruption issue with Tom Lord's Arch revisions control system + (Closes: #213564) + * use quoted string in the file menu and the title of the menu entry is now + properly capitalized. + * Standards-Version bumped to 3.6.1.0 -- no changes. + + -- Alexandre Pineau Sun, 22 Feb 2004 17:27:34 +0100 + +nedit (1:5.3-2) unstable; urgency=low + + * Package orphaned, maintainer now the QA-group. + * Approve previous NMU. Closes: #156322, #117770. + * Fix prerm. Closes: #213325, #214808. + + -- Andreas Barth Wed, 28 Jan 2004 19:19:08 +0000 + +nedit (1:5.3-1) unstable; urgency=low + + * New Maintainer: Martin Loschwitz (blessed by Erik Anderson) + - thanks goes to Erik Anderson for his work + * New Upstream version (from Nedit website, version 5.3) (Closes: #159477, #157254) + * debian/rules: Switched from debmake to debhelper (Closes: #170355) + * debian/postinst: Fix manpage path (Closes: #171601) + + -- Martin Loschwitz Mon, 23 Dec 2002 17:00:00 +0100 + +nedit (1:5.2-1.2) unstable; urgency=low + + * NMU to fix bug 156322 as part of the 2nd Sarge BSP. + * debian/postinst: + - Changed symlink name from /usr/man/man1/editor.1.gz to + /usr/share/man/man1/editor.1.gz, as per patch supplied to bug 156322. + + + -- Matthew Palmer Sat, 23 Nov 2002 14:12:41 +1100 + +nedit (1:5.2-1.1) unstable; urgency=low + + * NMU to fix build-failures + * debian/control: + - add debmake to Build-Depends + - also corrected existing errors in Build-Depends usage + - bumped Standards-Version + + -- Branden Robinson Tue, 6 Nov 2001 13:33:53 -0500 + +nedit (1:5.2-1) unstable; urgency=low + + * New upstream version -- NEdit 5.2 + + -- Erik Andersen Mon, 29 Oct 2001 22:12:29 -0700 + +nedit (1:5.1.1-5) unstable; urgency=low + + * Fix a missing include file (closes: #93027, #86181) + + -- Erik Andersen Thu, 5 Apr 2001 12:33:59 -0600 + +nedit (1:5.1.1-4) unstable; urgency=low + + * Fix a build depends problem for unstable (closes: #92672) + + -- Erik Andersen Tue, 3 Apr 2001 01:14:45 -0600 + +nedit (1:5.1.1-3) stable unstable; urgency=low + + * Upload for potato/stable so nedit can finally get out of + non-free for potato. It is about time. + + -- Erik Andersen Mon, 12 Mar 2001 21:40:06 -0700 + +nedit (1:5.1.1-2) unstable; urgency=low + + * Fix the Build-depends (closes: #66280, #84571) + * Added Suggests: cvs (closes: #70726) + + -- Erik Andersen Tue, 13 Feb 2001 00:17:50 -0700 + +nedit (1:5.1.1-1) unstable; urgency=low + + * New upstream release -- Now available under the GPL!!! + (closes: #45335, #51980, #55889, #58763) + * Added Build-Depends (closes: #59498) + * Resubmitting nedit 5.1.1 for woody, since it seems to have + gotten lost last time I submitted it... + + -- Erik Andersen Sun, 18 Jun 2000 18:35:32 -0400 + +nedit (5.02-6) unstable; urgency=low + + * Recompile against lesstif 0.89 and compile with -DUSE_XMIM. + From the Lesstif 0.88.9 Release notes: + + Fixed the problem with nedit and accelerators. nedit installs and + removes accelerators _alot_. The mask were were using to install and + remove event handlers did not match, therefore the handler was not + removed, but all the data the handler used was freed. Needless to say + strange things happened after this. + + Looks like the nedit bugs are _finally_ fixed (thanks to Bjoern Brill + for letting me know). + + + -- Erik Andersen Sun, 12 Sep 1999 22:33:54 -0600 + +nedit (5.02-4) unstable frozen; urgency=low + + * Make nedit comply with the keyboard policy by changing the default to + stop trying to remap the delete key. Fixes Bug#29472 + + * I checked all the other nedit bugs in the bug tracking system, and they + seem to have been lesstif bugs, or I already fixed them and forgot to + close them, so this release lets me close out all the pending bugs. + Fixes Bug#15616, Bug#18867, Bug#20106, Bug #20477, Bug#20709, + Bug#23976, Bug#24257, and Bug #14512 + + -- Erik Andersen Tue, 17 Nov 1998 21:26:30 -0700 + +nedit (5.02-3) unstable frozen; urgency=low + + * Recomplile to get nedit to depend on lesstifg-0.83-5 (which is the + latest and greatest) instead of the earlier lesstifg-19980310). + + -- Erik Andersen Sun, 5 Apr 1998 11:32:48 -0600 + +nedit (5.02-2) unstable frozen; urgency=low + + * Fixed location of man pages + + -- Erik Andersen Wed, 1 Apr 1998 22:56:44 -0700 + +nedit (5.02-1) unstable frozen; urgency=low + + * Fixed minor packaging issues so lintian would shut-up. + * This is an upstream bug-fix release. Bug fixes include: + + - -import did not work as advertised in 5.0.1. When used, it + re-set a number of preferences back to default values. Could + also potentially cause a crash. + - Macro -> Repeat crashes on some systems. + - Mouse state can get "stuck" on Alpha-based systems. + - Combination of auto-wrap, auto-indent, and unbreakable lines + extending the width of the window, caused nedit to unnecessarily + insert blank lines. + - Incorrect case-insensitive comparison in character sets > 128 + bits. + - in by-word drag-selection (double click then drag) when begun + in the middle of a whitespace selection, anchor would revert + to original cursor position rather than maintaining the entire + whitespace block. + - Language mode names containing spaces could not be used in + language sensitive user-defined menu items. + - New windows did not always see existing learn/replay sequence, + recorded before the window was created. + - Possible crash in search_string and search_window macros, when + used with long search strings. + - Possible crash in get_selection("any") macro. + - Under Solaris, crashes on window opening, file dialog, and + language mode selection, when user-defined sub-menus were used. + - Filenames containing spaces could cause the .neditdb file to + become unreadable. + - Escape key could not be used to cancel file-selection dialogs + when the file list had keyboard focus (which it almost always does). + + -- Erik Andersen Fri, 20 Mar 1998 23:42:37 -0700 + +nedit (5.0-3) unstable; urgency=low + + * Minor change to description, to explain that this is linked with + lesstif, and that lesstif still has a few problems that may affect + stability. + + -- Erik Andersen Fri, 17 Dec 1997 12:35:34 -0700 + +nedit (5.0-2) unstable; urgency=low + + * Fixed a stupid bug where I put things in /usr/bin/X11 instead of + /usr/bin/X11R6, but debian doesn't have this symlink (just me ;-) + This fixes bug #15135 and #15425 + * added in the proper update-alternatives stuff per the new editor policy + * renamed "nc" to "nedit-nc" to avoid naming conflict with netcat. + + -- Erik Andersen Fri, 28 Nov 1997 02:47:46 -0700 + +nedit (5.0-1) unstable; urgency=low + + * New upstream source. Changes include: + - Syntax highlighting with patterns for C, C++, Java, Fortran, Pascal, + Ada, Perl, Python, Tcl, Awk, Csh, HTML, LaTeX, VHDL, Verilog, etc. + - Completed macro extension language (Simple C/awk-like syntax) + - Language-sensitive preferences + - Continuous wrap and automatic-newline wrapping modes + - Configurable right-button pop up menu + - Searchable on-line help + - Programmable Smart indent. + - Word boundary matching (<>) in regular expressions + - Bug fixes. + * libc6 + * Converted to use debhelper + * Now uses lesstif (no more nedit-dmotif and nedit-smotif). Lesstif + now seems stable enough for Nedit to work fairly well. The font selection + dialog box still doesn't work, and the right-mouse-button menu seems to + lock things up sometimes, but most everything else seems to work! + + -- Erik Andersen Sat, 22 Nov 1997 01:01:09 -0700 + +nedit (4.0.3-1) unstable; urgency=low + + * Changed to new upstream source, fixing a number of minor bugs. + + -- Erik B. Andersen Sun, 16 Feb 1997 23:19:04 -0600 + +nedit (4.0.2-2) unstable; urgency=low + + * Fixed a minor, and fortunatly benign type in rules + * Applied several patches from the upstream maintainer to fix some bugs + - middle mouse paste now works with no-auto-wrap mode + - fixed a crash in Revert to Saved on a newly emptied file + - fixed how Redo from newly saved Undo leaves window unmodified + - fixed a crash for SGIs (Not too helpful for the rest of us...) + + -- Erik Andersen Fri, 25 Oct 1996 22:39:09 -0600 + +nedit (4.0.2-1) unstable; urgency=low + + * Initial release of NEdit as a Debian package + + -- Erik Andersen Thu, 17 Oct 1996 05:09:24 -0600 --- nedit-5.6~cvs20081118.orig/debian/postinst +++ nedit-5.6~cvs20081118/debian/postinst @@ -0,0 +1,14 @@ +#!/bin/sh +set -e + +# install alternatives link for nedit + +if [ "$1" = "configure" ]; then + update-alternatives --install /usr/bin/editor editor \ + /usr/bin/nedit 40 --slave /usr/share/man/man1/editor.1.gz \ + editor.1.gz /usr/share/man/man1/nedit.1.gz +fi + +#DEBHELPER# + +exit 0 --- nedit-5.6~cvs20081118.orig/debian/manpages +++ nedit-5.6~cvs20081118/debian/manpages @@ -0,0 +1,2 @@ +doc/nedit.1 +doc/nedit-nc.1 --- nedit-5.6~cvs20081118.orig/debian/rules +++ nedit-5.6~cvs20081118/debian/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f + +# define installation dir +export INSTALLDIR=$(shell pwd)/debian/nedit +include /usr/share/dpatch/dpatch.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -g -Wall -DBUILD_BROKEN_NEDIT -DBUILD_UNTESTED_NEDIT +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + $(MAKE) CFLAGSD="$(CFLAGS)" linux + (cd doc; $(MAKE) VERSION="NEdit $(VERSION)" all) + mv doc/nc.man doc/nedit-nc.1 + mv doc/nedit.man doc/nedit.1 + touch build-stamp + +clean: unpatch + dh_testdir + dh_testdir + rm -f doc/nedit.1 doc/nedit-nc.1 source/nedit-nc + rm -f build-stamp + dh_clean + (cd doc; $(MAKE) clean) + $(MAKE) clean + find util -type l | xargs rm -f + find source -type l | xargs rm -f + find Xlt -type l | xargs rm -f + find Microline/XmL -type l | xargs rm -f + +binary-indep: build + +binary-arch: build + + dh_testdir + dh_testroot + + mv source/nc source/nedit-nc + + dh_install + dh_installmenu + dh_installman + + dh_installchangelogs ChangeLog + dh_installdocs + + dh_strip --dbg-package=nedit-dbg + 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 --- nedit-5.6~cvs20081118.orig/debian/watch +++ nedit-5.6~cvs20081118/debian/watch @@ -0,0 +1,6 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://sf.net/nedit/nedit-([\d.]*)-src\.tar\.gz --- nedit-5.6~cvs20081118.orig/debian/prerm +++ nedit-5.6~cvs20081118/debian/prerm @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# prerm script for nedit + +if [ "$1" = "remove" -a "purge" ]; then + update-alternatives --remove editor /usr/bin/nedit +fi + +#DEBHELPER# + +exit 0 + --- nedit-5.6~cvs20081118.orig/debian/Nedit.xpm +++ nedit-5.6~cvs20081118/debian/Nedit.xpm @@ -0,0 +1,184 @@ +/* XPM */ +static char *Nedit[] = { +/* columns rows colors chars-per-pixel */ +"26 32 146 2", +" c #6B697F", +". c #66618A", +"X c #6E688A", +"o c #676094", +"O c #6B6493", +"+ c #69669D", +"@ c #6E6994", +"# c #6D699A", +"$ c #726F85", +"% c #706D8C", +"& c #716C94", +"* c #736D9C", +"= c #737081", +"- c #75728F", +"; c #787683", +": c #7B7A8C", +"> c #757294", +", c #74719B", +"< c #797495", +"1 c #7A749C", +"2 c #7C7A94", +"3 c #7C799B", +"4 c #6D67A3", +"5 c #6E6BA4", +"6 c #6D68A8", +"7 c #726CA4", +"8 c #726DAA", +"9 c #746FB1", +"0 c #7472A2", +"q c #7571AA", +"w c #7A74A5", +"e c #7871AB", +"r c #7C78A3", +"t c #7D78AB", +"y c #7570B1", +"u c #7B76B0", +"i c #7F7CB1", +"p c #817D9A", +"a c #827DA3", +"s c #807AAA", +"d c #827AB3", +"f c #878593", +"g c #85809E", +"h c #8A8896", +"j c #8B899C", +"k c #8582A4", +"l c #8984A5", +"z c #8A86A9", +"x c #8C88A3", +"c c #8584B0", +"v c #8882B2", +"b c #928DA3", +"n c #928DAD", +"m c #938EB6", +"M c #9793AE", +"N c #9997A4", +"B c #9592B4", +"V c #9995B4", +"C c #9B96BE", +"Z c #9E9BB8", +"A c #A09DAC", +"S c #A29DB3", +"D c #A29DBC", +"F c #A7A7A9", +"G c #A6A4B7", +"H c #A5A1BA", +"J c #AAA7BC", +"K c #AEADB1", +"L c #ADABBC", +"P c #B0B0B2", +"I c #B3B3BC", +"U c #B9B6BD", +"Y c #BBBBBD", +"T c #9A92C3", +"R c #A6A1C3", +"E c #A6A1C9", +"W c #A8A4C4", +"Q c #ADAAC2", +"! c #AFACCB", +"~ c #A8A1D5", +"^ c #ADABD0", +"/ c #B2AFC4", +"( c #B1ACCC", +") c #B1ABD2", +"_ c #B6AFD9", +"` c #B4B1C4", +"' c #B8B5C6", +"] c #B8B6CC", +"[ c #BCBAC3", +"{ c #BFBDCA", +"} c #B9B6D1", +"| c #BAB6DB", +" . c #BFBBD2", +".. c #BCBADB", +"X. c #BEB9E2", +"o. c #C2BECC", +"O. c #C1BFD0", +"+. c #C2BEE3", +"@. c #C3C2C4", +"#. c #C6C6CA", +"$. c #C4C2D2", +"%. c #C4C1DA", +"&. c #CAC6D5", +"*. c #CAC6DC", +"=. c #CCCADB", +"-. c #D2D2D4", +";. c #D3D2DB", +":. c #DBDBDD", +">. c #C5C1E6", +",. c #C9C5E3", +"<. c #CDCAE2", +"1. c #CCC9E8", +"2. c #C7C0F6", +"3. c #CFCBF0", +"4. c #D1CDEB", +"5. c #D4CDFF", +"6. c #D3D1E4", +"7. c #D4D2E9", +"8. c #D8D5EA", +"9. c #DDDBE6", +"0. c #DEDBEE", +"q. c #D5D1F2", +"w. c #D8D4FC", +"e. c #DCD9F1", +"r. c #E1DFED", +"t. c #E0DEF3", +"y. c #E2DDFC", +"u. c #E3E3E5", +"i. c #E5E4EA", +"p. c #EAEAED", +"a. c #E5E3F3", +"s. c #E4E2FD", +"d. c #E8E6F5", +"f. c #E9E5FD", +"g. c #EBEAF2", +"h. c #EEEBFD", +"j. c #F1EEFF", +"k. c #F6F6EC", +"l. c #F6F8EB", +"z. c #FAFDEA", +"x. c #F3F4F5", +"c. c #F4F3FC", +"v. c #F6F8F7", +"b. c #F8F6FE", +"n. c #FCFDF4", +"m. c #FDFDFD", +/* pixels */ +"n.n.n.n.m.m.n.n.n.n.m.m.m.b.m.b.d.&.U @.n.n.z.n.n.n.", +"m.n.v.m.m.m.m.n.n.m.m.m.m.m.b.*.t.b.o.@.n.k.n.l.m.n.", +"m.m.m.m.b.m.m.m.m.v.i.K I 8.*.4.E ( / j.m.v.m.m.m.m.", +"m.m.m.m.m.m.m.j.m.i.L m.j.H O.a 1 O z j.b.m.m.m.m.m.", +"m.m.b.m.m.b.m.m.N [ g.h.8.Z X 1 * s * y.b.b.b.m.m.m.", +"v.m.m.m.b.m.b.d.Z f ` ` B n > 3 * o p q.c.b.m.m.m.m.", +"n.n.n.m.m.m.o.; $.c.b.m.m.h.s.| m 1 a } O.j.m.n.m.n.", +"n.n.m.m.b.#.h = : G 7.c.1.! >.w.h.4.S t.r./ u.m.m.n.", +"m.m.m.m.r./ a 6.O.- X a , , , , k ..s.Q 8.g.U ;.v.n.", +"m.b.m.=.O.n a p q.s 1 a r 0 # 0 , > k 3.W f.c.$.#.x.", +"A o.*.1.a _ 5.5.~ 7 e + 8 q 5 y # r # > ..B s.m.<.=.", +"b b ( 3 s T +.d e 7 e 4 5 y 9 y q 0 0 q 0 , E m.b.Q ", +"d.S p < @ 7 8 d 7 u 8 q 8 q 9 6 5 5 u 5 0 t * w.h.] ", +"b.b.j.D a * O e e 7 + q q 5 8 5 u q 8 5 5 i 0 ^ %.a.", +"m.m.j.J W a & 1 7 O v # 0 * 0 0 5 5 q 5 q # , 3 ! m.", +"b.b.r.-.b.t.( a p 3 ..1 1 , , , q q 5 y q 5 3 > &.m.", +"m.v.#.p.b.b.b.b.t.J j.- < 1 & w q y 8 q 8 e * < *.m.", +"m.m.U m.m.x.m.m.b.6.r.x < < q.) c . q q 7 7 o p *.b.", +"c.m.-.Y m.m.v.b.m.b.L Q p j b.b.s.R 0 0 e e t . 7.m.", +"m.m.m.;.K x.v.m.b.b.9.8.$ p b.b.c.b.! O t 7 * r y.b.", +"m.m.m.m.i.F p.g.m.m.j.$.G $ %.b.b.b.m.B * w # 3 j.m.", +"b.c.m.m.m.m.P -.m.c.m.b.d.' j.m.b.a.h.B , * C R b.m.", +"m.m.m.v.m.m.m.:.K p.c.m.b.b.m.b.6.j > > 1 r h.%.m.m.", +"m.m.m.m.v.m.m.m.v.@.U u.m.b.m.m.Q 3 > O r > 1.$.m.m.", +"m.m.m.m.m.m.m.m.v.m.p.[ Y p.m.m.4.< * a @ 1 V <.c.m.", +"m.m.m.m.m.m.m.m.m.v.m.m.p.Y @.g.j.R a & w s l 1.h.b.", +"m.m.m.m.m.m.m.m.m.m.m.v.m.m.u.[ I 6.s.T # w s ..j.b.", +"m.m.m.m.m.m.m.m.m.m.m.m.m.v.n.m.m.b.b.,.O t v X.b.b.", +"m.m.m.m.m.m.m.m.m.m.m.v.m.m.m.m.n.v.m.m.3 # & R b.b.", +"m.m.m.m.m.m.m.m.m.m.m.m.m.m.n.n.n.m.m.b.Z 3 3 ..m.m.", +"m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.n.n.x.m.*. 2 a.m.m.", +"m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.n.m.m.m.d.h [ m.m.n." +}; --- nedit-5.6~cvs20081118.orig/debian/nedit.desktop +++ nedit-5.6~cvs20081118/debian/nedit.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=NEdit +Exec=nedit +Icon=Nedit +Terminal=false +Type=Application +Categories=Motif;Utility;TextTools; +GenericName=Text editor +GenericName[en]=Text editor +GenericName[nl]=Tekst verwerker --- nedit-5.6~cvs20081118.orig/debian/docs +++ nedit-5.6~cvs20081118/debian/docs @@ -0,0 +1,6 @@ +README +ReleaseNotes +doc/nedit.doc +doc/faq.txt +doc/nedit.html +doc/html/ --- nedit-5.6~cvs20081118.orig/debian/copyright +++ nedit-5.6~cvs20081118/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Erik Andersen andersee@debian.org on +Thu, 17 Oct 1996 05:09:24 -0600 + +You can fetch Nedit from Nedit website http://www.nedit.org/ + +Note that NEdit Version 5.1 was the first release of NEdit under the GNU +General Public License, and the first release to be done entirely by +volunteer effort. + +Upstream authors: +NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, +Jim Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max +Vohlken, Yunliang Yu, Donna Reid, Arne Førlie, Eddy De Greef, Steve +LoBasso, Alexander Mai, Scott Tringali, Thorsten Haude, and Steve Haehn. + +For more detailed informations about the authors of Nedit and its +plugins, please have a look at the ReleaseNotes file, subsection AUTHORS. + +Copyright: + + Copyright (C) 1999 Timo Sirainen + + 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 program; 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, +version 2, can be found in /usr/share/common-licenses/GPL-2 --- nedit-5.6~cvs20081118.orig/debian/menu +++ nedit-5.6~cvs20081118/debian/menu @@ -0,0 +1,3 @@ +?package(nedit): needs="X11" section="Applications/Editors" command="nedit" \ + title="NEdit" longtitle="Flexible editor for X11" \ + icon="/usr/share/pixmaps/Nedit.xpm" --- nedit-5.6~cvs20081118.orig/debian/compat +++ nedit-5.6~cvs20081118/debian/compat @@ -0,0 +1 @@ +5 --- nedit-5.6~cvs20081118.orig/debian/patches/30_off_by_one.dpatch +++ nedit-5.6~cvs20081118/debian/patches/30_off_by_one.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: Fix for off-by-one error, potentially causing a crash +# Origin: upstream, http://nedit.cvs.sourceforge.net/viewvc/nedit/nedit/source/regularExp.c?r1=1.33&r2=1.34&view=patch +# Author: Evan Teran +# Bug: https://sourceforge.net/tracker/index.php?func=detail&aid=2858723&group_id=11005&atid=111005 + + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/ReleaseNotes nedit-5.6~cvs20081118/ReleaseNotes +--- nedit-5.6~cvs20081118~/ReleaseNotes 2009-09-15 21:24:31.000000000 +0200 ++++ nedit-5.6~cvs20081118/ReleaseNotes 2009-09-15 21:25:24.000000000 +0200 +@@ -23,6 +23,8 @@ + + Bugs fixed in 5.6 + ++ - Fix for SF bug #2858723: off-by-one error causing a crash ++ + - Fix for SF bug #2687525: tipsfile parser error wrt to eof + + - Fix for SF bug #2222159: File was not reload when type was changed +diff -urNad nedit-5.6~cvs20081118~/source/regularExp.c nedit-5.6~cvs20081118/source/regularExp.c +--- nedit-5.6~cvs20081118~/source/regularExp.c 2009-09-15 21:24:31.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/regularExp.c 2009-09-15 21:24:31.000000000 +0200 +@@ -1,4 +1,4 @@ +-static const char CVSID[] = "$Id: regularExp.c,v 1.33 2008/02/29 23:12:26 lebert Exp $"; ++static const char CVSID[] = "$Id: regularExp.c,v 1.34 2009/09/14 19:16:25 edg Exp $"; + /*------------------------------------------------------------------------* + * `CompileRE', `ExecRE', and `substituteRE' -- regular expression parsing + * +@@ -2656,7 +2656,7 @@ + + /* Default table for determining whether a character is a word delimiter. */ + +-static unsigned char Default_Delimiters [UCHAR_MAX] = {0}; ++static unsigned char Default_Delimiters [UCHAR_MAX+1] = {0}; + + static unsigned char *Current_Delimiters; /* Current delimiter table */ + --- nedit-5.6~cvs20081118.orig/debian/patches/00list +++ nedit-5.6~cvs20081118/debian/patches/00list @@ -0,0 +1,7 @@ +10_EOF_Parser_error +20_ChangeFlagsLinuxMakefile +30_off_by_one +40_Pointer_to_Integer +50_ChangeNCinMan +70_EditVersionText +80_Update_version_description --- nedit-5.6~cvs20081118.orig/debian/patches/10_EOF_Parser_error.dpatch +++ nedit-5.6~cvs20081118/debian/patches/10_EOF_Parser_error.dpatch @@ -0,0 +1,48 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix source/tags.c to properly parse EOF +# Origin: upstream, http://nedit.cvs.sourceforge.net/viewvc/nedit/nedit/source/tags.c?r1=1.70&r2=1.71 +# Bug: https://sourceforge.net/tracker/index.php?func=detail&aid=2687525&group_id=11005&atid=111005 + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/ReleaseNotes nedit-5.6~cvs20081118/ReleaseNotes +--- nedit-5.6~cvs20081118~/ReleaseNotes 2008-11-18 07:10:07.000000000 +0100 ++++ nedit-5.6~cvs20081118/ReleaseNotes 2009-09-03 22:47:09.000000000 +0200 +@@ -1,7 +1,7 @@ + Release Notes for NEdit Version 5.6, October 2008 + + +-$Id: ReleaseNotes,v 1.63.2.3 2008/11/05 09:17:20 lebert Exp $ ++$Id: ReleaseNotes,v 1.63.2.4 2009/06/23 21:28:12 lebert Exp $ + + This file contains last minute notes to users about the release, which are not + included in the documentation or README files included with the distribution +@@ -23,6 +23,8 @@ + + Bugs fixed in 5.6 + ++ - Fix for SF bug #2687525: tipsfile parser error wrt to eof ++ + - Fix for SF bug #2222159: File was not reload when type was changed + externaly + +diff -urNad nedit-5.6~cvs20081118~/source/tags.c nedit-5.6~cvs20081118/source/tags.c +--- nedit-5.6~cvs20081118~/source/tags.c 2008-03-01 23:18:06.000000000 +0100 ++++ nedit-5.6~cvs20081118/source/tags.c 2009-09-03 22:45:07.000000000 +0200 +@@ -1,4 +1,4 @@ +-static const char CVSID[] = "$Id: tags.c,v 1.70 2008/03/01 22:18:06 lebert Exp $"; ++static const char CVSID[] = "$Id: tags.c,v 1.70.2.1 2009/06/23 21:28:12 lebert Exp $"; + /******************************************************************************* + * * + * tags.c -- Nirvana editor tag file handling * +@@ -1811,9 +1811,9 @@ + if (incPos < 0) + return TF_ERROR; + /* Figure out how long the block is */ +- while((status=fgets(line, MAXLINE, fp))) { ++ while((status=fgets(line, MAXLINE, fp)) || feof(fp)) { + ++(*currLine); +- if(lineEmpty( line )) ++ if(feof(fp) || lineEmpty( line )) + break; + } + incLen = ftell(fp) - incPos; --- nedit-5.6~cvs20081118.orig/debian/patches/20_ChangeFlagsLinuxMakefile.dpatch +++ nedit-5.6~cvs20081118/debian/patches/20_ChangeFlagsLinuxMakefile.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: Add the debian build CFLAGS to the building CFLAGS +# Author: Paul Gevers +# Upstream: not-needed + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/makefiles/Makefile.linux nedit-5.6~cvs20081118/makefiles/Makefile.linux +--- nedit-5.6~cvs20081118~/makefiles/Makefile.linux 2009-09-15 22:13:50.000000000 +0200 ++++ nedit-5.6~cvs20081118/makefiles/Makefile.linux 2009-09-28 18:20:46.000000000 +0200 +@@ -17,7 +17,7 @@ + # To test if the Motif library exports the runtime version + # add -DHAVE__XMVERSIONSTRING to CFLAGS + # +-CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD ++CFLAGS=$(CFLAGSD) -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD + + ARFLAGS=-urs + --- nedit-5.6~cvs20081118.orig/debian/patches/70_EditVersionText.dpatch +++ nedit-5.6~cvs20081118/debian/patches/70_EditVersionText.dpatch @@ -0,0 +1,45 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: When nedit is started with the --version option it +# outputs that the lesstif version in Debian is known to be bad, but +# the bug (#356017) is fixed. +# Author: Paul Gevers +# Upstream: not-needed + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/source/help.c nedit-5.6~cvs20081118/source/help.c +--- nedit-5.6~cvs20081118~/source/help.c 2008-08-20 00:24:41.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/help.c 2009-05-08 19:25:01.000000000 +0200 +@@ -217,12 +217,10 @@ + } + + static const char *const warning = +- "\nThis NEdit was built with a known-bad version of Motif. Please " +- "do not report any bugs you encounter unless you can reproduce " +- "them with a known-good binary from the www.nedit.org website. " +- "If this binary was supplied with your Linux distribution please " +- "file a bug report with them asking them to build NEdit with a " +- "known-good version of Motif.\n"; ++ "\nThis NEdit was built with the Debian version of lesstif. Please " ++ "only report bugs to Debian. The developers of NEdit do not support " ++ "this version of lesstif, although the bug which caused them to not " ++ "support it is fixed in Debian (BTS: 356017).\n"; + + + static const char *getBuildInfo(void) +diff -urNad nedit-5.6~cvs20081118~/source/nedit.c nedit-5.6~cvs20081118/source/nedit.c +--- nedit-5.6~cvs20081118~/source/nedit.c 2007-11-29 23:18:09.000000000 +0100 ++++ nedit-5.6~cvs20081118/source/nedit.c 2009-05-08 19:25:01.000000000 +0200 +@@ -402,11 +402,8 @@ + + /* Warn user if this has been compiled wrong. */ + enum MotifStability stability = GetMotifStability(); +- if (stability == MotifKnownBad) { +- fputs("nedit: WARNING: This version of NEdit is built incorrectly, and will be unstable.\n" +- "nedit: Please get a stable version of NEdit from http://www.nedit.org.\n", +- stderr); +- } ++ /* Removed stability check warning because Debians lesstif2 version 0.95.0 has ++ fixed the bug (BTS: 356017) why nedit complained. Paul Gevers 5-5-2009 */ + + /* Save the command which was used to invoke nedit for restart command */ + ArgV0 = argv[0]; --- nedit-5.6~cvs20081118.orig/debian/patches/50_ChangeNCinMan.dpatch +++ nedit-5.6~cvs20081118/debian/patches/50_ChangeNCinMan.dpatch @@ -0,0 +1,132 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: nedit-nc is upstream called nc, adjusted the man +# Author: Paul Gevers +# Upstream: not-needed + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/doc/nc.pod nedit-5.6~cvs20081118/doc/nc.pod +--- nedit-5.6~cvs20081118~/doc/nc.pod 2005-03-03 08:49:37.000000000 -0600 ++++ nedit-5.6~cvs20081118/doc/nc.pod 2008-11-29 21:02:42.000000000 -0600 +@@ -3,27 +3,27 @@ + + =head1 NAME + +-nc - Client program for NEdit text editor ++nedit-nc - Client program for NEdit text editor + + =head1 SYNOPSYS + +-nc [B<-read>] [B<-create>] [B<-line> I | B<+>I] [B<-do> I] +- [B<-ask>] [B<-noask>] [B<-svrname> I] [B<-svrcmd> I] +- [B<-lm> I] +- [B<-geometry> I | B<-g> I] [B<-icon> | B<-iconic>] +- [B<-display> I<[host]:server[.screen]>] +- [B<-timeout> I] [B<-wait>] [B<-xrm> I] +- [B<-tabbed>] [B<-untabbed>] [B<-group>] +- [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] ++nedit-nc [B<-read>] [B<-create>] [B<-line> I | B<+>I] [B<-do> I] ++ [B<-ask>] [B<-noask>] [B<-svrname> I] [B<-svrcmd> I] ++ [B<-lm> I] ++ [B<-geometry> I | B<-g> I] [B<-icon> | B<-iconic>] ++ [B<-display> I<[host]:server[.screen]>] ++ [B<-timeout> I] [B<-wait>] [B<-xrm> I] ++ [B<-tabbed>] [B<-untabbed>] [B<-group>] ++ [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] + + =head1 DESCRIPTION + +-B is the client interface to the NEdit text editor. A server can be started +-explicitly by running NEdit in server mode: ++B is the client interface to the NEdit text editor. A server can be ++started explicitly by running NEdit in server mode: + + nedit -server + +-If no server is running, B will start one unless configured otherwise. ++If no server is running, B will start one unless configured otherwise. + Client/server mode is useful for integrating NEdit with software development + environments, mailers, and other programs; or just as a quick way to open files + from the shell command line without starting a new NEdit session. +@@ -49,26 +49,26 @@ + Execute an NEdit macro or action on the file following the -do argument on the + command line. + +-If you use this command without a filename, B would randomly choose one +-window to focus and execute the macro in. ++If you use this command without a filename, B would randomly choose ++one window to focus and execute the macro in. + + =item B<-ask>, B<-noask> + +-Instructs B whether to automatically start a server if one is not ++Instructs B whether to automatically start a server if one is not + available. This overrides the X resource `nc.autoStart'. + + + =item B<-svrname> I + +-Explicitly instructs B which server to connect to, an instance of ++Explicitly instructs B which server to connect to, an instance of + L with a corresponding B<-svrname> argument. By naming servers, you + can run several simultaneously, and direct files and commands specifically to + any one. + + =item B<-svrcmd> I + +-The command which B uses to start an NEdit server. It is also settable via +-the X resource `nc.serverCommand', by default, I<"nedit -server">. ++The command which B uses to start an NEdit server. It is also settable ++via the X resource `nc.serverCommand', by default, I<"nedit -server">. + + =item B<-lm> I + +@@ -107,11 +107,11 @@ + + =item B<-wait> + +-Instructs B not to return to the shell until all files given ++Instructs B not to return to the shell until all files given + are closed. + +-Normally, B returns once the files given in its command line +-are opened by the server. When this option is given, nc returns ++Normally, B returns once the files given in its command line ++are opened by the server. When this option is given, B returns + only after the last file given in this call is closed. + Note that this option affects all files, not only the ones + following this option in the command line. +@@ -167,13 +167,13 @@ + + =head1 NOTES + +-Communication between L and L is through the X display. So as +-long as X windows is set up and working properly, B will work properly +-as well. B uses the `DISPLAY' environment variable, the machine name and +-your user name to find the appropriate server, meaning, if you have several +-machines sharing a common file system, B will not be able to find a server +-that is running on a machine with a different host name, even though it may be +-perfectly appropriate for editing a given file. ++Communication between L and L is through the X display. ++So as long as X windows is set up and working properly, B will work ++properly as well. B uses the `DISPLAY' environment variable, the ++machine name and your user name to find the appropriate server, meaning, if you ++have several machines sharing a common file system, B will not be ++able to find a server that is running on a machine with a different host name, ++even though it may be perfectly appropriate for editing a given file. + + In typical Unix style, arguments affect the files which follow them on the + command line, for example: +@@ -182,11 +182,11 @@ + + =item incorrect: + +- nc file.c -line 25 ++ nedit-nc file.c -line 25 + + =item correct: + +- nc -line 25 file.c ++ nedit-nc -line 25 file.c + + =back + --- nedit-5.6~cvs20081118.orig/debian/patches/80_Update_version_description.dpatch +++ nedit-5.6~cvs20081118/debian/patches/80_Update_version_description.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: Create a version string which is reconizable as Debian. +# Author: Paul Gevers +# Upstream: not-needed + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/source/help_data.h nedit-5.6~cvs20081118/source/help_data.h +--- nedit-5.6~cvs20081118~/source/help_data.h 2008-01-04 23:11:03.000000000 +0100 ++++ nedit-5.6~cvs20081118/source/help_data.h 2009-09-04 19:38:44.000000000 +0200 +@@ -5671,4 +5671,4 @@ + {NULL, 14799, HELP_PREFERENCES, "Autoload Files"} + }; + +-static const char * NEditVersion = "NEdit release of Aug 20, 2004\n"; ++static const char * NEditVersion = "NEdit 5.6 CVS checkout release by Debian on Nov 18, 2008\n"; --- nedit-5.6~cvs20081118.orig/debian/patches/40_Pointer_to_Integer.dpatch +++ nedit-5.6~cvs20081118/debian/patches/40_Pointer_to_Integer.dpatch @@ -0,0 +1,261 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix warning: cast from pointer to integer of different size +# Origin: https://sourceforge.net/tracker/download.php?group_id=11005&atid=311005&file_id=340993&aid=2846694 +# Bug: https://sourceforge.net/tracker/?func=detail&atid=311005&aid=2846694&group_id=11005 +# Author: Jack Howarth + +@DPATCH@ +diff -urNad nedit-5.6~cvs20081118~/Xlt/SlideC.c nedit-5.6~cvs20081118/Xlt/SlideC.c +--- nedit-5.6~cvs20081118~/Xlt/SlideC.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/Xlt/SlideC.c 2009-09-15 22:05:42.000000000 +0200 +@@ -28,6 +28,7 @@ + #endif + + #include ++#include + + #include "SlideCP.h" + +@@ -116,14 +117,14 @@ + /* notify that initialize called XtArgsProc */ NULL, + /* NULL XtProc */ NULL, + /* NULL XtPointer */ NULL, +-/* NULL Cardinal */ (Cardinal)NULL, ++/* NULL Cardinal */ (Cardinal)(uintptr_t)NULL, + /* resources for subclass fields XtResourceList */ resources, + /* number of entries in resources Cardinal */ XtNumber(resources), + /* resource class quarkified XrmClass */ NULLQUARK, +-/* NULL Boolean */ (Boolean)NULL, +-/* NULL XtEnum */ (XtEnum)NULL, +-/* NULL Boolean */ (Boolean)NULL, +-/* NULL Boolean */ (Boolean)NULL, ++/* NULL Boolean */ (Boolean)(uintptr_t)NULL, ++/* NULL XtEnum */ (XtEnum)(uintptr_t)NULL, ++/* NULL Boolean */ (Boolean)(uintptr_t)NULL, ++/* NULL Boolean */ (Boolean)(uintptr_t)NULL, + /* free data for subclass pointers XtWidgetProc */ destroy, + /* NULL XtProc */ NULL, + /* NULL XtProc */ NULL, +diff -urNad nedit-5.6~cvs20081118~/source/file.c nedit-5.6~cvs20081118/source/file.c +--- nedit-5.6~cvs20081118~/source/file.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/file.c 2009-09-15 22:06:42.000000000 +0200 +@@ -52,6 +52,7 @@ + #include + #include + #include ++#include + #include + #include + +@@ -1914,7 +1915,7 @@ + if (XmToggleButtonGetState(w)) { + XtPointer userData; + XtVaGetValues(w, XmNuserData, &userData, NULL); +- *(int*) clientData = (int) userData; ++ *(int*) clientData = (int) (uintptr_t) userData; + } + } + +diff -urNad nedit-5.6~cvs20081118~/source/highlight.c nedit-5.6~cvs20081118/source/highlight.c +--- nedit-5.6~cvs20081118~/source/highlight.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/highlight.c 2009-09-15 22:07:06.000000000 +0200 +@@ -49,6 +49,7 @@ + #include + #include + #include ++#include + #include + #ifdef VMS + #include "../util/VMSparam.h" +@@ -512,7 +513,7 @@ + if (!pattern) { + return NULL; + } +- return (void*)pattern->userStyleIndex; ++ return (void*)(uintptr_t)pattern->userStyleIndex; + } + + /* +diff -urNad nedit-5.6~cvs20081118~/source/macro.c nedit-5.6~cvs20081118/source/macro.c +--- nedit-5.6~cvs20081118~/source/macro.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/macro.c 2009-09-15 22:07:27.000000000 +0200 +@@ -60,6 +60,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -2924,7 +2925,7 @@ + readStringArg(argList[i], &btnLabel, btnStorage, errMsg); + btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog, + XmNlabelString, s1=XmStringCreateSimple(btnLabel), +- XmNuserData, (XtPointer)(i+1), NULL); ++ XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL); + XtAddCallback(btn, XmNactivateCallback, dialogBtnCB, window); + XmStringFree(s1); + } +@@ -2965,7 +2966,7 @@ + return; /* shouldn't happen */ + if (XtClass(w) == xmPushButtonWidgetClass) { + XtVaGetValues(w, XmNuserData, &userData, NULL); +- retVal.val.n = (int)userData; ++ retVal.val.n = (int)(uintptr_t)userData; + } else + retVal.val.n = 1; + retVal.tag = INT_TAG; +@@ -3101,7 +3102,7 @@ + readStringArg(argList[i], &btnLabel, btnStorage, errMsg); + btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog, + XmNlabelString, s1=XmStringCreateSimple(btnLabel), +- XmNuserData, (XtPointer)(i+1), NULL); ++ XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL); + XtAddCallback(btn, XmNactivateCallback, stringDialogBtnCB, window); + XmStringFree(s1); + } +@@ -3155,7 +3156,7 @@ + returned in w. */ + if (XtClass(w) == xmPushButtonWidgetClass) { + XtVaGetValues(w, XmNuserData, &userData, NULL); +- btnNum = (int)userData; ++ btnNum = (int)(uintptr_t)userData; + } else + btnNum = 1; + +@@ -3680,7 +3681,7 @@ + readStringArg(argList[i], &btnLabel, btnStorage, errMsg); + btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog, + XmNlabelString, s1=XmStringCreateSimple(btnLabel), +- XmNuserData, (XtPointer)(i+1), NULL); ++ XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL); + XtAddCallback(btn, XmNactivateCallback, listDialogBtnCB, window); + XmStringFree(s1); + } +@@ -3760,7 +3761,7 @@ + returned in w. */ + if (XtClass(w) == xmPushButtonWidgetClass) { + XtVaGetValues(w, XmNuserData, &userData, NULL); +- btnNum = (int)userData; ++ btnNum = (int)(uintptr_t)userData; + } else + btnNum = 1; + +diff -urNad nedit-5.6~cvs20081118~/source/preferences.c nedit-5.6~cvs20081118/source/preferences.c +--- nedit-5.6~cvs20081118~/source/preferences.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/preferences.c 2009-09-15 22:07:47.000000000 +0200 +@@ -58,6 +58,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -2296,7 +2297,7 @@ + XtVaGetValues(menu, XmNchildren, &items, XmNnumChildren, &nItems, NULL); + for (n=0; n<(int)nItems; n++) { + XtVaGetValues(items[n], XmNuserData, &userData, NULL); +- XmToggleButtonSetState(items[n], (int)userData == mode, False); ++ XmToggleButtonSetState(items[n], (int)(uintptr_t)userData == mode, False); + } + } + } +@@ -5148,7 +5149,7 @@ + xmToggleButtonGadgetClass, menu, + XmNlabelString, s1=XmStringCreateSimple(LanguageModes[i]->name), + XmNmarginHeight, 0, +- XmNuserData, (void *)i, ++ XmNuserData, (void *)(uintptr_t)i, + XmNset, window->languageMode==i, NULL); + XmStringFree(s1); + XtAddCallback(btn, XmNvalueChangedCallback, setLangModeCB, window); +@@ -5169,14 +5170,14 @@ + XtVaGetValues(w, XmNuserData, &mode, NULL); + + /* If the mode didn't change, do nothing */ +- if (window->languageMode == (int)mode) ++ if (window->languageMode == (int)(uintptr_t)mode) + return; + + /* redo syntax highlighting word delimiters, etc. */ + /* + reapplyLanguageMode(window, (int)mode, False); + */ +- params[0] = (((int)mode) == PLAIN_LANGUAGE_MODE) ? "" : LanguageModes[(int)mode]->name; ++ params[0] = (((int)(uintptr_t)mode) == PLAIN_LANGUAGE_MODE) ? "" : LanguageModes[(int)(uintptr_t)mode]->name; + XtCallActionProc(window->textArea, "set_language_mode", NULL, params, 1); + } + +diff -urNad nedit-5.6~cvs20081118~/source/regularExp.c nedit-5.6~cvs20081118/source/regularExp.c +--- nedit-5.6~cvs20081118~/source/regularExp.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/regularExp.c 2009-09-15 22:08:16.000000000 +0200 +@@ -88,6 +88,7 @@ + #include + #include + #include ++#include + #include + + #ifdef HAVE_DEBUG_H +@@ -4157,7 +4158,7 @@ + table [*c] = 1; + } + +- table [(int) NULL] = 1; /* These */ ++ table [(int)(uintptr_t) NULL] = 1; /* These */ + table [(int) '\t'] = 1; /* characters */ + table [(int) '\n'] = 1; /* are always */ + table [(int) ' ' ] = 1; /* delimiters. */ +diff -urNad nedit-5.6~cvs20081118~/source/userCmds.c nedit-5.6~cvs20081118/source/userCmds.c +--- nedit-5.6~cvs20081118~/source/userCmds.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/source/userCmds.c 2009-09-15 22:08:47.000000000 +0200 +@@ -49,6 +49,7 @@ + + #include + #include ++#include + #include + #include + #ifdef VMS +@@ -1116,7 +1117,7 @@ + XtVaGetValues(items[n], XmNsubMenuId, &subMenu, NULL); + dimSelDepItemsInMenu(subMenu, menuList, nMenuItems, sensitive); + } else { +- index = (int)userData - 10; ++ index = (int)(uintptr_t)userData - 10; + if (index <0 || index >= nMenuItems) + return; + if (menuList[index]->input == FROM_SELECTION) +@@ -1928,7 +1929,7 @@ + XmNlabelString, st1, + XmNacceleratorText, st2, + XmNmnemonic, f->mnemonic, +- XmNuserData, (XtPointer)(index+10), NULL); ++ XmNuserData, (XtPointer)(uintptr_t)(index+10), NULL); + XtAddCallback(btn, XmNactivateCallback, cbRtn, cbArg); + XmStringFree(st1); + XmStringFree(st2); +diff -urNad nedit-5.6~cvs20081118~/util/prefFile.c nedit-5.6~cvs20081118/util/prefFile.c +--- nedit-5.6~cvs20081118~/util/prefFile.c 2009-09-15 21:27:12.000000000 +0200 ++++ nedit-5.6~cvs20081118/util/prefFile.c 2009-09-15 22:04:14.000000000 +0200 +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + #ifdef VMS + #include "VMSparam.h" + #else +@@ -353,9 +354,9 @@ + *(int *)rsrcDescrip->valueAddr = 0; + return False; + case PREF_STRING: +- if ((int)strlen(string) >= (int)rsrcDescrip->arg) ++ if ((int)strlen(string) >= (int)(uintptr_t)rsrcDescrip->arg) + return False; +- strncpy(rsrcDescrip->valueAddr, string, (int)rsrcDescrip->arg); ++ strncpy(rsrcDescrip->valueAddr, string, (int)(uintptr_t)rsrcDescrip->arg); + return True; + case PREF_ALLOC_STRING: + *(char **)rsrcDescrip->valueAddr = XtMalloc(strlen(string) + 1);