--- imgseek-0.8.6.orig/debian/imgseek.menu +++ imgseek-0.8.6/debian/imgseek.menu @@ -0,0 +1,5 @@ +?package(imgseek):needs="x11" section="Applications/Graphics"\ + icon="/usr/share/pixmaps/imgseek.xpm"\ + title="imgSeek"\ + command="/usr/bin/imgSeek"\ + hints="Graphic viewer" --- imgseek-0.8.6.orig/debian/preinst +++ imgseek-0.8.6/debian/preinst @@ -0,0 +1,14 @@ +#!/bin/sh +# TODO: remove this file after releasing Squeeze +if [ "$1" = upgrade ] +then + if dpkg --compare-versions "$2" lt 0.8.6-3; then + pycentral pkgremove imgseek + fi + if dpkg --compare-versions "$2" lt 0.8.6-4; then + rm -rf /usr/lib/python2.4/site-packages/imgSeekLib/ + rm -rf /usr/lib/python2.5/site-packages/imgSeekLib/ + fi +fi + +#DEBHELPER# --- imgseek-0.8.6.orig/debian/imgseek.xpm +++ imgseek-0.8.6/debian/imgseek.xpm @@ -0,0 +1,196 @@ +/* XPM */ +static char *imgseek[] = { +/* columns rows colors chars-per-pixel */ +"32 32 158 2", +" c #000000", +". c #0B0B0A", +"X c #131313", +"o c #1D1D1D", +"O c #3E0000", +"+ c #252525", +"@ c #2D2D2D", +"# c #323232", +"$ c #3B3B3A", +"% c #434343", +"& c #484847", +"* c #494949", +"= c #545454", +"- c #565758", +"; c #585857", +": c #5C5C5C", +"> c #636363", +", c #6B6B6B", +"< c #70706E", +"1 c #727272", +"2 c #7C7B7B", +"3 c #265194", +"4 c #235EAF", +"5 c #2C5DA4", +"6 c #285AAA", +"7 c #2E609B", +"8 c #316098", +"9 c #2C69B4", +"0 c #2F6EB8", +"q c #3A6DA6", +"w c #316FB6", +"e c #3372B7", +"r c #3175BB", +"t c #3A73BA", +"y c #3F7ABC", +"u c #367FC1", +"i c #457BAA", +"p c #4F7FAA", +"a c #427EC1", +"s c #4981BC", +"d c #4E8DBE", +"f c #5280A8", +"g c #798993", +"h c #6D96B1", +"j c #749AB2", +"k c #799DB3", +"l c #7CA5BC", +"z c #4786C6", +"x c #458FC9", +"c c #4E87C4", +"v c #4E8AC9", +"b c #4E91C7", +"n c #5193C5", +"m c #549BCD", +"M c #5D96C5", +"N c #5B95CD", +"B c #56A8E3", +"V c #619CC6", +"C c #659BCE", +"Z c #6A9CCF", +"A c #7299CC", +"S c #62A5D5", +"D c #6DA5D1", +"F c #6DA9D6", +"G c #70A7D3", +"H c #7AAED1", +"J c #7DB5DC", +"K c #61B1E5", +"L c #6CB7E8", +"P c #6EB8E8", +"I c #71B4E2", +"U c #73BBE9", +"Y c #7FBEE7", +"T c #79BDEA", +"R c #7CC0EB", +"E c #990000", +"W c #8A4A44", +"Q c #838382", +"! c #81878B", +"~ c #85898C", +"^ c #8A8A89", +"/ c #868C90", +"( c #8D9396", +") c #89959C", +"_ c #91918F", +"` c gray58", +"' c #9B9B9A", +"] c #8095A6", +"[ c #8D9FAB", +"{ c #85A3B5", +"} c #8EACBF", +"| c #93A0A7", +" . c #A3A3A3", +".. c #A5A9AC", +"X. c #AAAAAA", +"o. c #A4AFB4", +"O. c #A1AFB8", +"+. c #A7B2B7", +"@. c #B4B3B3", +"#. c #BABABA", +"$. c #82AAD5", +"%. c #85B3CF", +"&. c #84BADE", +"*. c #89B8D3", +"=. c #8EBCDC", +"-. c #90B1C3", +";. c #9AB6C6", +":. c #90BEDC", +">. c #A0B9C7", +",. c #ADBAC2", +"<. c #84C3EB", +"1. c #8EC0E3", +"2. c #8CC6EC", +"3. c #97C9E7", +"4. c #95CBEC", +"5. c #9ECEF0", +"6. c #AEC0CB", +"7. c #B8D1DF", +"8. c #A1C9E9", +"9. c #AAD1E7", +"0. c #A3D2F0", +"q. c #A9D7F2", +"w. c #AED9F2", +"e. c #B5D6EC", +"r. c #BED7E6", +"t. c #B7DEF4", +"y. c #BADEF4", +"u. c #BCE2F6", +"i. c #D59797", +"p. c #C1C1BF", +"a. c #C4C4C4", +"s. c #C1CACF", +"d. c #C8C8C7", +"f. c #CCCCCB", +"g. c #C3D6DF", +"h. c #CAD0D0", +"j. c #D2D2D2", +"k. c #D9D9D7", +"l. c #DBDBDA", +"z. c #C1CDE0", +"x. c #C0D2E4", +"c. c #C2D4E8", +"v. c #C1D8E5", +"b. c #C6DEEE", +"n. c #C4E4F5", +"m. c #C8E7F7", +"M. c #D7EBF7", +"N. c #D2ECF8", +"B. c #D9EDF8", +"V. c #E0E0DE", +"C. c #E4E4E3", +"Z. c #E8E8E7", +"A. c #ECECEC", +"S. c #E1EAF4", +"D. c #E2F3FB", +"F. c #F2F2F2", +"G. c #FEFEFE", +"H. c None", +/* pixels */ +"H.H.H.H.H.H.^ + . o .H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.", +"H. . $ Q , , < < Q ^ & H.H.H.H.", +" 2 a.a.` : < d.j.j.l.^ , _ #.#.#.#.#.#.#.@.@.' Q < : % H.H.H.", +" X.G.Z.Q , F.C.X.X.A.F.1 > . . . . . . . .@.C.Z.k.j.' H.H.H.", +" X.G.X.; #.C.a.C.A.G.G.g., $ g Q ^ ^ ^ ! Q , X.Z.A.F.a. H.H.H.", +" X.G.' : j.,.l.F.G.G.G.D.W = k.F.F.F.F.A.A.' Q k.A.A.d. H.H.H.", +" X.G.` : C.@.f.j.j.j.j.V.~ * f.F.F.A.A.A.Z.' 1 j.C.A.f. H.H.H.", +" X.G.` : C./ { k k j h } Q * f.F.F.F.A.A.A.' 1 d.C.A.d. H.H.H.", +" X.G.X.& @.| u.q.4.<.U @., - ~ ~ ~ ! ! ..Z.' < d.C.A.d. H.H.H.", +" X.G.j.X * ) 4.2.<.R H , ; ( *.T U K B 2.A.' , d.l.A.d. H.H.H.", +" X.F.' . X : ,.r.r.6.1 : ^ ;.3.<.T P K 2.F.' , d.C.Z.d. H.H.H.", +" .' $ o : ; : : = : g +.9.0.1.S T L 4.A.' , a.l.Z.d. H.H.H.", +" > @ o : ^ 2 ; = = 2 +.7.t.w.=.t I T 5.A.` , a.l.Z.d. H.H.H.", +" o X ; ` @.f.o.[ ] +.g.m.n.n.m 4 t I 0.A.' , a.l.C.d. H.H.H.", +" . X & _ #.j.f.=.M D b.B.N.B.S.s 8 5 s w.A.` , a.l.Z.a. H.H.H.", +" . = ! _ F.j.s.&.J D e.D.B.x.z.f 3 3 q u.Z.` , a.k.C.a. H.H.H.", +". $ Q X.> G.j.;.n V d :.B.D.S.c.C i 4 6 8.Z.` , ,.l.Z.a. H.H.H.", +"% 2 #.f.; G.j.-.p %.M b c C Z N m v z a $.Z.` , p.l.V.a. H.H.H.", +"2 ..C.V.= G.j.l G F x u r r e w 0 9 9 9 A Z._ , p.k.V.a. H.H.H.", +"i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.", +"i.E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E ", +"i.E G.E E E E E E E E E E E E E E E E E E E E E E E E E E G.E E ", +"i.E E E E E E E E E E E E E E E E G.G.G.E E E E E E E E E G.E E ", +"i.E G.E G.G.G.G.E E E G.G.G.E E G.E E E E E G.E E E G.E E G.E G.", +"i.E G.E G.E G.E G.E G.E E G.E E G.G.G.E E G.E G.E G.E G.E G.G.E ", +"i.E G.E G.E G.E G.E G.E E G.E E E E E G.E G.G.G.E G.G.G.E G.G.E ", +"i.E G.E G.E G.E G.E E G.G.G.E E E E E G.E G.E E E G.E E E G.E G.", +"i.E G.E G.E G.E G.E E E E G.E E G.G.G.E E E G.G.E E G.G.E G.E G.", +"i.E E E E E E E E E E G.G.E E E E E E E E E E E E E E E E E E E ", +"W O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O ", +" ^ f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.a. . H.H.H.", +" @ @ @ # @ @ @ @ @ # @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ + H.H.H." +}; --- imgseek-0.8.6.orig/debian/imgSeek.1 +++ imgseek-0.8.6/debian/imgSeek.1 @@ -0,0 +1,68 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH IMGSEEK 1 "Apr 27, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +imgseek \- Image manager with content\-based query +.SH SYNOPSIS +.B imgseek + +.SH DESCRIPTION +This manual page documents briefly the +.B imgseek +command. + +imgSeek is a GNU/Linux photo collection manager capable of searching +through an image database, in which the query is expressed either as a +rough sketch painted by the user or as another image you supply (or an +image in your collection) The searching algorithm makes use of +multiresolution wavelet decompositions of the query and database +images. + +You simply draw a rough sketch of what you want to find and imgSeek +displays for you a thumbnail view of the best matches. Automatic +thumbnail generation and caching. Using this standard, which is also +used by Gimp, N autilus/Gnome, Rox Desktop, gThumb and others. Query +images similar to one in your collection by double\-clicking on it's +thumbnail. Group your photos by similarity. Edit metadata +(description, camera, lens, etc) for every image, and use them on the +HTML album s generated or for searching photos. EXIF data found on +JPEG files are automatically imported. + +Slideshow for a given directory, whole collection or for a chosen +group of similar images. Generate HTML albums for the entire +collection, a given directory or similarity group Advanced keyword +searching for metadata. Organize and browse pictures in groups with +an easy drag & drop interface. Support for multiple volumes of +pictures. You may assign all images on a CD to a given Volume +Supported file formats are jpg, gif, bmp, png, xbm, and pnm Add images +to the database from a directory recursively. User friendly interface +that remembers typed queries and drawn sketches for later usage. +Browse images by thumbnail and view them on a preview window. + + + +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + + +.SH AUTHOR +This manual page was put together +from Steffen Neumann (sneumann|at|TechFak.Uni\-Bielefeld.DE) +from the original README +by Ricardo Niederberger Cabral (nieder|at|mail.ru). --- imgseek-0.8.6.orig/debian/dirs +++ imgseek-0.8.6/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/pixmaps +usr/share/applications +usr/lib/imgSeek/imgSeekLib --- imgseek-0.8.6.orig/debian/imgSeekCmd.1 +++ imgseek-0.8.6/debian/imgSeekCmd.1 @@ -0,0 +1,109 @@ +.TH IMGSEEKCMD 1 "19 May 2003" +.SH NAME +imgSeekCmd \- command line imgSeek database frontend +.SH SYNOPSIS +\fBimgSeekCmd\fP \fIcommand\fP [\fIcommand\-options\fP] +.SH COMMANDS AND OPTIONS +\fBadd\fP +.TP +\-h +Show help +.TP +\-r +Recurse into subdirectories when adding a path +.TP +\-s +Scan all database directories for new images, adding them. +.TP +\-d +Scan and add to database all images on this directory. +.TP +\-i +Ignore images with this string on their path +.TP +\-z +Ignore images smaller than this size (kb) +.TP +\-m +Ignore images with a dimension smaller than this (pixels) +.TP +\-b +Database to use. [~/.imgseek/img\-db.iqd] +.PD +.PP +\fBinfo\fP +.PP +.PD 0 +.TP +\-m +Dump all metadata for this image. +.TP +\-i +Image id +.TP +\-p +Image filename (full path) +.TP +\-f +Image filename +.TP +\-d +Dump this metadata field. +.TP +\-b +Database to use. [~/.imgseek/img\-db.iqd] +.PD +.PP +\fBremove\fP +.PP +.PD 0 +.TP +\-i +Image id +.TP +\-b +Database to use. [~/.imgseek/img\-db.iqd] +.PD +.PP +\fBquery\fP +.PP +.PD 0 +.TP +\-i +Image id +.TP +\-p +Image filename (full path) +.TP +\-f +Image filename +.TP +\-r +Number of results [10] +.TP +\-b +Database to use. [~/.imgseek/img\-db.iqd] +.PD +.PP +\fBbrowse\fP +.PP +.PD 0 +.TP +\-G +List all groups +.TP +\-V +List all volumes +.TP +\-F +List all images on database +.SH SEE ALSO +imgSeek(1) +.SH AUTHOR +This manpage was originally written by Bastian Kleineidam + for the Debian distribution of imgSeek (but may +be used by others). + +The main authors of imgSeek are Ricardo Niederberger Cabral + and Steffen Neumann . + --- imgseek-0.8.6.orig/debian/copyright +++ imgseek-0.8.6/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Bartosz Fenski on +Wed, 12 May 2004 23:33:30 +0200. + +The previous maintainers were: + Steffen Neumannn + Christoffer Sawicki + Bastian Kleineidam + +It was downloaded from http://www.imgseek.net/ + +Copyright: + + Copyright 2003-2004 Ricardo Niederberger Cabral + +License: + + 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 Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL-2'. --- imgseek-0.8.6.orig/debian/compat +++ imgseek-0.8.6/debian/compat @@ -0,0 +1 @@ +5 --- imgseek-0.8.6.orig/debian/watch +++ imgseek-0.8.6/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/imgseek/ imgSeek-(.*)\.tar\.bz2 + --- imgseek-0.8.6.orig/debian/changelog +++ imgseek-0.8.6/debian/changelog @@ -0,0 +1,229 @@ +imgseek (0.8.6-4) unstable; urgency=medium + + * QA upload. + * Remove pycentral leftovers in preinst (closes: #527611) + + -- Piotr Ożarowski Sun, 10 May 2009 18:04:42 +0200 + +imgseek (0.8.6-3) unstable; urgency=low + + * QA upload. + * debian/control: + + Standards-Version: 3.8.1 (No change required) + + Build-Depends: Added python-support, dpatch. Removed python-central + + XS-Python-Version: current changed to >= 2.2 + * debian/copyright: Updated GPL-2 license, use GPL-2 in common-licenses + * debian/rules: Using dh_pysupport instead of dh_pycentral + + Added useful variables + + Using private module directory: usr/share/imgSeek/ + + Support for DEB_BUILD_OPTIONS noopt (Bug: #415948) + + Link properly imgSeek, imgSeekCmd commands and imgdb.so library + + install -m 0644 -> dh_install, placed in build-arch + + rm -f -> dh_clean + * Stripped imgSeekLib/DSV.py, added python-dsv dependency (Closes: #485875) + * Replaced direct changes with patches: + 10-setup.py.dpatch, 20-imgSeek.desktop.dpatch, 30-Tools_imgSeekCmd.dpatch, + 40-imgSeekLib_haar.cpp.dpatch + * Fixed Version and Icon in 20-imgSeek.desktop.dpatch + * Added 50-imgSeekLib_RenameForm.py.dpatch, 60-imgSeekLib_ImageDB.py.dpatch + * debian/imgSeek.1, debian/imgSeekCmd.1: Escaped dash "-" characters + + -- Savvas Radevic Tue, 17 Mar 2009 22:14:26 +0100 + +imgseek (0.8.6-2) unstable; urgency=low + + * QA upload. + + Set maintainer to QA group. + * Correct homepage. + * Remove python-xml dependency. (Closes: #468597) + * Apply patch from Alexandre Fayolle to fix failure of add + command. (Closes: #405341) + * Improve watch file. + * Include Ubuntu patch to add .desktop file. + * Add missing include to fix FTBFS. + * Fix menu section. + + -- Frank Lichtenheld Wed, 06 Aug 2008 19:28:26 -0300 + +imgseek (0.8.6-1) unstable; urgency=medium + + * Urgency medium due to important fixes related to python transition. + * Many thanks for preparing this version goes to Piotr Ozarowski. + * New upstream release. (Closes: #329828) + * ACK previous NMU. (Closes #327936) + * Added patch that fixes ImageDB module name in imgSeekCmd. (Closes: #315109) + * Update for new python policy (Closes: #380847): + - Convert to python-central. + - Add debian/pycompat file. + - Dependencies updated (Closes: #324807). + - Bumped debhelper compatibility level to 5 (new debian/compat file). + * Updated debian/watch file (old version downloaded html file for me) + * Fixed Homepage pseudo header in long description. + * Bumped Standards-Version to 3.7.2 (no changes needed). + + -- Bartosz Fenski Mon, 4 Sep 2006 22:22:03 +0200 + +imgseek (0.8.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Rebuild for the Qt/KDE transition (Closes: #327936) + + -- Luk Claes Tue, 27 Sep 2005 13:53:53 +0200 + +imgseek (0.8.5-1) unstable; urgency=high + + * New upstream release. + * Urgency high cause we still don't have previous changes in sarge. + + -- Bartosz Fenski Sat, 23 Apr 2005 11:55:14 +0200 + +imgseek (0.8.4+0.8.5rc1-2) unstable; urgency=high + + * Urgency high cause current version in sarge doesn't work. + * Added QSizePolicy patch to fix issues with new pyuic (Closes: #303993) + + -- Bartosz Fenski Sun, 10 Apr 2005 13:42:12 +0200 + +imgseek (0.8.4+0.8.5rc1-1) unstable; urgency=low + + * New upstream version. + * s/fenio@o2.pl/fenio@debian.org/ + + -- Bartosz Fenski Tue, 25 Jan 2005 14:50:51 +0100 + +imgseek (0.8.4-3) unstable; urgency=low + + * debian/control: + - removed libmagick++6-dev from dependencies + Thanks to Daniel Kobras for noticing it (Closes: #272629) + + -- Bartosz Fenski Sat, 25 Sep 2004 18:31:53 +0200 + +imgseek (0.8.4-2) unstable; urgency=low + + * debian/control: + - added broken libmagick++6-dev to Build-Conflicts. + Thanks to Steve Langasek for reporting this (Closes: #272629) + + -- Bartosz Fenski Tue, 21 Sep 2004 11:20:18 +0200 + +imgseek (0.8.4-1) unstable; urgency=low + + * New upstream version + - fixes ordering problem reported by Rene Weber (Closes: #268718) + * Some fixes in debian/imgseek.menu file. + + -- Bartosz Fenski Wed, 15 Sep 2004 12:18:17 +0200 + +imgseek (0.8.3-4) unstable; urgency=low + + * debian/rules: + - moved dh_* from indep to arch section. (Closes: #253674) + Thanks to Paul Telford and to Lamont Jones for noticing it. + + -- Bartosz Fenski Wed, 10 May 2004 19:44:27 +0200 + +imgseek (0.8.3-3) unstable; urgency=low + + * Added debian/watch file. + * debian/control: + - added libqt3-mt-dev and libqt3-headers to Build-Depends. + * debian/rules: + - some changes for QT support + + -- Bartosz Fenski Wed, 9 May 2004 15:45:25 +0200 + +imgseek (0.8.3-2) unstable; urgency=low + + * Hopefully first official Debian release (Closes: #227931) + * debian/control: + - Build-Depends: adjusted to fit current packages in unstable + - bumped Standards-Version to the newest one + - changed Maintainer from Steffen Neumann to me + - extended description + * debian/rules: + - some fixes to made it Python-version-independent + * debian/copyright: + - totally rewritten (copyrights belong to authors, and not FSF) + - left information about Steffen's work on packaging + * debian/ + - removed unused CHANGES file + - many minor fixes + - added Bastian Kleineidam's manual page for imgSeekCmd + + -- Bartosz Fenski Mon, 3 May 2004 20:33:15 +0200 + +imgseek (0.8.3-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumann (Dipl. Inform.) Fri, 5 Mar 2004 23:03:16 +0100 + +imgseek (0.8.2-2) unstable; urgency=low + + * Pulled new CVS Version + * Fixed Compiler Warnings in c++ code + + -- Steffen Neumann (Dipl. Inform.) Mon, 8 Dec 2003 22:19:19 +0100 + +imgseek (0.8.2-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumann (Dipl. Inform.) Wed, 17 Sep 2003 17:46:41 +0200 + +imgseek (0.8.0-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumann (Dipl. Inform.) Sun, 17 Aug 2003 17:46:41 +0200 + +imgseek (0.7.2-2) unstable; urgency=low + + * Applied Christoffer Sawickis and Bastian Kleineidam's patches for proper Debian packaging + + -- Steffen Neumann (Dipl. Inform.) Mon, 21 Jul 2003 09:16:46 +0200 + +imgseek (0.7.2-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumann (Dipl. Inform.) Wed, 04 Jun 2003 08:53:24 +0200 + +imgseek (0.7.1-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumann (Dipl. Inform.) Sun, 18 May 2003 08:53:24 +0200 + +imgseek (0.7.0-1) unstable; urgency=low + + * new upstream release; + * first manpage + * Fixed packaging, esp. for sid (thanks to qerub|at|home.se) + + -- Steffen Neumann (Dipl. Inform.) Sat, 26 Apr 2003 19:28:53 +0100 + +imgseek (0.6.5-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumann (Dipl. Inform.) Thu, 27 Feb 2003 19:28:53 +0100 + +imgseek (0.6.4-2) unstable; urgency=low + + * Corrected /usr/share location of HTML Album styles; + + -- Steffen Neumann (Dipl. Inform.) Wed, 19 Feb 2003 19:28:53 +0100 + +imgseek (0.6.4-1) unstable; urgency=low + + * new upstream release; + + -- Steffen Neumannn Wed, 12 Feb 2003 19:28:53 +0100 + +imgseek (0.6.3-1) unstable; urgency=low + + * Initial Release; + + -- Steffen Neumannn Mon, 3 Feb 2003 19:28:53 +0100 --- imgseek-0.8.6.orig/debian/rules +++ imgseek-0.8.6/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# rules file for imgseek (May 2004) + +#export DH_VERBOSE=1 +include /usr/share/dpatch/dpatch.make + +PACKAGE := imgseek +BASE := debian/$(PACKAGE) +rootfolder := imgSeek +install_lib := usr/share/$(rootfolder) +usr_lib := usr/lib/$(rootfolder) +CFLAGS := -Wall -g +QTDIR := /usr/share/qt3 + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: patch build-python +build-python: + dh_testdir + QTDIR="$(QTDIR)" CFLAGS="$(CFLAGS)" python setup.py build + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp + python setup.py clean --all + rm -rf build + find . -name "*.pyc" -exec rm {} \; + find . -name "*.o" -exec rm {} \; + dh_clean build-python* install-python* + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + QTDIR="$(QTDIR)" CFLAGS="$(CFLAGS)" python setup.py install --no-compile \ + --root=$(BASE) --install-lib=$(install_lib) --install-scripts=$(install_lib) + # Strip DSV, python-dsv exists + rm -f $(BASE)/$(install_lib)/imgSeekLib/DSV.py + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + # Fix library directory, move imgSeekLib/imgdb.so + mv $(BASE)/$(install_lib)/imgSeekLib/imgdb.so $(BASE)/$(usr_lib)/imgSeekLib/imgdb.so + # Link back to usr/share + dh_link $(usr_lib)/imgSeekLib/imgdb.so $(install_lib)/imgSeekLib/imgdb.so + # Links for usr/bin + dh_link $(install_lib)/imgSeek usr/bin/imgSeek + dh_link $(install_lib)/imgSeekCmd usr/bin/imgSeekCmd + # Install files + dh_install debian/imgseek.xpm usr/share/pixmaps/ + dh_install imgSeek.desktop usr/share/applications/ + dh_installdocs + dh_installman debian/imgSeek.1 debian/imgSeekCmd.1 + dh_installmenu + dh_installchangelogs ChangeLog + dh_desktop + dh_strip + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install --- imgseek-0.8.6.orig/debian/docs +++ imgseek-0.8.6/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +THANKS +TODO --- imgseek-0.8.6.orig/debian/control +++ imgseek-0.8.6/debian/control @@ -0,0 +1,21 @@ +Source: imgseek +Section: graphics +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3.5-11), python-qt3 (>= 3.16-1.1), python-support (>= 0.5.3), libqt3-mt-dev, libqt3-headers, dpatch +XS-Python-Version: >= 2.2 +Standards-Version: 3.8.1 +Homepage: http://www.imgseek.net/ + +Package: imgseek +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-qt3 (>= 3.16-1.1), python-imaging (>= 1.1.5-9), python-dsv +Recommends: libjpeg-progs +XB-Python-Version: ${python:Versions} +Description: image viewer and manager with content based query + ImgSeek is a photo collection manager and viewer with content based search + and many other features. + . + The search query for an image is expressed either as a rough sketch + or as another image you supply. The searching algorithm makes use of + multiresolution wavelet decomposition of the query and database images. --- imgseek-0.8.6.orig/debian/patches/30-Tools_imgSeekCmd.dpatch +++ imgseek-0.8.6/debian/patches/30-Tools_imgSeekCmd.dpatch @@ -0,0 +1,36 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30-Tools_imgSeekCmd.dpatch by Savvas Radevic +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Tools/imgSeekCmd: ImgDB -> ImageDB + +@DPATCH@ +--- imgseek-0.8.6.orig/Tools/imgSeekCmd ++++ imgseek-0.8.6/Tools/imgSeekCmd +@@ -29,7 +29,7 @@ + from os.path import isfile + + try: +- from imgSeekLib import ImgDB,__version__ ++ from imgSeekLib import ImageDB,__version__ + from imgSeekLib.Settings import Env + except: + traceback.print_exc() +@@ -151,7 +151,7 @@ + + print "Using database file:%s"%db + env=Env() +- curdb=ImgDB.ImgDB(env) ++ curdb=ImageDB.ImgDB(env) + try: + curdb.opendb(db) + except: +@@ -165,7 +165,7 @@ + s=None + m=0 + r=None +- restr=ImgDB.AddFilter(env) ++ restr=ImageDB.AddFilter(env) + for o, a in opts: + try: + if o in ["-h","--help"]: usage("add") --- imgseek-0.8.6.orig/debian/patches/40-imgSeekLib_haar.cpp.dpatch +++ imgseek-0.8.6/debian/patches/40-imgSeekLib_haar.cpp.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 40-imgSeekLib_haar.cpp.dpatch by Savvas Radevic +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: imgSeekLib/haar.cpp: #include , #include + +@DPATCH@ +--- imgseek-0.8.6.orig/imgSeekLib/haar.cpp ++++ imgseek-0.8.6/imgSeekLib/haar.cpp +@@ -48,7 +48,8 @@ + /* C Includes */ + #include + #include +-#include ++#include ++#include + + /* imgSeek Includes */ + #include "haar.h" --- imgseek-0.8.6.orig/debian/patches/10-setup.py.dpatch +++ imgseek-0.8.6/debian/patches/10-setup.py.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10-setup.py.dpatch by Savvas Radevic +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: setup.py: Clear extra_compile_args + +@DPATCH@ +--- imgseek-0.8.6.orig/setup.py ++++ imgseek-0.8.6/setup.py +@@ -43,7 +43,7 @@ + print "PyQt is installed" + + ############## Init some vars +-extra_compile_args=["-O3"] ++extra_compile_args=[] + extra_link_args=[] + include_dirs = [] + library_dirs = [] --- imgseek-0.8.6.orig/debian/patches/60-imgSeekLib_ImageDB.py.dpatch +++ imgseek-0.8.6/debian/patches/60-imgSeekLib_ImageDB.py.dpatch @@ -0,0 +1,73 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 60-imgSeekLib_ImageDB.py.dpatch by Savvas Radevic +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: imgSeekLib/ImageDB.py: backwards and future compatibility md5, hashlib.md5 + +@DPATCH@ +diff -urNad imgseek-0.8.6~/imgSeekLib/ImageDB.py imgseek-0.8.6/imgSeekLib/ImageDB.py +--- imgseek-0.8.6~/imgSeekLib/ImageDB.py 2006-01-25 02:56:20.000000000 +0100 ++++ imgseek-0.8.6/imgSeekLib/ImageDB.py 2009-03-26 20:50:49.948719650 +0100 +@@ -31,7 +31,15 @@ + import sys + import os + import traceback +- import md5 # hashing filenames to generate thumbnails ++ try: # hashing filenames to generate thumbnails ++ import hashlib ++ def md5sum(x): ++ m = hashlib.md5() ++ m.update(x) ++ return m.hexdigest() ++ except ImportError: ++ import md5 # python compatibility (< 2.5) ++ md5sum = lambda x: md5.new(x).hexdigest() + import random # for generating unique id's + import time # to test performance increase during development, and generating batch names + import marshal # for loading and saving img databases +@@ -566,12 +574,12 @@ + + def hashStr(self,str): + """returns MD5 hex representation """ +- return md5.new(str).hexdigest()[:8] ++ return md5sum(str)[:8] + + def getThumbName(self,fname): + """return the thumbnail full path for the image + given by fname (fname is full path) """ +- return self.thdir2+ md5.new("file://"+fname).hexdigest()+".png" ++ return self.thdir2 + md5sum("file://"+fname)+".png" + + def extension(self, fname): + """ returns the .3 extension of a given filename, including the dot""" +@@ -588,10 +596,10 @@ + @rtype: string + """ + if not path: # return unique name without checking +- return md5.new(fname).hexdigest()[-8:]+ext ++ return md5sum(fname)[-8:]+ext + else: + if attempt > 64: raise "Possible error generating unique file name." +- uname = md5.new(fname + str(attempt)).hexdigest()[-8:] + ext ++ uname = md5sum(fname + str(attempt))[-8:] + ext + if os.path.exists(path+uname) or os.path.exists(path+os.sep+uname): + return self.uniquename(fname,ext,path, attempt+1) + return uname +@@ -621,7 +629,7 @@ + @return: a QPixmap() instance with the proportional thumbnail.If thummbn found on cache, open it, otherwise create one. + """ + aImage = None +- thname = self.thdir2+ md5.new("file://"+fname+mountDiff).hexdigest()+".png" ++ thname = self.thdir2 + md5sum("file://"+fname+mountDiff) + ".png" + (base,ext) = os.path.splitext(fname) + fext = ext[1:].lower() + try: +@@ -698,7 +706,7 @@ + isMounted = 0 + if (restr and not restr.mounted) or (not restr): # not mounted. Generate thumbnail + isMounted = 0 +- thname = self.thdir2 + md5.new("file://"+fname).hexdigest()+".png" ++ thname = self.thdir2 + md5sum("file://"+fname) + ".png" + ret = imgdb.addImage(newid,fname,thname,not os.path.exists(thname),mindim) + else: # mounted. Do not cache thumbnail + isMounted = 1 --- imgseek-0.8.6.orig/debian/patches/50-imgSeekLib_RenameForm.py.dpatch +++ imgseek-0.8.6/debian/patches/50-imgSeekLib_RenameForm.py.dpatch @@ -0,0 +1,35 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 50-imgSeekLib_RenameForm.py.dpatch by Savvas Radevic +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: imgSeekLib/RenameForm.py: Fix for python 2.6 compatibility +## DP: 246: Warning: 'with' will become a reserved keyword in Python 2.6 +## DP: self.with -> self.withlabel + +@DPATCH@ +diff -urNad imgseek-0.8.6~/imgSeekLib/RenameForm.py imgseek-0.8.6/imgSeekLib/RenameForm.py +--- imgseek-0.8.6~/imgSeekLib/RenameForm.py 2006-01-25 02:56:20.000000000 +0100 ++++ imgseek-0.8.6/imgSeekLib/RenameForm.py 2009-03-19 14:18:06.718618560 +0100 +@@ -243,10 +243,10 @@ + + buttonGroup1Layout.addMultiCellWidget(self.seriescheck,5,5,0,4) + +- self.with = QLabel(self.buttonGroup1,"with") +- self.with.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Preferred,0,0,self.with.sizePolicy().hasHeightForWidth())) ++ self.withlabel = QLabel(self.buttonGroup1,"with") ++ self.withlabel.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Preferred,0,0,self.withlabel.sizePolicy().hasHeightForWidth())) + +- buttonGroup1Layout.addWidget(self.with,4,3) ++ buttonGroup1Layout.addWidget(self.withlabel,4,3) + + self.seriesedit = QLineEdit(self.buttonGroup1,"seriesedit") + self.seriesedit.setEnabled(0) +@@ -352,7 +352,7 @@ + self.setTitle(self.source,self.tr("Choose a work batch. Rename operations will be applied to all images in this batch")) + self.buttonGroup1.setTitle(QString.null) + self.seriescheck.setText(self.tr("Name everything as a numeric series with this prefix:")) +- self.with.setText(self.tr("with")) ++ self.withlabel.setText(self.tr("with")) + self.appendcheck.setText(self.tr("Append to filenames")) + self.prependcheck.setText(self.tr("Prepend to filenames")) + self.lowercheck.setText(self.tr("Convert to lowercase")) --- imgseek-0.8.6.orig/debian/patches/20-imgSeek.desktop.dpatch +++ imgseek-0.8.6/debian/patches/20-imgSeek.desktop.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20-imgSeek.desktop.dpatch by Savvas Radevic +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: imgSeek.desktop: proper Categories, remove Encoding, fix Version, fix Icon + +@DPATCH@ +diff -urNad imgseek-0.8.6~/imgSeek.desktop imgseek-0.8.6/imgSeek.desktop +--- imgseek-0.8.6~/imgSeek.desktop 2006-01-24 05:43:09.000000000 +0100 ++++ imgseek-0.8.6/imgSeek.desktop 2009-03-26 12:01:14.540226484 +0100 +@@ -1,9 +1,9 @@ + [Desktop Entry] +-Version=0.8.3 ++Version=1.0 + Type=Application +-Encoding=UTF-8 + Name=imgSeek + Comment=Photo collection manager with content-based search. + TryExec=imgSeek + Exec=imgSeek %F +-Icon=imgseek.png ++Icon=imgseek ++Categories=Graphics; --- imgseek-0.8.6.orig/debian/patches/00list +++ imgseek-0.8.6/debian/patches/00list @@ -0,0 +1,6 @@ +10-setup.py.dpatch +20-imgSeek.desktop.dpatch +30-Tools_imgSeekCmd.dpatch +40-imgSeekLib_haar.cpp.dpatch +50-imgSeekLib_RenameForm.py.dpatch +60-imgSeekLib_ImageDB.py.dpatch