Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] geeqie: update to 1.5.1
@ 2019-10-30 11:05 voidlinux-github
  2019-10-30 12:40 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-30 11:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

There is a new pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages geeqie
https://github.com/void-linux/void-packages/pull/15945

geeqie: update to 1.5.1


A patch file from https://github.com/void-linux/void-packages/pull/15945.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-geeqie-15945.patch --]
[-- Type: text/x-diff, Size: 4139 bytes --]

From 3b9d857706a0a6c48e29cd445fa558625d0c1114 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 29 Oct 2019 21:56:06 -0500
Subject: [PATCH] geeqie: update to 1.5.1

---
 .../patches/geeqie-1.4-exiv2-0.27.patch       | 84 -------------------
 srcpkgs/geeqie/template                       | 13 +--
 2 files changed, 8 insertions(+), 89 deletions(-)
 delete mode 100644 srcpkgs/geeqie/patches/geeqie-1.4-exiv2-0.27.patch

diff --git a/srcpkgs/geeqie/patches/geeqie-1.4-exiv2-0.27.patch b/srcpkgs/geeqie/patches/geeqie-1.4-exiv2-0.27.patch
deleted file mode 100644
index 2ce96733d8d..00000000000
--- a/srcpkgs/geeqie/patches/geeqie-1.4-exiv2-0.27.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-Source: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/geeqie/files/geeqie-1.4-exiv2-0.27.patch
-Upstream: Yes
-Reason: FTBFS
-
-From 13859e2ec3a1afc74f109cfffdf0de39030cde86 Mon Sep 17 00:00:00 2001
-From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
-Date: Wed, 2 Jan 2019 01:04:45 +0100
-Subject: [PATCH] fix build against exiv2-0.27.x
-
-fixes #654
----
- src/exiv2.cc | 16 +++++++++++++---
- 1 file changed, 13 insertions(+), 3 deletions(-)
-
-diff --git a/src/exiv2.cc b/src/exiv2.cc
-index b3c80657..f40b725e 100644
---- a/src/exiv2.cc
-+++ b/src/exiv2.cc
-@@ -22,17 +22,27 @@
- 
- #ifdef HAVE_EXIV2
- 
-+// Don't include the <exiv2/version.hpp> file directly
-+// Early Exiv2 versions didn't have version.hpp and the macros.
-+#include <exiv2/exiv2.hpp>
- #include <exiv2/image.hpp>
- #include <exiv2/exif.hpp>
- #include <iostream>
- #include <string>
- 
- // EXIV2_TEST_VERSION is defined in Exiv2 0.15 and newer.
-+#ifdef EXIV2_VERSION
- #ifndef EXIV2_TEST_VERSION
--# define EXIV2_TEST_VERSION(major,minor,patch) \
-+#define EXIV2_TEST_VERSION(major,minor,patch) \
- 	( EXIV2_VERSION >= EXIV2_MAKE_VERSION(major,minor,patch) )
- #endif
-+#else
-+#define EXIV2_TEST_VERSION(major,minor,patch) (false)
-+#endif
- 
-+#if EXIV2_TEST_VERSION(0,27,0)
-+#define HAVE_EXIV2_ERROR_CODE
-+#endif
- 
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -40,6 +50,10 @@
- #include <fcntl.h>
- #include <sys/mman.h>
- 
-+#if EXIV2_TEST_VERSION(0,27,0)
-+#define EXV_PACKAGE "exiv2"
-+#endif
-+
- #if !EXIV2_TEST_VERSION(0,17,90)
- #include <exiv2/tiffparser.hpp>
- #include <exiv2/tiffcomposite.hpp>
-@@ -374,7 +388,11 @@
- #endif
- 			Exiv2::Image *image = imageData_->image();
- 
--			if (!image) Exiv2::Error(21);
-+#ifdef HAVE_EXIV2_ERROR_CODE
-+			if (!image) throw Exiv2::Error(Exiv2::ErrorCode::kerInputDataReadFailed);
-+#else
-+			if (!image) throw Exiv2::Error(21);
-+#endif
- 			image->setExifData(exifData_);
- 			image->setIptcData(iptcData_);
- #if EXIV2_TEST_VERSION(0,16,0)
-@@ -394,8 +412,12 @@
- 			sidecar->setXmpData(xmpData_);
- 			sidecar->writeMetadata();
- #else
-+#ifdef HAVE_EXIV2_ERROR_CODE
-+			throw Exiv2::Error(Exiv2::ErrorCode::kerNotAnImage, "xmp");
-+#else
- 			throw Exiv2::Error(3, "xmp");
- #endif
-+#endif
- 			}
- 	}
- 
diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index afa19001f46..8d136c84ad0 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -1,6 +1,6 @@
 # Template file for 'geeqie'
 pkgname=geeqie
-version=1.4
+version=1.5.1
 revision=1
 build_style=gnu-configure
 configure_args="--enable-gtk3"
@@ -13,17 +13,20 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.geeqie.org/"
 distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
-checksum=5c583a165573ec37874c278f9dc57e73df356b30e09a9ccac3179dd5d97e3e32
+checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
-
-	# Remove -Werror (gcc changes may add new warnings)
-	sed -e '/CFLAGS/s/-Werror //g' -i configure.in
 }
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
+# musl gives many warnings and stops compiling after many warnings
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+do_build() {
+	make CFLAGS="$CFLAGS -Wno-error"
+}
+fi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: geeqie: update to 1.5.1
  2019-10-30 11:05 [PR PATCH] geeqie: update to 1.5.1 voidlinux-github
@ 2019-10-30 12:40 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-30 12:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

There's a merged pull request on the void-packages repository

geeqie: update to 1.5.1
https://github.com/void-linux/void-packages/pull/15945

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-30 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30 11:05 [PR PATCH] geeqie: update to 1.5.1 voidlinux-github
2019-10-30 12:40 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).