debian/0000755000000000000000000000000011770435776007207 5ustar debian/dirs0000644000000000000000000000003511626246475010065 0ustar usr/share/doc/gimp-texturize debian/changelog0000644000000000000000000000474111770435775011066 0ustar gimp-texturize (2.1-2) unstable; urgency=low * [debian/patches/remove_non_public_gimpimage_pdb_header]: Remove unneeded #includes for private gimp headers (Closes: #674398). Thanks to the rebuild of all packages made by Lucas Nussbaum. * Bump Standards-Version to 3.9.3. * Bump debhelper version to 9 to use hardening options. -- Maximiliano Curia Wed, 20 Jun 2012 17:01:19 -0300 gimp-texturize (2.1-1) unstable; urgency=low [adn+deb@diwi.org] * New upstream release. (Closes: #650127) * Switch to dpkg-source 3.0 (quilt) format. * Update debian/watch file. * Bump debhelper version to 8 and update packaging style to use dh. [maxy@debian.org] * Add myself as uploader, to maintain the Adnène version while keeping lintian happy. * Bump Standards-Version to 3.9.2. * [debian/patches/move_image_to_heap]: Avoid storing image information in the stack (Closes: #555841), thanks to Darren Salt for the patch * [debian/patches/fix_cast_warnings]: Fix for 'const char *'-to-'char *' conversion warnings (Closes: #555838), thaks to Darren Salt for the patch -- Maximiliano Curia Mon, 09 Jan 2012 16:22:26 -0300 gimp-texturize (2.0-2) unstable; urgency=medium * Correct description (it is pseudo-periodicty). * Bump Standards-Version to 3.7.2. * Switch to cdbs: + use default rules, especially clean:: (Closes: #442573) * Bumb debhelper compatibility to 5. -- Mohammed Adnène Trojette Thu, 15 Dec 2005 20:54:22 +0100 gimp-texturize (2.0-1) unstable; urgency=low * New upstream version. Closes: #325894 -- Mohammed Adnène Trojette Wed, 31 Aug 2005 20:16:01 +0200 gimp-texturize (1.0-4) unstable; urgency=low * Improve description -- Mohammed Adnène Trojette Mon, 22 Aug 2005 00:55:37 +0200 gimp-texturize (1.0-3) unstable; urgency=low * Bumped Standards-Version to 3.6.2 * Recompile against new gcc and g++ versions -- Mohammed Adnène Trojette Wed, 13 Jul 2005 01:49:38 +0200 gimp-texturize (1.0-2) unstable; urgency=low * Renamed gettext file name (thanks to Ari Pollak). Closes: #303676 -- Mohammed Adnène Trojette Sun, 10 Apr 2005 18:51:00 +0200 gimp-texturize (1.0-1) unstable; urgency=low * Initial Release. Closes: #293901 -- Mohammed Adnène Trojette Sun, 6 Feb 2005 13:00:21 +0100 debian/source/0000755000000000000000000000000011702447312010467 5ustar debian/source/format0000644000000000000000000000001411626246475011711 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000027011626246475010233 0ustar # format version number, currently 3; this line is compulsory! version=3 # Line continuations are performed with \ http://sf.net/gimp-texturize/texturize-(.*)_src\.tgz debian uupdate debian/rules0000755000000000000000000000122411626246475010262 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS %: dh $@ debian/compat0000644000000000000000000000000211770434250010367 0ustar 9 debian/copyright0000644000000000000000000000232511702451131011116 0ustar This package was debianized by Mohammed Adnène Trojette on Sun, 6 Feb 2005 13:00:21 +0100. It was downloaded from http://www.manucornet.net/Informatique/Texturize.php Upstream Authors: Emmanuel Cornet Jean-Baptiste Rouquier Copyright (C) 2004-2005 Manu Cornet License: GNU GENERAL PUBLIC LICENSE Version 2.1, February 1999 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, 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 GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/patches/0000755000000000000000000000000011770425533010624 5ustar debian/patches/fix_cast_warnings0000644000000000000000000000641611702642304014256 0ustar Index: gimp-texturize-2.1/src/graph.h =================================================================== --- gimp-texturize-2.1.orig/src/graph.h 2005-04-08 09:03:45.000000000 -0300 +++ gimp-texturize-2.1/src/graph.h 2012-01-09 16:47:09.142045318 -0300 @@ -111,7 +111,7 @@ function which will be called if an error occurs; an error message is passed to this function. If this argument is omitted, exit(1) will be called. */ - Graph(void (*err_function)(char *) = NULL); + Graph(void (*err_function)(const char *) = NULL); /* Destructor */ ~Graph(); @@ -186,7 +186,7 @@ Block *arc_block; DBlock *nodeptr_block; - void (*error_function)(char *); /* this function is called if a error occurs, + void (*error_function)(const char *); /* this function is called if a error occurs, with a corresponding error message (or exit(1) is called if it's NULL) */ Index: gimp-texturize-2.1/src/block.h =================================================================== --- gimp-texturize-2.1.orig/src/block.h 2005-04-08 09:03:45.000000000 -0300 +++ gimp-texturize-2.1/src/block.h 2012-01-09 16:48:47.197746395 -0300 @@ -105,7 +105,7 @@ (optionally) the pointer to the function which will be called if allocation failed; the message passed to this function is "Not enough memory!" */ - Block(int size, void (*err_function)(char *) = NULL) { first = last = NULL; block_size = size; error_function = err_function; } + Block(int size, void (*err_function)(const char *) = NULL) { first = last = NULL; block_size = size; error_function = err_function; } /* Destructor. Deallocates all items added so far */ ~Block() { while (first) { block *next = first -> next; delete first; first = next; } } @@ -192,7 +192,7 @@ block *scan_current_block; Type *scan_current_data; - void (*error_function)(char *); + void (*error_function)(const char *); }; /***********************************************************************/ @@ -206,7 +206,7 @@ (optionally) the pointer to the function which will be called if allocation failed; the message passed to this function is "Not enough memory!" */ - DBlock(int size, void (*err_function)(char *) = NULL) { first = NULL; first_free = NULL; block_size = size; error_function = err_function; } + DBlock(int size, void (*err_function)(const char *) = NULL) { first = NULL; first_free = NULL; block_size = size; error_function = err_function; } /* Destructor. Deallocates all items added so far */ ~DBlock() { while (first) { block *next = first -> next; delete first; first = next; } } @@ -260,7 +260,7 @@ block *first; block_item *first_free; - void (*error_function)(char *); + void (*error_function)(const char *); }; Index: gimp-texturize-2.1/src/graph.cpp =================================================================== --- gimp-texturize-2.1.orig/src/graph.cpp 2005-04-08 09:03:45.000000000 -0300 +++ gimp-texturize-2.1/src/graph.cpp 2012-01-09 16:49:16.432464864 -0300 @@ -4,7 +4,7 @@ #include #include "graph.h" -Graph::Graph(void (*err_function)(char *)) +Graph::Graph(void (*err_function)(const char *)) { error_function = err_function; node_block = new Block(NODE_BLOCK_SIZE, error_function); debian/patches/series0000644000000000000000000000011411770424652012036 0ustar move_image_to_heap fix_cast_warnings remove_non_public_gimpimage_pdb_header debian/patches/remove_non_public_gimpimage_pdb_header0000644000000000000000000000467311770425533020442 0ustar Author: Maximiliano Curia Description: Remove the #include of unneeded private gimp headers Bug: #674398 Last-Update: 2012-06-20 Index: gimp-texturize-2.1/src/compter.c =================================================================== --- gimp-texturize-2.1.orig/src/compter.c 2007-11-08 13:11:53.000000000 -0300 +++ gimp-texturize-2.1/src/compter.c 2012-06-20 16:52:28.332988943 -0300 @@ -5,7 +5,7 @@ #include #include -#include +/* #include */ #include "main.h" #include "render.h" Index: gimp-texturize-2.1/src/graphcut.cpp =================================================================== --- gimp-texturize-2.1.orig/src/graphcut.cpp 2012-06-20 16:47:22.000000000 -0300 +++ gimp-texturize-2.1/src/graphcut.cpp 2012-06-20 16:52:20.701296452 -0300 @@ -6,7 +6,7 @@ #include #include #include -#include +/* #include */ #include "plugin-intl.h" #include "main.h" Index: gimp-texturize-2.1/src/interface.c =================================================================== --- gimp-texturize-2.1.orig/src/interface.c 2007-11-08 13:11:53.000000000 -0300 +++ gimp-texturize-2.1/src/interface.c 2012-06-20 16:52:36.224670941 -0300 @@ -2,7 +2,7 @@ #include #include -#include +/* #include */ #include #include "main.h" Index: gimp-texturize-2.1/src/offset.c =================================================================== --- gimp-texturize-2.1.orig/src/offset.c 2007-11-08 13:11:53.000000000 -0300 +++ gimp-texturize-2.1/src/offset.c 2012-06-20 16:52:53.683967343 -0300 @@ -7,7 +7,7 @@ #include #include -#include +/* #include */ #include "main.h" #include "render.h" Index: gimp-texturize-2.1/src/render.c =================================================================== --- gimp-texturize-2.1.orig/src/render.c 2007-11-08 13:36:01.000000000 -0300 +++ gimp-texturize-2.1/src/render.c 2012-06-20 16:52:47.660210108 -0300 @@ -6,7 +6,7 @@ #include #include #include -#include +/* #include */ #include "plugin-intl.h" #include "main.h" debian/patches/move_image_to_heap0000644000000000000000000000164111702637063014356 0ustar Index: gimp-texturize-2.1/src/graphcut.cpp =================================================================== --- gimp-texturize-2.1.orig/src/graphcut.cpp 2012-01-09 16:19:38.849096821 -0300 +++ gimp-texturize-2.1/src/graphcut.cpp 2012-01-09 16:21:07.393375329 -0300 @@ -97,7 +97,8 @@ gint x_inf, y_inf, x_sup, y_sup; int chute_patch_posn[2]; Graph * graphe = new Graph(); // Le graphe à couper - Graph::node_id node_of_pixel[width_p * height_p]; // Le noeud du graph auquel correspond un pointeur. + // Le noeud du graph auquel correspond un pointeur. + Graph::node_id *node_of_pixel = (void **) calloc (width_p * height_p, sizeof (Graph::node_id)); for (k=0; k Uploaders: Maximiliano Curia Build-Depends: debhelper (>= 9), libgimp2.0-dev, libxml-parser-perl Standards-Version: 3.9.3 Homepage: http://gimp-texturize.sourceforge.net/ Package: gimp-texturize Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, gimp (>= 2.0) Description: generates large textures from a small sample Gimp-texturize is a plug-in for the GIMP, a famous picture editor and manipulator. . A few images are designed to be copy-pasted one next to another and still look natural, but the result is usually periodic and very monotonous. The Texturize plugin allows you to have a realistic pseudo-periodicity.