diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-11-09 00:36:49 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-11-09 00:38:11 +1100 |
commit | 594b3a18f9ad7e8a723d70102a0e2c86e4d61efe (patch) | |
tree | 682c30b64ed476187b3814ee74e2362744baf292 /dev-vcs | |
parent | sys-apps/less: Removed old. (diff) | |
download | gentoo-594b3a18f9ad7e8a723d70102a0e2c86e4d61efe.tar.gz gentoo-594b3a18f9ad7e8a723d70102a0e2c86e4d61efe.tar.bz2 gentoo-594b3a18f9ad7e8a723d70102a0e2c86e4d61efe.zip |
dev-vcs/qgit: remove 2.7
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/qgit/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/qgit/files/qgit-2.7-highdpi-support.patch | 51 | ||||
-rw-r--r-- | dev-vcs/qgit/files/qgit-2.7-qt-5.11.patch | 24 | ||||
-rw-r--r-- | dev-vcs/qgit/qgit-2.7-r1.ebuild | 32 | ||||
-rw-r--r-- | dev-vcs/qgit/qgit-2.7.ebuild | 27 |
5 files changed, 0 insertions, 135 deletions
diff --git a/dev-vcs/qgit/Manifest b/dev-vcs/qgit/Manifest index 224c5a645fe9..3cb3eb8622a7 100644 --- a/dev-vcs/qgit/Manifest +++ b/dev-vcs/qgit/Manifest @@ -1,2 +1 @@ -DIST qgit-2.7.tar.gz 259624 BLAKE2B 48c5b7bd7da6b037b4be103a7de32375128311200ab98956edb1ac269fd46d6f4ec93049d86ce92fa009999e87bb8df6706f44847f795d993c829ee9d117ce69 SHA512 024fd825aaec64301f0bcbe0ca1d02eb8da0d754d79d09075b1cd87a507d44c97092b824949f2637b37f0e71b36723cad6963cd00dcb2f7597832aba3a5ab842 DIST qgit-2.8.tar.gz 260236 BLAKE2B eb6dfc83891a8598c31c4711dfcfca1952abfdd8d2e54ce295260674b63bb90ec84fc582f8b045342640e3aed1aab0f000ec89e47a9147e98d1274540a744b2e SHA512 9845064a3f0b2e48b7bb1cbe8f252eaa4e4174cfd2e270ba6c746f0200847ee4d3cdded7f9550849743781669bd7f6f1afe1e83a918b2863a915876b27a3e42a diff --git a/dev-vcs/qgit/files/qgit-2.7-highdpi-support.patch b/dev-vcs/qgit/files/qgit-2.7-highdpi-support.patch deleted file mode 100644 index 17f940aa23b7..000000000000 --- a/dev-vcs/qgit/files/qgit-2.7-highdpi-support.patch +++ /dev/null @@ -1,51 +0,0 @@ -From e60ae49271e06384163afa1ebd1e562eb7c520ed Mon Sep 17 00:00:00 2001 -From: David Edmundson <kde@davidedmundson.co.uk> -Date: Thu, 15 Feb 2018 17:39:22 +0000 -Subject: [PATCH] Add high DPI support - ---- - src/listview.cpp | 11 ++++++++++- - src/qgit.cpp | 5 ++++- - 2 files changed, 14 insertions(+), 2 deletions(-) - -diff --git a/src/listview.cpp b/src/listview.cpp -index dd6a8cb..e4f094e 100644 ---- a/src/listview.cpp -+++ b/src/listview.cpp -@@ -884,7 +884,16 @@ void ListViewDelegate::addTextPixmap(QPixmap** pp, SCRef txt, const QStyleOption - int pw = fm.boundingRect(txt).width() + 2 * spacing; - int ph = fm.height(); - -- QPixmap* newPm = new QPixmap(ofs + pw, ph); -+ QSize pixmapSize(ofs + pw, ph); -+ -+#if QT_VERSION >= QT_VERSION_CHECK(5,6,0) -+ qreal dpr = qApp->devicePixelRatio(); -+ QPixmap* newPm = new QPixmap(pixmapSize * dpr); -+ newPm->setDevicePixelRatio(dpr); -+#else -+ QPixmap* newPm = new QPixmap(pixmapSize); -+#endif -+ - QPainter p; - p.begin(newPm); - if (!pm->isNull()) { -diff --git a/src/qgit.cpp b/src/qgit.cpp -index 266a7b8..b01c49e 100644 ---- a/src/qgit.cpp -+++ b/src/qgit.cpp -@@ -18,7 +18,10 @@ using namespace QGit; - int main(int argc, char* argv[]) { - - QApplication app(argc, argv); -- QCoreApplication::setOrganizationName(ORG_KEY); -+#if QT_VERSION >= QT_VERSION_CHECK(5,6,0) -+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); -+#endif -+ QCoreApplication::setOrganizationName(ORG_KEY); - QCoreApplication::setApplicationName(APP_KEY); - - /* On Windows msysgit exec directory is set up --- -2.15.1 - diff --git a/dev-vcs/qgit/files/qgit-2.7-qt-5.11.patch b/dev-vcs/qgit/files/qgit-2.7-qt-5.11.patch deleted file mode 100644 index a92e1e50f726..000000000000 --- a/dev-vcs/qgit/files/qgit-2.7-qt-5.11.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 563bc3ab3f928a3ba1c22e5e62ab8cbe15c6bc15 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Tue, 17 Apr 2018 13:28:19 +0200 -Subject: [PATCH] Fix build with Qt 5.11 (missing header) - ---- - src/patchview.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/patchview.cpp b/src/patchview.cpp -index 5e3765d..afa796e 100644 ---- a/src/patchview.cpp -+++ b/src/patchview.cpp -@@ -6,6 +6,7 @@ - Copyright: See COPYING file that comes with this distribution - - */ -+#include <QButtonGroup> - #include <QScrollBar> - #include "common.h" - #include "git.h" --- -2.17.0 - diff --git a/dev-vcs/qgit/qgit-2.7-r1.ebuild b/dev-vcs/qgit/qgit-2.7-r1.ebuild deleted file mode 100644 index b7930738acae..000000000000 --- a/dev-vcs/qgit/qgit-2.7-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Qt GUI for git repositories" -HOMEPAGE="http://libre.tibirna.org/projects/qgit/wiki/QGit" -SRC_URI="https://github.com/tibirna/qgit/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -DEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 -" -RDEPEND="${DEPEND} - dev-vcs/git - !dev-vcs/qgit:2 -" - -S=${WORKDIR}/${PN}-${P} - -PATCHES=( - "${FILESDIR}/${P}-highdpi-support.patch" - "${FILESDIR}/${P}-qt-5.11.patch" -) diff --git a/dev-vcs/qgit/qgit-2.7.ebuild b/dev-vcs/qgit/qgit-2.7.ebuild deleted file mode 100644 index 9ac66aa17552..000000000000 --- a/dev-vcs/qgit/qgit-2.7.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Qt GUI for git repositories" -HOMEPAGE="http://libre.tibirna.org/projects/qgit/wiki/QGit" -SRC_URI="https://github.com/tibirna/qgit/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" -IUSE="" - -DEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 -" -RDEPEND="${DEPEND} - dev-vcs/git - !dev-vcs/qgit:2 -" - -S=${WORKDIR}/${PN}-${P} |