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.000000000 +0200 +++ libgdiplus0/libgdiplus0.changes 2011-02-22 18:14:53.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Feb 22 17:09:44 UTC 2011 - [email protected] + +- Update to 2.10 + * http://www.go-mono.com/archive/2.10 + +------------------------------------------------------------------- +Fri Jan 7 16:24:52 UTC 2011 - [email protected] + +- 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.000000000 +0100 +++ /var/tmp/diff_new_pack.pC2E7v/_new 2011-02-22 20:23:40.000000000 +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/configure 2010-09-16 19:30:53.000000000 +0200 +++ new/libgdiplus-2.10/configure 2011-01-13 23:42:57.000000000 +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.000000000 +0200 +++ new/libgdiplus-2.10/configure.in 2011-01-13 23:28:19.000000000 +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.000000000 +0200 +++ new/libgdiplus-2.10/src/adjustablearrowcap.c 2011-01-13 23:28:19.000000000 +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.000000000 +0200 +++ new/libgdiplus-2.10/src/customlinecap.c 2011-01-13 23:28:19.000000000 +0100 @@ -153,17 +153,34 @@ float slope; double angle; - if (y < otherend_y) { - slope = (otherend_y - y) / (otherend_x - x); + if (x == otherend_x) { + slope = 0; + if (y < otherend_y) { + angle = PI; + } else { + angle = PI * 2; + } + } else if (y == otherend_y) { + slope = 0; if (x < otherend_x) { angle = PI/2; } else { angle = PI/-2; } } else { - slope = (otherend_x - x) / (y - otherend_y); - angle = 0; + if (y < otherend_y) { + slope = (otherend_y - y) / (otherend_x - x); + if (x < otherend_x) { + angle = PI/2; + } else { + angle = PI/-2; + } + } else { + slope = (otherend_x - x) / (y - otherend_y); + angle = 0; + } } + angle += atan (slope); return angle; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
