--- pixelize-1.0.0.orig/debian/README.Debian +++ pixelize-1.0.0/debian/README.Debian @@ -0,0 +1,19 @@ +pixelize for Debian +------------------- + +Usage: + + * Run make_db to create the image database (a file called pic_db.dat). + It takes a list of files as argument. + + You could do something like + $ find . -name "*.jpg" | xargs make_db + or + $ make_db *.jpg + in the directory where your pictures are stored. + + * Run pixelize. + * Open an image (File->Open) + * Select Options->Render + + -- Uwe Hermann , Thu, 20 Dec 2007 22:19:15 +0100 --- pixelize-1.0.0.orig/debian/changelog +++ pixelize-1.0.0/debian/changelog @@ -0,0 +1,81 @@ +pixelize (1.0.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/compat: 5 -> 7. (Closes: #965778) + + -- Adrian Bunk Tue, 04 Jan 2022 18:05:03 +0200 + +pixelize (1.0.0-1) unstable; urgency=low + + * New upstream release. + + No longer uses Imlib, just gdkpixbuf (Closes: #456132, #508234). + Thanks to Barry deFreese for the help! + + Doesn't crash for files without extension anymore. It'll only save + a file if you provide a known-good extension ('jpeg', 'png', and so on). + The 'jpg' extension will _not_ work unfortunately! (Closes: #381482). + * debian/control: + + Standards-Version: 3.8.0 (no changes required). + + Build-depend on libgtk2.0-dev instead of libgtk1.2-dev from now on. + * debian/patches: + + 10_small_fixes.patch: Update. + + 20_makefile_fixes.patch: Update. + * debian/watch: Add file. + * debian/copyright: Switch to machine-readable format. + * Mention that the manpages written by me are GPL'd. + * debian/rules: LDFLAGS += "-Wl,--as-needed" in order to minimize deps. + + -- Uwe Hermann Tue, 24 Feb 2009 21:29:10 +0100 + +pixelize (0.9.2-4) unstable; urgency=low + + * Switch to cdbs and debhelper 5. + * Standards-Version: 3.7.3 (no changes required). + * debian/control: Add Homepage field. + * debian/copyright: Updates, add Debian package license. + * debian/menu: Move to 'Applications/Graphics' section (new menu policy). + * debian/pixelize.1: Document that you have to create an image + database (pic_db.dat) using make_db(1) first, before you can use + pixelize. Better error message if no database is found (Closes: #381460). + * debian/pixelize.xpm, debian/pixelize.desktop: Added icon and desktop + file, taken from Ubuntu, thanks (Closes: #449249, #381529). + * This package should not be removed from Debian (Closes: #456655). + * debian/README.Debian: Small updates. + + -- Uwe Hermann Fri, 21 Dec 2007 00:04:05 +0100 + +pixelize (0.9.2-3) unstable; urgency=low + + * Adjust Build-Depends and rebuild (Closes: #333040). Thanks + Matej Vela for the reminder! + * Standards-Version: 3.6.2.0 (no changes). + * Fixed debian/copyright (lintian). + + -- Uwe Hermann Sun, 29 Jan 2006 03:08:56 +0100 + +pixelize (0.9.2-2) unstable; urgency=medium + + * Rebuilt using libtiff4, urgency=medium, see bugreport (Closes: #262834). + * Build-Depends: gdk-imlib1-dev (instead of gdk-imlib-dev). + * Standards-Version: 3.6.1.0 (no changes). + + -- Uwe Hermann Mon, 2 Aug 2004 12:08:06 +0200 + +pixelize (0.9.2-1.1) unstable; urgency=low + + * NMU: the "I earn my food at debcamp/debconf3" release + * imlib1-dev dependency modified (Closes: #199601) + * char variable changed to int: powerpc was broken (Closes #201139). + + -- Jesus Climent Mon, 14 Jul 2003 02:14:24 +0000 + +pixelize (0.9.2-1) unstable; urgency=low + + * Initial Release (Closes: #140516). + * debian/pixelize.1, debian/make_db.1: I wrote two manpages, as there were + none upstream. + * README: Updated, the file was quite outdated. + * TODO: Fixed a typo. + * Makefile: Added support for DEB_BUILD_OPTIONS. + + -- Uwe Hermann Sat, 30 Mar 2002 01:55:54 +0100 + --- pixelize-1.0.0.orig/debian/compat +++ pixelize-1.0.0/debian/compat @@ -0,0 +1 @@ +7 --- pixelize-1.0.0.orig/debian/control +++ pixelize-1.0.0/debian/control @@ -0,0 +1,21 @@ +Source: pixelize +Section: graphics +Priority: optional +Maintainer: Uwe Hermann +Build-Depends: cdbs, debhelper (>= 5), libgtk2.0-dev +Standards-Version: 3.8.0 +Homepage: http://lashwhip.com/pixelize.html + +Package: pixelize +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Create an image consisting of many small images + Pixelize is a program that will use many scaled down images to + try to duplicate, as closely as possible, another image. + . + Pixelize works by splitting up the image you want rendered (or + duplicated) into a grid of small rectangular areas. Each area + is analyzed, and replaced with an image chosen from a large + database of images. Pixelize tries to pick images that best + match each area. + --- pixelize-1.0.0.orig/debian/copyright +++ pixelize-1.0.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by: + + Uwe Hermann on Sat, 30 Mar 2002 00:22:49 +0100 + +It was downloaded from: + + http://lashwhip.com/pixelize/ + +Upstream Author: + + Paul Wilkins + +------------------------------------------------------------------------------- + +Files: * +Copyright: © 2000 Paul Wilkins +License: GPL-2+ + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +------------------------------------------------------------------------------- + +Files: debian/* +Copyright: © 2006 - 2009 Uwe Hermann +License: PD + The packaging done by Uwe Hermann is hereby + released as public domain. + --- pixelize-1.0.0.orig/debian/dirs +++ pixelize-1.0.0/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/applications +usr/share/pixmaps --- pixelize-1.0.0.orig/debian/docs +++ pixelize-1.0.0/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- pixelize-1.0.0.orig/debian/make_db.1 +++ pixelize-1.0.0/debian/make_db.1 @@ -0,0 +1,31 @@ +.TH MAKE_DB 1 "March 30, 2002" +.SH NAME +make_db \- Create the image database needed by pixelize +.SH SYNOPSIS +.B make_db +image_files +.SH DESCRIPTION +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.B make_db +is a program that scans pictures and creates a file called +.B pic_db.dat +in the current directory. This file is used by +.B pixelize +when "rendering" images. +.SH OPTIONS +None. +.SH BUGS +Please report any bugs you find to Paul Wilkins . +.SH LICENCE +.B make_db +is covered by the GNU General Public License (GPL), version 2 or later. +.SH SEE ALSO +.BR pixelize (1). +.SH AUTHOR +Paul Wilkins +.PP +This manual page was written by Uwe Hermann , +for the Debian GNU/Linux system. It is licensed under the terms of the +GNU GPL, version 2 or later. --- pixelize-1.0.0.orig/debian/menu +++ pixelize-1.0.0/debian/menu @@ -0,0 +1,2 @@ +?package(pixelize):needs="X11" section="Applications/Graphics" \ + title="pixelize" command="/usr/bin/pixelize" --- pixelize-1.0.0.orig/debian/patches/10_small_fixes.patch +++ pixelize-1.0.0/debian/patches/10_small_fixes.patch @@ -0,0 +1,54 @@ +diff -Naur pixelize-0.9.2/read_line.c pixelize-0.9.2_debian/read_line.c +--- pixelize-0.9.2/read_line.c 2000-01-02 20:59:21.000000000 +0100 ++++ pixelize-0.9.2_debian/read_line.c 2007-12-20 21:07:12.000000000 +0100 +@@ -24,7 +24,7 @@ + #include "read_line.h" + + int read_line(FILE *fp, char *line){ +- char c; ++ int c; + + while(EOF != (c = getc(fp)) && c!='\n'){ + *line++ = c; +diff -Naur pixelize-0.9.2/README pixelize-0.9.2_debian/README +--- pixelize-0.9.2/README 2000-01-06 15:11:43.000000000 +0100 ++++ pixelize-0.9.2_debian/README 2007-12-20 21:07:12.000000000 +0100 +@@ -1,5 +1,4 @@ +- +-Pixelize Version 0.8.0 ++Pixelize Version 1.0.0 + + By Paul Wilkins + +@@ -24,16 +23,16 @@ + 3) Copy the executables, pixelize and make_db, to it's final installation + directory, for example /usr/local/bin. + +-Note that in order to use Pixelize to render an immage, you will have ++Note that in order to use Pixelize to render an image, you will have + to run make_db to create the database of images that Pixelize requires. + + Pixelize can be found at the following locations: +-http://wilkins.ne.mediaone.net/pixelize.html ++http://lashwhip.com/pixelize.html + ftp://metalab.unc.edu/pub/linux/apps/graphics/misc + + + That's it. Good Luck. + + Paul +-pwilkins@wilkins.ne.mediaone.net ++pwilkins@lashwhip.com + +diff -Naur pixelize-0.9.2/TODO pixelize-0.9.2_debian/TODO +--- pixelize-0.9.2/TODO 2000-01-13 03:14:51.000000000 +0100 ++++ pixelize-0.9.2_debian/TODO 2007-12-20 21:07:12.000000000 +0100 +@@ -9,7 +9,7 @@ + - Speed up make_db. It currently takes way too long. + - Partially done v0.9.0 + +-- make_db meeds to know about your X display. This is ++- make_db needs to know about your X display. This is + stupid since make_db never opens any windows. This is + an issue with imlib. + --- pixelize-1.0.0.orig/debian/patches/20_makefile_fixes.patch +++ pixelize-1.0.0/debian/patches/20_makefile_fixes.patch @@ -0,0 +1,40 @@ +--- Makefile.orig 2009-02-24 20:50:39.000000000 +0100 ++++ Makefile 2009-02-24 20:52:30.000000000 +0100 +@@ -2,8 +2,8 @@ + + CC = gcc + +-CFLAGS = -g -I/usr/X11R6/include `pkg-config --cflags gtk+-2.0` -Wall +-DFLAGS = -L/usr/X11R6/lib `pkg-config --libs gtk+-2.0` -Wall ++MY_CFLAGS = -I/usr/X11R6/include `pkg-config --cflags gtk+-2.0` ++MY_DFLAGS = -L/usr/X11R6/lib `pkg-config --libs gtk+-2.0` + LIBS = -lm + + OBJS = main.o setup_menu.o callback_menu.o help.o options.o \ +@@ -15,21 +15,21 @@ + all: make_db pixelize + + merge: merge.o read_line.o stats.o +- $(CC) -o $@ merge.o read_line.o stats.o $(DFLAGS) $(LIBS) ++ $(CC) -o $@ merge.o read_line.o stats.o $(LDFLAGS) $(MY_DFLAGS) $(LIBS) + + make_db: make_db.o +- $(CC) -o $@ make_db.o $(DFLAGS) $(LIBS) ++ $(CC) -o $@ make_db.o $(LDFLAGS) $(MY_DFLAGS) $(LIBS) + + # $(CC) -o $@ make_db.o `pkg-config --libs imlib2` $(LIBS) + + pixelize: $(OBJS) +- $(CC) -o $@ $(OBJS) $(DFLAGS) $(LIBS) ++ $(CC) -o $@ $(OBJS) $(LDFLAGS) $(MY_DFLAGS) $(LIBS) + + .c.o: +- $(CC) -c -o $@ $(CFLAGS) $< ++ $(CC) -c -o $@ $(CFLAGS) $(MY_CFLAGS) $< + + depend: +- $(CC) -MM $(CFLAGS) *.c > depend ++ $(CC) -MM $(CFLAGS) $(MY_CFLAGS) *.c > depend + + clean: + rm -f *.o pixelize make_db core --- pixelize-1.0.0.orig/debian/patches/30_pic_db_error.patch +++ pixelize-1.0.0/debian/patches/30_pic_db_error.patch @@ -0,0 +1,10 @@ +--- read_db.c.orig 2007-12-20 23:20:40.000000000 +0100 ++++ read_db.c 2007-12-20 23:20:16.000000000 +0100 +@@ -73,6 +73,7 @@ + + if(NULL == (dbfp=fopen("pic_db.dat", "r"))){ + fprintf(stderr, "Error opening pic_db.dat for read\n"); ++ fprintf(stderr, "Use the make_db(1) tool before running pixelize!\n"); + exit(1); + } + ret = read_line(dbfp, line); --- pixelize-1.0.0.orig/debian/pixelize.1 +++ pixelize-1.0.0/debian/pixelize.1 @@ -0,0 +1,43 @@ +.TH PIXELIZE 1 "December 20, 2007" +.SH NAME +pixelize \- Create an image consisting of many small images +.SH SYNOPSIS +.B pixelize +.SH DESCRIPTION +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.B pixelize +is a program that will use many scaled down images to try to duplicate, +as closely as possible, another image. +.PP +.B pixelize +works by splitting up the image you want rendered (or duplicated) into a +grid of small rectangular areas. Each area is analyzed, and replaced with +an image chosen from a large database of images. +.B pixelize +tries to pick images that best matches each area. +.PP +.B Note: +Before running +.B pixelize +you have to create an image database (a file called +.BR pic_db.dat ) +using the +.BR make_db (1) +utility. +.SH OPTIONS +None. +.SH BUGS +Please report any bugs you find to Paul Wilkins . +.SH LICENCE +.B pixelize +is covered by the GNU General Public License (GPL), version 2 or later. +.SH SEE ALSO +.BR make_db (1). +.SH AUTHOR +Paul Wilkins +.PP +This manual page was written by Uwe Hermann , +for the Debian GNU/Linux system. It is licensed under the terms of the +GNU GPL, version 2 or later. --- pixelize-1.0.0.orig/debian/pixelize.desktop +++ pixelize-1.0.0/debian/pixelize.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=Pixelize +Comment=Create an image consisting of many small images +Exec=pixelize +Icon=pixelize +Type=Application +Categories=Graphics; --- pixelize-1.0.0.orig/debian/pixelize.xpm +++ pixelize-1.0.0/debian/pixelize.xpm @@ -0,0 +1,65 @@ +/* XPM */ +static char *icon[]={ +"60 60 2 1", +". c #000000", +"# c #ffffff", +"............................................................", +".#############.##############.##############.##############.", +".#############.##############.##############.##############.", +".###......####.####.#########.##############.##############.", +".####.###..###.##########..##.##############.##############.", +".####.####.###.##########.###.##############.##############.", +".####.###..###.###..###....##.####..#..#####.#####..#######.", +".####.....####.####.###.##.##.#####.#.######.####.##.######.", +".####.########.####.##.##.###.######.#######.####....######.", +".####.########.####.#.####.##.######.#######.####.#########.", +".####.########.####.#.#.#####.#####.#.######.####..##.#####.", +".###...#######.###...#.#.#.##.####..#..#####.#####...######.", +".#############.####...#..#.##.##############.##############.", +".#############.###.#.#..#..##.##############.##############.", +"............................................................", +".#############.##...#...#..##.##############.##############.", +".#############.##.#...#.....#.##############.##############.", +".#############.##...#.#.#..#..##############.##############.", +".####..#######.#.##.###.....#.##############.##############.", +".#####.#######..#.###.#...#.#.##############.##############.", +".#####.#######.#.####.#.##....##############.##############.", +".#####.#######..#...#.#.#.#.#.####....######.#####..#######.", +".#####.#######.#.##.##.#.#..#.####.##.######.####.##.######.", +".#####.#######.##.#.#.#.#.#.#..#####.#######.####....######.", +".#####.######..#.##.#.##.#.#...####.########.####.#########.", +".#####.######...###.###.#.#.#.#.##.##.######.####..##.#####.", +".####...######.#.#...#.#.##.#..###....######.#####...######.", +".############...#.#.#.#.#.#.#.##.###########.##############.", +".############..#####.###.#.#..##############.##############.", +"............................................................", +".#############.#.####.##.#.#..####.#########.##############.", +".###########.#..##.#.##.##.#..##############.##############.", +".###########.#.####.##.#####..##.###########.##############.", +".############..############...#####.########.##############.", +".###########.#.##############.##############.##############.", +".###########.#.####.#######.#.######.#######.##############.", +".#############.##############.##############.##############.", +".############...#.###.#####.#.##.####.######.##############.", +".###########.#.########.####..######.#######.##############.", +".###########.#..#..##.#..##.#..#######.#####.##############.", +".############..#.###########..###.#.########.##############.", +".###########.#.#.##.#.##.##.#..######.#.####.##############.", +".##########.............#.##..#...######.###.##############.", +".##########.#...#..#...#...#...#.#.#...#..##.##############.", +"............................................................", +".##########..#....#...#....#....#.#..#.##.##.##############.", +".###########.....#..#...#.....#.....#......#.##############.", +".##########..#.#.....#.....##....#...#.#.#...##############.", +".##########.#..#.#..#..#.##....#...#..#...#..##############.", +".###########.#.############.#.############.#.##############.", +"...#.......#....#..##.#....#..#.#..#..#.#.#........#........", +".#..#.#.#.#..#.#.#......#.#....#.######.####...##.#..#.#.#..", +"..#.#.#..#####.##############.#############...#..#..#.#..#..", +"...#.....#####.##############.###########..#.#.#...#..#.#...", +"......#.#.#..#.#....#.....#.#..#..............#..#.#.#..#.#.", +"..#.#.......#...#.#...#.......#..#.##..#.#.#....##.#...#..#.", +".#.#.#.#.#.#........#....#..#...#.......#....#.#...#.#....#.", +".#....#......#..#.#....#..........#..#.....#......#...#.#...", +"....#.....#........#..#....#...#.......#......#..#...#....#.", +"............................................................"}; --- pixelize-1.0.0.orig/debian/rules +++ pixelize-1.0.0/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DEB_INSTALL_MANPAGES_pixelize := debian/pixelize.1 debian/make_db.1 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +LDFLAGS += "-Wl,--as-needed" + +install/pixelize:: + install pixelize debian/pixelize/usr/bin + install make_db debian/pixelize/usr/bin + install -m 0644 debian/pixelize.desktop \ + debian/pixelize/usr/share/applications + install -m 0644 debian/pixelize.xpm \ + debian/pixelize/usr/share/pixmaps + --- pixelize-1.0.0.orig/debian/watch +++ pixelize-1.0.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://lashwhip.com/pixelize/pixelize-(.*)\.tar\.gz