commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at 2019-08-05 13:40:50 Comparing /work/SRC/openSUSE:Factory/mtpaint (Old) and /work/SRC/openSUSE:Factory/.mtpaint.new.4126 (New) Package is "mtpaint" Mon Aug 5 13:40:50 2019 rev:22 rq:720994 version:3.40 Changes: --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint.changes 2014-08-20 10:51:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.mtpaint.new.4126/mtpaint.changes 2019-08-05 13:40:52.296391558 +0200 @@ -1,0 +2,9 @@ +Mon Aug 5 09:49:10 UTC 2019 - mvet...@suse.com + +- bsc#1144253 - Drop jasper dependency from mtpaint: + Drop support for opensuse < 1220. mtpaint can choose between + openjpeg and jasper. Dropping jasper but we will still have + JPEG2000 support through openjpeg. +- Run spec-cleaner + +--- Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.ixJQ37/_old 2019-08-05 13:40:53.016391404 +0200 +++ /var/tmp/diff_new_pack.ixJQ37/_new 2019-08-05 13:40:53.020391403 +0200 @@ -1,7 +1,7 @@ # # spec file for package mtpaint # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties @@ -21,9 +21,9 @@ Version:3.40 Release:0 Summary:Painting program for creating icons and pixel-based artwork -License:GPL-3.0+ +License:GPL-3.0-or-later Group: Productivity/Graphics/Bitmap Editors -Url:http://mtpaint.sourceforge.net/ +URL:http://mtpaint.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: http://downloads.sourceforge.net/%{name}/%{name}_handbook-%{version}.zip Patch0: mtpaint-3.40-buff.diff @@ -33,26 +33,20 @@ Patch2: mtpaint-3.40-strip.patch # PATCH-FIX-OPENSUSE mtpaint-3.40-giflib5.diff -- fix build with giflib-5.x Patch3: mtpaint-3.40-giflib5.diff +BuildRequires: desktop-file-utils BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel +BuildRequires: pkgconfig BuildRequires: unzip BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libopenjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(zlib) -%if 0%{?suse_version} >= 1220 -BuildRequires: desktop-file-utils -BuildRequires: pkgconfig(libopenjpeg) -%else -BuildRequires: libjasper-devel -BuildRequires: update-desktop-files -%endif Requires: ImageMagick Recommends: %{name}-lang Recommends: exif -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %lang_package %description @@ -64,7 +58,7 @@ %package handbook Summary:Handbook for the mtpaint painting application -License:GFDL-1.2 +License:GFDL-1.2-only Group: Productivity/Graphics/Bitmap Editors Requires: %{name} = %{version} BuildArch: noarch @@ -94,11 +88,7 @@ gtkfilesel \ imagick \ intl \ -%if 0%{?suse_version} >= 1220 jp2 \ -%else -jasper \ -%endif jpeg \ lcms2 \ man \ @@ -123,16 +113,16 @@ %desktop_database_postun %files -%defattr(-, root, root, -) -%doc COPYING NEWS README +%license COPYING +%doc NEWS README %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/%{name}.png -%doc %{_mandir}/man1/%{name}* +%{_mandir}/man1/%{name}* %files handbook -%defattr(-, root, root, -) -%doc %{name}_handbook-%{version}/COPYING %{name}_handbook-%{version}/docs/* +%license %{name}_handbook-%{version}/COPYING +%doc %{name}_handbook-%{version}/docs/* %files lang -f %{name}.lang
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at 2014-08-20 10:51:11 Comparing /work/SRC/openSUSE:Factory/mtpaint (Old) and /work/SRC/openSUSE:Factory/.mtpaint.new (New) Package is "mtpaint" Changes: --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint.changes 2013-03-22 21:06:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint.changes 2014-08-20 10:51:38.0 +0200 @@ -1,0 +2,5 @@ +Tue Aug 19 03:22:02 UTC 2014 - jeng...@inai.de + +- Augment mtpaint-3.40-giflib5.diff to support giflib7 API + +--- Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.blrS52/_old 2014-08-20 10:51:39.0 +0200 +++ /var/tmp/diff_new_pack.blrS52/_new 2014-08-20 10:51:39.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mtpaint # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties ++ mtpaint-3.40-giflib5.diff ++ --- /var/tmp/diff_new_pack.blrS52/_old 2014-08-20 10:51:39.0 +0200 +++ /var/tmp/diff_new_pack.blrS52/_new 2014-08-20 10:51:39.0 +0200 @@ -1,8 +1,25 @@ -diff --git a/src/png.c b/src/png.c -index 2b30821..e2ecf8f 100644 a/src/png.c -+++ b/src/png.c -@@ -1509,8 +1509,11 @@ static int load_gif_frames(char *file_name, ani_settings *ani) +--- + src/png.c | 35 ++- + 1 file changed, 30 insertions(+), 5 deletions(-) + +Index: mtpaint-3.40/src/png.c +=== +--- mtpaint-3.40.orig/src/png.c mtpaint-3.40/src/png.c +@@ -57,6 +57,12 @@ + #include + #endif + ++#if defined(GIFLIB_MAJOR) && \ ++ (GIFLIB_MAJOR < 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR < 1)) ++# define DGifCloseFile(a, b) DGifCloseFile(a) ++# define EGifCloseFile(a, b) EGifCloseFile(a) ++#endif ++ + #include "global.h" + + #include "mygtk.h" +@@ -1509,8 +1515,11 @@ static int load_gif_frames(char *file_na ls_settings w_set, init_set; int res, val, disposal, bpp, cmask, lastzero = FALSE; @@ -15,7 +32,16 @@ /* Init state structure */ memset(&stat, 0, sizeof(stat)); -@@ -1621,7 +1624,11 @@ static int load_gif(char *file_name, ls_settings *settings) +@@ -1608,7 +1617,7 @@ static int load_gif_frames(char *file_na + } + res = 1; + fail: mem_free_chanlist(w_set.img); +- DGifCloseFile(giffy); ++ DGifCloseFile(giffy, NULL); + return (res); + } + +@@ -1621,7 +1630,11 @@ static int load_gif(char *file_name, ls_ int delay = settings->gif_delay, trans = -1;//, disposal = 0; @@ -27,7 +53,16 @@ /* Get global palette */ settings->colors = convert_gif_palette(settings->pal, giffy->SColorMap); -@@ -1682,10 +1689,17 @@ static int save_gif(char *file_name, ls_settings *settings) +@@ -1659,7 +1672,7 @@ static int load_gif(char *file_name, ls_ + } + } + res = 1; +-fail: DGifCloseFile(giffy); ++fail: DGifCloseFile(giffy, NULL); + return (res); + } + +@@ -1682,10 +1695,17 @@ static int save_gif(char *file_name, ls_ nc |= nc >> 1; nc |= nc >> 2; nc |= nc >> 4; nc += !nc + 1; // No less than 2 colors @@ -45,7 +80,15 @@ if (!giffy) goto fail0; for (i = 0; i < settings->colors; i++) -@@ -1732,7 +1746,12 @@ fail: EGifCloseFile(giffy); +@@ -1725,14 +1745,19 @@ static int save_gif(char *file_name, ls_ + if (!settings->silent) progress_end(); + msg = 0; + +-fail: EGifCloseFile(giffy); ++fail: EGifCloseFile(giffy, NULL); + #ifndef WIN32 + /* giflib creates files with 0600 permissions, which is nasty - WJ */ + mode = umask(0022); umask(mode); chmod(file_name, 0666 & ~mode); #endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at 2013-03-22 21:06:40 Comparing /work/SRC/openSUSE:Factory/mtpaint (Old) and /work/SRC/openSUSE:Factory/.mtpaint.new (New) Package is "mtpaint", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint.changes 2012-11-25 13:08:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint.changes 2013-03-22 21:06:41.0 +0100 @@ -1,0 +2,5 @@ +Tue Mar 12 22:03:46 UTC 2013 - seife+...@b1-systems.com + +- fix build with giflib-5.x (mtpaint-3.40-giflib5.diff) + +--- New: mtpaint-3.40-giflib5.diff Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.JQ7OlY/_old 2013-03-22 21:06:42.0 +0100 +++ /var/tmp/diff_new_pack.JQ7OlY/_new 2013-03-22 21:06:42.0 +0100 @@ -1,7 +1,8 @@ # # spec file for package mtpaint # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +31,8 @@ Patch1: mtpaint-3.40-xdg-open.patch # PATCH-FIX-OPENSUSE mtpaint-3.40-strip.patch rh#787462 -- don't strip binary Patch2: mtpaint-3.40-strip.patch +# PATCH-FIX-OPENSUSE mtpaint-3.40-giflib5.diff -- fix build with giflib-5.x +Patch3: mtpaint-3.40-giflib5.diff BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel @@ -75,6 +78,7 @@ %patch0 -p1 %patch1 -p1 %patch2 +%patch3 -p1 %build # fix warnings for gcc >= 4.4, use -fno-strict-aliasing @@ -86,7 +90,6 @@ asneeded \ cflags \ GIF \ -gif \ gtk2 \ gtkfilesel \ imagick \ ++ mtpaint-3.40-giflib5.diff ++ diff --git a/src/png.c b/src/png.c index 2b30821..e2ecf8f 100644 --- a/src/png.c +++ b/src/png.c @@ -1509,8 +1509,11 @@ static int load_gif_frames(char *file_name, ani_settings *ani) ls_settings w_set, init_set; int res, val, disposal, bpp, cmask, lastzero = FALSE; - +#if GIFLIB_MAJOR < 5 if (!(giffy = DGifOpenFileName(file_name))) return (-1); +#else + if (!(giffy = DGifOpenFileName(file_name, NULL))) return (-1); +#endif /* Init state structure */ memset(&stat, 0, sizeof(stat)); @@ -1621,7 +1624,11 @@ static int load_gif(char *file_name, ls_settings *settings) int delay = settings->gif_delay, trans = -1;//, disposal = 0; +#if GIFLIB_MAJOR < 5 if (!(giffy = DGifOpenFileName(file_name))) return (-1); +#else + if (!(giffy = DGifOpenFileName(file_name, NULL))) return (-1); +#endif /* Get global palette */ settings->colors = convert_gif_palette(settings->pal, giffy->SColorMap); @@ -1682,10 +1689,17 @@ static int save_gif(char *file_name, ls_settings *settings) nc |= nc >> 1; nc |= nc >> 2; nc |= nc >> 4; nc += !nc + 1; // No less than 2 colors +#if GIFLIB_MAJOR < 5 gif_map = MakeMapObject(nc, NULL); if (!gif_map) return -1; giffy = EGifOpenFileName(file_name, FALSE); +#else + gif_map = GifMakeMapObject(nc, NULL); + if (!gif_map) return -1; + + giffy = EGifOpenFileName(file_name, FALSE, NULL); +#endif if (!giffy) goto fail0; for (i = 0; i < settings->colors; i++) @@ -1732,7 +1746,12 @@ fail:EGifCloseFile(giffy); umask(mode); chmod(file_name, 0666 & ~mode); #endif -fail0: FreeMapObject(gif_map); +fail0: +#if GIFLIB_MAJOR < 5 + FreeMapObject(gif_map); +#else + GifFreeMapObject(gif_map); +#endif return (msg); } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at 2012-11-25 13:08:43 Comparing /work/SRC/openSUSE:Factory/mtpaint (Old) and /work/SRC/openSUSE:Factory/.mtpaint.new (New) Package is "mtpaint", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint.changes 2012-03-01 17:21:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint.changes 2012-11-25 13:08:46.0 +0100 @@ -1,0 +2,45 @@ +Mon Nov 19 20:21:50 UTC 2012 - lazy.k...@opensuse.org + +- Update to 3.40. + * Usage of multiple CPU cores to speed up slower processing +tasks. + * Two new tools - for image segmentation, and for approximating +gradients using palette colours. + * Dynamic preview in colour selectors. + * sRGB (linear RGB) colour scales and gradients. + * Palette sorting by brightness. + * Dock area to hold settings toolbar and layers window. + * Colour chooser popup. + * Autoscrolling in canvas, view and palette windows. + * Auto-resizing toolbars. + * Support for PBM/PGM/PPM/PAM, PCX and SVG image formats. + * Support for ICC colour profiles in images. + * Loading of animated GIFs and multipage TIFFs into layers. + * Palette extraction from image files. + * Format conversions in file actions. + * "Snap to grid" mode. + * New keyboard shortcuts. + * And various speedups, interface improvements and bugfixes. +- Drop mtpaint-3.31-libpng14.patch, + mtpaint-fix-no-add-needed.patch, mtpaint-3.31-openjpeg.patch, + mtpaint-3.31-ld_fix.patch (fixed upstream or no need). +- Refresh mtpaint-buff.diff. +- Rework mtpaint-xdg-open.patch: fix hardcoded apps and options. +- Add mtpaint-3.40-strip.patch: don't strip binary (rh#787462). +- Correct build dependencies: + * Remove: dos2unix, gettext. + * Add: pkgconfig(libopenjpeg) (for openSUSE >= 12.2) or +libjasper-devel, unzip, pkgconfig(lcms2). + * Use pkgconfig(*). +- Requires ImageMagick; recommends exif. +- Don't call %suse_update_desktop_file macro. +- Split off language subpackage. +- Correct configure options: + * Remove: debug. + * Add: gif, gtkfilesel, imagick, jp2 or jasper, lcms2, thread. +- Use parallel build. +- Remove check for unsupported openSUSE versions. +- Mark man as doc. +- Clean up and formatting spec. + +--- Old: mtpaint-3.31-buff.diff mtpaint-3.31-ld_fix.patch mtpaint-3.31-libpng14.patch mtpaint-3.31-openjpeg.patch mtpaint-3.31-xdg-open.patch mtpaint-3.31.tar.bz2 mtpaint-fix-no-add-needed.patch mtpaint_handbook-3.31.tar.bz2 New: mtpaint-3.40-buff.diff mtpaint-3.40-strip.patch mtpaint-3.40-xdg-open.patch mtpaint-3.40.tar.bz2 mtpaint_handbook-3.40.zip Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.ID9L1z/_old 2012-11-25 13:08:53.0 +0100 +++ /var/tmp/diff_new_pack.ID9L1z/_new 2012-11-25 13:08:53.0 +0100 @@ -15,33 +15,42 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Summary:Painting program for creating icons and pixel-based artwork -License:GPL-3.0+ -Group: Productivity/Graphics/Bitmap Editors Name: mtpaint -Version:3.31 +Version:3.40 Release:0 +Summary:Painting program for creating icons and pixel-based artwork +License:GPL-3.0+ +Group: Productivity/Graphics/Bitmap Editors Url:http://mtpaint.sourceforge.net/ -Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2 -Source1: http://downloads.sf.net/%{name}/%{name}_handbook-%{version}.tar.bz2 -Patch: %{name}-3.31-xdg-open.patch -Patch1: %{name}-3.31-openjpeg.patch -Patch2: %{name}-3.31-buff.diff -Patch3: %{name}-3.31-libpng14.patch -Patch4: %{name}-fix-no-add-needed.patch -Patch5: %{name}-3.31-ld_fix.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: desktop-file-utils -BuildRequires: dos2unix -BuildRequires: gettext +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +Source1: http://downloads.sourceforge.net/%{name}/%{name}_handbook-%{version}.zip +Patch0: mtpaint-3.40-buff.diff +# PATCH-FIX-OPENSUSE mtpaint-3.40-xdg-open.patch -- fix hardcoded apps, options and handbook location +Patch1: mtpaint-3.40-xdg-open.patch +# PATCH-FIX-OPENSUSE mtpaint-3.40-strip.patch rh#787462 -- don't strip binary +Patch2: mtpaint-3.40-strip.patch BuildRequires: giflib-devel -BuildRequires: gtk2-devel BuildRequires: libjpeg-devel -BuildRequires: libpng-devel BuildRequires: libtiff-devel +BuildRequires: unzip +BuildRequires:
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at 2012-03-01 17:21:05 Comparing /work/SRC/openSUSE:Factory/mtpaint (Old) and /work/SRC/openSUSE:Factory/.mtpaint.new (New) Package is "mtpaint", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint.changes 2011-09-23 02:13:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint.changes 2012-03-01 17:21:06.0 +0100 @@ -1,0 +2,12 @@ +Mon Feb 27 08:41:15 UTC 2012 - cfarr...@suse.com + +- license update: GPL-3.0+ + For the docs look at the COPYING (1.2 _not_ 1.3). For the main package + there is no indication that GPLv3 only is intended + +--- +Thu Jan 12 11:30:48 UTC 2012 - co...@suse.com + +- change license to be in spdx.org format + +--- Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.B7NRyZ/_old 2012-03-01 17:21:07.0 +0100 +++ /var/tmp/diff_new_pack.B7NRyZ/_new 2012-03-01 17:21:07.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package mtpaint # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,15 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Summary:Painting program for creating icons and pixel-based artwork +License:GPL-3.0+ +Group: Productivity/Graphics/Bitmap Editors Name: mtpaint Version:3.31 -Release:13 -License:GPLv3 -Group: Productivity/Graphics/Bitmap Editors +Release:0 Url:http://mtpaint.sourceforge.net/ Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2 Source1: http://downloads.sf.net/%{name}/%{name}_handbook-%{version}.tar.bz2 @@ -34,10 +32,16 @@ Patch4: %{name}-fix-no-add-needed.patch Patch5: %{name}-3.31-ld_fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -AutoReqProv:on -BuildRequires: gtk2-devel libpng-devel update-desktop-files zlib-devel -BuildRequires: giflib-devel libjpeg-devel libtiff-devel -BuildRequires: desktop-file-utils dos2unix gettext +BuildRequires: desktop-file-utils +BuildRequires: dos2unix +BuildRequires: gettext +BuildRequires: giflib-devel +BuildRequires: gtk2-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: update-desktop-files +BuildRequires: zlib-devel %description mtPaint is a simple painting program designed for creating icons and @@ -48,8 +52,8 @@ %package handbook Summary:Handbook for the mtpaint painting application +License:GFDL-1.2 Group: Productivity/Graphics/Bitmap Editors -License:GFDL Requires: %{name} = %{version} %if 0%{?suse_version} >= 1120 BuildArch: noarch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at Mon Sep 19 21:14:39 CEST 2011. --- mtpaint/mtpaint.changes 2011-09-04 17:23:52.0 +0200 +++ /mounts/work_src_done/STABLE/mtpaint/mtpaint.changes2011-09-18 08:59:42.0 +0200 @@ -1,0 +2,5 @@ +Sun Sep 18 06:58:50 UTC 2011 - and...@opensuse.org + +- added mtpaint-3.31-ld_fix.patch to fix failure caused by new ld + +--- calling whatdependson for head-i586 New: mtpaint-3.31-ld_fix.patch Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.VsvAYM/_old 2011-09-19 21:14:30.0 +0200 +++ /var/tmp/diff_new_pack.VsvAYM/_new 2011-09-19 21:14:30.0 +0200 @@ -31,7 +31,8 @@ Patch1: %{name}-3.31-openjpeg.patch Patch2: %{name}-3.31-buff.diff Patch3: %{name}-3.31-libpng14.patch -Patch4: mtpaint-fix-no-add-needed.patch +Patch4: %{name}-fix-no-add-needed.patch +Patch5: %{name}-3.31-ld_fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv:on BuildRequires: gtk2-devel libpng-devel update-desktop-files zlib-devel @@ -67,6 +68,7 @@ %patch3 -p1 %endif %patch4 +%patch5 -p1 %{__chmod} 0755 %{name}_handbook-%{version}/docs/{en_GB,img,files,cs} dos2unix -k %{name}_handbook-%{version}/docs/index.html dos2unix -k %{name}_handbook-%{version}/docs/{en_GB,cs}/*.html ++ mtpaint-3.31-ld_fix.patch ++ diff -uNr old-mtpaint-3.31//src/Makefile mtpaint-3.31/src/Makefile --- old-mtpaint-3.31//src/Makefile 2008-11-08 18:31:59.0 +0100 +++ mtpaint-3.31/src/Makefile 2011-09-18 08:56:49.996370402 +0200 @@ -1,7 +1,7 @@ include ../_conf.txt CFLAGS = $(CFLAG) -LDFLAGS = $(LDFLAG) $(GLIB_LIB) +LDFLAGS = $(LDFLAG) $(GLIB_LIB) -lm BIN = mtpaint Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at Mon Sep 5 16:41:48 CEST 2011. --- mtpaint/mtpaint.changes 2011-03-14 22:18:23.0 +0100 +++ /mounts/work_src_done/STABLE/mtpaint/mtpaint.changes2011-09-04 17:23:52.0 +0200 @@ -1,0 +2,5 @@ +Sun Sep 4 15:23:26 UTC 2011 - crrodrig...@opensuse.org + +- Fix build with no-add-needed. + +--- calling whatdependson for head-i586 New: mtpaint-fix-no-add-needed.patch Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.dfjWpq/_old 2011-09-05 16:39:10.0 +0200 +++ /var/tmp/diff_new_pack.dfjWpq/_new 2011-09-05 16:39:10.0 +0200 @@ -21,7 +21,7 @@ Name: mtpaint Version:3.31 -Release:11 +Release:13 License:GPLv3 Group: Productivity/Graphics/Bitmap Editors Url:http://mtpaint.sourceforge.net/ @@ -31,6 +31,7 @@ Patch1: %{name}-3.31-openjpeg.patch Patch2: %{name}-3.31-buff.diff Patch3: %{name}-3.31-libpng14.patch +Patch4: mtpaint-fix-no-add-needed.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv:on BuildRequires: gtk2-devel libpng-devel update-desktop-files zlib-devel @@ -65,7 +66,7 @@ %if 0%{?suse_version} > 1120 %patch3 -p1 %endif - +%patch4 %{__chmod} 0755 %{name}_handbook-%{version}/docs/{en_GB,img,files,cs} dos2unix -k %{name}_handbook-%{version}/docs/index.html dos2unix -k %{name}_handbook-%{version}/docs/{en_GB,cs}/*.html ++ mtpaint-fix-no-add-needed.patch ++ --- src/Makefile.orig +++ src/Makefile @@ -10,7 +10,7 @@ OBJS = mainwindow.o inifile.o png.o memo toolbar.o channels.o csel.o shifter.o spawn.o font.o fpick.o icons.o cpick.o $(BIN): main.o $(OBJS) - $(CC) main.o $(OBJS) -o $(BIN) $(LDFLAGS) + $(CC) main.o $(OBJS) -o $(BIN) $(LDFLAGS) -lX11 .c.o: $(CC) $(CFLAGS) -c -o $*.o $*.c Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mtpaint for openSUSE:Factory
Hello community, here is the log from the commit of package mtpaint for openSUSE:Factory checked in at Mon May 2 17:55:22 CEST 2011. --- mtpaint/mtpaint.changes 2010-04-05 10:08:54.0 +0200 +++ mtpaint/mtpaint.changes 2011-03-14 22:18:23.0 +0100 @@ -1,0 +2,10 @@ +Mon Mar 14 21:11:41 UTC 2011 - g...@opensuse.org + +- removed obsolete existing %post/%postun + +--- +Mon Mar 14 18:51:42 UTC 2011 - g...@opensuse.org + +- call %desktop_database_post/un + +--- calling whatdependson for head-i586 Other differences: -- ++ mtpaint.spec ++ --- /var/tmp/diff_new_pack.785cur/_old 2011-05-02 17:54:35.0 +0200 +++ /var/tmp/diff_new_pack.785cur/_new 2011-05-02 17:54:35.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package mtpaint (Version 3.31) +# spec file for package mtpaint # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Name: mtpaint Version:3.31 -Release:3 +Release:11 License:GPLv3 Group: Productivity/Graphics/Bitmap Editors Url:http://mtpaint.sourceforge.net/ @@ -92,28 +92,17 @@ %find_lang %{name} +%clean +%__rm -rf %buildroot + +%if 0%{?suse_version} >= 1140 + %post -touch --no-create %{_datadir}/icons/hicolor -if [ -x %{_bindir}/gtk-update-icon-cache ] ; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor -fi -if [ -x %{_bindir}/update-desktop-database ] ; then - %{_bindir}/update-desktop-database &> /dev/null -fi -exit 0 +%desktop_database_post %postun -touch --no-create %{_datadir}/icons/hicolor -if [ -x %{_bindir}/gtk-update-icon-cache ] ; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor -fi -if [ -x %{_bindir}/update-desktop-database ] ; then - %{_bindir}/update-desktop-database &> /dev/null -fi -exit 0 - -%clean -%__rm -rf %buildroot +%desktop_database_postun +%endif %files -f %{name}.lang %defattr(-, root, root, -) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org