debian/0000755000000000000000000000000012232534004007161 5ustar debian/rules0000755000000000000000000000370311316514566010261 0ustar #!/usr/bin/make -f # Copyright 2003 Goedson Teixeira Paixao # # 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., 59 Temple Place, Suite 330, Boston, MA # 02111-1307 USA. include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/class/gnome.mk makebuilddir:: [ -f $(CURDIR)/configure.backup ] || cp $(CURDIR)/configure $(CURDIR)/configure.backup sed -i -r 's/(hardcode_into_libs)=.*$$/\1=no/;s/(hardcode_libdir_flag_spec)=.*--rpath.*$$//' $(CURDIR)/configure clean:: -rm po/*.gmo [ ! -f $(CURDIR)/configure.backup ] || mv $(CURDIR)/configure.backup $(CURDIR)/configure install/gpaint:: # Rename executable mv $(CURDIR)/debian/gpaint/usr/bin/gpaint-2 $(CURDIR)/debian/gpaint/usr/bin/gpaint # Install GNOME menu item mkdir -p debian/gpaint/usr/share/applications install -o root -g root -m 644 gpaint.desktop debian/gpaint/usr/share/applications/gpaint.desktop mkdir -p debian/gpaint/usr/share/pixmaps install -o root -g root -m 644 debian/gpaint.xpm debian/gpaint/usr/share/pixmaps/gpaint.xpm mkdir -p debian/gpaint/usr/share/icons/hicolor/scalable/apps/ install -o root -g root -m 644 debian/gpaint.svg debian/gpaint/usr/share/icons/hicolor/scalable/apps/gpaint.svg # Install manpage mkdir -p debian/gpaint/usr/share/man/man1/ install -o root -g root -m 644 debian/gpaint.1 debian/gpaint/usr/share/man/man1/ debian/gpaint.10000644000000000000000000000344711316514566010552 0ustar .TH GPAINT 1 "June 7, 2001" .SH NAME gpaint \- a small easy to use paint program for GNOME .SH SYNOPSIS gpaint [filename]... .SH DESCRIPTION This manual page briefly documents gpaint (GNU Paint), a small-scale painting program for GNOME, the GNU Desktop Environment. gpaint does not attempt to compete with GIMP, it is just a simple drawing package based on xpaint, along the lines of 'Paintbrush' from a popular non-free operating system. gpaint is still work in progress and many features are still being developed. However, gpaint is usable and useful for simple image editing tasks. .SH FEATURES Currently gpaint has the following features: .TP * Drawing tools such as ovals, freehand, polygon and text, with fill or shadow for polygons and closed freehand shapes. .TP * Cut and paste by selecting irregular regions or polygons. .TP * Preliminary print support using gnome-print. .TP * Modern, easy to use user interface with tool and color palettes. .TP * Multiple-image editing in a single instance of the program. .TP * All the image processing features present in xpaint. .SH TODO Future plans include the implementation of zooming in/out, image scaling/rotation, and turning gpaint into a Bonobo component for simple image editing tasks inside other programs. .SH BUGS For bugs or general comments you can send mail to the developers list , or you can enter a bug into the Debian Bug Tracking system. Details of how to use this system can be found on http://bugs.debian.org/. .SH SEE-ALSO \fB X (1), gnome (1)\fP .SH AUTHOR This manual page was written by Stephen Stafford , for the Debian GNU/Linux system, but may be used by others. It is based on the README file included in the source distribution of gpaint which was written by Andy Tai . debian/control0000644000000000000000000000242011316514566010577 0ustar Source: gpaint Section: gnome Priority: optional Vcs-Git: git://git.debian.org/git/users/goedson/pkg-gpaint.git Vcs-Browser: http://git.debian.org/?p=users/goedson/pkg-gpaint.git;a=summary Maintainer: Goedson Teixeira Paixao Build-Depends: debhelper (>= 7), zlib1g-dev, libxml2-dev, autotools-dev, cdbs, libglade2-dev, libgtk2.0-dev (>= 2.10) Standards-Version: 3.8.3 Package: gpaint Architecture: any Depends: ${shlibs:Depends},${misc:Depends} Description: GNU Paint - a small, easy to use paint program for GNOME This is gpaint (GNU Paint), a small-scale painting program for GNOME, the GNU Desktop Environment. gpaint does not attempt to compete with GIMP, it is just a simple drawing package based on xpaint, along the lines of 'Paintbrush' from a popular non-free operating system. . Currently gpaint has the following features: * Drawing tools such as ovals, freehand, polygon and text, with fill or shadow for polygons and closed freehand shapes. * Cut and paste by selecting irregular regions or polygons. * Preliminary print support using gnome-print. * Modern, ease-to-use user interface with tool and color palettes. * Multiple-image editing in a single instance of the program. * All the image processing features present in xpaint. debian/gpaint.svg0000644000000000000000000006241311316514566011207 0ustar image/svg+xml Jakub Steiner http://jimmac.musichall.cz Text Editor debian/source/0000755000000000000000000000000011316514566010476 5ustar debian/source/format0000644000000000000000000000001411321673704011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000003107112232534004011035 0ustar gpaint (0.3.3-6.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS with gcc-4.8 in experimental and eglibc-2.17": add patch 27_fix_missing_hdrs_libs.diff from Ubuntu / Daniel T Chen: * Fixed FTBFS: - added missing preprocessor directives and math lib to link; - added forward declarations, fixing implicit declaration warnings that would have caused FTBFS on amd64 buildds. (Closes: #705875) * This patch also fixes "FTBFS: image_processing.o: undefined reference to symbol 'log@@GLIBC_2.2.5'" (Closes: #724915) -- gregor herrmann Fri, 25 Oct 2013 20:26:51 +0200 gpaint (0.3.3-6) unstable; urgency=low * debian/patches/26_fix_toolbar.diff: don't set the style for the toolbar, allowing gpaint to follow the user's preferences (Closes: #497488) (LP: #127296) * debian/patches/21_fix_crash_on_fill_button_click.dpatch: fixed the check for null drawing_area. * debian/patches/*.dpatch: renamed to *.diff since we're not using dpatch anymore * debian/control: added ${misc:Depends} to the binary package Depends * debian/patches/*.diff: Added meta information tags compliant with DEP-3 recommendations. -- Goedson Teixeira Paixao Tue, 29 Dec 2009 23:04:23 -0200 gpaint (0.3.3-5) unstable; urgency=low * debian/control: - Removed build-dependencies on libgnomeprint2.2-dev and libgnomeprintui2.2-dev - Added build-dependency on libgtk2.0-dev (>= 2.10) for using GtkPrint (Closes: #542569) - Removed spurious build-dependency on libgnomeui-dev - Bumped Standards-Version to 3.8.3 (no changes needed) * Updated debhelper compatibility level 7 - debian/compat: changed to 7 - debian/control: changed version of debhelper build-dependency to 7 * Changed to 3.0 (quilt) source format - debian/source/format: added file with source format declaration - debian/rules: removed patch applying rules - debian/control: removed build-dependency on dpatch - debian/patches/00list: removed - debian/patches/04_update_pt_br_translation.dpatch: removed - debian/patches/*: updated so they apply cleanly with quilt * debian/patches/25_fix_color_selection.dpatch: Fix color selection through click in the foreground and background color indicators. (Closes: #497488) (LP: #344237) -- Goedson Teixeira Paixao Sat, 19 Dec 2009 17:43:18 -0200 gpaint (0.3.3-4) unstable; urgency=low [ Matt Wheeler ] (merged from Ubuntu) * debian/patches/23_add_accelerator_keys.dpatch: added various keyboard shortcuts (LP: #444750) (Closes: #550305) [ Goedson Teixeira Paixao ] * debian/patches/24_fix_crash_on_failed_write.dpatch: check if is possible to save in the format chosen by the user before trying to save. (LP: #386234) -- Goedson Teixeira Paixao Fri, 30 Oct 2009 23:28:02 -0200 gpaint (0.3.3-3) unstable; urgency=low * Updated menu entry with a new SVG icon (Closes: #497483) (LP: #127298). Thanks to Fernando Muñoz for the art. * debian/patches/21_fix_crash_on_fill_button_click.dpatch: Added. Fixes a crash when the fill button is clicked before the text tool is selected. (Closes: #544162)(LP: #348764) * debian/patches/22_fix_not_printable_string.dpatch: Added. Ignores non-printable characters on text input. (Closes: #535217). Thanks Ying-Chun Liu for the patch -- Goedson Teixeira Paixao Mon, 07 Sep 2009 00:27:47 -0300 gpaint (0.3.3-2.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS by explicitly Build-Depending on libglade2-dev, which was previously pulled in by another build dependency (Closes: #536991). -- Cyril Brulebois Tue, 11 Aug 2009 18:40:45 +0200 gpaint (0.3.3-2) unstable; urgency=low * debian/patches/20_fix_line_width_combo.dpatch: Add missing line widths (5, 7 and 9). * debian/patches/10_fix_crash_on_font_select.dpatch: Make the font selection button active only when the text tool is selected, avoiding a crash that occurs if the user selects a font without selecting the text tool. (Closes: #497201) (LP: #262889) * debian/control: Added packaging Vcs information. * debian/patches/11_fix_image_rotation.dpatch: Use the gdk_pixbuf_rotate_simple function to do image rotation in multiples of 90 degrees (Closes: #497487) (LP: #262942) -- Goedson Teixeira Paixao Tue, 30 Sep 2008 16:09:14 -0300 gpaint (0.3.3-1.1) unstable; urgency=low * Non-maintainer upload. * debian/patches/20_fix_line_width_combo.dpatch: Add items to the line width combo box in gpaint.glade. Fixes the combo box grabbing the curser when clicked. Closes: #497484. * Patch configure in debian/rules to avoid rpath. * Fix debian/copyright. -- Thomas Viehmann Sat, 20 Sep 2008 00:27:22 +0200 gpaint (0.3.3-1) unstable; urgency=low * New upstream release * debian/patches/01_drawing.dpatch:fix wrong response value for a GTK dialog. * debian/copyright: fixed spelling error. -- Goedson Teixeira Paixao Wed, 19 Sep 2007 17:59:24 -0300 gpaint (0.3.2-1) unstable; urgency=low * New upstream release * debian/copyright: updated download location and GPL version reference. * debian/patches: removed patches applied in upstream release. -- Goedson Teixeira Paixao Tue, 04 Sep 2007 11:03:41 -0300 gpaint (0.3.1-3) unstable; urgency=low * debian/patches/10_real_clipboard.dpatch: implemented copying to/from the system clipboard. Thanks Steven McCoy for the patch. (Closes: #419767) (LP: #125397). * debian/patches/11_keyboard_accelerators.dpatch: added keyboard accelerators to for the most common operations. * debian/menu: changed section name from "Apps" to "Applications". * debian/patches/12_fix_line_width.dpatch: fixes crash when 0 is entered in the line width edit box (as reported upstream in http://savannah.gnu.org/bugs/index.php?20562) -- Goedson Teixeira Paixao Sat, 18 Aug 2007 19:02:49 -0300 gpaint (0.3.1-2) unstable; urgency=low * Fix crash when copying the whole image (LP: #102539) * Updated pt_BR translation -- Goedson Teixeira Paixao Mon, 02 Jul 2007 23:03:52 -0300 gpaint (0.3.1-1) unstable; urgency=low * New upstream release * debian/patches: Removed patches that were applied upstream - 10_fix_gcc_warnings - 11_update_pt_BR_translation - 12_add_de_translation - 13_add_rectangular_Select_tool - 14_fix_window_title - 15_use_gtk_file_chooser * debian/patches/01_fix_color_palette_button_sizes.dpatch: makes the color palette buttons fixed width. * debian/rules: remove po/*.gmo files in the clean target (Closes: #424364) * Added debian/watch file. -- Goedson Teixeira Paixao Mon, 11 Jun 2007 22:37:02 -0300 gpaint (0.2.4+0.3.0pre5-5) unstable; urgency=low * debian/patches/13_add_rectangular_select_tool.dpatch: implement rectangular selection tool (Closes: #419765) * debian/patches/14_fix_window_title.dpatch: fix a bug that would display the .po file header as the window title. Thanks Yavor Doganov for the patch. * debian/patches/15_use_gtk_file_chooser.dpatch: use GtkFileChooser instead of GtkFileSelection to implement the open and save dialogs. (Closes: #419768) -- Goedson Teixeira Paixao Sun, 22 Apr 2007 15:35:25 -0300 gpaint (0.2.4+0.3.0pre5-4) unstable; urgency=low * debian/patches/12_add_de_translation.dpatch: removed autom4te.cache directory. -- Goedson Teixeira Paixao Fri, 2 Feb 2007 23:58:04 -0200 gpaint (0.2.4+0.3.0pre5-3) unstable; urgency=low * Added German translation. * Bumped Standards-Version to 3.7.2, no changes needed. -- Goedson Teixeira Paixao Wed, 3 Jan 2007 15:48:59 -0200 gpaint (0.2.4+0.3.0pre5-2) unstable; urgency=low * Use the new menu scheme. Thanks to Adam Zimmerman for the bugreport (Closes: #296698). * Updated pt_BR translation. * Fixed some GCC warnings during compilation. -- Goedson Teixeira Paixao Sun, 20 Mar 2005 14:53:00 -0300 gpaint (0.2.4+0.3.0pre5-1) unstable; urgency=low * New upstream release -- Goedson Teixeira Paixao Tue, 1 Feb 2005 19:23:01 -0200 gpaint (0.2.4+0.3.0pre4-1) unstable; urgency=low * New upstream release -- Goedson Teixeira Paixao Fri, 31 Dec 2004 16:46:59 -0200 gpaint (0.2.4-1) unstable; urgency=low * New upstream release - bug fix release commiting our patches * debian/patches/00list: - disabled the patches commited upstream * debian/control: - changed Section: to gnome -- Goedson Teixeira Paixao Mon, 29 Nov 2004 11:29:04 -0200 gpaint (0.2.3-8) unstable; urgency=low * Fixed file saving issues. - Thanks Emily Dai for the patch. * Fixed unquoted fields in Debian menu file. * Fixed manpage section. -- Goedson Teixeira Paixao Fri, 17 Sep 2004 08:42:25 -0300 gpaint (0.2.3-7) unstable; urgency=low * Added warning when saving file fails (closes: #227866). * debian/control: updated Standards-Version to 3.6.1. No changes needed. * debian/rules: use cdbs -- Goedson Teixeira Paixao Tue, 24 Feb 2004 09:39:46 -0300 gpaint (0.2.3-6) unstable; urgency=low * Changed Maintainer: field to @debian.org address. * Use dpatch to apply the build-time patches. * When opening an image, open it in a new window if the current image has unsaved modifications. -- Goedson Teixeira Paixao Sun, 22 Jun 2003 22:22:08 -0300 gpaint (0.2.3-5) unstable; urgency=low * Added versioning to debhelper build-dependency (closes: #181158) -- Goedson Teixeira Paixao Wed, 19 Feb 2003 23:21:36 -0300 gpaint (0.2.3-4) unstable; urgency=low * Fixed dimension and color map for the menu icon. -- Goedson Teixeira Paixao Mon, 27 Jan 2003 22:09:43 -0200 gpaint (0.2.3-3) unstable; urgency=low * Fix window close handling. (closes: #175456) * Update to GNOME 2.2 API. -- Goedson Teixeira Paixao Mon, 20 Jan 2003 21:13:28 -0200 gpaint (0.2.3-2) unstable; urgency=low * Added warning when closing changed files. (closes: #175456) -- Goedson Teixeira Paixao Sun, 12 Jan 2003 10:00:22 -0200 gpaint (0.2.3-1) unstable; urgency=low * New upstream release - load files specified by command line parameters (closes: #144189) -- Goedson Teixeira Paixao Wed, 18 Dec 2002 11:27:46 -0200 gpaint (0.2.2-4) unstable; urgency=low * Copied gnome-graphics.png as gpaint.xpm to use as menu icon * Added Debian menu icon (closes: #148769) * Removed dependency to gnome-panel-data and gnome-desktop-data -- Goedson Teixeira Paixao Sat, 8 Jun 2002 07:04:46 -0300 gpaint (0.2.2-3) unstable; urgency=low * General cleanup * Removed dependency on autoconf and automake when building (closes: #146075, #147534) -- Goedson Teixeira Paixao Sat, 1 Jun 2002 15:01:02 -0300 gpaint (0.2.2-2) unstable; urgency=low * Just suggest gnome-panel-data|gnome-desktop-data (closes: #140280) -- Goedson Teixeira Paixao Tue, 2 Apr 2002 19:17:27 -0300 gpaint (0.2.2-1) unstable; urgency=low * New upstream release. * Change dependecies so gnom2 users can install it. -- Goedson Teixeira Paixao Sun, 17 Mar 2002 12:27:19 -0300 gpaint (0.2.1-1) unstable; urgency=low * New upstream release. * New maintainer. (closes: #136670, #138499) * Added pt_BR locale. * Modified Makefiles to avoid installing pixmaps/*.pl files into /usr/share/pixmaps. * Modified Makefiles to accept DESTDIR as an indication of where is the base of the instalation tree. -- Goedson Teixeira Paixao Sat, 16 Mar 2002 15:20:28 -0300 gpaint (0.2-3) unstable; urgency=low * Removed over-colourful menu icon. (closes: #100359) -- Robert McQueen Tue, 12 Jun 2001 19:52:37 +0100 gpaint (0.2-2) unstable; urgency=low * Added libxml-dev build dep. * Added manpage. * Thanks to Stephen Stafford for these two fixes. -- Robert McQueen Fri, 8 Jun 2001 19:09:40 +0100 gpaint (0.2-1) unstable; urgency=low * Initial release. (closes: #98377) * Made gpaint.1 undocumented until a manpage is written. -- Robert McQueen Thu, 7 Jun 2001 01:20:01 +0100 debian/compat0000644000000000000000000000000211316514566010374 0ustar 7 debian/patches/0000755000000000000000000000000012232533633010617 5ustar debian/patches/11_fix_image_rotation.diff0000644000000000000000000000723611316514566015637 0ustar Author: Goedson Teixeira Paixao Description: Fixes rotation operations Implement the rotation in multiples of 90 degrees using the gdk_pixbuf_rotate_simple function instead of the custom (and broken) rotation algorithm Bug-Debian: http://bugs.debian.org/497487 Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/262942 Forwarded: https://savannah.gnu.org/patch/?6643 Index: b/src/drawing.c =================================================================== --- a/src/drawing.c 2009-12-19 17:12:10.000000000 -0200 +++ b/src/drawing.c 2009-12-19 17:12:11.000000000 -0200 @@ -462,12 +462,23 @@ } void -drawing_rotate(gpaint_drawing *drawing, double degrees) +drawing_rotate(gpaint_drawing *drawing, int degrees) { gpaint_image *image = drawing_create_image(drawing); if (image) { - image_rotate(image, degrees); + switch (degrees) + { + case 0: + case 90: + case 180: + case 270: + image_rotate_simple(image, degrees); + break; + default: + image_rotate(image, degrees); + break; + } /* copy rotated image on the pixmap */ gdk_pixmap_unref(drawing->backing_pixmap); Index: b/src/drawing.h =================================================================== --- a/src/drawing.h 2009-12-19 17:11:48.000000000 -0200 +++ b/src/drawing.h 2009-12-19 17:12:11.000000000 -0200 @@ -58,6 +58,6 @@ void drawing_clear(gpaint_drawing *drawing); void drawing_clear_selection(gpaint_drawing *drawing, gpaint_point_array *points); gboolean drawing_prompt_to_save(gpaint_drawing *drawing); -void drawing_rotate(gpaint_drawing *drawing, double degrees); +void drawing_rotate(gpaint_drawing *drawing, int degrees); #endif Index: b/src/image.c =================================================================== --- a/src/image.c 2009-12-19 17:11:48.000000000 -0200 +++ b/src/image.c 2009-12-19 17:12:11.000000000 -0200 @@ -628,6 +628,27 @@ return 0; } +int +image_rotate_simple (gpaint_image *image, int degrees) +{ + GdkPixbuf *newpixbuf; + + switch (degrees) + { + case GDK_PIXBUF_ROTATE_NONE: + case GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE: + case GDK_PIXBUF_ROTATE_UPSIDEDOWN: + case GDK_PIXBUF_ROTATE_CLOCKWISE: + newpixbuf = gdk_pixbuf_rotate_simple (image->pixbuf, degrees); + gdk_pixbuf_unref (image->pixbuf); + image->pixbuf = newpixbuf; + return 0; + break; + default: + return 1; + } +} + GdkPixbuf* image_pixbuf(gpaint_image* image) { return image->pixbuf; Index: b/src/image.h =================================================================== --- a/src/image.h 2009-12-19 17:11:48.000000000 -0200 +++ b/src/image.h 2009-12-19 17:12:11.000000000 -0200 @@ -45,5 +45,6 @@ int image_flip_x(gpaint_image *image); int image_flip_y(gpaint_image *image); int image_rotate(gpaint_image *image, double radians); +int image_rotate_simple(gpaint_image *image, int degrees); GdkPixbuf* image_pixbuf(gpaint_image *image); #endif Index: b/src/menu.c =================================================================== --- a/src/menu.c 2009-12-19 17:12:10.000000000 -0200 +++ b/src/menu.c 2009-12-19 17:12:11.000000000 -0200 @@ -486,9 +486,9 @@ sscanf(name, "rotate_%c%d_menu", &sign, °rees); debug2("sign = %c degrees = %d", sign, degrees); - if (sign=='n') + if (sign=='p') { - degrees *= -1; + degrees = 360 - degrees; } canvas_focus_lost(canvas); drawing_rotate(canvas->drawing, degrees); debian/patches/26_fix_toolbar.diff0000644000000000000000000000175711316514566014310 0ustar Author: Goedson Teixeira Paixao Description: Fix toolbar behaviour Do not set a fixed toolbar style so that gpaint follows the style set in the user preferences Bug-Debian: http://bugs.debian.org/497488 Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/127296 Bug: https://savannah.gnu.org/bugs/?21260 Forwarded: https://savannah.gnu.org/patch/index.php?7044 Index: pkg-gpaint/gpaint.glade =================================================================== --- pkg-gpaint.orig/gpaint.glade 2009-12-22 20:56:13.000000000 -0200 +++ pkg-gpaint/gpaint.glade 2009-12-22 20:56:33.000000000 -0200 @@ -1004,7 +1004,6 @@ 55 True GTK_ORIENTATION_HORIZONTAL - GTK_TOOLBAR_BOTH True True debian/patches/24_fix_crash_on_failed_write.diff0000644000000000000000000000632011316514566017145 0ustar Author: Goedson Teixeira Paixao Description: Fix crash when saving in unsupported format Check if the format chosen by the user is supported before trying to save. Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/386234 Bug: https://savannah.gnu.org/bugs/?25334 Forwarded: https://savannah.gnu.org/patch/?7052 Index: b/src/drawing.c =================================================================== --- a/src/drawing.c 2009-12-19 17:12:11.000000000 -0200 +++ b/src/drawing.c 2009-12-19 17:12:12.000000000 -0200 @@ -262,7 +262,7 @@ (error && error->message) ? error->message : ""); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(GTK_WIDGET(dialog)); - g_free(error); /* allocated by gdk-pixbuf library */ + g_error_free(error); /* allocated by gdk-pixbuf library */ } return saved; } Index: b/src/image.c =================================================================== --- a/src/image.c 2009-12-19 17:12:11.000000000 -0200 +++ b/src/image.c 2009-12-19 17:12:12.000000000 -0200 @@ -32,6 +32,7 @@ #include /* for gdk_root_parent */ #include +#define _(String) gettext (String) static int cmp_int(const void *a, const void *b); static void fill_polygon( @@ -191,13 +192,48 @@ return image; } + +gboolean +is_writable (GSList *formats, gchar *type) +{ + gboolean writable = FALSE; + + while (!writable && formats != NULL) + { + gchar** extensions = gdk_pixbuf_format_get_extensions((GdkPixbufFormat *)(formats->data)); + gchar** e = NULL; + for (e = extensions; *e; ++e) + { + if (!strcmp(*e, type)) + { + writable = TRUE; + break; + } + } + g_strfreev (extensions); + formats = g_slist_next (formats); + } + return writable; +} + +void add_if_writable (GdkPixbufFormat *data, GSList **list) +{ + if (gdk_pixbuf_format_is_writable (data)) + *list = g_slist_prepend (*list, data); +} + int image_write(gpaint_image* image, const gchar* filename, GError **perror) { gboolean saved = FALSE; gchar *ext = NULL; gchar *type = NULL; - + + GSList *formats = gdk_pixbuf_get_formats (); + GSList *writable_formats = NULL; + g_slist_foreach (formats, add_if_writable, &writable_formats); + g_slist_free (formats); + ext = g_strrstr(filename, "."); if (!ext) { @@ -214,13 +250,20 @@ { type = g_ascii_strdown(ext+1,-1); debug1("type=[%s]",type); - saved = gdk_pixbuf_save(image->pixbuf, filename, type, perror, NULL); + if (is_writable (writable_formats, type)) + { + saved = gdk_pixbuf_save(image->pixbuf, filename, type, perror, NULL); + } else { + saved = FALSE; + *perror = g_error_new (GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_BAD_OPTION, _("Saving in the '%s' format is not supported by gdk_pixbuf"), type); + } g_free(type); } if (!saved && *perror) { g_warning("Could not save image %s: %s\n", filename, (*perror)->message); - } + } + g_slist_free (writable_formats); return saved; } debian/patches/01_drawing.diff0000644000000000000000000000211411316514566013410 0ustar Author: Goedson Teixeira Paixao Description: Fixes compiling with recent versions of libgtk Newer versions of Gtk+ don't define the GTK_RESPONSE_DISCARD symbol, so we replace its ocurrence by GTK_RESPONSE_NO to make gpaint build without errors. Bug: https://savannah.gnu.org/bugs/index.php?21703 Forwarded: https://savannah.gnu.org/patch/?7047 Index: b/src/drawing.c =================================================================== --- a/src/drawing.c 2009-12-19 17:11:48.000000000 -0200 +++ b/src/drawing.c 2009-12-19 17:12:10.000000000 -0200 @@ -427,7 +427,7 @@ _("Do you want to save the changes you made to \"%s\"?\nYour changes will be lost if you don't save them."), drawing->filename->str); #ifdef GTK_STOCK_DISCARD - gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_DISCARD,GTK_RESPONSE_DISCARD); + gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_DISCARD,GTK_RESPONSE_NO); #else gtk_dialog_add_button(GTK_DIALOG(dialog), _("Close _without Saving"), GTK_RESPONSE_NO); #endif /* !GTK_STOCK_DISCARD */ debian/patches/20_fix_line_width_combo.diff0000644000000000000000000003500111316514566016132 0ustar Author: Thomas Viehmann Description: Fix line width combo box Fixes the line width combo box by puting items in the drop down menu in the gpaint.glade file. Bug-Debian: http://bugs.debian.org/497484 Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/209173 Forwarded: https://savannah.gnu.org/patch/?6644 Index: b/gpaint.glade =================================================================== --- a/gpaint.glade 2009-12-19 17:12:10.000000000 -0200 +++ b/gpaint.glade 2009-12-19 17:12:11.000000000 -0200 @@ -1230,6 +1230,34 @@ 0 + + True + line width + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + 0 + 1 + 0 + 1 + + + + + 60 25 @@ -1239,27 +1267,264 @@ False True False - + - + True + line width True True True 0 True - + * False + - + True GTK_SELECTION_BROWSE + + + + True + + + + True + 1 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 2 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 3 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 4 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 5 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + + True + + + + True + 6 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 7 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 8 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + + + + True + 9 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + @@ -1272,35 +1537,6 @@ - - - - True - line width - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - 0 - 1 - 0 - 1 - - - - debian/patches/21_fix_crash_on_fill_button_click.diff0000644000000000000000000000202211316514566020165 0ustar Author: Goedson Teixeira Paixao Description: fix crash on fill button click Avoid crashing when clicking on fill button by checking that tool->canvas->drawing_area is not null before casting it to GtkWidget Bug-Debian: http://bugs.debian.org/544162 Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/227174 Bug: https://savannah.gnu.org/bugs/?25117 Forwarded: https://savannah.gnu.org/patch/?7045 Index: pkg-gpaint/src/text.c =================================================================== --- pkg-gpaint.orig/src/text.c 2009-12-22 21:03:29.000000000 -0200 +++ pkg-gpaint/src/text.c 2009-12-23 13:01:33.000000000 -0200 @@ -156,7 +156,10 @@ { debug_fn(); GtkStyle *style; - GtkWidget *widget = GTK_WIDGET(tool->canvas->drawing_area); + GtkWidget *widget = NULL; + + if ((tool->canvas == NULL) || (tool->canvas->drawing_area == NULL)) return FALSE; + widget = GTK_WIDGET(tool->canvas->drawing_area); style = gtk_widget_get_style(widget); g_assert(style); debian/patches/09_fix_menu_entry.diff0000644000000000000000000000146511316514566015030 0ustar Author: Goedson Teixeira Paixao Description: Fixes the gpaint.desktop file Change executable and icon filenames according to changes applied in the Debian packaging. Index: b/gpaint.desktop =================================================================== --- a/gpaint.desktop 2009-12-19 17:11:48.000000000 -0200 +++ b/gpaint.desktop 2009-12-19 17:12:10.000000000 -0200 @@ -3,11 +3,9 @@ Comment=A small-scale painting program for GNOME, the GNU Desktop Comment[fr]=Un petit outil de dessin pour GNOME, le desktop GNU Comment[pt_BR]=Um pequeno programa de desenho para o GNOME, o Desktop GNU -TryExec=gpaint-2 -Exec=gpaint-2 -Icon=gnome-logo-icon-transparent.png +TryExec=gpaint +Exec=gpaint +Icon=gpaint.svg Terminal=0 Type=Application - - - +Categories=Graphics;2DGraphics;RasterGraphics; debian/patches/22_fix_not_printable_string.diff0000644000000000000000000000143011316514566017054 0ustar Author: Ying-Chun Liu (PaulLiu) Description: Ignore non-printable characters on text input Bug-Debian: http://bugs.debian.org/535217 Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/262648 Bug: https://savannah.gnu.org/bugs/?26923 Forwarded: https://savannah.gnu.org/patch/?7051 Index: b/src/text.c =================================================================== --- a/src/text.c 2009-12-19 17:12:11.000000000 -0200 +++ b/src/text.c 2009-12-19 17:12:11.000000000 -0200 @@ -238,7 +238,9 @@ } else if (keyevent->string) { + if (isprint(keyevent->string[0])) { g_string_append(text->textbuf, keyevent->string); + } } else if ((keyevent->keyval >= GDK_space) && (keyevent->keyval < GDK_Shift_L)) { debian/patches/02_remove_menu_h_reference.diff0000644000000000000000000000102011316514566016617 0ustar Author: Goedson Teixeira Paixao Description: Removes reference to non-existent menu.h file Forwarded: https://savannah.gnu.org/patch/?7050 Index: b/src/menu.c =================================================================== --- a/src/menu.c 2009-12-19 17:11:48.000000000 -0200 +++ b/src/menu.c 2009-12-19 17:12:10.000000000 -0200 @@ -34,7 +34,6 @@ #include "image.h" #include "image_processing.h" #include "tool_palette.h" -#include "menu.h" #include "print.h" #include "file.h" #include "text.h" debian/patches/10_fix_crash_on_font_select.diff0000644000000000000000000000621711316514566017014 0ustar Author: Goedson Teixeira Paixao Description: Avoids crash on font selection Makes the font selection button active only when the text tool is selected, avoiding a crash that would occur if it is clicked without selectiong the text tool. Bug-Debian: http://bugs.debian.org/497201 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gpaint/+bug/262889 Forwarded: https://savannah.gnu.org/patch/?6645 Index: b/gpaint.glade =================================================================== --- a/gpaint.glade 2009-12-19 17:11:48.000000000 -0200 +++ b/gpaint.glade 2009-12-19 17:12:10.000000000 -0200 @@ -1137,6 +1137,7 @@ True + False True True True Index: b/src/main.c =================================================================== --- a/src/main.c 2009-12-19 17:11:48.000000000 -0200 +++ b/src/main.c 2009-12-19 17:12:10.000000000 -0200 @@ -73,6 +73,10 @@ tool_palette_set_active_button(main_window, "pen_button"); /* make the pen tool the default initial tool so the user can draw right away */ + gpaint_tool *text_tool = tool_palette_get_tool(main_window, "text"); + widget = lookup_widget(main_window, "fontpicker"); + text_set_fontpicker(text_tool, widget); + #if (!defined(HAVE_GTK_PRINT) && !defined(HAVE_GNOME_PRINT)) /* disable print menus and buttons if no print support available*/ widget = lookup_widget(main_window, "print_button"); Index: b/src/text.c =================================================================== --- a/src/text.c 2009-12-19 17:11:48.000000000 -0200 +++ b/src/text.c 2009-12-19 17:12:10.000000000 -0200 @@ -54,6 +54,7 @@ GString *textbuf; int max_width; int max_height; + GtkFontButton *fontpicker; } gpaint_text; @@ -94,6 +95,7 @@ GPAINT_TOOL(text)->commit_change = text_commit_change; text->textbuf = g_string_new(0); + text->fontpicker = NULL; return GPAINT_TOOL(text); } @@ -118,6 +120,7 @@ g_string_printf(text->textbuf, ""); text->timer = g_timeout_add(TEXT_CURSOR_BLINK_RATE, (GtkFunction)(text_handle_timeout), text); + gtk_widget_set_sensitive(GTK_WIDGET(text->fontpicker), TRUE); } static void @@ -145,7 +148,7 @@ text_draw_string(text); } text_clear(text); - + gtk_widget_set_sensitive(GTK_WIDGET(text->fontpicker), FALSE); } static gboolean @@ -474,6 +477,8 @@ } - - - +void text_set_fontpicker(gpaint_tool *tool, GtkFontButton *fontpicker) +{ + gpaint_text *text = GPAINT_TEXT(tool); + text->fontpicker = fontpicker; +} Index: b/src/text.h =================================================================== --- a/src/text.h 2009-12-19 17:11:48.000000000 -0200 +++ b/src/text.h 2009-12-19 17:12:10.000000000 -0200 @@ -30,6 +30,6 @@ gpaint_tool* text_create(const char *name); - +void text_set_fontpicker(gpaint_tool *tool, GtkFontButton *fontpicker); #endif debian/patches/series0000644000000000000000000000056512232533633012042 0ustar 01_drawing.diff 02_remove_menu_h_reference.diff 09_fix_menu_entry.diff 10_fix_crash_on_font_select.diff 11_fix_image_rotation.diff 20_fix_line_width_combo.diff 21_fix_crash_on_fill_button_click.diff 22_fix_not_printable_string.diff 23_add_accelerator_keys.diff 24_fix_crash_on_failed_write.diff 25_fix_color_selection.diff 26_fix_toolbar.diff 27_fix_missing_hdrs_libs.diff debian/patches/27_fix_missing_hdrs_libs.diff0000644000000000000000000000472412232533633016340 0ustar Index: gpaint-0.3.3/src/image.c =================================================================== --- gpaint-0.3.3.orig/src/image.c 2013-04-21 10:13:06.029569664 -0400 +++ gpaint-0.3.3/src/image.c 2013-04-21 10:13:23.209284134 -0400 @@ -28,6 +28,8 @@ #include "image.h" #include "debug.h" #include +#include +#include #include #include /* for gdk_root_parent */ #include Index: gpaint-0.3.3/src/text.c =================================================================== --- gpaint-0.3.3.orig/src/text.c 2013-04-21 10:13:06.009569962 -0400 +++ gpaint-0.3.3/src/text.c 2013-04-21 10:13:23.209284134 -0400 @@ -26,6 +26,8 @@ # include #endif +#include +#include #include #ifdef HAVE_STRING_H @@ -76,6 +78,7 @@ static void text_draw_string(gpaint_text *text); static gint text_handle_timeout(gpaint_text *text); static void text_draw_current_string(gpaint_tool *tool); +extern void convert_color(const GdkColor *color, unsigned char *r, unsigned char *g, unsigned char *b); gpaint_tool *text_create(const char *name) { Index: gpaint-0.3.3/src/main.c =================================================================== --- gpaint-0.3.3.orig/src/main.c 2013-04-21 10:13:06.017569892 -0400 +++ gpaint-0.3.3/src/main.c 2013-04-21 10:13:23.209284134 -0400 @@ -36,6 +36,7 @@ static GList *window_list = 0; static void create_window(void); +extern void text_set_fontpicker(gpaint_tool *tool, GtkFontButton *fontpicker); Index: gpaint-0.3.3/src/Makefile.am =================================================================== --- gpaint-0.3.3.orig/src/Makefile.am 2013-04-21 10:15:52.766801609 -0400 +++ gpaint-0.3.3/src/Makefile.am 2013-04-21 10:16:09.014530578 -0400 @@ -67,6 +67,6 @@ gpaint_2_CFLAGS = -I$(srcdir) -gpaint_2_LDADD = $(GUI_LIBS) $(PRINT_LIBS) +gpaint_2_LDADD = $(GUI_LIBS) $(PRINT_LIBS) -lm gpaint_2_LDFLAGS = -Wl,--export-dynamic Index: gpaint-0.3.3/src/Makefile.in =================================================================== --- gpaint-0.3.3.orig/src/Makefile.in 2013-04-21 10:15:59.014697621 -0400 +++ gpaint-0.3.3/src/Makefile.in 2013-04-21 10:16:16.050413141 -0400 @@ -168,7 +168,7 @@ gpaint_2_CFLAGS = -I$(srcdir) -gpaint_2_LDADD = $(GUI_LIBS) $(PRINT_LIBS) +gpaint_2_LDADD = $(GUI_LIBS) $(PRINT_LIBS) -lm gpaint_2_LDFLAGS = -Wl,--export-dynamic mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = debian/patches/25_fix_color_selection.diff0000644000000000000000000000663111316514566016024 0ustar Author: Goedson Teixeira Paixao Description: Fix foreground/background color selection Fixes the foreground/background color selection by checking the GtkColorButton color when the user chooses the color. Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/344237 Forwarded: https://savannah.gnu.org/patch/index.php?7028 diff --git a/src/callbacks.h b/src/callbacks.h index 985dddf..5485329 100644 --- a/src/callbacks.h +++ b/src/callbacks.h @@ -359,18 +359,10 @@ on_fontpicker_font_set (GtkFontButton *gnomefontpicker, void on_foreground_color_picker_color_set (GtkColorButton *gnomecolorpicker, - guint arg1, - guint arg2, - guint arg3, - guint arg4, gpointer user_data); void on_background_color_picker_color_set (GtkColorButton *gnomecolorpicker, - guint arg1, - guint arg2, - guint arg3, - guint arg4, gpointer user_data); void diff --git a/src/color_palette.c b/src/color_palette.c index 9502acc..8c259e7 100644 --- a/src/color_palette.c +++ b/src/color_palette.c @@ -338,7 +338,7 @@ change_color(gpaint_color_swatch *swatch, gpaint_color_mode mode) g_assert(swatch); canvas = canvas_lookup(swatch->widget); gdk_gc_get_values(swatch->gc, &gcvalues); - + if (mode==FOREGROUND) { change_foreground_color(canvas, &(gcvalues.foreground)); @@ -362,15 +362,12 @@ change_color(gpaint_color_swatch *swatch, gpaint_color_mode mode) */ void on_foreground_color_picker_color_set (GtkColorButton *gnomecolorpicker, - guint arg1, - guint arg2, - guint arg3, - guint arg4, gpointer user_data) { - GdkColor color = {0, arg1, arg2, arg3}; + GdkColor color; gpaint_canvas *canvas = canvas_lookup(GTK_WIDGET(gnomecolorpicker)); + gtk_color_button_get_color(gnomecolorpicker, &color); gdk_color_alloc(gdk_colormap_get_system(), &color); change_foreground_color(canvas, &color); } @@ -380,15 +377,12 @@ on_foreground_color_picker_color_set (GtkColorButton *gnomecolorpicker, */ void on_background_color_picker_color_set (GtkColorButton *gnomecolorpicker, - guint arg1, - guint arg2, - guint arg3, - guint arg4, gpointer user_data) { - GdkColor color = {0, arg1, arg2, arg3}; + GdkColor color; gpaint_canvas *canvas = canvas_lookup(GTK_WIDGET(gnomecolorpicker)); + gtk_color_button_get_color(gnomecolorpicker, &color); gdk_color_alloc(gdk_colormap_get_system(), &color); change_background_color(canvas, &color); } debian/patches/23_add_accelerator_keys.diff0000644000000000000000000001044211316514566016113 0ustar Author: Matt Wheeler Description: Add accelerator keys to common functions Add accelerator keys for common operations in gpaint Bug-Debian: http://bugs.debian.org/550305 Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/444750 Bug: https://savannah.gnu.org/bugs/?27618 Forwarded: https://savannah.gnu.org/patch/?7053 Index: b/gpaint.glade =================================================================== --- a/gpaint.glade 2009-12-19 17:12:11.000000000 -0200 +++ b/gpaint.glade 2009-12-19 17:12:11.000000000 -0200 @@ -341,6 +341,7 @@ _New True + @@ -362,6 +363,7 @@ _Open True + @@ -383,6 +385,7 @@ _Save True + @@ -453,6 +456,7 @@ _Print True + @@ -480,6 +484,7 @@ _Close True + @@ -501,6 +506,7 @@ _Quit True + @@ -535,6 +541,7 @@ Cu_t True + @@ -556,6 +563,7 @@ _Copy True + @@ -577,6 +585,7 @@ _Paste True + @@ -625,6 +634,7 @@ _Select All True + debian/copyright0000644000000000000000000000220111316514566011124 0ustar gpaint was packaged for Debian by Robert McQueen on Tue, 22 May 2001 22:16:33 +0100. The package is currently maintained by Goedson Teixeira Paixao It was downloaded from: http://alpha.gnu.org/gnu/gpaint/ Copyright: Copyright (C) 2000-2003, 2007 Li-Cheng (Andy) Tai Copyright (C) 2003 Michael A. Meffie III Copyright (C) 2003 Free Software Foundation Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald 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 3 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. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL file. debian/docs0000644000000000000000000000001411316514566010044 0ustar NEWS README debian/menu0000644000000000000000000000022511316514566010064 0ustar ?package(gpaint):\ needs="X11"\ section="Applications/Graphics"\ title="GNU Paint"\ command="/usr/bin/gpaint"\ icon="/usr/share/pixmaps/gpaint.xpm" debian/watch0000644000000000000000000000010011316514566010216 0ustar version=3 ftp://alpha.gnu.org/gnu/gpaint/gpaint-2-(.*)\.tar\.gz debian/gpaint.xpm0000644000000000000000000001402611316514566011211 0ustar /* XPM */ static char * gpaint_xpm[] = { "32 32 246 2", " c None", ". c #663806", "+ c #663705", "@ c #673907", "# c #6E3D07", "$ c #6D3C07", "% c #693A07", "& c #6B3B07", "* c #7B4308", "= c #814708", "- c #673806", "; c #6E3C07", "> c #8C4D0A", ", c #94510B", "' c #7D4508", ") c #683A07", "! c #774208", "~ c #96530A", "{ c #A0590B", "] c #854909", "^ c #6C3C07", "/ c #663807", "( c #653905", "_ c #804608", ": c #AD5F0C", "< c #B3630D", "[ c #95520A", "} c #723F08", "| c #824709", "1 c #B3620D", "2 c #BB670E", "3 c #9C560B", "4 c #7E4508", "5 c #653707", "6 c #653807", "7 c #804609", "8 c #B9660D", "9 c #CA700F", "0 c #AB5F0C", "a c #894C0A", "b c #643707", "c c #653705", "d c #80796C", "e c #735737", "f c #7C562C", "g c #BA660E", "h c #CF720F", "i c #94520A", "j c #733F08", "k c #888984", "l c #878984", "m c #85837A", "n c #898377", "o c #B47F45", "p c #B27029", "q c #A0580C", "r c #814709", "s c #673807", "t c #663805", "u c #8A8C88", "v c #9C9D9A", "w c #9A9A96", "x c #998468", "y c #96744B", "z c #884D0E", "A c #6F3D08", "B c #6A3A07", "C c #693907", "D c #868884", "E c #888A85", "F c #9FA19D", "G c #CBCBCA", "H c #CFCFCE", "I c #A3A4A0", "J c #93948F", "K c #7D6549", "L c #724D26", "M c #878983", "N c #969794", "O c #CFD0CF", "P c #F1F1F1", "Q c #E4E4E4", "R c #B1B2B0", "S c #999A97", "T c #807768", "U c #796043", "V c #ADAEAC", "W c #E4E5E4", "X c #FEFEFE", "Y c #B9B9B9", "Z c #A4A5A3", "` c #8D8F8A", " . c #848279", ".. c #6F4E28", "+. c #939490", "@. c #C8C8C8", "#. c #E8E8E8", "$. c #C5C5C5", "%. c #AAAAAA", "&. c #9D9D9B", "*. c #8A8C87", "=. c #78664C", "-. c #AAABA8", ";. c #E3E3E3", ">. c #C9C9C9", ",. c #B3B3B3", "'. c #A6A6A6", "). c #888A84", "!. c #86857E", "~. c #84827C", "{. c #91928E", "]. c #CDCDCC", "^. c #F0F0F0", "/. c #D3D3D3", "(. c #B7B7B7", "_. c #A7A7A6", ":. c #979895", "<. c #898C87", "[. c #868983", "}. c #A9AAA7", "|. c #E1E2E1", "1. c #C2C2C2", "2. c #ABABAB", "3. c #898B86", "4. c #91938F", "5. c #D7D7D6", "6. c #EDEDED", "7. c #CBCBCB", "8. c #B0B0B0", "9. c #989996", "0. c #82847F", "a. c #9D9F9C", "b. c #E6E6E6", "c. c #DDDDDD", "d. c #B8B8B8", "e. c #9B9D9A", "f. c #5E605D", "g. c #666765", "h. c #8A8A89", "i. c #B7B7B6", "j. c #9D9E9B", "k. c #8B8D88", "l. c #4B4B4B", "m. c #5A5A5A", "n. c #626262", "o. c #565656", "p. c #545454", "q. c #6E6E6E", "r. c #7E7E7C", "s. c #8A8B87", "t. c #434343", "u. c #656565", "v. c #8B8B8B", "w. c #838383", "x. c #5E5E5E", "y. c #555555", "z. c #636462", "A. c #848781", "B. c #323232", "C. c #454545", "D. c #7D7D7D", "E. c #AEAEAE", "F. c #989898", "G. c #676767", "H. c #4A4A4A", "I. c #474747", "J. c #2F2F2F", "K. c #727272", "L. c #9E9E9E", "M. c #757575", "N. c #585858", "O. c #4E4E4E", "P. c #444444", "Q. c #3D3E3D", "R. c #212121", "S. c #383838", "T. c #505050", "U. c #4D4D4D", "V. c #4C4C4C", "W. c #464646", "X. c #3E3E3E", "Y. c #363636", "Z. c #3B3B3B", "`. c #424242", " + c #404040", ".+ c #414141", "++ c #3D3D3D", "@+ c #2B2B38", "#+ c #000080", "$+ c #04047C", "%+ c #0A0A84", "&+ c #24248A", "*+ c #282828", "=+ c #343434", "-+ c #2E2E2E", ";+ c #353535", ">+ c #373737", ",+ c #292936", "'+ c #10105D", ")+ c #0E0E75", "!+ c #111176", "~+ c #202076", "{+ c #020235", "]+ c #080828", "^+ c #141439", "/+ c #1F1F3E", "(+ c #16163C", "_+ c #1D1D37", ":+ c #1F1F40", "<+ c #282839", "[+ c #25253F", "}+ c #27273C", "|+ c #1E1E47", "1+ c #10105E", "2+ c #02027B", "3+ c #00007E", "4+ c #5858AA", "5+ c #4E4EA5", "6+ c #09097C", "7+ c #000065", "8+ c #000070", "9+ c #02026A", "0+ c #0B0B70", "a+ c #0E0E6B", "b+ c #10106F", "c+ c #101069", "d+ c #10106E", "e+ c #0F0F6B", "f+ c #0D0D72", "g+ c #07077A", "h+ c #090979", "i+ c #0A0A78", "j+ c #08087A", "k+ c #0B0B77", "l+ c #080879", "m+ c #0C0C77", "n+ c #02027C", "o+ c #01017E", "p+ c #2A2A94", "q+ c #101074", "r+ c #161670", "s+ c #121272", "t+ c #0E0E74", "u+ c #0A0A76", "v+ c #0C0C76", "w+ c #141470", " ", " . + . . ", " . @ # $ % ", " + & * = $ - ", " + ; > , ' ) @ ", " + ! ~ { ] ^ / . ", " ( . _ : < [ } / @ ", " . @ | 1 2 3 4 5 6 . ", " + 7 8 9 0 a ; b @ c ", " d e f g h < i j / @ + ", " k l m n o p q r % s @ t ", " k u v w x y z A B C + ", " D E F G H I J K L & @ c ", " M N O P Q R S T U ) . ", " M E V W X Q Y Z ` ... ", " k +.@.#.#.$.%.&.*. .=. ", " E -.;.;.>.,.'.N ).!.~. ", " M {.].^./.(._.:.<.[. ", " l }.|.Q 1.2.:.3.l ", " M 4.5.6.7.8.9.*.M ", " 0.a.b.c.d.e.3.l ", " f.g.h.>.i.j.k.M ", " l.m.n.o.p.q.r.s.l ", " t.u.v.w.x.o.y.z.A. ", " B.C.D.E.F.G.o.H.I. ", " J.C.K.L.M.N.O.P.Q. ", " R.S.T.T.N.U.V.W.X.Y. ", " Z.N.N.`. +.+`.++Y.@+ #+$+%+&+ ", " *+ +Y.=+-+;+;+>+B.,+'+#+ )+!+~+ ", " {+]+^+/+(+_+:+<+[+}+|+1+2+#+3+#+3+#+3+#+%+4+5+6+ ", " 7+8+9+0+a+b+c+d+e+f+g+h+g+i+j+k+l+m+n+o+p+ ", " q+r+q+s+t+t+u+t+v+s+t+w+t+ "};