From 18dc457919f364732c45c0d71f22822a6c8dcdac Mon Sep 17 00:00:00 2001 From: Thibault North Date: Apr 27 2010 14:29:24 +0000 Subject: Now use official repo again, with many updates and fixes. Themes and languages are back. --- diff --git a/.cvsignore b/.cvsignore index 8570a1e..649d1de 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -rawtherapee-3.0-a1-fork.tar.bz2 +rawtherapee-3.0-a1.tar.bz2 diff --git a/import.log b/import.log index ce0742d..629761e 100644 --- a/import.log +++ b/import.log @@ -1,3 +1,4 @@ rawtherapee-3_0-0_10_a1_fc12:F-12:rawtherapee-3.0-0.10.a1.fc12.src.rpm:1269088854 rawtherapee-3_0-0_14_a1_fc12:F-12:rawtherapee-3.0-0.14.a1.fc12.src.rpm:1269410714 rawtherapee-3_0-0_15_a1_fc12:F-12:rawtherapee-3.0-0.15.a1.fc12.src.rpm:1270735338 +rawtherapee-3_0-0_20_a1_fc12:F-12:rawtherapee-3.0-0.20.a1.fc12.src.rpm:1272378511 diff --git a/rawtherapee.spec b/rawtherapee.spec index fe2c893..cf5da47 100644 --- a/rawtherapee.spec +++ b/rawtherapee.spec @@ -1,20 +1,18 @@ -# Tarfile created using git -# git clone git://github.com/thebiguno/RawTherapee-Fork.git %{name}-%{version} -# +# Tarfile created from Mercurial repository +# hg clone -u tip https://rawtherapee.googlecode.com/hg/ %{name}-%{version} # cd %{name}-%{version} -# rm -rf .git* +# rm -rf .hg* # rm -rf doc/ # rm -rf rawzor_* -# rm -f rtdata/themes/* tools/createicon.exe -# mv rtdata/languages/english-us . && rm -f rtdata/languages/* && mv english-us rtdata/languages/ +# rm -rf tools/createicon.exe # rm -f lib/*.a -# tar -cjvf ~/%{name}-%{version}-%{prerelease}-fork.tar.bz2 ../%{name}-%{version} +# tar -cjvf ~/%{name}-%{version}-%{prerelease}.tar.bz2 ../%{name}-%{version} %global prerelease a1 -%global tarfile %{name}-%{version}-%{prerelease}-fork.tar.bz2 +%global tarfile %{name}-%{version}-%{prerelease}.tar.bz2 Name: rawtherapee Version: 3.0 -Release: 0.15.%{prerelease}%{?dist} +Release: 0.20.%{prerelease}%{?dist} Summary: Raw image processing software Group: Applications/Multimedia @@ -42,22 +40,16 @@ to some common image format. %prep %setup -q -# we don't want rawzor support -sed -i 's#\"Build with Rawzor support\" ON#\"Build with Rawzor support\" OFF#' CMakeLists.txt +# Fix for x86_64 and ppc64 +%ifarch x86_64 ppc64 +sed -i "s|/lib|/lib64|g" CMakeLists.txt +%endif -# Remove unlicenced themes (keep default) and languages (keep english) -sed -ri "s/^\s+.languages\/.*$//g" rtdata/CMakeLists.txt -sed -ri "s/\/catala/\/english-us\)/" rtdata/CMakeLists.txt -sed -ri "s/^\s+themes\/.*//g" rtdata/CMakeLists.txt -sed -ri "s/(set \(THEMEFILES.+?)//" rtdata/CMakeLists.txt -# Allow compiling without theme -sed -ri "s/(install.+?themes\))//" rtdata/CMakeLists.txt +# Hide info box on picture by default +sed -i "s|^.*options.showInfo.*||" rtgui/editorpanel.cc # fix wrong line endings -sed -i "s|\r||g" authors compile - -# settle more permissions -chmod a-x {authors,compile,copying} +sed -i "s|\r||g" AUTHORS.txt COMPILE.txt %build @@ -91,6 +83,8 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then fi %{_bindir}/update-desktop-database %{_datadir}/applications || : +/sbin/ldconfig + %postun %{_bindir}/update-desktop-database %{_datadir}/applications touch --no-create %{_datadir}/icons/hicolor @@ -98,16 +92,38 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi || : +/sbin/ldconfig + %files %defattr(-,root,root,-) -%doc authors copying compile +%doc AUTHORS.txt LICENSE.txt COMPILE.txt %{_bindir}/rt +%{_libdir}/*.so %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/16x16/apps/rawtherapee.png %{_datadir}/icons/hicolor/32x32/apps/rawtherapee.png %changelog +* Tue Apr 27 2010 Thibault North - 3.0-0.20.a1 +- Fix compilation for 64 bits OSes + +* Tue Apr 27 2010 Thibault North - 3.0-0.19.a1 +- Switch back to Rawtherapee original release +- Bug fixes +- Translations and themes now have a licence and can be used +- Hide information on pictures by default + +* Fri Apr 16 2010 Thibault North - 3.0-0.18.a1 +- New release including curves (exposure and luminance) + +* Fri Apr 16 2010 Thibault North - 3.0-0.17.a1 +- Sync with upstream: multiple fixes + +* Mon Apr 12 2010 Thibault North - 3.0-0.16.a1 +- Sync with upstream for new resizing algorithms +- File renames + * Thu Apr 8 2010 Thibault North - 3.0-0.15.a1 - Sync with upstream for new demosaicing algorithms - Fix segfault diff --git a/sources b/sources index 599d687..34bbc7f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1a67a654bfc9f071d98d76ae30b8c344 rawtherapee-3.0-a1-fork.tar.bz2 +3248d52ffdee8ad67114864bcbc965f5 rawtherapee-3.0-a1.tar.bz2