[arch-commits] Commit in gimp-nufraw/repos (3 files)

Christian Hesse eworm at gemini.archlinux.org
Thu May 12 18:59:47 UTC 2022


    Date: Thursday, May 12, 2022 @ 18:59:47
  Author: eworm
Revision: 1199788

archrelease: copy trunk to staging-x86_64

Added:
  gimp-nufraw/repos/staging-x86_64/
  gimp-nufraw/repos/staging-x86_64/PKGBUILD
    (from rev 1199787, gimp-nufraw/trunk/PKGBUILD)
  gimp-nufraw/repos/staging-x86_64/nufraw-glib-2.70.patch
    (from rev 1199787, 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/staging-x86_64/PKGBUILD (from rev 1199787, gimp-nufraw/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-05-12 18:59:47 UTC (rev 1199788)
@@ -0,0 +1,50 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=gimp-nufraw
+_realver=0.43-3
+pkgver=0.43.3
+pkgrel=4
+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/staging-x86_64/nufraw-glib-2.70.patch (from rev 1199787, gimp-nufraw/trunk/nufraw-glib-2.70.patch)
===================================================================
--- staging-x86_64/nufraw-glib-2.70.patch	                        (rev 0)
+++ staging-x86_64/nufraw-glib-2.70.patch	2022-05-12 18:59:47 UTC (rev 1199788)
@@ -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__) \



More information about the arch-commits mailing list