* [PR PATCH] nomacs: fix build, enable translations
@ 2019-10-20 6:32 voidlinux-github
2019-10-20 9:14 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-20 6:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
There is a new pull request by mvf against master on the void-packages repository
https://github.com/mvf/void-packages pr/nomacs
https://github.com/void-linux/void-packages/pull/15637
nomacs: fix build, enable translations
Fixes #14271
A patch file from https://github.com/void-linux/void-packages/pull/15637.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr/nomacs-15637.patch --]
[-- Type: text/x-diff, Size: 2629 bytes --]
From b037f3d103e531382d60a57513e9f4781405690e Mon Sep 17 00:00:00 2001
From: Matthias von Faber <mvf@gmx.eu>
Date: Sun, 20 Oct 2019 08:14:51 +0200
Subject: [PATCH 1/2] nomacs: fix build
---
srcpkgs/nomacs/patches/fix-build.patch | 39 ++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 srcpkgs/nomacs/patches/fix-build.patch
diff --git a/srcpkgs/nomacs/patches/fix-build.patch b/srcpkgs/nomacs/patches/fix-build.patch
new file mode 100644
index 00000000000..d927eaf523f
--- /dev/null
+++ b/srcpkgs/nomacs/patches/fix-build.patch
@@ -0,0 +1,39 @@
+From 37805e3bc8753970127db101f4aa0c061bc5a70d Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Sun, 9 Jun 2019 19:15:28 +1000
+Subject: [PATCH] Fix build with GCC9
+
+---
+ ImageLounge/src/DkCore/DkMetaData.cpp | 2 ++
+ ImageLounge/src/DkGui/DkNoMacs.cpp | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git ImageLounge/src/DkCore/DkMetaData.cpp ImageLounge/src/DkCore/DkMetaData.cpp
+index d195757e..affec7be 100644
+--- ImageLounge/src/DkCore/DkMetaData.cpp
++++ ImageLounge/src/DkCore/DkMetaData.cpp
+@@ -42,6 +42,8 @@
+ #include <QApplication>
+ #pragma warning(pop) // no warnings from includes - end
+
++#include <iostream>
++
+ namespace nmc {
+
+ // DkMetaDataT --------------------------------------------------------------------
+diff --git ImageLounge/src/DkGui/DkNoMacs.cpp ImageLounge/src/DkGui/DkNoMacs.cpp
+index 6a412f70..bbfba233 100644
+--- ImageLounge/src/DkGui/DkNoMacs.cpp
++++ ImageLounge/src/DkGui/DkNoMacs.cpp
+@@ -96,6 +96,8 @@
+ #include <QWinTaskbarButton>
+ #endif
+
++#include <iostream>
++
+ namespace nmc {
+
+ DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : QObject(parent) {
+--
+2.23.0
+
From 8979ecccc5b2a910c6d4db03c866f7af4bd9a884 Mon Sep 17 00:00:00 2001
From: Matthias von Faber <mvf@gmx.eu>
Date: Sun, 20 Oct 2019 08:14:51 +0200
Subject: [PATCH 2/2] nomacs: enable translations
---
srcpkgs/nomacs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nomacs/template b/srcpkgs/nomacs/template
index ba4dac7af21..7f825a118c7 100644
--- a/srcpkgs/nomacs/template
+++ b/srcpkgs/nomacs/template
@@ -1,10 +1,10 @@
# Template file for 'nomacs'
pkgname=nomacs
version=3.12
-revision=2
+revision=3
build_wrksrc=ImageLounge
build_style=cmake
-configure_args="-DUSE_SYSTEM_QUAZIP=1"
+configure_args="-DENABLE_TRANSLATIONS=1 -DUSE_SYSTEM_QUAZIP=1"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools quazip-devel"
makedepends="qt5-tools-devel qt5-svg-devel exiv2-devel libopencv-devel
libraw-devel quazip-devel"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: nomacs: fix build, enable translations
2019-10-20 6:32 [PR PATCH] nomacs: fix build, enable translations voidlinux-github
@ 2019-10-20 9:14 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-20 9:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
There's a merged pull request on the void-packages repository
nomacs: fix build, enable translations
https://github.com/void-linux/void-packages/pull/15637
Description:
Fixes #14271
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-20 9:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20 6:32 [PR PATCH] nomacs: fix build, enable translations voidlinux-github
2019-10-20 9:14 ` [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).