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.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint.changes 2012-11-25 13:08:46.000000000 +0100 @@ -1,0 +2,45 @@ +Mon Nov 19 20:21:50 UTC 2012 - [email protected] + +- 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.000000000 +0100 +++ /var/tmp/diff_new_pack.ID9L1z/_new 2012-11-25 13:08:53.000000000 +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: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(lcms2) +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 -BuildRequires: zlib-devel +%endif +Requires: ImageMagick +Recommends: %{name}-lang +Recommends: exif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%lang_package %description mtPaint is a simple painting program designed for creating icons and @@ -55,9 +64,7 @@ License: GFDL-1.2 Group: Productivity/Graphics/Bitmap Editors Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1120 BuildArch: noarch -%endif %description handbook Install this package is want to read the handbook for the painting @@ -65,62 +72,65 @@ %prep %setup -q -a 1 -%patch -p0 -%patch1 -p0 -%patch2 -p0 -%if 0%{?suse_version} > 1120 -%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 +%patch0 -p1 +%patch1 -p1 +%patch2 %build - # fix warnings for gcc >= 4.4, use -fno-strict-aliasing - -%if 0%{?suse_version} >= 1100 -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -%endif - +export CFLAGS="%{optflags} -fno-strict-aliasing" # This is not a "normal" configure -%configure cflags asneeded debug intl man gtk2 tiff jpeg GIF -%{__make} +./configure \ + --prefix=%{_prefix} \ + --docdir=%{_defaultdocdir}/%{name} \ + asneeded \ + cflags \ + GIF \ + gif \ + gtk2 \ + gtkfilesel \ + imagick \ + intl \ +%if 0%{?suse_version} >= 1220 + jp2 \ +%else + jasper \ +%endif + jpeg \ + lcms2 \ + man \ + tiff \ + thread +make %{?_smp_mflags} %install -%{__make} install MT_PREFIX=%{buildroot}%{_prefix} \ - MT_MAN_DEST=%{buildroot}%{_mandir}/man1 \ +make install \ + MT_PREFIX=%{buildroot}%{_prefix} \ + BIN_INSTALL=%{buildroot}%{_bindir} \ + MT_DATAROOT=%{buildroot}%{_datadir} \ MT_LANG_DEST=%{buildroot}%{_datadir}/locale \ - BIN_INSTALL=%{buildroot}%{_bindir} - -%suse_update_desktop_file %{name} + MT_MAN_DEST=%{buildroot}%{_mandir} %find_lang %{name} -%clean -%__rm -rf %buildroot - -%if 0%{?suse_version} >= 1140 - %post %desktop_database_post %postun %desktop_database_postun -%endif -%files -f %{name}.lang +%files %defattr(-, root, root, -) %doc COPYING NEWS README -%{_mandir}/man1/%{name}* %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/%{name}.png +%doc %{_mandir}/man1/%{name}* %files handbook %defattr(-, root, root, -) %doc %{name}_handbook-%{version}/COPYING %{name}_handbook-%{version}/docs/* +%files lang -f %{name}.lang + %changelog ++++++ mtpaint-3.31-buff.diff -> mtpaint-3.40-buff.diff ++++++ --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint-3.31-buff.diff 2011-09-23 02:13:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint-3.40-buff.diff 2012-11-25 13:08:46.000000000 +0100 @@ -1,7 +1,9 @@ ---- src/font.c.orig 2009-07-10 23:21:34.224208308 +0200 -+++ src/font.c 2009-07-10 23:22:29.176176295 +0200 -@@ -1264,7 +1264,7 @@ - static gint click_add_font_dir( GtkWidget *widget, gpointer user ) +Index: mtpaint-3.40/src/font.c +=================================================================== +--- mtpaint-3.40.orig/src/font.c ++++ mtpaint-3.40/src/font.c +@@ -1206,7 +1206,7 @@ static void populate_font_clist( mtfonts + static void click_add_font_dir(GtkWidget *widget, gpointer user) { int i = inifile_get_gint32("font_dirs", 0 ); - char txt[PATHBUF], buf[32]; ++++++ mtpaint-3.40-strip.patch ++++++ --- configure~ 2011-12-29 20:08:17.000000000 +0200 +++ configure 2012-02-05 11:49:03.102554858 +0200 @@ -473,3 +473,2 @@ fi -[ "$OPTS" != DEBUG ] && LDFLAGS="-s $LDFLAGS" # Strip debug info # Set Windows-specific flags ++++++ mtpaint-3.31-xdg-open.patch -> mtpaint-3.40-xdg-open.patch ++++++ --- /work/SRC/openSUSE:Factory/mtpaint/mtpaint-3.31-xdg-open.patch 2011-09-23 02:13:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mtpaint.new/mtpaint-3.40-xdg-open.patch 2012-11-25 13:08:46.000000000 +0100 @@ -1,6 +1,32 @@ ---- src/png.c.orig 2009-02-05 11:39:16.000000000 +0100 -+++ src/png.c 2009-07-11 00:57:55.000000000 +0200 -@@ -4480,9 +4480,9 @@ +Index: mtpaint-3.40/src/spawn.c +=================================================================== +--- mtpaint-3.40.orig/src/spawn.c ++++ mtpaint-3.40/src/spawn.c +@@ -381,17 +381,17 @@ void init_factions() + #ifndef WIN32 + int i, j; + static char *row_def[][3] = { +- {"View EXIF data (leafpad)", "exif %f | leafpad"}, ++ {"View EXIF data", "xterm -hold -sb -rightbar -e exif %f"}, + {"View filesystem data (xterm)", "xterm -hold -e ls -l %f"}, + {"Edit in Gimp", "gimp %f"}, + {"View in GQview", "gqview %f"}, +- {"Print image", "kprinter %f"}, +- {"Email image", "seamonkey -compose attachment=file://%f"}, ++ {"Print image", "lp %f"}, ++ {"Email image", "xdg-email --attach %f"}, + {"Send image to Firefox", "firefox %f"}, +- {"Send image to OpenOffice", "soffice %f"}, ++ {"Send image to LibreOffice", "soffice %f"}, + {"Edit Clipboards", "mtpaint ~/.clip*"}, +- {"Time delayed screenshot", "sleep 10; mtpaint -s &"}, +- {"View image information", "xterm -hold -sb -rightbar -geometry 100x100 -e identify -verbose %f"}, ++ {"Time delayed screenshot", "sleep 5; mtpaint -s &"}, ++ {"View image information", "xterm -hold -sb -rightbar -e identify -verbose %f"}, + {"#Create temp directory", "mkdir ~/images"}, + {"#Remove temp directory", "rm -rf ~/images"}, + {"#GIF to PNG conversion (in situ)", "mogrify -format png *.gif"}, +@@ -757,9 +757,9 @@ int run_def_action(int action, char *sna #else /* Linux */ @@ -11,5 +37,5 @@ +#define HANDBOOK_LOCATION "/usr/share/doc/packages/mtpaint-handbook/index.html" +#define HANDBOOK_LOCATION2 "/usr/share/doc/packages/mtpaint/index.html" - #include "spawn.h" + #endif ++++++ mtpaint-3.31.tar.bz2 -> mtpaint-3.40.tar.bz2 ++++++ ++++ 143830 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
