--- nip2-7.12.5.orig/debian/patches/00-desktop.patch +++ nip2-7.12.5/debian/patches/00-desktop.patch @@ -0,0 +1,16 @@ +--- nip2.desktop.in.orig 2007-08-29 13:35:42.000000000 -0400 ++++ nip2.desktop.in 2007-11-01 19:52:15.426850700 -0400 +@@ -3,11 +3,11 @@ + Name=@PACKAGE@ + Comment=Image manipulation program based on VIPS + Comment[it]=Programma per la manipolazione di immagini basato su VIPS +-Exec=@prefix@/bin/run-nip2.sh ++Exec=@prefix@/bin/nip2 + Icon=@prefix@/share/nip2/data/vips-128.png + Terminal=false + Type=Application +-Categories=Application;Graphics;RasterGraphics; ++Categories=Graphics;RasterGraphics; + X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=NIP2 + StartupNotify=true --- nip2-7.12.5.orig/debian/misc/nip2.xpm +++ nip2-7.12.5/debian/misc/nip2.xpm @@ -0,0 +1,101 @@ +/* XPM */ +static char *noname[] = { +/* width height ncolors chars_per_pixel */ +"32 32 62 1", +/* colors */ +" c #CBC4B0", +". c #455D4A", +"X c #979476", +"o c #72704B", +"O c #FDFDFB", +"+ c #FBFBF9", +"@ c #DFD6CD", +"# c #D5CEAF", +"$ c #4D603D", +"% c #E9E4E0", +"& c #B8B492", +"* c #F8F8F5", +"= c #DCD5C9", +"- c #AFA489", +"; c #F7F6F4", +": c #D6D2B9", +"> c #C1B797", +", c #E7E1DD", +"< c #F4F3ED", +"1 c #F0EFE9", +"2 c #E0DACC", +"3 c #ACA985", +"4 c #F2F1EE", +"5 c #FFFFFE", +"6 c #FEFFFD", +"7 c #3D5946", +"8 c #2F4B38", +"9 c #E3DED8", +"0 c #302550", +"q c #3B5440", +"w c #DBD7C6", +"e c #F8F6F3", +"r c #9E9969", +"t c #9F9C60", +"y c #F0EEEB", +"u c #FEFEFC", +"i c #FCFCFA", +"p c #EDE9DE", +"a c #727951", +"s c #24154D", +"d c #253551", +"f c #CFCCB9", +"g c #C2BE95", +"h c #F6F5F3", +"j c #2B4346", +"k c #FFFFFF", +"l c #1E2D4D", +"z c #CEC7B1", +"x c #646656", +"c c #BCBA81", +"v c #C4C0A0", +"b c #969776", +"n c #FEFEFD", +"m c #FCFCFB", +"M c #FAFAF9", +"N c #CFC9A7", +"B c #868C73", +"V c #C3BCA5", +"C c #EFEDE4", +"Z c #B4AF89", +"A c #748154", +"S c None", +/* pixels */ +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"55555555555555555555555555555555", +"5nOin55nmOn56n55nnun5555Oi+mn555", +"uCNN*nn<>z1eppmep: 2en5+23t&%O55", +"*#oA,O+=xxwcAN1ca7d.c4n5", +"h#o7#*hVdxft$Z9B8.xjo#4gj.r3zyu5", +";=t8&41blb t83fB$b-b$c,c8A& @4n5", +"+9c8t%9Aqcft83ftq& Z$c@c$$&9y+55", +"uCV.owf.o =bjZftjgft7&9ztjxNhu55", +"5Bd.v*55", +"5*@bjBx0-99X8-fBs0xb>@hy=&B0a9O5", +"5O,&qls0V%,Xl-fBsB-V=ym+y=&x0z*5", +"5n1 ossxfy,Xl-fB0- 9y+O*@9 .0 h5", +"55h=BslB@h%bl-fBjV%;On;vxBBlxfh5", +"55+9c$qc,M%cqZft$N455n4go880X=;5", +"55OCNtrz1i%gcN=gc:<55nyfcBBbV,+5", +"555h@VV@hu4= =9f @;555*, &&V@4n5", +"555iy,9yO5My,C4C,y+555n;%@@,4m55", +"5555uMMi555O+iOm+mn5555n+*eMu555", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk", +"kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk" +}; --- nip2-7.12.5.orig/debian/control +++ nip2-7.12.5/debian/control @@ -0,0 +1,34 @@ +Source: nip2 +Section: graphics +Priority: optional +Build-Depends: cdbs, debhelper (>= 4.1.0), libglib2.0-dev, libpango1.0-dev, libatk1.0-dev, libgtk2.0-dev, libvips-dev (>= 7.12.5), shared-mime-info, gnome-icon-theme, hicolor-icon-theme, flex, bison, intltool, fftw3-dev, libxml2-dev, pkg-config, libjpeg62-dev, libtiff4-dev, zlib1g-dev, liblcms1-dev, libpng12-dev, libmagick9-dev | libmagick-dev, libfreetype6-dev, libfontconfig1-dev, libice-dev, gettext, libgsl0-dev +Maintainer: Jay Berkenbilt +Standards-Version: 3.7.2 + +Package: nip2 +Architecture: any +Depends: ${shlibs:Depends} +Recommends: iceweasel | firefox | www-browser +Suggests: libvips-doc, libvips-tools +Description: spreadsheet-like graphical image manipulation tool + nip2 is a graphical front end to the VIPS package. + . + VIPS is an image processing system designed with efficiency in mind. + It is good with large images (images larger than the amount of RAM in + your machine), and for working with colour. It can perform many + image manipulation tasks much faster than other packages such as + ImageMagick and the GIMP and includes some special features such as + creating single "mosaic" images from multiple parts. + . + VIPS consists of two main components: an image processing library + with some command-line tools and a spreadsheet-like graphical user + interface. This package supplies the graphical interface. + . + With nip2, rather than directly editing images, you build + relationships between objects in a spreadsheet-like fashion. When + you make a change somewhere, nip2 recalculates the objects affected by + that change. Since it is demand-driven this update is very fast, + even for very, very large images. nip2 is very good at creating + pipelines of image manipulation operations. It is not very good for + image editing tasks like touching up photographs. For that, a tool + like the GIMP should be used instead. --- nip2-7.12.5.orig/debian/nip2.menu +++ nip2-7.12.5/debian/nip2.menu @@ -0,0 +1,4 @@ +?package(nip2):needs="X11" section="Applications/Graphics" \ + title="nip2" hints="Images" command="/usr/bin/nip2" \ + longtitle="Manipulate images in a spreadsheet-like environment" \ + icon="/usr/share/pixmaps/nip2.xpm" --- nip2-7.12.5.orig/debian/copyright +++ nip2-7.12.5/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Jay Berkenbilt on +October 2, 2004. + +It was downloaded from http://www.vips.ecs.soton.ac.uk + +Upstream Maintainers: + John Cupitt + Kirk Martinez + Joe Padfield + +Many others contributed as well; see the file THANKS for details. + +Copyright: + + 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, refer to /usr/share/common-licenses/GPL-2 +for the complete text of the GNU General Public License. --- nip2-7.12.5.orig/debian/changelog +++ nip2-7.12.5/debian/changelog @@ -0,0 +1,139 @@ +nip2 (7.12.5-2) unstable; urgency=medium + + * Update Recommends to replace defunct mozilla-firefox with iceweasel + and to add firefox as an option for Ubuntu. (Closes: #452450) + + -- Jay Berkenbilt Sat, 24 Nov 2007 20:35:45 -0500 + +nip2 (7.12.5-1) unstable; urgency=low + + * New upstream release + * Update desktop file to no longer reference a file we don't install + + -- Jay Berkenbilt Thu, 01 Nov 2007 19:43:57 -0400 + +nip2 (7.12.4-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt Mon, 30 Jul 2007 17:19:29 -0400 + +nip2 (7.12.2-1) unstable; urgency=low + + * New upstream release + * Updated menu file for new menu structure + + -- Jay Berkenbilt Sat, 21 Jul 2007 22:49:54 -0400 + +nip2 (7.10.21-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt Tue, 19 Sep 2006 12:18:21 -0400 + +nip2 (7.10.20-1) unstable; urgency=low + + * New upstream release + * Add watch file + + -- Jay Berkenbilt Fri, 23 Jun 2006 14:56:45 -0400 + +nip2 (7.10.19-1) unstable; urgency=low + + * New upstream release + * nip2 no longer uses Magick-config (change made by upstream author). + (Closes: #347402) + * nip2 no longer crashes in directory with *.xcf.bz2. (Closes: #349876) + * Update standards version to 3.7.2; included removing + /usr/bin/run-nip2.sh (rather than just renaming it) since it was not + needed anyway. + + -- Jay Berkenbilt Fri, 12 May 2006 18:06:42 -0400 + +nip2 (7.10.16-1) unstable; urgency=low + + * New upstream release + * Upstream fix: correct internationalization error that caused crashes + on some invalid input strings. (Closes: #340277) + * vips packaging bug broke dependencies; fixed in this upload. (Closes: + #340714) + + -- Jay Berkenbilt Fri, 25 Nov 2005 19:50:03 -0500 + +nip2 (7.10.15-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt Tue, 22 Nov 2005 20:57:34 -0500 + +nip2 (7.10.14-2) unstable; urgency=low + + * Make a link to examples directory from /usr/share/nip2/data so that + File -> Open Examples works properly. + + -- Jay Berkenbilt Sat, 15 Oct 2005 20:12:07 -0400 + +nip2 (7.10.14-1) unstable; urgency=low + + * New upstream release + * Change dependencies for libmagick transition (Closes: #332454) + + -- Jay Berkenbilt Fri, 7 Oct 2005 11:44:59 -0400 + +nip2 (7.10.12-1) unstable; urgency=low + + * New upstream release + * Proper fixes from upstream integrated for both problems fixed in + 7.10.10-3. + + -- Jay Berkenbilt Wed, 17 Aug 2005 19:04:04 -0400 + +nip2 (7.10.10-3) unstable; urgency=low + + * Compile with reduced optimization as a hopefully temporary workaround + for a likely gcc 4.0 problem. (Closes: #322684) + * Patch from Dann Frazier to prevent a segmentation fault + on 64-bit systems from implicit declaration of a function whose return + value is interpreted as a pointer. (Closes: #318668) + + -- Jay Berkenbilt Mon, 15 Aug 2005 20:32:17 -0400 + +nip2 (7.10.10-2) unstable; urgency=low + + * g++ 4.0 transition + + -- Jay Berkenbilt Sat, 9 Jul 2005 15:24:04 -0400 + +nip2 (7.10.10-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt Fri, 8 Apr 2005 21:53:40 -0400 + +nip2 (7.10.9-1) unstable; urgency=low + + * New upstream release + * Upstream fix for filename parsing bug that prevented colons from being + allowed in file names. (Closes: #291847) + + -- Jay Berkenbilt Mon, 4 Apr 2005 18:58:37 -0400 + +nip2 (7.10.8-2) unstable; urgency=low + + * Updated for rename of vips packages + + -- Jay Berkenbilt Sat, 19 Mar 2005 13:46:52 -0500 + +nip2 (7.10.8-1) unstable; urgency=low + + * New upstream release + * Upstream fixed gcc-4.0/amd64 compiler error. Thanks Andreas Jochens + . (Closes: #288707) + + -- Jay Berkenbilt Fri, 14 Jan 2005 21:40:32 -0500 + +nip2 (7.10.6-1) unstable; urgency=low + + * Initial release. (Closes: #274545) + + -- Jay Berkenbilt Sun, 7 Nov 2004 11:47:01 -0500 --- nip2-7.12.5.orig/debian/README.Debian +++ nip2-7.12.5/debian/README.Debian @@ -0,0 +1,23 @@ + +When nip2 is started, help does not work unless a Firefox browser +window is already open. If you already have a Firefox browser window +open, help will display in that window. If you use a different +browser, you may customize this in your nip2 preferences under the +"Help browser" category in the preferences dialog selectable from the +Edit menu. + +There is an examples directory in /usr/share/doc/nip2 to which a link +points from /usr/share/nip2/data. You can look at examples easily by +selecting "Open Examples" from the File menu. + +nip2 tries to be backward compatible to old workspaces, but if you'd +like to convert your workspaces to 7.12 format, you can use the +convert.sed script as provided with nip2 and installed in the doc +directory. This commmand: + +sed -f /usr/share/doc/nip2/convert.sed < old.ws >| new.ws + +would convert the old workspace old.ws to a new 7.12-compatible +workspace called new.ws. + + -- Jay Berkenbilt , Sun, 20 May 2007 14:50:59 -0400 --- nip2-7.12.5.orig/debian/watch +++ nip2-7.12.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.vips.ecs.soton.ac.uk/vips-7.12/nip2-([\d\.]+).tar.gz --- nip2-7.12.5.orig/debian/rules +++ nip2-7.12.5/debian/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f + +VERSION := $(shell dpkg-parsechangelog | \ + awk '/Version:/ {print $$2}' | cut -d- -f 1) + +# Variables used by cdbs +DEB_TAR_SRCDIR = nip2-$(VERSION) +DEB_INSTALL_DIRS_nip2 = /usr/share/pixmaps +DEB_INSTALL_DOCS_nip2 = \ + $(DEB_BUILDDIR)/test/convert.sed \ + $(DEB_BUILDDIR)/doc/html +DEB_COMPRESS_EXCLUDE = html examples + +#### Include cdbs rules files. +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +# As 0.4.21, cdbs creates but doesn't remove debian/compat. It +# creates it conditionally, so this doesn't have a trivial fix. +clean:: + $(RM) debian/compat *.cdbs-config_list + +pre-build:: + find build-tree -name CVS -print | xargs rm -rf + +# Move examples to /usr/share/doc as per policy, but leave a link +# behind so that File -> Open Examples still works. (When I put the +# symbolic link command here, I thought of using an absolute link so it +# would work for people who moved /usr/share/doc and left a link in its +# place, but the package creation process changed it to a relative link +# anyway. -ejb) +install/nip2:: + rm debian/nip2/usr/bin/run-nip2.sh + cp debian/misc/nip2.xpm debian/nip2/usr/share/pixmaps + mv debian/nip2/usr/share/nip2/data/examples \ + debian/nip2/usr/share/doc/nip2/examples + ln -s ../../doc/nip2/examples debian/nip2/usr/share/nip2/data/ + find debian/nip2/usr/share/doc/nip2/examples -type f -perm -1 -print | \ + xargs chmod -x --- nip2-7.12.5.orig/debian/nip2.doc-base +++ nip2-7.12.5/debian/nip2.doc-base @@ -0,0 +1,11 @@ +Document: nip2 +Title: nip2 Users' Guide for VIPS 7.12 +Author: John Cupitt, Rachel Billinge, Joseph Padfield, Clare + Richardson, David Saunders +Abstract: The nip2 Users' Guide explains how to use nip2 to perform + numerous functions, including programming nip2. +Section: Apps/Graphics + +Format: HTML +Index: /usr/share/doc/nip2/html/nipguide.html +Files: /usr/share/doc/nip2/html/*