Hello community, here is the log from the commit of package lprof checked in at Sun Nov 4 13:05:47 CET 2007. -------- --- lprof/lprof.changes 2006-11-07 13:39:30.000000000 +0100 +++ /mounts/work_users/ro/STABLE/lprof/lprof.changes 2007-11-04 12:56:59.047629000 +0100 @@ -1,0 +2,5 @@ +Sun Nov 4 12:56:44 CET 2007 - ro@suse.de + +- fix build with lcms 1.17 + +------------------------------------------------------------------- New: ---- lprof-lcms.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lprof.spec ++++++ --- /var/tmp/diff_new_pack.P17918/_old 2007-11-04 13:05:36.000000000 +0100 +++ /var/tmp/diff_new_pack.P17918/_new 2007-11-04 13:05:36.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lprof (Version 1.11.4.1) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -13,21 +13,22 @@ Name: lprof BuildRequires: libdrm-devel libtiff-devel qt3-devel-doc qt3-devel-tools scons update-desktop-files vigra-devel Version: 1.11.4.1 -Release: 8 -URL: http://lprof.sourceforge.net/ +Release: 99 +Url: http://lprof.sourceforge.net/ Group: Productivity/Graphics/Other -License: GNU General Public License (GPL) - all versions, GNU Library General Public License v. 2.0 and 2.1 (LGPL) +License: GPL v2 or later; LGPL v2.1 or later Summary: ICC Profiler Source: %{name}-%{version}.tar.bz2 Patch: lprof-desktop.patch -Autoreqprov: on +Patch1: lprof-lcms.patch +AutoReqProv: on BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LPROF is the only open source ICC profiler with a graphical user interface. It can be used to create profiles for cameras, scanners, and -monitors. As such, it fills a necessary niche in the emerging open -source color management effort. +monitors, and fills a necessary niche in the emerging open source color +management effort. @@ -39,6 +40,7 @@ %prep %setup %patch +%patch1 # NOTE: Ignore "is used uninitialized" warning in src/liblprof/cmsscn.c: 62 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22197 sed -i /includehint/d */*/*.ui @@ -78,8 +80,9 @@ /usr/share/lprof /usr/share/applications/*.desktop /usr/share/pixmaps/*.png - -%changelog -n lprof +%changelog +* Sun Nov 04 2007 - ro@suse.de +- fix build with lcms 1.17 * Tue Nov 07 2006 - ro@suse.de - fix data file permissions * Fri Oct 20 2006 - sbrabec@suse.cz ++++++ lprof-lcms.patch ++++++ --- src/liblprof/lcmsprf.h +++ src/liblprof/lcmsprf.h @@ -98,6 +98,11 @@ } MATN,FAR* LPMATN; +// See B.K.O #148930: compile with lcms v.1.17 +#if (LCMS_VERSION > 116) +typedef LCMSBOOL BOOL; +#endif + LPMATN cdecl MATNalloc(int Rows, int Cols); void cdecl MATNfree (LPMATN mat); LPMATN cdecl MATNmult(LPMATN a1, LPMATN a2); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org