debian/0000755000000000000000000000000012231046173007165 5ustar debian/copyright0000644000000000000000000000133411640304140011113 0ustar This package was debianized by Emil Soleyman-Zomalan on Sunday, 2 May 2004 09:35:22 -0800. It was downloaded from ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2 Two files (extern_libs/ffmpeg.tar.gz and extern_lib/libmpeg3.tar.gz) were removed from the original tarball to comply with Policy §4.13 (version 3.8.2). Upstream Authors: Wolfgang Hofer & Sven Neumann Copyright: © 2003-2008, Wolfgang Hofer & Sven Neumann You are free to distribute this software under the terms of the GNU General Public License version 2 or later. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/source/0000755000000000000000000000000011640304140010457 5ustar debian/source/format0000644000000000000000000000001411640304140011665 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001441412231042400011030 0ustar gimp-gap (2.6.0+dfsg-4ubuntu1) trusty; urgency=low * Adding -lm to LDFLAGS doesn't fix --as-needed, use LIBS instead. -- Adam Conrad Sun, 20 Oct 2013 15:02:20 -0600 gimp-gap (2.6.0+dfsg-4) unstable; urgency=low * Bug fix: "FTBFS: ld: gap_resi_dialog.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'", thanks to David Suárez (Closes: #713692). (Add -lm to LDFLAGS). -- Thibaut Paumard Tue, 30 Jul 2013 11:36:58 +0200 gimp-gap (2.6.0+dfsg-3) unstable; urgency=low * Bug fix: "FTBFS: gimphelpui.h:23:2: error: #error "Only <libgimpwidgets/gimpwidgets.h> can be included directly."", thanks to Lucas Nussbaum (Closes: #674393). * Add homepage * Bump standards version -- Thibaut Paumard Thu, 24 May 2012 19:06:04 +0200 gimp-gap (2.6.0+dfsg-2) unstable; urgency=low * Bug fix: "gimp-gap version 2.6.0+dfsg-1 failed to build on amd64 with GCC-4.6", thanks to Daniel T Chen (Closes: #639850) (Ubuntu patch applied). Also fixed other implicit declarations. * Bug fix: "Please Build-Depends on libjpeg-dev, not libjpeg62-dev", thanks to Bill Allombert (Closes: #641696). * Checked against policy 3.9.2 * Convert to 3.0 (quilt) format * Add DEP-3 headers to the two patches * Change short and long description to remove "The" from the synopsis * Bug fix: "FTBFS: gap_arr_dialog.c:1862:10: error: format not a string literal and no format arguments [-Werror=format-security]", thanks to Didier Raboud (Closes: #643387). (added patch format-security) * Removed control.in * Suggests: mplayer -> Recommends: mplayer -- Thibaut Paumard Tue, 27 Sep 2011 23:38:26 +0200 gimp-gap (2.6.0+dfsg-1) unstable; urgency=low * Remove convenience copies of external libraries libmpeg3 (Closes: #537727) and ffmpeg (Closes: #537725). * Bug fix: "implicit pointer conversions", thanks to dann frazier (Closes: #536528). * add ${misc:Depends} in the dependencies (lintian warning). * set debhelper compatibility level to 7 (lintian warning). * Changed all -1 dependencies to -1~ to make backporting easier (suggested by lintian). * mangle version in watch file (suggested by lintian). -- Thibaut Paumard Thu, 06 Aug 2009 16:28:59 +0200 gimp-gap (2.6.0-2) unstable; urgency=low * Use 2.4.0-2 as the basis for this release instead, so we keep all of Thibaut's changes and keep him as the maintainer (Closes: #537724) -- Ari Pollak Mon, 20 Jul 2009 19:39:15 -0400 gimp-gap (2.6.0-1) unstable; urgency=low * New upstream release -- Ari Pollak Tue, 07 Jul 2009 22:14:02 -0400 gimp-gap (2.4.0-2) unstable; urgency=low * New maintainer. Closes: 448297 * Backported fix to a bug which would crash GAP when trying to work on 450x1 pixel images. Closes: 355155 * Include real documentation (*.txt) instead of empty README file (Closes: 465730). Remove useless AUTHORS file. * Changed all -1 dependencies to -1~ to make backporting easier (suggested by lintian). * Checked against policy 3.7.3, no changes warranted. * Remove empty directory /usr/lib/gimp-gap-2.4. * Fixed copyright file (which lacked an unambiguous copyright statement). -- Thibaut Paumard Thu, 14 Feb 2008 16:50:34 +0100 gimp-gap (2.4.0-1) unstable; urgency=low * New upstream release * Add dependency on gimp >= 2.4.0 -- Ari Pollak Wed, 30 Jan 2008 11:07:56 -0500 gimp-gap (2.2.2-1) unstable; urgency=low * New upstream release (Closes: #448296) * Don't build with liba52 since we're not building ffmpeg * Dynamically link against libmpeg3 * ffmpeg and audiosupport should be fixed eventually; I just wanted to get a new version out there. -- Ari Pollak Sat, 27 Oct 2007 17:19:02 -0400 gimp-gap (2.2.0-2.1) unstable; urgency=medium * Non-maintainer upload to fix crash wehn duplicating images. * Added debian/patches/gap_thumbnail-free.diff backported from version 2.2.1, thanks to John Wright for the patch. (Closes: #383823) -- Margarita Manterola Sun, 27 Aug 2006 19:54:00 -0300 gimp-gap (2.2.0-2) unstable; urgency=low * Update to fix RC bug since there hasn't been any activity from the maintainer on it. * debian/rules: - Don't build with ffmpeg support. It's not mature enough and the build system for it is really screwy. (Closes: #341857) - Add -la52 to LDFLAGS * debian/control: - Add liba52-0.7.4-dev | liba52-dev to build-depends since it used to be provided in ffmpeg - Remove unnecessary dependencies on build-essential and patchutils - Add Suggests: mplayer -- Ari Pollak Fri, 16 Dec 2005 00:11:11 -0500 gimp-gap (2.2.0-1) unstable; urgency=low * New upstream release (Closes: #336626) * debian/rules: - Removed dynamic generation of debian/control - Added the following build options: --disable-audio-support --disable-libxvidcore --with-preinstalled-libmpeg3 --with-preinstalled-libmpeg3=/usr/lib/libmpeg3.a * debian/control: - Added build dependency on libmpeg3-dev * debian/patches: - FTBFS on GNU/kFreeBSD patch by Aurelien Jarno (Closes: #336916) -- Emil Soleyman-Zomalan Mon, 31 Oct 2005 23:29:24 -0800 gimp-gap (2.0.2-4) unstable; urgency=low * debian/rules: - Replace top-level README with gap/README. (Closes: #287916) -- Emil Soleyman-Zomalan Thu, 30 Dec 2004 23:49:43 -0800 gimp-gap (2.0.2-3) unstable; urgency=low * debian/control.in: - Added build dependency on libxml-parser-perl. (Closes: #266360, #266250) -- Emil Soleyman-Zomalan Tue, 17 Aug 2004 13:38:51 -0700 gimp-gap (2.0.2-2) unstable; urgency=low * Initial upload to Debian. (Closes: #252727) -- Emil Soleyman-Zomalan Wed, 28 Jul 2004 09:44:32 -0700 gimp-gap (2.0.2-1) unstable; urgency=low * New upstream release -- Emil Soleyman-Zomalan Sun, 11 Jul 2004 20:50:08 -0700 gimp-gap (2.0.1-1) unstable; urgency=low * Initial release. -- Emil Soleyman-Zomalan Sun, 2 May 2004 09:31:17 -0700 debian/compat0000644000000000000000000000000211640304140010355 0ustar 7 debian/rules0000755000000000000000000000107312231046173010246 0ustar #! /usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_CONFIGURE_BINDIR := "\$${prefix}/lib/gimp/2.0/plugins" DEB_CONFIGURE_EXTRA_FLAGS := \ --disable-audio-support \ --disable-libxvidcore \ --disable-libavformat \ --disable-libmpeg3 DEB_INSTALL_DOCS_ALL := export LIBS += -lm clean:: cd $(DEB_BUILDDIR) && \ rm -f intltool-extract intltool-merge intltool-update po/.intltool-merge-cache common-binary-predeb-arch:: rmdir debian/gimp-gap/usr/lib/gimp-gap-2.6 debian/dirs0000644000000000000000000000003211640304140010036 0ustar usr/lib/gimp/2.0/plug-ins debian/control0000644000000000000000000000162212231042405010563 0ustar Source: gimp-gap Section: graphics Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Thibaut Paumard Build-Depends: cdbs (>= 0.4.23-1.1~), debhelper (>= 7), autotools-dev, libglib2.0-0 (>= 2.8.0), libgimp2.0-dev (>= 2.6.0), libgtk2.0-dev (>= 2.9.0), libxml-parser-perl, libpng12-dev (>= 1.2.8rel-1~), libjpeg-dev, intltool (>= 0.35.0), libavcodec-dev (>= 0.5) Standards-Version: 3.9.4 Homepage: http://www.gimp.org/tutorials/Using_GAP/ Package: gimp-gap Architecture: any Depends: ${shlibs:Depends}, gimp (>= 2.6.0), ${misc:Depends} Recommends: mplayer Description: animation package for the GIMP The GIMP Animation Package (GAP) is a collection of plug-ins to extend the GIMP with capabilities to edit and create animations and movies as sequences of single frames. It adds a Video menu to image windows in the GIMP. debian/watch0000644000000000000000000000016511757464333010236 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ ftp://ftp.gimp.org/pub/gimp/plug-ins/v(.*)/gap/gimp-gap-(.*)\.tar\.bz2 debian/docs0000644000000000000000000000002611640304140010030 0ustar NEWS docs/*/txt/*.txt debian/patches/0000755000000000000000000000000011757476205010633 5ustar debian/patches/format-security0000644000000000000000000001116511640653270013705 0ustar Subject: FTBFS with -Werror=format-security Author: Thibaut Paumard Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643387 Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=660250 Last-Update: 2011-09-27 Debian started building with -Werror=format-security by default. This causes FTBFS (on purpose) on calls such as "printf(msg)". This patch corrects such calls to "printf("%s", msg)". --- a/gap/gap_arr_dialog.c +++ b/gap/gap_arr_dialog.c @@ -1859,7 +1859,7 @@ if(run_mode == GIMP_RUN_INTERACTIVE) { - g_message (msg); + g_message ("%s", msg); } } } --- a/gap/gap_split.c +++ b/gap/gap_split.c @@ -347,7 +347,7 @@ errMsg = g_strdup_printf(_("failed to overwrite %s (check permissions ?)") , l_sav_name); - g_message(errMsg); + g_message("%s", errMsg); g_free(errMsg); writePermission = FALSE; } --- a/gap/gap_fmac_base.c +++ b/gap/gap_fmac_base.c @@ -96,7 +96,7 @@ { if(run_mode == GIMP_RUN_INTERACTIVE) { - g_message(msg); + g_message("%s", msg); } printf("%s\n", msg); g_free(msg); --- a/gap/gap_fmac_main.c +++ b/gap/gap_fmac_main.c @@ -365,7 +365,7 @@ { if(run_mode == GIMP_RUN_INTERACTIVE) { - g_message(msg); + g_message("%s", msg); } printf("%s\n", msg); g_free(msg); --- a/gap/gap_morph_exec.c +++ b/gap/gap_morph_exec.c @@ -204,7 +204,7 @@ if(run_mode != GIMP_RUN_NONINTERACTIVE) { - g_message(l_msg); + g_message("%s", l_msg); } g_free(l_msg); --- a/gap/gap_vex_dialog.c +++ b/gap/gap_vex_dialog.c @@ -912,7 +912,7 @@ break; } g_snprintf(gpp->val.preferred_decoder, sizeof(gpp->val.preferred_decoder) - , preferred_decoder + , "%s", preferred_decoder ); entry = GTK_ENTRY(gpp->mw__entry_preferred_decoder); if(entry) --- a/libgapvidutil/gap_gve_sox.c +++ b/libgapvidutil/gap_gve_sox.c @@ -153,7 +153,7 @@ , cval->tmp_audfile); if(cval->run_mode == GIMP_RUN_INTERACTIVE) { - g_message(l_msg); + g_message("%s", l_msg); } return -1; } @@ -175,7 +175,7 @@ ); if(cval->run_mode == GIMP_RUN_INTERACTIVE) { - g_message(l_msg); + g_message("%s", l_msg); } g_free(l_msg); return -1; --- a/vid_common/gap_cme_gui.c +++ b/vid_common/gap_cme_gui.c @@ -2035,7 +2035,7 @@ , (int)(gpp->val.vid_width / 16) * 16 , (int)(gpp->val.vid_height / 16) * 16 ); - g_message(l_msg); + g_message("%s", l_msg); g_free(l_msg); return (FALSE); } @@ -2058,7 +2058,7 @@ , (int)bits , gpp->val.audioname1 ); - g_message(l_msg); + g_message("%s", l_msg); g_free(l_msg); return (FALSE); } @@ -2077,7 +2077,7 @@ "file: %s\n") , gpp->val.audioname1 ); - g_message(l_msg); + g_message("%s", l_msg); g_free(l_msg); return (FALSE); } @@ -2101,7 +2101,7 @@ "supported rates: \n" " 22050, 24000, 32000, 44100, 48000") , (int)gpp->val.samplerate); - g_message(l_msg); + g_message("%s", l_msg); g_free(l_msg); return (FALSE); break; @@ -2129,7 +2129,7 @@ "supported rates:\n" " 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000") , (int)gpp->val.samplerate); - g_message(l_msg); + g_message("%s", l_msg); g_free(l_msg); return (FALSE); break; @@ -3929,7 +3929,7 @@ l_msg = g_strdup_printf(_("Required Plugin %s not available"), gpp->val.ecp_sel.vid_enc_plugin); if(gpp->val.run_mode == GIMP_RUN_INTERACTIVE) { - g_message(l_msg); + g_message("%s", l_msg); } g_free(l_msg); return -1; @@ -3981,7 +3981,7 @@ l_msg = g_strdup_printf(_("Call of Required Plugin %s failed"), gpp->val.ecp_sel.vid_enc_plugin); if(gpp->val.run_mode == GIMP_RUN_INTERACTIVE) { - g_message(l_msg); + g_message("%s", l_msg); } g_free(l_msg); } debian/patches/fix-includes0000644000000000000000000000071711757476163013160 0ustar Descritpion: fix include due to changes in GIMP API Author: Thibaut Paumard Bug-Debian: http://bugs.debian.org/674393 Last-Update: 2012-05-24 --- a/libgapbase/gap_base.c +++ b/libgapbase/gap_base.c @@ -51,7 +51,7 @@ #include "gtk/gtk.h" #include "libgimp/gimp.h" #include "libgimpwidgets/gimpwidgetstypes.h" -#include "libgimpwidgets/gimphelpui.h" +#include "libgimpwidgets/gimpwidgets.h" #ifdef G_OS_WIN32 #include debian/patches/implicit-function-declaration0000644000000000000000000000777211640653270016501 0ustar Subject: add missing headers and delcarations Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=660262 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639850 Author: Daniel T Chen (et al.) Author: Thibaut Paumard Last-Update: 2011-09-27 Missing #include directives and other prototypes cause build failures and runtime errors, in partuclar on 64 bit architectures. --- a/gap/gap_story_dialog.h +++ b/gap/gap_story_dialog.h @@ -32,6 +32,8 @@ #include "gap_story_main.h" #include "gap_story_properties.h" +GtkWidget * p_gtk_button_new_from_stock_icon(const char *stock_id); + void gap_storyboard_dialog(GapStbMainGlobalParams *gpp); void gap_story_dlg_attw_render_all(GapStbAttrWidget *attw); --- a/gap/gap_story_properties.c +++ b/gap/gap_story_properties.c @@ -55,6 +55,7 @@ #include "gap_timeconv.h" #include "gap_thumbnail.h" #include "gap_fmac_base.h" +#include "gap_fmac_name.h" #include "gap_story_vthumb.h" --- a/libgapvidutil/gap_gve_misc_util.c +++ b/libgapvidutil/gap_gve_misc_util.c @@ -33,13 +33,15 @@ #include #include #include +#include +#include /* GIMP includes */ #include "gtk/gtk.h" /* #include "libgimp/stdplugins-intl.h" */ #include "libgimp/gimp.h" - +#include "gap_image.h" #include "gap_libgapbase.h" #include "gap_gve_misc_util.h" --- a/vid_enc_avi/gap_enc_avi_main.c +++ b/vid_enc_avi/gap_enc_avi_main.c @@ -57,6 +57,7 @@ #include "gap_gve_story.h" /* for STORYBOARD support */ +#include "gap_gve_png.h" #include "gap_gve_jpeg.h" /* for the builtin JPEG support */ #include "gap_gve_raw.h" /* for raw CODEC support */ #include "gap_gve_xvid.h" /* for XVID CODEC support */ --- a/libgapvidapi/gap_vid_api_util.c +++ b/libgapvidapi/gap_vid_api_util.c @@ -8,7 +8,6 @@ #include - /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX END fcache procedures */ @@ -212,6 +211,13 @@ /* CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC END copies of gap_lib procedures */ +/* WARNING! + This is a deprecated GIMP API from #include + Someone should update the code to use GChecksum from glib + */ +void gimp_md5_get_digest (const gchar *buffer, + gint buffer_size, + guchar digest[16]); /* -------------------------------- --- a/gap/gap_split.c +++ b/gap/gap_split.c @@ -54,6 +54,7 @@ #endif /* GIMP includes */ +#include "glib/gstdio.h" #include "gtk/gtk.h" #include "config.h" #include "gap-intl.h" --- a/gap/gap_story_sox.c +++ b/gap/gap_story_sox.c @@ -19,6 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include --- a/libgapvidapi/gap_vid_api.c +++ b/libgapvidapi/gap_vid_api.c @@ -63,6 +63,7 @@ #include #include +#include /* includes for UNIX fork-based workarond for the libmpeg3 crash on close bug */ #ifndef G_OS_WIN32 --- a/libgapvidutil/gap_gve_png.c +++ b/libgapvidutil/gap_gve_png.c @@ -41,6 +41,7 @@ #include /* GIMP includes */ +#include "glib/gstdio.h" #include "gtk/gtk.h" #include "libgimp/gimp.h" @@ -51,6 +52,12 @@ extern int gap_debug; +/* + p_status_to_string() is defined in gap/gap_pdb_calls.c + */ +const char * p_status_to_string(int status); + + /* -------------------------------- * p_save_as_tmp_png_file * -------------------------------- --- a/vid_common/gap_cme_gui.c +++ b/vid_common/gap_cme_gui.c @@ -53,6 +53,7 @@ #include #include +#include #include #include "gap-intl.h" --- a/libgapbase/gap_base.c +++ b/libgapbase/gap_base.c @@ -50,6 +50,8 @@ /* GIMP includes */ #include "gtk/gtk.h" #include "libgimp/gimp.h" +#include "libgimpwidgets/gimpwidgetstypes.h" +#include "libgimpwidgets/gimphelpui.h" #ifdef G_OS_WIN32 #include debian/patches/broken-comment-delimiter.patch0000644000000000000000000000127711640653270016545 0ustar Description: Remove extraneous comment-closing delimiter Origin: vendor Author: Daniel T Chen Acked-by: Thibaut Paumard Last-Update: 2011-08-30 --- a/libgapvidutil/gap_gve_png.h +++ b/libgapvidutil/gap_gve_png.h @@ -23,7 +23,7 @@ app0_length: the length of the APP0-marker. out:PNG_size: The size of the buffer that is returned. returns: guchar *: A buffer, allocated by this routines, which contains - the compressed PNG, NULL on error. */ + the compressed PNG, NULL on error. */ guchar *gap_gve_png_drawable_encode_png(GimpDrawable *drawable, gint32 png_interlaced, gint32 *PNG_size, debian/patches/series0000644000000000000000000000013211757465301012037 0ustar broken-comment-delimiter.patch implicit-function-declaration format-security fix-includes