Hello community, here is the log from the commit of package lensfun for openSUSE:Factory checked in at 2012-06-28 15:31:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lensfun (Old) and /work/SRC/openSUSE:Factory/.lensfun.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lensfun", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/lensfun/lensfun.changes 2012-05-03 10:58:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lensfun.new/lensfun.changes 2012-06-28 15:31:51.000000000 +0200 @@ -1,0 +2,12 @@ +Wed Jun 27 11:25:28 UTC 2012 - [email protected] + +- update to version 0.2.6 + - minor database updates + - better integration into hugin for loading and storing lens + parameters via the lensfun library + - several bug fixes and stability improvements + - pkgconfig got dropped +- used optimization depends not on build host anymore. + (This avoids crashes on ix86) + +------------------------------------------------------------------- Old: ---- lensfun-0.2.5-cpuid.patch lensfun-0.2.5.tar.bz2 lensfun-fixcrash.patch New: ---- lensfun-0.2.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lensfun.spec ++++++ --- /var/tmp/diff_new_pack.rsVANd/_old 2012-06-28 15:31:53.000000000 +0200 +++ /var/tmp/diff_new_pack.rsVANd/_new 2012-06-28 15:31:53.000000000 +0200 @@ -17,7 +17,7 @@ Name: lensfun -Version: 0.2.5 +Version: 0.2.6 Release: 0 Summary: A photographic lens database and a library for accessing it License: LGPL-3.0 @@ -28,13 +28,11 @@ # This patch got created via # svn diff svn://svn.berlios.de/lensfun/tags/0.2.5/data svn://svn.berlios.de/lensfun/trunk/data > lens_database_update.diff Patch1: lens_database_update.diff -# PATCH-FIX-UPSTREAM lensfun-fixcrash.patch [email protected] -- fix crash on malformed databases (from svn) -Patch2: lensfun-fixcrash.patch -# PATCH-FIX-UPSTREAM lensfun-0.2.5-cpuid.patch [email protected] -- fix crash on cpu detection (from svn) -Patch3: lensfun-0.2.5-cpuid.patch +BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: libpng-devel +BuildRequires: pkg-config BuildRequires: python BuildRequires: zlib BuildRequires: pkgconfig(glib-2.0) @@ -113,33 +111,36 @@ %prep %setup -q -%patch2 -p1 -%patch3 -p1 cd data %patch1 -p0 %build -# disable vectorizing on anything but x86(_64) -./configure -v \ -%ifnarch %{ix86} x86_64 - --vectorization="" \ +# We can count on having SSE2 on x86_64 +# On i%86 it is not save. We could have the sse lib in sse subdirectory in addition though. +# In any case this must be independent of the build host. +mkdir cmake_build +cd cmake_build +cmake .. \ + -DBUILD_STATIC=OFF \ + -DBUILD_TESTS=ON \ + -DBUILD_DOC=on \ + -DBUILD_FOR_SSE=off \ + -DCMAKE_INSTALL_PREFIX=/usr \ +%ifarch x86_64 + -DBUILD_FOR_SSE2=on +%else + -DBUILD_FOR_SSE2=off %endif - --cflags="${CFLAGS:-%{optflags}}" \ - --cxxflags="${CXXFLAGS:-%{optflags}}" \ - --prefix=%{_prefix} \ - --bindir=%{_bindir} \ - --sysconfdir=%{_sysconfdir} \ - --datadir=%{_datadir}/%{name} \ - --libdir=%{_libdir} \ - --includedir=%{_includedir} \ - --libexecdir=%{_libexecdir} -# set GCC.LDFLAGS to avoid stripping and useless -debuginfo -make AUTODEP=0 GCC.LDFLAGS.release="" V=1 %{?_smp_mflags} %{name} manual +make %{?_smp_mflags} %install -make AUTODEP=0 INSTALL_PREFIX=%{?buildroot:%{buildroot}} install -mkdir -p %{buildroot}%{_docdir} -mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_docdir}/%{name} +cd cmake_build +make AUTODEP=0 DESTDIR=%{?buildroot:%{buildroot}} install +%if "%_lib" == "lib64" +mv %{buildroot}/usr/lib %{buildroot}/usr/lib64 +%endif +# too generic name +rm %{buildroot}/usr/bin/example %post -n lib%{name}%{sonum} -p /sbin/ldconfig @@ -154,7 +155,7 @@ %files doc %defattr(-,root,root) -%{_docdir}/%{name} +%doc docs %files data %defattr(-,root,root) @@ -166,8 +167,9 @@ %files devel %defattr(-,root,root) -%{_includedir}/*.h +/usr/bin/tfun +/usr/bin/trwxml +%{_includedir}/lensfun %{_libdir}/*.so -%{_libdir}/pkgconfig/* %changelog ++++++ lens_database_update.diff ++++++ ++++ 2015 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/lensfun/lens_database_update.diff ++++ and /work/SRC/openSUSE:Factory/.lensfun.new/lens_database_update.diff ++++++ lensfun-0.2.5.tar.bz2 -> lensfun-0.2.6.tar.bz2 ++++++ ++++ 11978 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
