commit libgdiplus0 for openSUSE:Factory

2015-04-21 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2015-04-21 10:50:19

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


Package is "libgdiplus0"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2014-09-17 
17:24:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2015-04-21 10:50:20.0 +0200
@@ -1,0 +2,6 @@
+Sat Apr  4 13:56:37 UTC 2015 - mailaen...@opensuse.org
+
+- Update to version 3.12
+- Enable unit tests
+
+---

Old:

  libgdiplus-3.8.tar.gz

New:

  libgdiplus-3.12.tar.gz



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.IeWUuv/_old  2015-04-21 10:50:21.0 +0200
+++ /var/tmp/diff_new_pack.IeWUuv/_new  2015-04-21 10:50:21.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libgdiplus0
 #
-# Copyright (c) 2014 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
@@ -19,11 +19,11 @@
 %define real_name libgdiplus
 
 Name:   libgdiplus0
-Version:3.8
+Version:3.12
 Release:0
 Url:https://github.com/mono/libgdiplus
 Source: 
http://download.mono-project.com/sources/%{real_name}/%{real_name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM libgdiplus0-giflib5.patch 
https://github.com/mono/libgdiplus/pull/26
+# PATCH-FIX-UPSTREAM libgdiplus0-giflib5.patch 
https://github.com/mono/libgdiplus/pull/32
 Patch1: libgdiplus0-giflib5.patch
 Summary:Open Source Implementation of the GDI+ API
 License:(LGPL-2.1+ or MPL-1.1) and MIT
@@ -78,6 +78,9 @@
 # (appeases suse rpmlint checks, saves 3kb)
 find . -name INSTALL | xargs rm -f
 
+%check
+make check
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig

++ libgdiplus-3.8.tar.gz -> libgdiplus-3.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgdiplus-3.8/configure 
new/libgdiplus-3.12/configure
--- old/libgdiplus-3.8/configure2014-09-04 09:36:02.0 +0200
+++ new/libgdiplus-3.12/configure   2015-01-05 11:28:28.0 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libgdiplus 3.8.
+# Generated by GNU Autoconf 2.69 for libgdiplus 3.12.
 #
 # Report bugs to 
.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='libgdiplus'
 PACKAGE_TARNAME='libgdiplus'
-PACKAGE_VERSION='3.8'
-PACKAGE_STRING='libgdiplus 3.8'
+PACKAGE_VERSION='3.12'
+PACKAGE_STRING='libgdiplus 3.12'
 
PACKAGE_BUGREPORT='https://bugzilla.xamarin.com/enter_bug.cgi?product=Class%20Libraries&component=libgdiplus'
 PACKAGE_URL=''
 
@@ -1364,7 +1364,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libgdiplus 3.8 to adapt to many kinds of systems.
+\`configure' configures libgdiplus 3.12 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1435,7 +1435,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of libgdiplus 3.8:";;
+ short | recursive ) echo "Configuration of libgdiplus 3.12:";;
esac
   cat <<\_ACEOF
 
@@ -1577,7 +1577,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libgdiplus configure 3.8
+libgdiplus configure 3.12
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1946,7 +1946,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libgdiplus $as_me 3.8, which was
+It was created by libgdiplus $as_me 3.12, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2924,7 +2924,7 @@
 
 # Define the identity of the package.
  PACKAGE='libgdiplus'
- VERSION='3.8'
+ VERSION='3.12'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14190,7 +14190,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libgdiplus $as_me 3.8, which was
+This file was extended by libgdiplus $as_me 3.12, which was

commit libgdiplus0 for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2014-09-17 17:24:28

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


Package is "libgdiplus0"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2014-09-09 
06:21:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2014-09-17 17:24:29.0 +0200
@@ -1,0 +2,10 @@
+Sat Sep  6 14:45:49 UTC 2014 - mailaen...@opensuse.org
+
+- Update to version 3.8
+- Removed upstreamed patch libgdiplus0-libpng15.patch
+- Removed upstreamed patch use-recommended-freetype-include.patch
+- Use pkgconfig build dependencies where possible
+- Always use system cairo
+- Fixed rpmlint error: devel-file-in-non-devel-package
+
+---

Old:

  libgdiplus-2.10.9.tar.bz2
  libgdiplus0-libpng15.patch
  use-recommended-freetype-include.patch

New:

  libgdiplus-3.8.tar.gz



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.Eg7KD4/_old  2014-09-17 17:24:30.0 +0200
+++ /var/tmp/diff_new_pack.Eg7KD4/_new  2014-09-17 17:24:30.0 +0200
@@ -17,20 +17,14 @@
 
 
 %define real_name libgdiplus
-# There may be strange bugs when using the system cairo
-%define system_cairo 0
 
 Name:   libgdiplus0
-Version:2.10.9
+Version:3.8
 Release:0
-Url:http://go-mono.org/
-Source0:
http://download.mono-project.com/sources/%{real_name}/%{real_name}-%{version}.tar.bz2
-# link to libpng15.patch content sent to  m...@xamarin.com
-Patch0: %{name}-libpng15.patch
+Url:https://github.com/mono/libgdiplus
+Source: 
http://download.mono-project.com/sources/%{real_name}/%{real_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM libgdiplus0-giflib5.patch 
https://github.com/mono/libgdiplus/pull/26
 Patch1: libgdiplus0-giflib5.patch
-# PATCH-FIX-UPSTREAM use-recommended-freetype-include.patch -- Freetype 
upstream recommends using their macros together with
-# ft2build include. Positive sideeffect is that this patch makes it build with 
both freetype2 2.5.1, and older versions
-Patch2: use-recommended-freetype-include.patch
 Summary:Open Source Implementation of the GDI+ API
 License:(LGPL-2.1+ or MPL-1.1) and MIT
 Group:  Development/Libraries/Other
@@ -38,21 +32,19 @@
 Provides:   libgdiplus
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  libtool
-BuildRequires:  pkg-config
-%if %system_cairo
-BuildRequires:  cairo-devel >= 1.6.4
-%endif
-BuildRequires:  fontconfig-devel
-BuildRequires:  freetype2-devel
 BuildRequires:  giflib-devel
-BuildRequires:  glib2-devel
-BuildRequires:  libexif-devel
 BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  libtiff-devel
-BuildRequires:  xorg-x11-devel
-BuildRequires:  xorg-x11-libXrender-devel
+BuildRequires:  libtool
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(cairo)
+BuildRequires:  pkgconfig(fontconfig)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libexif)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libtiff-4)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xrender)
 
 %description
 Mono library that provide a GDI+ comptible API on non-Windows
@@ -70,10 +62,7 @@
 
 %prep
 %setup -q -n %{real_name}-%{version}
-%patch0
 %patch1 -p1
-%patch2 -p1
-sed -i -e 's/LT_/LTT_/g' cairo/configure.in
 sed -i -e 's:ungif:gif:g' configure || die
 
 %build
@@ -95,11 +84,12 @@
 
 %files
 %defattr(-, root, root)
-%{_libdir}/libgdiplus.so*
+%{_libdir}/libgdiplus.so.*
 %doc AUTHORS COPYING ChangeLog* NEWS README
 
 %files -n libgdiplus-devel
 %defattr(-, root, root)
+%{_libdir}/libgdiplus.so
 %{_libdir}/pkgconfig/libgdiplus.pc
 %{_libdir}/libgdiplus.a
 # Unwanted statically linked files:

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libgdiplus0 for openSUSE:Factory

2014-09-08 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2014-09-09 06:21:19

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


Package is "libgdiplus0"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2013-12-13 
14:54:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2014-09-09 06:21:21.0 +0200
@@ -1,0 +2,5 @@
+Sun Aug 31 20:53:29 UTC 2014 - jeng...@inai.de
+
+- Update giflib patch to work with giflib7-5.1.0
+
+---



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.qqdUxw/_old  2014-09-09 06:21:22.0 +0200
+++ /var/tmp/diff_new_pack.qqdUxw/_new  2014-09-09 06:21:22.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libgdiplus0
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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

++ libgdiplus0-giflib5.patch ++
--- /var/tmp/diff_new_pack.qqdUxw/_old  2014-09-09 06:21:22.0 +0200
+++ /var/tmp/diff_new_pack.qqdUxw/_new  2014-09-09 06:21:22.0 +0200
@@ -1,19 +1,28 @@
-diff --git a/src/gifcodec.c b/src/gifcodec.c
-index 8dee0eb..564beed 100644
 a/src/gifcodec.c
-+++ b/src/gifcodec.c
-@@ -39,8 +39,10 @@ GUID gdip_gif_image_format_guid = {0xb96b3cb0U, 0x0728U, 
0x11d3U, {0x9d, 0x7b, 0
+---
+ src/gifcodec.c |   50 +-
+ 1 file changed, 41 insertions(+), 9 deletions(-)
+
+Index: libgdiplus-2.10.9/src/gifcodec.c
+===
+--- libgdiplus-2.10.9.orig/src/gifcodec.c
 libgdiplus-2.10.9/src/gifcodec.c
+@@ -39,8 +39,15 @@ GUID gdip_gif_image_format_guid = {0xb96
  
  #include "gifcodec.h"
  
-+#if GIFLIB_MAJOR < 5
++#if !defined(GIFLIB_MAJOR) || GIFLIB_MAJOR < 5
  /* giflib declares this incorrectly as EgifOpen */
  extern GifFileType *EGifOpen(void *userData, OutputFunc writeFunc);
 +#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
  
  /* Data structure used for callback */
  typedef struct
-@@ -105,7 +107,7 @@ gdip_gif_inputfunc (GifFileType *gif, GifByteType *data, 
int len)
+@@ -105,7 +112,7 @@ gdip_gif_inputfunc (GifFileType *gif, Gi
  */
  
  static int
@@ -22,7 +31,7 @@
  {
ExtensionBlock  *ep;
  
-@@ -129,7 +131,7 @@ AddExtensionBlockMono(SavedImage *New, int Len, BYTE 
ExtData[])
+@@ -129,7 +136,7 @@ AddExtensionBlockMono(SavedImage *New, i
  
if (ExtData) {
memcpy(ep->Bytes, ExtData, Len);
@@ -31,7 +40,7 @@
}
  
return (GIF_OK);
-@@ -232,20 +234,20 @@ DGifSlurpMono(GifFileType * GifFile, SavedImage 
*TrailingExtensions)
+@@ -232,20 +239,20 @@ DGifSlurpMono(GifFileType * GifFile, Sav
}
  
case EXTENSION_RECORD_TYPE: {
@@ -55,7 +64,7 @@
}
break;
}
-@@ -303,12 +305,19 @@ gdip_load_gif_image (void *stream, GpImage **image, BOOL 
from_file)
+@@ -303,12 +310,19 @@ gdip_load_gif_image (void *stream, GpIma
result = NULL;
loop_counter = FALSE;
  
@@ -76,7 +85,25 @@
if (gif == NULL) {
goto error;
}
-@@ -660,11 +669,22 @@ gdip_save_gif_image (void *stream, GpImage *image, BOOL 
from_file)
+@@ -581,7 +595,7 @@ gdip_load_gif_image (void *stream, GpIma
+   }
+ 
+   FreeExtensionMono(&global_extensions);
+-  DGifCloseFile (gif);
++  DGifCloseFile (gif, NULL);
+ 
+   *image = result;
+   return Ok;
+@@ -597,7 +611,7 @@ error:
+ 
+   if (gif != NULL) {
+   FreeExtensionMono (&global_extensions);
+-  DGifCloseFile (gif);
++  DGifCloseFile (gif, NULL);
+   }
+ 
+   *image = NULL;
+@@ -660,11 +674,22 @@ gdip_save_gif_image (void *stream, GpIma
return InvalidParameter;
}
  
@@ -99,7 +126,7 @@

if (!fp) {
return FileNotFound;
-@@ -848,8 +868,15 @@ gdip_save_gif_image (void *stream, GpImage *image, BOOL 
from_file)
+@@ -848,8 +873,15 @@ gdip_save_gif_image (void *stream, GpIma
Buffer[0] = 1;
Buffer[

commit libgdiplus0 for openSUSE:Factory

2013-12-13 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2013-12-13 14:54:38

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


Package is "libgdiplus0"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2013-04-17 
07:12:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2013-12-13 14:54:39.0 +0100
@@ -1,0 +2,8 @@
+Wed Dec 11 18:54:01 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Added use-recommended-freetype-include.patch -- Freetype upstream 
+  recommends using their macros together with ft2build include. 
+  Positive sideeffect is that this patch makes it build with both 
+  freetype2 2.5.1, and older version
+
+---

New:

  use-recommended-freetype-include.patch



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.QL7mVd/_old  2013-12-13 14:54:39.0 +0100
+++ /var/tmp/diff_new_pack.QL7mVd/_new  2013-12-13 14:54:39.0 +0100
@@ -28,6 +28,9 @@
 # link to libpng15.patch content sent to  m...@xamarin.com
 Patch0: %{name}-libpng15.patch
 Patch1: libgdiplus0-giflib5.patch
+# PATCH-FIX-UPSTREAM use-recommended-freetype-include.patch -- Freetype 
upstream recommends using their macros together with
+# ft2build include. Positive sideeffect is that this patch makes it build with 
both freetype2 2.5.1, and older versions
+Patch2: use-recommended-freetype-include.patch
 Summary:Open Source Implementation of the GDI+ API
 License:(LGPL-2.1+ or MPL-1.1) and MIT
 Group:  Development/Libraries/Other
@@ -69,6 +72,7 @@
 %setup -q -n %{real_name}-%{version}
 %patch0
 %patch1 -p1
+%patch2 -p1
 sed -i -e 's/LT_/LTT_/g' cairo/configure.in
 sed -i -e 's:ungif:gif:g' configure || die
 

++ use-recommended-freetype-include.patch ++
diff -Naur libgdiplus-2.10.9.orig/src/gdiplus-private.h 
libgdiplus-2.10.9/src/gdiplus-private.h
--- libgdiplus-2.10.9.orig/src/gdiplus-private.h2011-12-02 
18:23:12.0 +0100
+++ libgdiplus-2.10.9/src/gdiplus-private.h 2013-12-11 19:53:04.988945792 
+0100
@@ -30,7 +30,8 @@
 #include 
 #include 
 #include 
-#include 
+#include 
+#include FT_TRUETYPE_TABLES_H
 #include 
 #include 
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libgdiplus0 for openSUSE:Factory

2013-04-16 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2013-04-17 07:12:34

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


Package is "libgdiplus0", Maintainer is "orpha...@suse.de"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2013-03-17 
10:13:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2013-04-17 07:12:37.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 15 09:15:31 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.vyfhLc/_old  2013-04-17 07:12:39.0 +0200
+++ /var/tmp/diff_new_pack.vyfhLc/_new  2013-04-17 07:12:39.0 +0200
@@ -24,7 +24,7 @@
 Version:2.10.9
 Release:0
 Url:http://go-mono.org/
-Source0:%{real_name}-%{version}.tar.bz2
+Source0:
http://download.mono-project.com/sources/%{real_name}/%{real_name}-%{version}.tar.bz2
 # link to libpng15.patch content sent to  m...@xamarin.com
 Patch0: %{name}-libpng15.patch
 Patch1: libgdiplus0-giflib5.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libgdiplus0 for openSUSE:Factory

2013-03-17 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2013-03-17 10:07:04

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


Package is "libgdiplus0", Maintainer is "orpha...@suse.de"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2012-11-12 
13:31:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2013-03-17 10:07:06.0 +0100
@@ -1,0 +2,18 @@
+Fri Mar 15 15:30:21 UTC 2013 - cfarr...@suse.com
+
+- license update: (LGPL-2.1+ or MPL-1.1) and MIT
+  Avoid confusion
+
+---
+Wed Mar 13 09:19:49 UTC 2013 - seife+...@b1-systems.com
+
+- fix build with giflib-5.x (libgdiplus0-giflib5.patch)
+
+---
+Sat Mar  9 07:39:31 UTC 2013 - mailaen...@opensuse.org
+
+- update to 2.10.9
+  * http://www.go-mono.com/archive/2.10.9
+- add devel package
+
+---

Old:

  libgdiplus-2.10.tar.bz2

New:

  libgdiplus-2.10.9.tar.bz2
  libgdiplus0-giflib5.patch



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.uWCCIs/_old  2013-03-17 10:07:08.0 +0100
+++ /var/tmp/diff_new_pack.uWCCIs/_new  2013-03-17 10:07:08.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libgdiplus0
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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,20 +21,22 @@
 %define system_cairo 0
 
 Name:   libgdiplus0
-Version:2.10
+Version:2.10.9
 Release:0
 Url:http://go-mono.org/
 Source0:%{real_name}-%{version}.tar.bz2
 # link to libpng15.patch content sent to  m...@xamarin.com
 Patch0: %{name}-libpng15.patch
+Patch1: libgdiplus0-giflib5.patch
 Summary:Open Source Implementation of the GDI+ API
-License:LGPL-2.1+ or MPL-1.1 and MIT
+License:(LGPL-2.1+ or MPL-1.1) and MIT
 Group:  Development/Libraries/Other
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Obsoletes:  libgdiplus-devel
-Provides:   libgdiplus-devel
-Obsoletes:  libgdiplus
 Provides:   libgdiplus
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  pkg-config
 %if %system_cairo
 BuildRequires:  cairo-devel >= 1.6.4
 %endif
@@ -50,50 +52,53 @@
 BuildRequires:  xorg-x11-libXrender-devel
 
 %description
-This is part of the Mono project. It is required when using
-Windows.Forms.
+Mono library that provide a GDI+ comptible API on non-Windows
+operating systems.
 
-
-
-Authors:
-
-Alexandre Pigolkine
-Duncan Mak
-Jordi Mas
-Miguel de Icaza
-Ravindra Kumar
-
-%files
-%defattr(-, root, root)
-%_libdir/libgdiplus.so*
-%doc AUTHORS COPYING ChangeLog* NEWS README
+%package -n libgdiplus-devel
+Summary:Development files for libgdiplus
+Group:  Development/Libraries/C and C++
+Requires:   libgdiplus0 = %{version}
+Provides:   pkgconfig(libgdiplus)
+
+%description -n libgdiplus-devel
+This library is part of the Mono project. It is required when
+using System.Drawing.
 
 %prep
 %setup -q -n %{real_name}-%{version}
 %patch0
+%patch1 -p1
+sed -i -e 's/LT_/LTT_/g' cairo/configure.in
+sed -i -e 's:ungif:gif:g' configure || die
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
+autoreconf -fiv
+%{?env_options}
 %configure
 make
 
 %install
 make install DESTDIR=%{buildroot}
-# Unwanted files:
-rm -f %{buildroot}%{_libdir}/libgdiplus.a
-rm -f %{buildroot}%{_libdir}/libgdiplus.la
-# Factory checks .pc files for dependencies now
-# We may consider leaving this in a -devel package instead
-rm -f %{buildroot}%{_libdir}/pkgconfig/libgdiplus.pc
-# Remove generic non-usefull INSTALL file... (appeases
-#  suse rpmlint checks, saves 3kb)
-find . -name INSTALL | xargs rm -f
 
-%clean
-rm -rf %{buildroot}
+# Remove generic non-usefull INSTALL file...
+# (appeases suse rpmlint checks, saves 3kb)
+find . -name INSTALL | xargs rm -f
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
+%files
+%defattr(-, root, root)
+%{_libdir}/libgdiplus.so*
+%doc AUTHORS COPYING ChangeLog* NEWS README
+
+%files -n libgdiplus-devel
+%defattr(-, root, root)
+%{_libdir}/pkgconfig/libgdiplus.pc
+%{_libdir}/libgdiplus.a
+# Unwanted statically linked files:
+%exclude %{_libdir}/libgdiplus.la
+
 %changelog

++ libgdiplus-2.10.t

commit libgdiplus0 for openSUSE:Factory

2012-11-12 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2012-11-12 13:31:01

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


Package is "libgdiplus0", Maintainer is "mono-maintain...@suse.de"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2012-01-19 
09:42:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2012-11-12 13:31:02.0 +0100
@@ -1,0 +2,6 @@
+Thu Aug 30 13:01:50 UTC 2012 - pgaj...@suse.com
+
+- build also against libpng15
+  * libpng15.patch
+
+---

New:

  libgdiplus0-libpng15.patch



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.0WQqwV/_old  2012-11-12 13:31:03.0 +0100
+++ /var/tmp/diff_new_pack.0WQqwV/_new  2012-11-12 13:31:03.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define real_name libgdiplus
 # There may be strange bugs when using the system cairo
 %define system_cairo 0
@@ -24,8 +25,10 @@
 Release:0
 Url:http://go-mono.org/
 Source0:%{real_name}-%{version}.tar.bz2
+# link to libpng15.patch content sent to  m...@xamarin.com
+Patch0: %{name}-libpng15.patch
 Summary:Open Source Implementation of the GDI+ API
-License:LGPL-2.1+ or MPL-1.1; MIT
+License:LGPL-2.1+ or MPL-1.1 and MIT
 Group:  Development/Libraries/Other
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Obsoletes:  libgdiplus-devel
@@ -67,6 +70,7 @@
 
 %prep
 %setup -q -n %{real_name}-%{version}
+%patch0
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"

++ libgdiplus0-libpng15.patch ++
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch?revision=1.1
$NetBSD: patch-aa,v 1.8 2011/01/21 10:21:51 wiz Exp $

Fix build with png-1.5.

--- src/pngcodec.c.orig 2010-11-03 16:52:54.0 +
+++ src/pngcodec.c
@@ -116,10 +116,15 @@ gdip_load_png_properties (png_structp pn
bitmap_data->dpi_horz = png_get_x_pixels_per_inch(png_ptr, info_ptr);
bitmap_data->dpi_vert = png_get_y_pixels_per_inch(png_ptr, info_ptr);
 #elif defined(PNG_pHYs_SUPPORTED)
-   if ((info_ptr->valid & PNG_INFO_pHYs) && (info_ptr->phys_unit_type == 
PNG_RESOLUTION_METER)) {
-   bitmap_data->image_flags |= ImageFlagsHasRealDPI;
-   bitmap_data->dpi_horz = info_ptr->x_pixels_per_unit * 0.0254;
-   bitmap_data->dpi_vert = info_ptr->y_pixels_per_unit * 0.0254;
+   if (png_get_valid (png_ptr, info_ptr, PNG_INFO_pHYs)) {
+   png_uint_32 res_x, res_y;
+   int unit_type;
+   png_get_pHYs (png_ptr, info_ptr, &res_x, &res_y, &unit_type);
+   if (unit_type == PNG_RESOLUTION_METER) {
+   bitmap_data->image_flags |= ImageFlagsHasRealDPI;
+   bitmap_data->dpi_horz = res_x * 0.0254;
+   bitmap_data->dpi_vert = res_y * 0.0254;
+   }
}
 #endif
/* default to screen resolution (if nothing was provided or available) 
*/
@@ -130,7 +135,7 @@ gdip_load_png_properties (png_structp pn
 #if defined(PNG_iCCP_SUPPORTED)
{
png_charp   name;
-   png_charp   profile;
+   png_bytep   profile;
png_uint_32 proflen;
int compression_type;
 
@@ -292,6 +297,11 @@ gdip_load_png_image_from_file_or_stream 
ImageFlags  colourspace_flag;
int i;
int j;
+   png_colorp  png_palette;
+   int png_num_palette;
+   png_bytep   trans_alpha;
+   int num_trans;
+   png_color_16p   trans_color;
 
width = png_get_image_width (png_ptr, info_ptr);
height = png_get_image_height (png_ptr, info_ptr);
@@ -309,6 +319,8 @@ gdip_load_png_image_from_file_or_stream 
}
 
/* Copy palette. */
+   png_get_PLTE (png_ptr, info_ptr, &png_palette, 
&png_num_palette);
+
num_colours = 1 << bit_depth;
 
if (png_get_color_type (png_ptr, info_ptr) == 
PNG_COLOR_TYPE_GRAY) {
@@ -321,8 +333,8 @@ gdip_load_png_image_from_file_or_stream 
colourspace_flag = ImageFlagsColorSpaceRGB;
 
palette_entries = num_colours;
-   if (palette_entries > info_ptr->num_palette) {
-   

commit libgdiplus0 for openSUSE:Factory

2012-01-19 Thread h_root
Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory 
checked in at 2012-01-19 09:42:41

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


Package is "libgdiplus0", Maintainer is "mono-maintain...@suse.de"

Changes:

--- /work/SRC/openSUSE:Factory/libgdiplus0/libgdiplus0.changes  2011-09-23 
02:08:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.libgdiplus0.new/libgdiplus0.changes 
2012-01-19 09:42:43.0 +0100
@@ -1,0 +2,11 @@
+Mon Jan 16 14:20:33 UTC 2012 - cdenic...@suse.com
+
+- license update: LGPL-2.1+ or MPL-1.1; MIT
+
+
+---
+Thu Jan 12 11:30:42 UTC 2012 - co...@suse.com
+
+- change license to be in spdx.org format
+
+---



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.MM2VGz/_old  2012-01-19 09:42:44.0 +0100
+++ /var/tmp/diff_new_pack.MM2VGz/_new  2012-01-19 09:42:44.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libgdiplus0
 #
-# 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,19 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 %define real_name libgdiplus
 # There may be strange bugs when using the system cairo
 %define system_cairo 0
 
 Name:   libgdiplus0
 Version:2.10
-Release:1
-License:LGPLv2.1 ; MPL ; MIT License (or similar)
+Release:0
 Url:http://go-mono.org/
 Source0:%{real_name}-%{version}.tar.bz2
 Summary:Open Source Implementation of the GDI+ API
+License:LGPL-2.1+ or MPL-1.1; MIT
 Group:  Development/Libraries/Other
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Obsoletes:  libgdiplus-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libgdiplus0 for openSUSE:Factory

2011-02-22 Thread h_root

Hello community,

here is the log from the commit of package libgdiplus0 for openSUSE:Factory
checked in at Tue Feb 22 20:24:16 CET 2011.




--- libgdiplus0/libgdiplus0.changes 2010-10-12 19:41:54.0 +0200
+++ libgdiplus0/libgdiplus0.changes 2011-02-22 18:14:53.0 +0100
@@ -1,0 +2,12 @@
+Tue Feb 22 17:09:44 UTC 2011 - ajorgen...@novell.com
+
+- Update to 2.10
+  * http://www.go-mono.com/archive/2.10
+
+---
+Fri Jan  7 16:24:52 UTC 2011 - ajorgen...@novell.com
+
+- Update to 2.8.1
+  * http://www.go-mono.com/archive/2.8.1
+
+---

calling whatdependson for head-i586


Old:

  libgdiplus-2.8.tar.bz2

New:

  libgdiplus-2.10.tar.bz2



Other differences:
--
++ libgdiplus0.spec ++
--- /var/tmp/diff_new_pack.pC2E7v/_old  2011-02-22 20:23:40.0 +0100
+++ /var/tmp/diff_new_pack.pC2E7v/_new  2011-02-22 20:23:40.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libgdiplus0 (Version 2.8)
+# spec file for package libgdiplus0
 #
-# 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
@@ -22,7 +22,7 @@
 %define system_cairo 0
 
 Name:   libgdiplus0
-Version:2.8
+Version:2.10
 Release:1
 License:LGPLv2.1 ; MPL ; MIT License (or similar)
 Url:http://go-mono.org/
@@ -30,10 +30,10 @@
 Summary:Open Source Implementation of the GDI+ API
 Group:  Development/Libraries/Other
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Obsoletes:  libgdiplus-devel < %{version}
-Provides:   libgdiplus-devel = %{version}
-Obsoletes:  libgdiplus < %{version}
-Provides:   libgdiplus = %{version}
+Obsoletes:  libgdiplus-devel
+Provides:   libgdiplus-devel
+Obsoletes:  libgdiplus
+Provides:   libgdiplus
 %if %system_cairo
 BuildRequires:  cairo-devel >= 1.6.4
 %endif
@@ -80,13 +80,15 @@
 # Unwanted files:
 rm -f %{buildroot}%{_libdir}/libgdiplus.a
 rm -f %{buildroot}%{_libdir}/libgdiplus.la
+# Factory checks .pc files for dependencies now
+# We may consider leaving this in a -devel package instead
 rm -f %{buildroot}%{_libdir}/pkgconfig/libgdiplus.pc
 # Remove generic non-usefull INSTALL file... (appeases
 #  suse rpmlint checks, saves 3kb)
 find . -name INSTALL | xargs rm -f
 
 %clean
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf %{buildroot}
 
 %post -p /sbin/ldconfig
 

++ libgdiplus-2.8.tar.bz2 -> libgdiplus-2.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgdiplus-2.8/configure 
new/libgdiplus-2.10/configure
--- old/libgdiplus-2.8/configure2010-09-16 19:30:53.0 +0200
+++ new/libgdiplus-2.10/configure   2011-01-13 23:42:57.0 +0100
@@ -2560,7 +2560,7 @@
 
 # Define the identity of the package.
  PACKAGE=libgdiplus
- VERSION=2.8
+ VERSION=2.10
 
 
 cat >>confdefs.h <<_ACEOF
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgdiplus-2.8/configure.in 
new/libgdiplus-2.10/configure.in
--- old/libgdiplus-2.8/configure.in 2010-09-16 19:26:25.0 +0200
+++ new/libgdiplus-2.10/configure.in2011-01-13 23:28:19.0 +0100
@@ -1,7 +1,7 @@
 AC_INIT(README)
 AC_CANONICAL_SYSTEM
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libgdiplus,2.8)
+AM_INIT_AUTOMAKE(libgdiplus,2.10)
 
 AM_MAINTAINER_MODE
 AM_PROG_LIBTOOL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgdiplus-2.8/src/adjustablearrowcap.c 
new/libgdiplus-2.10/src/adjustablearrowcap.c
--- old/libgdiplus-2.8/src/adjustablearrowcap.c 2010-09-16 19:26:25.0 
+0200
+++ new/libgdiplus-2.10/src/adjustablearrowcap.c2011-01-13 
23:28:19.0 +0100
@@ -123,12 +123,6 @@
w = arrowcap->width / 2;
h = arrowcap->height;
 
-   /* Vertical lines need some assistance to point the arrowhead correctly 
*/
-   if ((x == otherend_x) &&
-   (y < otherend_y)) {
-   h = -h;
-   }
-
angle = gdip_custom_linecap_angle (x, y, otherend_x, otherend_y);
 
cairo_save (graphics->ct);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgdiplus-2.8/src/customlinecap.c 
new/libgdiplus-2.10/src/customlinecap.c
--- old/libgdiplus-2.8/src/customlinecap.c  2010-09-16 19:26:25.0 
+0200
+++ new/libgdiplus-2.10/src/customlinecap.c 2011-01-13 23:28:19.0 
+0100
@@ -153,17 +153,34 @@
float slope;
double angle;

-   if (y < otherend_y) {
-   slope = (oth