[arch-commits] Commit in gimp-nufraw/trunk (PKGBUILD nufraw-glib-2.70.patch)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Feb 23 08:07:12 UTC 2022
Date: Wednesday, February 23, 2022 @ 08:07:12
Author: arojas
Revision: 1136247
lensfun 0.3.3 rebuild
Added:
gimp-nufraw/trunk/nufraw-glib-2.70.patch
Modified:
gimp-nufraw/trunk/PKGBUILD
------------------------+
PKGBUILD | 10 +++++++---
nufraw-glib-2.70.patch | 20 ++++++++++++++++++++
2 files changed, 27 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-23 07:59:22 UTC (rev 1136246)
+++ PKGBUILD 2022-02-23 08:07:12 UTC (rev 1136247)
@@ -3,7 +3,7 @@
pkgname=gimp-nufraw
_realver=0.43-3
pkgver=0.43.3
-pkgrel=2
+pkgrel=3
pkgdesc='Converter for raw files; utility and GIMP plugin'
url='https://sourceforge.net/projects/nufraw/'
arch=('x86_64')
@@ -13,12 +13,16 @@
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")
-sha256sums=('2c7dcc1590993ec267b3112562b2433010d6f94f6acc6506c76aa29cf8c6c32c')
+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,}
Added: nufraw-glib-2.70.patch
===================================================================
--- nufraw-glib-2.70.patch (rev 0)
+++ nufraw-glib-2.70.patch 2022-02-23 08:07:12 UTC (rev 1136247)
@@ -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