Date: Tuesday, November 15, 2022 @ 21:32:40 Author: blakkheim Revision: 1349018
archrelease: copy trunk to community-staging-x86_64 Added: gimp-nufraw/repos/community-staging-x86_64/ gimp-nufraw/repos/community-staging-x86_64/PKGBUILD (from rev 1349017, gimp-nufraw/trunk/PKGBUILD) gimp-nufraw/repos/community-staging-x86_64/nufraw-glib-2.70.patch (from rev 1349017, gimp-nufraw/trunk/nufraw-glib-2.70.patch) ------------------------+ PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++++++++++ nufraw-glib-2.70.patch | 20 ++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: gimp-nufraw/repos/community-staging-x86_64/PKGBUILD (from rev 1349017, gimp-nufraw/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-11-15 21:32:40 UTC (rev 1349018) @@ -0,0 +1,50 @@ +# Maintainer: Christian Hesse <m...@eworm.de> + +pkgname=gimp-nufraw +_realver=0.43-3 +pkgver=0.43.3 +pkgrel=5 +pkgdesc='Converter for raw files; utility and GIMP plugin' +url='https://sourceforge.net/projects/nufraw/' +arch=('x86_64') +license=('GPL') +depends=('cfitsio' 'exiv2' 'gtkimageview' 'lcms2' 'lensfun' 'libjpeg-turbo') +makedepends=('gimp') +conflicts=('gimp-ufraw') +replaces=('gimp-ufraw') +optdepends=('gimp: to use the gimp import plugin for raw images') +source=("https://downloads.sourceforge.net/nufraw/nufraw-${_realver}.tar.gz" + nufraw-glib-2.70.patch) +sha256sums=('2c7dcc1590993ec267b3112562b2433010d6f94f6acc6506c76aa29cf8c6c32c' + '0e422f77b277f3c38b454426ee155d1004e47ced8d5d05942448584557c9ed07') + +prepare() { + cd "nufraw-${_realver}" + + patch -p1 < ../nufraw-glib-2.70.patch # Fix build with glib 2.70 + + autoreconf -fi + + mv nufraw.desktop{.desktop,} + chmod +x generate_schemas.sh +} + +build() { + cd "nufraw-${_realver}" + + ./configure \ + --prefix=/usr \ + --enable-extras \ + --enable-mime \ + --enable-openmp \ + --with-gimp \ + --with-cinepaint \ + --enable-contrast + make +} + +package() { + make -C "nufraw-${_realver}" DESTDIR="$pkgdir" install + rm -f "$pkgdir/usr/bin/dcraw" +} + Copied: gimp-nufraw/repos/community-staging-x86_64/nufraw-glib-2.70.patch (from rev 1349017, gimp-nufraw/trunk/nufraw-glib-2.70.patch) =================================================================== --- community-staging-x86_64/nufraw-glib-2.70.patch (rev 0) +++ community-staging-x86_64/nufraw-glib-2.70.patch 2022-11-15 21:32:40 UTC (rev 1349018) @@ -0,0 +1,20 @@ +diff -ru nufraw-0.43-3.orig/uf_glib.h nufraw-0.43-3/uf_glib.h +--- nufraw-0.43-3.orig/uf_glib.h 2022-02-23 09:03:44.700472919 +0100 ++++ nufraw-0.43-3/uf_glib.h 2022-02-23 09:04:50.260308805 +0100 +@@ -13,13 +13,13 @@ + #ifndef _UF_GLIB_H + #define _UF_GLIB_H + ++#include <glib.h> ++#include <glib/gstdio.h> ++ + #ifdef __cplusplus + extern "C" { + #endif + +-#include <glib.h> +-#include <glib/gstdio.h> +- + // g_win32_locale_filename_from_utf8 is needed only on win32 + #ifdef _WIN32 + #define uf_win32_locale_filename_from_utf8(__some_string__) \