Hej W załączeniu patch dodający opcję --with lensfun do ufraw. Autor UFRaw zaleca dystrybucję bez tej łatki ze względu na pewne ograniczenia[1]. Jednak jeśli jest się ich świadomym, to lensfun jest bardzo przydatnym narzędziem.
[1] http://ufraw.sourceforge.net/lensfun.html -- --= Michal Kochanowicz =--==--==BOFH==--==--= [EMAIL PROTECTED] =-- --= finger me for PGP public key or visit http://michal.waw.pl/PGP =-- --==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==-- A chodzenie po górach SSIE!!!
Index: ufraw.spec =================================================================== RCS file: /cvsroot/SPECS/ufraw.spec,v retrieving revision 1.30 diff -u -r1.30 ufraw.spec --- ufraw.spec 21 Oct 2008 11:47:33 -0000 1.30 +++ ufraw.spec 19 Nov 2008 10:12:22 -0000 @@ -2,11 +2,14 @@ # TODO: # - manual page for ufraw-batch? # +# Conditional build: +%bcond_with lensfun # build with lensfun support + Summary: RAW photo loader Summary(pl.UTF-8): NarzÄdzie do wczytywania zdjÄÄ w formacie RAW Name: ufraw Version: 0.14.1 -Release: 2 +Release: 2.1 License: GPL v2 Group: Applications/Graphics Source0: http://dl.sourceforge.net/ufraw/%{name}-%{version}.tar.gz @@ -18,6 +21,9 @@ BuildRequires: libexif-devel >= 1:0.6.13 BuildRequires: libjpeg-devel BuildRequires: libtiff-devel +%if %{with lensfun} +BuildRequires: lensfun-devel +%endif Requires(post,preun): GConf2 >= 2.16.0 Requires(post,postun): desktop-file-utils Requires(post,postun): shared-mime-info >= 0.21 @@ -31,6 +37,11 @@ images using Dave Coffin's raw conversion utility DCRaw. And it supports basic color management using Little CMS, allowing the user to apply color profiles. +%if %{with lensfun} +NOTE: This package has been compiled with lensfun support which is +considered experimental. Please read http://ufraw.sourceforge.net/lensfun.html +for information about problems with current implementation. +%endif %description -l pl.UTF-8 UFRaw to narzÄdzie do czytania i przetwarzania zdjÄÄ w formacie RAW róşnych @@ -38,6 +49,12 @@ GIMP. ZdjÄcia w formacie RAW sÄ wczytywane za pomocÄ programu DCRaw Dave'a Coffina. UĹźytkownik ma moĹźliwoĹÄ stosowania profili kolorĂłw dziÄki bibliotece Little CMS. +%if %{with lensfun} +UWAGA: Ten pakiet zostaĹ skompilowany ze wsparciem dla lensfun, ktĂłre +jest w fazie eksperymentalnej. ProszÄ zapoznaÄ siÄ z dokumenem +http://ufraw.sourceforge.net/lensfun.html w ktĂłrym opisane sÄ problemy +z obecnÄ wersjÄ . +%endif %package -n gimp-plugin-ufraw Summary: RAW photo loader GIMP plugin @@ -68,6 +85,7 @@ %configure \ --enable-mime \ --with-exiv2 \ + %{?with_lensfun:--with-lensfun} \ --with-libexif %{__make}
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
