From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-997292-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D702A138331
	for <garchives@archives.gentoo.org>; Sat, 13 Jan 2018 03:47:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2D26CE0ACD;
	Sat, 13 Jan 2018 03:47:34 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F023AE0ACD
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jan 2018 03:47:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EBD11335C4F
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jan 2018 03:47:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 879001A0
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jan 2018 03:47:31 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1515815240.e06199348216ffd4f28a95038c97f9afbf7faada.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/qvv/files/, media-gfx/qvv/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/qvv/Manifest media-gfx/qvv/files/qvv-4.04-toLatin1.patch media-gfx/qvv/qvv-4.04.ebuild
X-VCS-Directories: media-gfx/qvv/files/ media-gfx/qvv/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: e06199348216ffd4f28a95038c97f9afbf7faada
X-VCS-Branch: master
Date: Sat, 13 Jan 2018 03:47:31 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 878b9472-b610-4ded-9aa4-cfa630c15d22
X-Archives-Hash: ccbfaff1cdf7472524bd77d6bb92d8f7

commit:     e06199348216ffd4f28a95038c97f9afbf7faada
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 03:46:42 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 03:47:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0619934

media-gfx/qvv: Qt5-based 4.04 version bump

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/qvv/Manifest                      |  1 +
 media-gfx/qvv/files/qvv-4.04-toLatin1.patch | 22 +++++++++++++++++
 media-gfx/qvv/qvv-4.04.ebuild               | 37 +++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/media-gfx/qvv/Manifest b/media-gfx/qvv/Manifest
index 61c4029863e..28493ef9aa1 100644
--- a/media-gfx/qvv/Manifest
+++ b/media-gfx/qvv/Manifest
@@ -1 +1,2 @@
 DIST qvv-4.02.tar.gz 1837213 BLAKE2B 7cb780fbdfe8135e3c96057f8505248eb385daaaf71690b813b7e1822732e3987a4d3cd98f2229f7957803e387046a14fd21cafd1a67b1002bed084a6709c925 SHA512 2cd82b4c1a1664e2ab2df4b9de21c6504c44baa634e370a0365257f0b5c906d3588af371e754b2a26d86527568aded40112095f55141e159f54ce8d8b663bc6c
+DIST qvv-4.04.tar.gz 4580207 BLAKE2B 0f73f455ca5f7446312043c53322668a7824fdbcadb0eff1e98698f14bfbaac7c57a1ac1e7e42164ed1071e319f90d1aa5d57cf865c31d3242bdfd954875c12a SHA512 102c51f7eb146d4ddcbfee16fcf93bc08f874268c2838c1358d314daf466639c5506adc2ba99231cb5f2f7074a980545c1640241396964012e9991b946d7839d

diff --git a/media-gfx/qvv/files/qvv-4.04-toLatin1.patch b/media-gfx/qvv/files/qvv-4.04-toLatin1.patch
new file mode 100644
index 00000000000..3db2b32ad4b
--- /dev/null
+++ b/media-gfx/qvv/files/qvv-4.04-toLatin1.patch
@@ -0,0 +1,22 @@
+From 61b243ccc907f34115a00572e2d8f2bfa2682e6c Mon Sep 17 00:00:00 2001
+From: Vladi Belperchinov-Shabanski <cade@datamax.bg>
+Date: Thu, 26 Feb 2015 16:08:51 +0200
+Subject: [PATCH] toascii-tolatin1-fix
+
+---
+ src/qvv_main_win.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/qvv_main_win.cpp b/src/qvv_main_win.cpp
+index 3516f87..0ade17c 100644
+--- a/src/qvv_main_win.cpp
++++ b/src/qvv_main_win.cpp
+@@ -783,7 +783,7 @@ int QvvMainWindow::deleteItems( int current_only )
+ 
+     //qDebug() << "DELETE YES: " << file_name << " RESBUTTON: " << QVariant( confirm->activated_button ).toString();
+ 
+-    QString path_hash = QVariant( QCryptographicHash::hash( cdir.absolutePath().toAscii(), QCryptographicHash::Sha1 ).toHex() ).toString();
++    QString path_hash = QVariant( QCryptographicHash::hash( cdir.absolutePath().toLatin1(), QCryptographicHash::Sha1 ).toHex() ).toString();
+     QString trash_file_name = trash_can + "/" + path_hash + "." + item->text( 1 );
+ 
+     int moved_ok = 0;

diff --git a/media-gfx/qvv/qvv-4.04.ebuild b/media-gfx/qvv/qvv-4.04.ebuild
new file mode 100644
index 00000000000..bd8c0105b3b
--- /dev/null
+++ b/media-gfx/qvv/qvv-4.04.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop qmake-utils
+
+DESCRIPTION="QVV Image Viewer and Browser"
+HOMEPAGE="http://cade.datamax.bg/qvv/"
+SRC_URI="https://github.com/cade-vs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( ANFSCD GPG_README HISTORY README todo.txt )
+
+PATCHES=( "${FILESDIR}"/${P}-toLatin1.patch )
+
+src_configure() {
+	eqmake5 src/${PN}.qt5.pro
+}
+
+src_install() {
+	einstalldocs
+	dobin qvv || die "dobin failed"
+	doicon images/qvv_icon_128x128.png || die "doicon failed"
+	make_desktop_entry qvv QVV qvv_icon_128x128
+}