Hello community,
here is the log from the commit of package mtpaint for openSUSE:Factory
checked in at Mon Mar 1 18:11:17 CET 2010.
--------
New Changes file:
--- /dev/null 2009-09-30 08:50:26.000000000 +0200
+++ /mounts/work_src_done/STABLE/mtpaint/mtpaint.changes 2010-02-27 16:44:36.000000000 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Sat Feb 27 15:45:15 UTC 2010 - andrea@opensuse.org
+
+- new package (porting from packman)
+
calling whatdependson for head-i586
New:
----
mtpaint-3.31-buff.diff
mtpaint-3.31-openjpeg.patch
mtpaint-3.31-xdg-open.patch
mtpaint-3.31.tar.bz2
mtpaint.changes
mtpaint.spec
mtpaint_handbook-3.31.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mtpaint.spec ++++++
#
# spec file for package mtpaint (Version 3.31)
#
# Copyright (c) 2010 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
# norootforbuild
Summary: Painting program for creating icons and pixel-based artwork
Name: mtpaint
Version: 3.31
Release: 1
License: GPLv3
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
BuildRequires: gtk2-devel update-desktop-files zlib-devel
BuildRequires: giflib-devel libjpeg-devel libpng-devel libtiff-devel
BuildRequires: desktop-file-utils dos2unix gettext
%description
mtPaint is a simple painting program designed for creating icons and
pixel-based artwork. It can edit indexed palette or 24 bit RGB images
and offers basic painting and palette manipulation tools. Its main
file format is PNG, although it can also handle JPEG, GIF, TIFF, BMP,
XPM, and XBM files.
%package handbook
Summary: Handbook for the mtpaint painting application
Group: Productivity/Graphics/Bitmap Editors
License: GFDL
Requires: %{name} = %{version}
BuildArch: noarch
%description handbook
Install this package is want to read the handbook for the painting
application mtpaint.
%prep
%setup -q -a 1
%patch -p0
%patch1 -p0
%patch2 -p0
%{__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
%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
# This is not a "normal" configure
%configure cflags asneeded debug intl man gtk2 tiff jpeg GIF
%{__make}
%install
%{__make} install MT_PREFIX=%{buildroot}%{_prefix} \
MT_MAN_DEST=%{buildroot}%{_mandir}/man1 \
MT_LANG_DEST=%{buildroot}%{_datadir}/locale \
BIN_INSTALL=%{buildroot}%{_bindir}
%suse_update_desktop_file %{name}
%find_lang %{name}
%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
%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
%files -f %{name}.lang
%defattr(-, root, root, -)
%doc COPYING NEWS README
%{_mandir}/man1/%{name}*
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/%{name}.png
%files handbook
%defattr(-, root, root, -)
%doc %{name}_handbook-%{version}/COPYING %{name}_handbook-%{version}/docs/*
%changelog
++++++ mtpaint-3.31-buff.diff ++++++
--- 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 )
{
int i = inifile_get_gint32("font_dirs", 0 );
- char txt[PATHBUF], buf[32];
+ char txt[PATHBUF], buf[128];
gchar *row_text[FONTSEL_CLISTS_MAXCOL] = {NULL, NULL, NULL};
mtfontsel *fp = user;
++++++ mtpaint-3.31-openjpeg.patch ++++++
--- src/png.c.orig 2009-02-05 11:39:16.000000000 +0100
+++ src/png.c 2009-07-10 23:46:49.000000000 +0200
@@ -34,7 +34,7 @@
#include
participants (1)
-
root@Hilbert.suse.de