commit tuxpaint for openSUSE:Factory

2019-10-04 Thread root
Hello community,

here is the log from the commit of package tuxpaint for openSUSE:Factory 
checked in at 2019-10-04 16:07:07

Comparing /work/SRC/openSUSE:Factory/tuxpaint (Old)
 and  /work/SRC/openSUSE:Factory/.tuxpaint.new.2352 (New)


Package is "tuxpaint"

Fri Oct  4 16:07:07 2019 rev:9 rq:734959 version:0.9.23

Changes:

--- /work/SRC/openSUSE:Factory/tuxpaint/tuxpaint.changes2019-03-27 
16:21:54.607523429 +0100
+++ /work/SRC/openSUSE:Factory/.tuxpaint.new.2352/tuxpaint.changes  
2019-10-04 16:07:12.840631056 +0200
@@ -1,0 +2,32 @@
+Thu Oct  3 10:24:37 UTC 2019 - Bjørn Lie 
+
+- Drop unneeded libgnome-devel BuildRequires: tuxpaint builds fine
+  without it.
+
+---
+Tue Apr 16 09:46:37 UTC 2019 - l...@linux-schulserver.de - 0.9.23
+
+- update to 0.9.23:
+  * New tools: * Color selector
+  * New shapes: * Stars
+  * Documentation updates: * Made stamp controls (size, flip, mirror) 
+section clearer.
+Fixes https://sourceforge.net/p/tuxpaint/bugs/182/
+  * Cleaned up and reorganized docs subdirectory.
+  * New locales: Bengali, Bodo, Dogri, Kabyle (aka Kabylian), 
+Kashmiri (Devanagari), Sindhi (Devanagari), Urdu
+  * Localization Updates
+  * Bug Fixes:
++ Crash if any "mosaic" magic tool used, Xubuntu 15.10
+  If the PNG patterns used to generate the effect were compressed
+  the wrong(lossy) way, the program will crash
+  (SF.net Bug #210)
++ "Hat" started could not be drawn on.  Mended.
+  https://sourceforge.net/p/tuxpaint/bugs/202/
+  * Other Improvements:
++ Reformatted source code via GNU Indent tool; should
+  greatly increase code readability and formatting consistency.
+- removed reproducible.patch: fixed upstream
+- adjusted 0001-Prepare-the-kdelibs4-removal.patch (kdelibs4-removal.patch)
+
+---

Old:

  0001-Prepare-the-kdelibs4-removal.patch
  reproducible.patch
  tuxpaint-0.9.22.tar.gz

New:

  kdelibs4-removal.patch
  tuxpaint-0.9.23.tar.gz



Other differences:
--
++ tuxpaint.spec ++
--- /var/tmp/diff_new_pack.X3AfSd/_old  2019-10-04 16:07:13.896628354 +0200
+++ /var/tmp/diff_new_pack.X3AfSd/_new  2019-10-04 16:07:13.900628344 +0200
@@ -18,7 +18,7 @@
 
 %define gnomedir   %(gnome-config --prefix)
 Name:   tuxpaint
-Version:0.9.22
+Version:0.9.23
 Release:0
 Summary:Drawing Program for Young Children
 License:GPL-2.0-or-later
@@ -27,10 +27,8 @@
 Source: 
http://sourceforge.net/projects/tuxpaint/files/tuxpaint/%{version}/%{name}-%{version}.tar.gz
 Source1:tuxpaint-rpmlintrc
 # PATCH-FIX-OPENSUSE 0001-Prepare-the-kdelibs4-removal.patch
-Patch0: 0001-Prepare-the-kdelibs4-removal.patch
+Patch0: kdelibs4-removal.patch
 Patch1: tuxpaint-import-eval.patch
-# PATCH-FIX-UPSTREAM bmwiedemann boo#1047218
-Patch2: reproducible.patch
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_Pango-devel
 BuildRequires:  SDL_image-devel
@@ -47,8 +45,6 @@
 %if 0%{?suse_version}
 BuildRequires:  fdupes
 BuildRequires:  gettext-devel
-# Makefile uses gnome-config to detect GNOME_PREFIX
-BuildRequires:  libgnome-devel
 BuildRequires:  librsvg-devel
 BuildRequires:  update-desktop-files
 Requires:   freefont
@@ -110,7 +106,6 @@
 %setup -q
 %patch0 -p1
 %patch1  -b .import-eval-patch
-%patch2  -b .reproducible
 find . -name CVS   -print0 | xargs -0 rm -rf
 find docs/ -type f -print0 | xargs -0 chmod -v 644
 

++ kdelibs4-removal.patch ++
Index: tuxpaint-0.9.23/Makefile
===
--- tuxpaint-0.9.23.orig/Makefile
+++ tuxpaint-0.9.23/Makefile
@@ -190,8 +190,8 @@ endif
 ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
 X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
 
-KDE_PREFIX:=$(shell kde-config --install xdgdata-apps --expandvars 2> 
/dev/null)
-KDE_ICON_PREFIX:=$(shell kde4-config --install icon --expandvars 2> /dev/null)
+KDE_PREFIX:=$(DESTDIR)$(PREFIX)/share/applications
+KDE_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/icons
 
 # Maemo flag
 MAEMOFLAG:=
@@ -786,7 +786,6 @@ install-kde:
  cp src/tuxpaint.desktop $(DESTDIR)$(KDE_PREFIX)/; \
  chmod 644 $(DESTDIR)$(KDE_PREFIX)/tuxpaint.desktop; \
fi
-   kbuildsycoca4
 
 .PHONY: install-kde-icons
 install-kde-icons:
++ tuxpaint-0.9.22.tar.gz -> tuxpaint-0.9.23.tar.gz ++
/work/SRC/openSUSE:Factory/tuxpaint/tuxpaint-0.9.22.tar.gz 
/work/SRC/openSUSE:Factory/.tuxpaint.new.2352/tuxpaint-0.9.23.tar.gz differ: 
char 5, line 1




commit tuxpaint for openSUSE:Factory

2019-03-27 Thread root
Hello community,

here is the log from the commit of package tuxpaint for openSUSE:Factory 
checked in at 2019-03-27 16:21:42

Comparing /work/SRC/openSUSE:Factory/tuxpaint (Old)
 and  /work/SRC/openSUSE:Factory/.tuxpaint.new.25356 (New)


Package is "tuxpaint"

Wed Mar 27 16:21:42 2019 rev:8 rq:689008 version:0.9.22

Changes:

--- /work/SRC/openSUSE:Factory/tuxpaint/tuxpaint.changes2018-07-17 
09:43:56.956948809 +0200
+++ /work/SRC/openSUSE:Factory/.tuxpaint.new.25356/tuxpaint.changes 
2019-03-27 16:21:54.607523429 +0100
@@ -1,0 +2,13 @@
+Tue Mar 26 07:58:30 UTC 2019 - Christophe Giboudeaux 
+
+- Fix the previous commit. The build service picked the wrong
+  revision.
+
+---
+Mon Mar 25 16:36:02 UTC 2019 - Christophe Giboudeaux 
+
+- Add 0001-Prepare-the-kdelibs4-removal.patch to prepare the
+  kdelibs4 removal
+- Run spec-cleaner
+
+---

New:

  0001-Prepare-the-kdelibs4-removal.patch



Other differences:
--
++ tuxpaint.spec ++
--- /var/tmp/diff_new_pack.B1rDYg/_old  2019-03-27 16:21:55.299523285 +0100
+++ /var/tmp/diff_new_pack.B1rDYg/_new  2019-03-27 16:21:55.299523285 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tuxpaint
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define kderootdir %(kde4-config --prefix || kde-config --prefix)
 %define gnomedir   %(gnome-config --prefix)
 Name:   tuxpaint
 Version:0.9.22
 Release:0
 Summary:Drawing Program for Young Children
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Graphics/Bitmap Editors
-Url:http://www.tuxpaint.org/
+URL:http://www.tuxpaint.org/
 Source: 
http://sourceforge.net/projects/tuxpaint/files/tuxpaint/%{version}/%{name}-%{version}.tar.gz
 Source1:tuxpaint-rpmlintrc
+# PATCH-FIX-OPENSUSE 0001-Prepare-the-kdelibs4-removal.patch
+Patch0: 0001-Prepare-the-kdelibs4-removal.patch
 Patch1: tuxpaint-import-eval.patch
 # PATCH-FIX-UPSTREAM bmwiedemann boo#1047218
 Patch2: reproducible.patch
@@ -40,7 +41,6 @@
 BuildRequires:  libpaper-devel
 BuildRequires:  libpng-devel
 BuildRequires:  zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #
 # openSUSE
 #
@@ -55,8 +55,6 @@
 Requires:   netpbm
 Recommends: tuxpaint-config
 Recommends: tuxpaint-stamps
-# Makefile uses kde-config to detect KDE_PREFIX
-BuildRequires:  kdelibs4-core
 %endif
 #
 # Fedora
@@ -110,6 +108,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1  -b .import-eval-patch
 %patch2  -b .reproducible
 find . -name CVS   -print0 | xargs -0 rm -rf
@@ -160,12 +159,11 @@
 %find_lang %{name}
 
 %files -f %{name}.lang
-%defattr(-,root,root)
 %if 0%{?suse_version}
 %doc %{_defaultdocdir}/%{name}
 %endif
-%doc %{_mandir}/man1/tuxpaint*
-%doc %{_mandir}/pl/man1/tuxpaint.1*
+%{_mandir}/man1/tuxpaint*
+%{_mandir}/pl/man1/tuxpaint.1%{?ext_man}
 %dir %{_sysconfdir}/%{name}
 %dir %{_mandir}/pl
 %dir %{_mandir}/pl/man1
@@ -177,7 +175,7 @@
 %{_datadir}/%{name}/
 %{_datadir}/pixmaps/%{name}.*
 %{_datadir}/applications/*.desktop
-%{kderootdir}/share/icons/hicolor
+%{_datadir}/icons/hicolor
 %if 0%{?suse_version} <= 1130
 # locales not in official openSUSE distribution
 %dir %{_datadir}/locale/en_ZA
@@ -203,11 +201,10 @@
 %endif
 
 %files devel
-%defattr(-,root,root)
 %if 0%{?suse_version}
 %doc %{_defaultdocdir}/%{name}-devel
 %endif
-%doc %{_mandir}/man1/tp-magic-config*
+%{_mandir}/man1/tp-magic-config*
 %dir %{_includedir}/%{name}
 %{_bindir}/tp-magic-config
 %{_includedir}/%{name}/*

++ 0001-Prepare-the-kdelibs4-removal.patch ++
>From c4fbcd54d3e58076ba6ec79f4af82744de54aecc Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux 
Date: Mon, 25 Mar 2019 17:29:44 +0100
Subject: [PATCH] Prepare the kdelibs4 removal.

kdelibs is only used to get installation path. we'll hardcode them instead.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 730ed91..be386d8 100644
--- a/Makefile
+++ b/Makefile
@@ -165,8 +165,8 @@ endif
 ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
 

commit tuxpaint for openSUSE:Factory

2018-07-17 Thread root
Hello community,

here is the log from the commit of package tuxpaint for openSUSE:Factory 
checked in at 2018-07-17 09:43:11

Comparing /work/SRC/openSUSE:Factory/tuxpaint (Old)
 and  /work/SRC/openSUSE:Factory/.tuxpaint.new (New)


Package is "tuxpaint"

Tue Jul 17 09:43:11 2018 rev:7 rq:623157 version:0.9.22

Changes:

--- /work/SRC/openSUSE:Factory/tuxpaint/tuxpaint.changes2015-04-18 
10:41:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuxpaint.new/tuxpaint.changes   2018-07-17 
09:43:56.956948809 +0200
@@ -1,0 +2,5 @@
+Sat Jul 14 03:01:51 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+---

New:

  reproducible.patch



Other differences:
--
++ tuxpaint.spec ++
--- /var/tmp/diff_new_pack.88LFGn/_old  2018-07-17 09:43:57.532946699 +0200
+++ /var/tmp/diff_new_pack.88LFGn/_new  2018-07-17 09:43:57.540946669 +0200
@@ -28,6 +28,8 @@
 Source: 
http://sourceforge.net/projects/tuxpaint/files/tuxpaint/%{version}/%{name}-%{version}.tar.gz
 Source1:tuxpaint-rpmlintrc
 Patch1: tuxpaint-import-eval.patch
+# PATCH-FIX-UPSTREAM bmwiedemann boo#1047218
+Patch2: reproducible.patch
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_Pango-devel
 BuildRequires:  SDL_image-devel
@@ -109,6 +111,7 @@
 %prep
 %setup -q
 %patch1  -b .import-eval-patch
+%patch2  -b .reproducible
 find . -name CVS   -print0 | xargs -0 rm -rf
 find docs/ -type f -print0 | xargs -0 chmod -v 644
 

++ reproducible.patch ++
Author: Chris Lamb 
Date:   Wed Apr 11 10:23:16 2018 +0200

Allow to override build date

in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This date call works with GNU and BSD variants of date.
Index: Makefile
===
--- Makefile.orig
+++ Makefile
@@ -10,7 +10,11 @@
 # The version number, for release:
 
 VER_VERSION:=0.9.22
-VER_DATE:=$(shell date +"%Y-%m-%d")
+ifdef SOURCE_DATE_EPOCH
+   VER_DATE=$(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 
2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || 
date -u "+%Y-%m-%d")
+else
+   VER_DATE=$(shell date "+%Y-%m-%d")
+endif
 MAGIC_API_VERSION:=0x0003
 
 # Need to know the OS



commit tuxpaint for openSUSE:Factory

2015-04-18 Thread h_root
Hello community,

here is the log from the commit of package tuxpaint for openSUSE:Factory 
checked in at 2015-04-18 10:41:14

Comparing /work/SRC/openSUSE:Factory/tuxpaint (Old)
 and  /work/SRC/openSUSE:Factory/.tuxpaint.new (New)


Package is tuxpaint

Changes:

--- /work/SRC/openSUSE:Factory/tuxpaint/tuxpaint.changes2012-10-06 
18:44:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuxpaint.new/tuxpaint.changes   2015-04-18 
10:41:15.0 +0200
@@ -1,0 +2,37 @@
+Mon Apr 13 18:12:27 UTC 2015 - badshah...@gmail.com
+
+- Add tuxpaint-rpmlintrc file as a source in specfile.
+
+---
+Tue Apr  7 13:34:01 UTC 2015 - p.drou...@gmail.com
+
+- Use download Url as source
+- Update project Url
+
+---
+Sat Dec 27 17:06:26 UTC 2014 - l...@linux-schulserver.de
+
+- update to 0.9.22:
+  + 14 new magic tools
+  + 40 new template pictures
+  + nearly 200 new stamps
+  + support for SVG and KidPix templates
+  + and an enhanced text tool
+  + also features accessibility improvements, including keyboard and
+joystick pointer controls, and an on-screen keyboard
+  Please read /usr/share/doc/packages/tuxpaint/CHANGES.txt 
+  for more details
+- removed upstreamed patches:
+  + tuxpaint-manpage_fix.patch
+  + tuxpaint-linux_arch_links.patch
+  + tuxpaint-de_translation.patch
+  + tuxpaint-libpng15.patch
+- ran spec-cleaner
+
+---
+Tue May 14 09:20:46 UTC 2013 - l...@linux-schulserver.de
+
+- as recommended by rpmlint: switch RPM group of the devel package
+  to Development/Libraries/C and C++
+
+---

Old:

  tuxpaint-0.9.21.tar.bz2
  tuxpaint-de_translation.patch
  tuxpaint-libpng15.patch
  tuxpaint-linux_arch_links.patch
  tuxpaint-manpage_fix.patch

New:

  tuxpaint-0.9.22.tar.gz



Other differences:
--
++ tuxpaint.spec ++
--- /var/tmp/diff_new_pack.X7lUNU/_old  2015-04-18 10:41:16.0 +0200
+++ /var/tmp/diff_new_pack.X7lUNU/_new  2015-04-18 10:41:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tuxpaint
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,29 @@
 #
 
 
+%define kderootdir %(kde4-config --prefix || kde-config --prefix)
+%define gnomedir   %(gnome-config --prefix)
 Name:   tuxpaint
+Version:0.9.22
+Release:0
 Summary:Drawing Program for Young Children
 License:GPL-2.0+
 Group:  Productivity/Graphics/Bitmap Editors
-Url:http://www.newbreedsoftware.com/tuxpaint/
-Version:0.9.21
-Release:0
-Source: %{name}-%{version}.tar.bz2
+Url:http://www.tuxpaint.org/
+Source: 
http://sourceforge.net/projects/tuxpaint/files/tuxpaint/%{version}/%{name}-%{version}.tar.gz
+Source1:tuxpaint-rpmlintrc
 Patch1: tuxpaint-import-eval.patch
-Patch2: tuxpaint-de_translation.patch
-Patch3: tuxpaint-linux_arch_links.patch
-Patch4: tuxpaint-manpage_fix.patch
-# libpng15.patch sent to  b...@newbreedsoftware.com
-Patch5: tuxpaint-libpng15.patch
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_Pango-devel
 BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
 BuildRequires:  SDL_ttf-devel  2.0.8
 BuildRequires:  fribidi-devel
+BuildRequires:  gperf
 BuildRequires:  libpaper-devel
 BuildRequires:  libpng-devel
 BuildRequires:  zlib-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #
 # openSUSE 
 #
@@ -49,16 +49,12 @@
 BuildRequires:  libgnome-devel
 BuildRequires:  librsvg-devel
 BuildRequires:  update-desktop-files
-# Makefile uses kde-config to detect KDE_PREFIX
-%if 0%{suse_version}  1110
-BuildRequires:  kdelibs4-core
-%else
-BuildRequires:  kdelibs3
-%endif
-Recommends: tuxpaint-stamps 
-Recommends: tuxpaint-config
 Requires:   freefont
 Requires:   netpbm
+Recommends: tuxpaint-config
+Recommends: tuxpaint-stamps
+# Makefile uses kde-config to detect KDE_PREFIX
+BuildRequires:  kdelibs4-core
 %endif
 #
 # Fedora
@@ -73,9 +69,6 @@
 # all of the /usr/share/icons/hicolor/* directories.
 Requires:   hicolor-icon-theme
 %endif
-%define kderootdir %(kde4-config --prefix || kde-config --prefix)
-%define gnomedir   %(gnome-config --prefix)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Tux Paint is a 

commit tuxpaint for openSUSE:Factory

2012-10-06 Thread h_root
Hello community,

here is the log from the commit of package tuxpaint for openSUSE:Factory 
checked in at 2012-10-06 08:19:44

Comparing /work/SRC/openSUSE:Factory/tuxpaint (Old)
 and  /work/SRC/openSUSE:Factory/.tuxpaint.new (New)


Package is tuxpaint, Maintainer is sndir...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/tuxpaint/tuxpaint.changes2012-07-23 
10:43:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuxpaint.new/tuxpaint.changes   2012-10-06 
18:44:34.0 +0200
@@ -1,0 +2,6 @@
+Thu Aug 30 08:42:13 UTC 2012 - pgaj...@suse.com
+
+- fixed build with libpng15
+  * libpng15.patch
+
+---

New:

  tuxpaint-libpng15.patch



Other differences:
--
++ tuxpaint.spec ++
--- /var/tmp/diff_new_pack.lQydEC/_old  2012-10-06 18:44:35.0 +0200
+++ /var/tmp/diff_new_pack.lQydEC/_new  2012-10-06 18:44:35.0 +0200
@@ -15,26 +15,29 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   tuxpaint
 Summary:Drawing Program for Young Children
-Url:http://www.newbreedsoftware.com/tuxpaint/
 License:GPL-2.0+
 Group:  Productivity/Graphics/Bitmap Editors
+Url:http://www.newbreedsoftware.com/tuxpaint/
 Version:0.9.21
-Release:1
+Release:0
 Source: %{name}-%{version}.tar.bz2
 Patch1: tuxpaint-import-eval.patch
 Patch2: tuxpaint-de_translation.patch
 Patch3: tuxpaint-linux_arch_links.patch
 Patch4: tuxpaint-manpage_fix.patch
-BuildRequires:  fribidi-devel
-BuildRequires:  libpng-devel 
-BuildRequires:  libpaper-devel
+# libpng15.patch sent to  b...@newbreedsoftware.com
+Patch5: tuxpaint-libpng15.patch
 BuildRequires:  SDL-devel 
-BuildRequires:  SDL_image-devel 
-BuildRequires:  SDL_ttf-devel  2.0.8
 BuildRequires:  SDL_Pango-devel 
+BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
+BuildRequires:  SDL_ttf-devel  2.0.8
+BuildRequires:  fribidi-devel
+BuildRequires:  libpaper-devel
+BuildRequires:  libpng-devel
 BuildRequires:  zlib-devel
 #
 # openSUSE 
@@ -93,24 +96,23 @@
 
 %package devel
 Summary:Devel files of tuxpaint
-Requires:   fribidi-devel
-Requires:   libpng-devel 
-Requires:   libpaper-devel 
+Group:  Development/Libraries
+Requires:   %name = %version
 Requires:   SDL-devel
+Requires:   SDL_Pango-devel
 Requires:   SDL_image-devel 
 Requires:   SDL_mixer-devel 
 Requires:   SDL_ttf-devel 
-Requires:   SDL_Pango-devel
-Requires:   %name = %version
+Requires:   fribidi-devel
+Requires:   libpaper-devel
+Requires:   libpng-devel
 Requires:   zlib-devel
 %if 0%{?suse_version}
-Group:  Development/Libraries/Other
 Requires:   gcc-c++
 Requires:   gettext-devel 
 Requires:   librsvg-devel 
 %endif
 %if 0%{?fedora_version}
-Group:  Development/Libraries
 Requires:   gettext
 Requires:   librsvg2-devel
 %endif
@@ -133,6 +135,7 @@
 %patch3 -p0
 %endif
 %patch4 -p0
+%patch5 -p1
 sed -i s|/usr/lib|%_libdir|g Makefile
 find . -name CVS   -print0 | xargs -0 rm -rf
 find docs/ -type f -print0 | xargs -0 sed -i s|
$||g

++ tuxpaint-libpng15.patch ++
Index: tuxpaint-0.9.21/src/tuxpaint.c
===
--- tuxpaint-0.9.21.orig/src/tuxpaint.c
+++ tuxpaint-0.9.21/src/tuxpaint.c
@@ -12898,12 +12898,9 @@ static int do_png_save(FILE * fi, const
   {
png_init_io(png_ptr, fi);
 
-   info_ptr-width = surf-w;
-   info_ptr-height = surf-h;
-   info_ptr-bit_depth = 8;
-   info_ptr-color_type = PNG_COLOR_TYPE_RGB;
-   info_ptr-interlace_type = 1;
-   info_ptr-valid = 0;/* will be updated by various png_set_FOO() 
functions */
+png_set_IHDR(png_ptr, info_ptr, surf-w, surf-h, 8,
+   PNG_COLOR_TYPE_RGB, 1, PNG_COMPRESSION_TYPE_DEFAULT,
+   PNG_FILTER_TYPE_DEFAULT);
 
png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
   PNG_sRGB_INTENT_PERCEPTUAL);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org