diff options
Diffstat (limited to 'community-testing')
-rw-r--r-- | community-testing/darktable/PKGBUILD | 46 | ||||
-rw-r--r-- | community-testing/darktable/darktable.install | 23 | ||||
-rw-r--r-- | community-testing/kphotoalbum/PKGBUILD | 4 | ||||
-rw-r--r-- | community-testing/krename/PKGBUILD | 31 | ||||
-rw-r--r-- | community-testing/krename/krename.install | 11 | ||||
-rw-r--r-- | community-testing/libextractor/PKGBUILD | 4 | ||||
-rw-r--r-- | community-testing/libgexiv2/PKGBUILD | 29 | ||||
-rw-r--r-- | community-testing/luminancehdr/PKGBUILD | 33 | ||||
-rw-r--r-- | community-testing/luminancehdr/luminancehdr.changelog | 45 | ||||
-rw-r--r-- | community-testing/luminancehdr/luminancehdr.install | 12 | ||||
-rw-r--r-- | community-testing/pinot/PKGBUILD | 50 | ||||
-rw-r--r-- | community-testing/pinot/pinot.changelog | 8 | ||||
-rw-r--r-- | community-testing/pinot/pinot.install | 15 | ||||
-rw-r--r-- | community-testing/qtcurve-kde4/PKGBUILD | 39 | ||||
-rw-r--r-- | community-testing/qtcurve-kde4/bypass-kde-config.patch | 32 | ||||
-rw-r--r-- | community-testing/rawstudio/PKGBUILD | 37 | ||||
-rw-r--r-- | community-testing/rawstudio/libpng15.patch | 40 | ||||
-rw-r--r-- | community-testing/rawstudio/rawstudio.install | 11 |
18 files changed, 466 insertions, 4 deletions
diff --git a/community-testing/darktable/PKGBUILD b/community-testing/darktable/PKGBUILD new file mode 100644 index 000000000..5ee3e0125 --- /dev/null +++ b/community-testing/darktable/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 74728 2012-08-02 15:23:34Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Christian Himpel <chressie at gmail dot com> +# Contributor: Johannes Hanika <hanatos at gmail dot com> + +pkgname=darktable +pkgver=1.0.5 +_pkgver=1.0 +pkgrel=2 +pkgdesc="Utility to organize and develop raw images" +arch=('i686' 'x86_64') +url=http://darktable.sf.net/ +license=('GPL3') +depends=('exiv2>=0.18' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'dbus-glib' + 'curl' 'libgnome-keyring' 'libgphoto2' 'libusb-compat' 'openexr' 'sqlite') +makedepends=('intltool>=0.40' 'cmake' 'librsvg') +# 'gnome-doc-utils' 'libxslt' 'fop') +optdepends=('librsvg') +install=darktable.install +options=(!libtool) +source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.gz) +md5sums=('9ad88a1a6b9761fce28c8073d8f47941') + +build() { + cd $srcdir/$pkgname-$pkgver +# mv doc/usermanual/CMakeLists.tx doc/usermanual/CMakeLists.txt + mkdir -p build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DDONT_INSTALL_GCONF_SCHEMAS=True \ + -DBINARY_PACKAGE_BUILD=1 \ + -DUSE_GCONF_BACKEND=Off \ + -DBUILD_USERMANUAL=False \ + .. + make +} + +package() { + cd $srcdir/$pkgname-$pkgver/build + make DESTDIR=$pkgdir install + mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" +# mkdir -p "${pkgdir}/usr/share/gconf/schemas/" +# mv "${pkgdir}/etc/gconf/schemas/darktable.schemas" "${pkgdir}/usr/share/gconf/schemas/" +} diff --git a/community-testing/darktable/darktable.install b/community-testing/darktable/darktable.install new file mode 100644 index 000000000..9fd6af293 --- /dev/null +++ b/community-testing/darktable/darktable.install @@ -0,0 +1,23 @@ +pkgname=darktable + +post_install() { +# usr/sbin/gconfpkg --install ${pkgname} + [ -x `which update-desktop-database` ] && update-desktop-database -q +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { +# usr/sbin/gconfpkg --uninstall ${pkgname} + true +} + +post_remove() { + [ -x `which update-desktop-database` ] && update-desktop-database -q +} diff --git a/community-testing/kphotoalbum/PKGBUILD b/community-testing/kphotoalbum/PKGBUILD index 8132e398a..52fc9551e 100644 --- a/community-testing/kphotoalbum/PKGBUILD +++ b/community-testing/kphotoalbum/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74666 2012-08-01 16:58:55Z andrea $ +# $Id: PKGBUILD 74736 2012-08-02 15:33:12Z andrea $ # Maintainer: Laurent Carlier <lordheavym@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Gilles CHAUVIN <gcnweb ][ gmail ? com> @@ -7,7 +7,7 @@ pkgname=kphotoalbum pkgver=4.2 -pkgrel=3 +pkgrel=4 pkgdesc="KDE Photo Album, picture collection manager" url="http://www.kphotoalbum.org/" arch=('i686' 'x86_64') diff --git a/community-testing/krename/PKGBUILD b/community-testing/krename/PKGBUILD new file mode 100644 index 000000000..50394605a --- /dev/null +++ b/community-testing/krename/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 74730 2012-08-02 15:23:48Z andrea $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=krename +pkgver=4.0.9 +pkgrel=2 +pkgdesc="A very powerfull batch file renamer for KDE" +arch=('i686' 'x86_64') +url="http://www.krename.net" +license=('GPL') +depends=('kdebase-runtime' 'taglib') +makedepends=('cmake' 'automoc4') +options=('libtool') +install=krename.install +source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('03886a385a16de4c9bc285d25b9816ea97768c9e') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/krename/krename.install b/community-testing/krename/krename.install new file mode 100644 index 000000000..1c0de2e4f --- /dev/null +++ b/community-testing/krename/krename.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-testing/libextractor/PKGBUILD b/community-testing/libextractor/PKGBUILD index 06ff89934..23cc9ccf9 100644 --- a/community-testing/libextractor/PKGBUILD +++ b/community-testing/libextractor/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72914 2012-06-24 19:24:08Z foutrelis $ +# $Id: PKGBUILD 74731 2012-08-02 15:23:53Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s@gmail.com> # Contributor: damir <damir@archlinux.org> pkgname=libextractor pkgver=0.6.3 -pkgrel=5 +pkgrel=6 pkgdesc="A library used to extract meta-data from files of arbitrary type" arch=("i686" "x86_64") license=('GPL') diff --git a/community-testing/libgexiv2/PKGBUILD b/community-testing/libgexiv2/PKGBUILD new file mode 100644 index 000000000..264648b17 --- /dev/null +++ b/community-testing/libgexiv2/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 74732 2012-08-02 15:23:56Z andrea $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=libgexiv2 +pkgver=0.4.1 +pkgrel=3 +pkgdesc="GObject-based wrapper around the Exiv2 library." +arch=('i686' 'x86_64') +url="http://redmine.yorba.org/projects/gexiv2" +license=('GPL2') +depends=('exiv2' 'glib2') +options=('!libtool') +source=(http://yorba.org/download/gexiv2/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('b74cd19a4cf4a4a32a938ecb267974c29e630dc2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/luminancehdr/PKGBUILD b/community-testing/luminancehdr/PKGBUILD new file mode 100644 index 000000000..342141efa --- /dev/null +++ b/community-testing/luminancehdr/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 74737 2012-08-02 15:36:57Z andrea $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> +# Contributor: Dmitry N. Shilov <stormblast@land.ru> + +pkgname=luminancehdr +pkgver=2.3.0 +pkgrel=2 +pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging' +arch=('i686' 'x86_64') +url='http://qtpfsgui.sourceforge.net/' +license=('GPL') +depends=('exiv2' 'fftw' 'gsl' 'lcms2' 'libraw' 'openexr' 'qt' 'qtwebkit') +makedepends=('cmake') +optdepends=('hugin: align image stack functionality') +install=$pkgname.install +changelog=$pkgname.changelog +options=('!emptydirs') +source=(http://sourceforge.net/projects/qtpfsgui/files/luminance/${pkgver}/luminance-hdr-${pkgver}.tar.bz2) +sha256sums=('dada0795b58843912bcb57ce61dcd615bcb9f9437b610a37ff813ad2c899c676') + +build() { + cd ${srcdir}/luminance-hdr-${pkgver} + + cmake -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/luminance-hdr-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/luminancehdr/luminancehdr.changelog b/community-testing/luminancehdr/luminancehdr.changelog new file mode 100644 index 000000000..c3c1f1197 --- /dev/null +++ b/community-testing/luminancehdr/luminancehdr.changelog @@ -0,0 +1,45 @@ +2012-07-30 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * luminancehdr 2.3.0-2 exiv2-0.23 rebuild + +2012-07-07 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * luminancehdr 2.3.0-1 + +2012-03-18 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * luminancehdr 2.2.1-1 + +2012-01-27 Eric Belanger <eric@archlinux.org> + * Rebuild against libpng 1.5 and libtiff 4.0 + +2011-08-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * luminancehdr 2.1.0-1 + +2011-05-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * luminancehdr 2.0.2-1 + +2010-10-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * exiv2 0.20 rebuild + +2010-10-17 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 2.0.1 + +2010-06-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Package renamed to LuminanceHDR + * Update to major release 2.0.0 + +2010-03-09 Andrea Scarpino <andrea@archlinux.org> + * exiv2 0.19 rebuild + +2009-11-02 Biru Ionut <ionut@archlinux.ro> + * add translation and fix segfault on old i686 procesors + +2009-04-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release v1.9.3 + +2009-04-04 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Minor version (v1.9.2-3) update caused by exiv2 upgrade. + +2008-11-04 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Minor version (v1.9.2-2) update caused by openexr upgrade. + +2008-09-17 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Package moved to [community] diff --git a/community-testing/luminancehdr/luminancehdr.install b/community-testing/luminancehdr/luminancehdr.install new file mode 100644 index 000000000..279762804 --- /dev/null +++ b/community-testing/luminancehdr/luminancehdr.install @@ -0,0 +1,12 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community-testing/pinot/PKGBUILD b/community-testing/pinot/PKGBUILD new file mode 100644 index 000000000..0fe321e35 --- /dev/null +++ b/community-testing/pinot/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 74733 2012-08-02 15:24:03Z andrea $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: William Rea <sillywilly@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=pinot +pkgver=1.0 +pkgrel=2 +pkgdesc='Personal search and metasearch tool' +arch=('i686' 'x86_64') +url='http://code.google.com/p/pinot-search/' +license=('GPL') +depends=('gtkmm3' 'xapian-core' 'libtextcat' 'sqlite' 'libxml++' 'curl' 'gmime' + 'dbus-glib' 'shared-mime-info' 'libexif' 'taglib' 'hicolor-icon-theme' + 'cairo' 'exiv2' 'boost-libs') +makedepends=('boost' 'desktop-file-utils') +optdepends=('unzip: ZIP files extraction' + 'poppler: PDF to text conversion' + 'catdvi: DVI to text conversion' + 'djvulibre: DjVu text extraction' + 'unrtf: RTF to HTML conversion' + 'antiword: MS Word to text conversion' + 'catdoc: XLS and PPT to text conversion') +options=('!emptydirs') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://pinot-search.googlecode.com/files/$pkgname-$pkgver.tar.gz) +sha256sums=('d1f5ac17022014c5a29ba1e6d95fc39bcf254338a4e0bfe84bf16558d219e2e2') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat_conf.txt + sed -i 's|/LM/russian.lm|/LM/russian-windows1251.lm|' textcat_conf.txt + sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat3_conf.txt + sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat31_conf.txt + sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat32_conf.txt + sed -i -e "s|.*russian$|/usr/share/libtextcat/LM/russian-iso8859_5.lm russian-iso8859_5\n\ +/usr/share/libtextcat/LM/russian-koi8_r.lm russian-koi8_r\n\ +/usr/share/libtextcat/LM/russian-windows1251.lm russian-windows1251|" textcat3_conf.txt + + LIBS="-lboost_system" ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --enable-gtkmm3=yes + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/pinot/pinot.changelog b/community-testing/pinot/pinot.changelog new file mode 100644 index 000000000..770a1ef0a --- /dev/null +++ b/community-testing/pinot/pinot.changelog @@ -0,0 +1,8 @@ +2012-07-31 Eric Belanger <eric@archlinux.org> + * pinot 1.0-2 : Rebuild against exiv2 0.23, Add boost-libs depends + +2012-07-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * pinot 1.0-1 + +2011-12-18 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * pinot 0.98-1 diff --git a/community-testing/pinot/pinot.install b/community-testing/pinot/pinot.install new file mode 100644 index 000000000..55ab40426 --- /dev/null +++ b/community-testing/pinot/pinot.install @@ -0,0 +1,15 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + echo "Starting with 0.63, the service is auto-started. " + echo "The file that enables this is located at " + echo "/etc/xdg/autostart/pinot-dbus-daemon.desktop" + echo "Delete this file if you don't want the auto-start." +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} diff --git a/community-testing/qtcurve-kde4/PKGBUILD b/community-testing/qtcurve-kde4/PKGBUILD new file mode 100644 index 000000000..3ad2e7135 --- /dev/null +++ b/community-testing/qtcurve-kde4/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 74739 2012-08-02 16:18:09Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=qtcurve-kde4 +pkgver=1.8.13 +pkgrel=2 +arch=('i686' 'x86_64') +groups=('qtcurve') +license=('GPL') +pkgdesc='A configurable set of widget styles for KDE and Gtk' +url='http://www.kde-look.org/content/show.php?content=40492' +depends=('kdebase-workspace') +makedepends=('cmake' 'automoc4') +source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2" + 'bypass-kde-config.patch') +md5sums=('94ba22bc487a18f585249c2967878189' + '3f6681147cc361bd2bfd4d7477f2a8d0') + +build() { + cd "${srcdir}"/QtCurve-KDE4-${pkgver} + # Bypass KDE prefix detection by kde4-config, see: + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667 + patch -p1 -i "${srcdir}"/bypass-kde-config.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../QtCurve-KDE4-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/qtcurve-kde4/bypass-kde-config.patch b/community-testing/qtcurve-kde4/bypass-kde-config.patch new file mode 100644 index 000000000..d09e5ead5 --- /dev/null +++ b/community-testing/qtcurve-kde4/bypass-kde-config.patch @@ -0,0 +1,32 @@ +From: Pino Toscano <pino@kde.org> +Description: Disable braindead KDE3/4 prefix detection + The current detection of the KDE 3 and KDE 4 prefixes is done running + kde-config and kde4-config, resp. + This can be problematic, as these two could create files in ~/.kde, + thus breaking when the home of the current user (eg in buildds) is read-only. + Given the build system sets anyway "/usr" as prefix of KDE 3 and KDE 4 + if they were not detected, then just let it to. +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -16,6 +16,11 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CM + set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${QTCURVE_VERSION_FULL}") + include(CPack) + ++# Comment the kde3/kde4 prefix detection as a whole as it wants to run ++# kde-config and kde4-config, which in turn can create stuff in ~/.kde. ++# This cannot work on read-only homes. ++# So, the "fallback" prefixes ("/usr" for both) will be used. ++if (BRAINDEAD_DETECTION) + set(OLD_CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) + + # Try to find kde4-config... +@@ -48,6 +53,7 @@ if (KDE4_KDECONFIG_EXECUTABLE) + ARGS --prefix + OUTPUT_VARIABLE KDE4PREFIX) + endif (KDE4_KDECONFIG_EXECUTABLE) ++endif (BRAINDEAD_DETECTION) + + if(NOT KDE3PREFIX) + if(KDE4PREFIX) diff --git a/community-testing/rawstudio/PKGBUILD b/community-testing/rawstudio/PKGBUILD new file mode 100644 index 000000000..50d5d2324 --- /dev/null +++ b/community-testing/rawstudio/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 74734 2012-08-02 15:24:10Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Roman Kyrylych <roman@archlinux.org> +# Contributor: cdhotfire <cdhotfire@gmail.com> + +pkgname=rawstudio +pkgver=2.0 +pkgrel=7 +pkgdesc="An open source raw-image converter written in GTK+" +arch=('i686' 'x86_64') +license=('GPL') +url="http://rawstudio.org/" +depends=('exiv2' 'libgphoto2' 'flickcurl' 'libjpeg' 'fftw' 'gconf' 'lensfun' + 'raptor1' 'lcms' 'gtk2') +install=${pkgname}.install +options=('!libtool') +source=(http://rawstudio.org/files/release/${pkgname}-${pkgver}.tar.gz + libpng15.patch) +md5sums=('b2f86b8ca6b83ad954e3104c4cb89e9b' + '2f8b7acbe10d8096ce613cbea7986fd3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 <$srcdir/libpng15.patch + export LDFLAGS="$LDFLAGS `pkg-config --libs gthread-2.0`" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make prefix="${pkgdir}/usr" install + mkdir $pkgdir/usr/lib/rawstudio + mv $pkgdir/usr/share/rawstudio/plugins $pkgdir/usr/lib/rawstudio + ln -s ../../lib/rawstudio/plugins $pkgdir/usr/share/rawstudio/plugins +} diff --git a/community-testing/rawstudio/libpng15.patch b/community-testing/rawstudio/libpng15.patch new file mode 100644 index 000000000..6d3b85968 --- /dev/null +++ b/community-testing/rawstudio/libpng15.patch @@ -0,0 +1,40 @@ +diff -wbBur rawstudio-2.0/plugins/load-gdk/exiv2-colorspace.cpp rawstudio-2.0.my/plugins/load-gdk/exiv2-colorspace.cpp +--- rawstudio-2.0/plugins/load-gdk/exiv2-colorspace.cpp 2011-02-24 01:35:18.000000000 +0300 ++++ rawstudio-2.0.my/plugins/load-gdk/exiv2-colorspace.cpp 2012-01-23 15:03:22.000000000 +0400 +@@ -102,8 +102,8 @@ + { + *linear_guess = FALSE; + RSColorSpace* profile = NULL; +- const gchar *icc_profile_title; +- const gchar *icc_profile; ++ png_charp icc_profile_title; ++ png_bytep icc_profile; + guint icc_profile_size; + png_structp png_ptr = png_create_read_struct( + PNG_LIBPNG_VER_STRING, +@@ -125,11 +125,11 @@ + + int compression_type; + /* Extract embedded ICC profile */ +- if (info_ptr->valid & PNG_INFO_iCCP) ++ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP)) + { + png_uint_32 retval = png_get_iCCP (png_ptr, info_ptr, +- (png_charpp) &icc_profile_title, &compression_type, +- (png_charpp) &icc_profile, (png_uint_32*) &icc_profile_size); ++ &icc_profile_title, &compression_type, ++ &icc_profile, (png_uint_32*) &icc_profile_size); + if (retval != 0) + { + RSIccProfile *icc = rs_icc_profile_new_from_memory((gchar*)icc_profile, icc_profile_size, TRUE); +diff -wbBur rawstudio-2.0/plugins/output-pngfile/output-pngfile.c rawstudio-2.0.my/plugins/output-pngfile/output-pngfile.c +--- rawstudio-2.0/plugins/output-pngfile/output-pngfile.c 2011-03-26 04:52:29.000000000 +0300 ++++ rawstudio-2.0.my/plugins/output-pngfile/output-pngfile.c 2012-01-23 15:04:59.000000000 +0400 +@@ -23,6 +23,7 @@ + #include <gettext.h> + #include "config.h" + #include <png.h> ++#include <zlib.h> + + #define RS_TYPE_PNGFILE (rs_pngfile_type) + #define RS_PNGFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RS_TYPE_PNGFILE, RSPngfile)) diff --git a/community-testing/rawstudio/rawstudio.install b/community-testing/rawstudio/rawstudio.install new file mode 100644 index 000000000..261adb7b4 --- /dev/null +++ b/community-testing/rawstudio/rawstudio.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q || true +} + +post_upgrade() { + update-desktop-database -q || true +} + +post_remove() { + update-desktop-database -q || true +} |