Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/fb2edit/files/, app-editors/fb2edit/, profiles/
Date: Mon, 10 Jul 2017 06:01:51
Message-Id: 1499666498.b172d8dcf04580b9e1f4d8c66158cc00e14375b0.mgorny@gentoo
1 commit: b172d8dcf04580b9e1f4d8c66158cc00e14375b0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 10 06:00:00 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 10 06:01:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b172d8dc
7
8 app-editors/fb2edit: Remove last-rited pkg, #620690
9
10 app-editors/fb2edit/Manifest | 1 -
11 app-editors/fb2edit/fb2edit-0.0.9.ebuild | 33 -------
12 .../fb2edit-0.0.9-fix-compiler-warnings.patch | 101 ---------------------
13 app-editors/fb2edit/metadata.xml | 15 ---
14 profiles/package.mask | 6 --
15 5 files changed, 156 deletions(-)
16
17 diff --git a/app-editors/fb2edit/Manifest b/app-editors/fb2edit/Manifest
18 deleted file mode 100644
19 index 749d7a46468..00000000000
20 --- a/app-editors/fb2edit/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST fb2edit-0.0.9.tar.gz 242568 SHA256 6d64fe1597911170d6d6d59d4b36d406a9389a37c2ef5c68051176bf6f45f181 SHA512 a51eb9e7c7f70d55dc1eb06f4f7e03a031ce229570ee9620f6299cac6c2b435c8bcd702def7a50783055c066227d77b5c235f2bba231b328831b4666cc0f61b9 WHIRLPOOL 2f4ab29352318211c36fe1bfd739d69633f31ec0ce0c0a2edf4dac7965896074900f8c5b840943d900a5ff12d6cc3a819a19f7ea77201465446f17dcc9aba8cb
24
25 diff --git a/app-editors/fb2edit/fb2edit-0.0.9.ebuild b/app-editors/fb2edit/fb2edit-0.0.9.ebuild
26 deleted file mode 100644
27 index 030df92603e..00000000000
28 --- a/app-editors/fb2edit/fb2edit-0.0.9.ebuild
29 +++ /dev/null
30 @@ -1,33 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit cmake-utils
37 -
38 -DESCRIPTION="a WYSIWYG FictionBook (fb2) editor"
39 -HOMEPAGE="http://fb2edit.lintest.ru/"
40 -SRC_URI="https://github.com/lintest/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="amd64 x86"
45 -
46 -DEPEND="dev-libs/libxml2
47 - dev-qt/qtcore:4
48 - dev-qt/qtgui:4
49 - dev-qt/qtwebkit:4
50 - dev-qt/qtxmlpatterns:4"
51 -RDEPEND="${DEPEND}
52 - x11-themes/hicolor-icon-theme"
53 -
54 -DOCS=( AUTHORS README )
55 -
56 -PATCHES=( "${FILESDIR}/${P}-fix-compiler-warnings.patch" )
57 -
58 -src_prepare() {
59 - # drop -g from CFLAGS
60 - sed -i -e '/^add_definitions(-W/s/-g//' CMakeLists.txt || die 'sed failed'
61 -
62 - cmake-utils_src_prepare
63 -}
64
65 diff --git a/app-editors/fb2edit/files/fb2edit-0.0.9-fix-compiler-warnings.patch b/app-editors/fb2edit/files/fb2edit-0.0.9-fix-compiler-warnings.patch
66 deleted file mode 100644
67 index 7422c505858..00000000000
68 --- a/app-editors/fb2edit/files/fb2edit-0.0.9-fix-compiler-warnings.patch
69 +++ /dev/null
70 @@ -1,101 +0,0 @@
71 -commit 5a378858e83e95f88ffec5e14ae1fd8157101ed0
72 -Author: Kandrashin Denis <mail@×××××××.ru>
73 -Date: Fri Jul 18 23:03:05 2014 +0400
74 -
75 - Remove compiler warning
76 -
77 -diff --git a/source/fb2main.cpp b/source/fb2main.cpp
78 -index 50c5a80..504ccd8 100644
79 ---- a/source/fb2main.cpp
80 -+++ b/source/fb2main.cpp
81 -@@ -27,6 +27,7 @@ FbMainWindow::FbMainWindow(const QString &filename, ViewMode mode)
82 - , isSwitched(false)
83 - , isUntitled(true)
84 - {
85 -+ Q_UNUSED(mode);
86 - connect(qApp, SIGNAL(logMessage(QtMsgType, QString)), SLOT(logMessage(QtMsgType, QString)));
87 -
88 - setUnifiedTitleAndToolBarOnMac(true);
89 -@@ -50,16 +51,22 @@ FbMainWindow::FbMainWindow(const QString &filename, ViewMode mode)
90 -
91 - void FbMainWindow::warning(int row, int col, const QString &msg)
92 - {
93 -+ Q_UNUSED(row);
94 -+ Q_UNUSED(col);
95 - logMessage(QtWarningMsg, msg.simplified());
96 - }
97 -
98 - void FbMainWindow::error(int row, int col, const QString &msg)
99 - {
100 -+ Q_UNUSED(row);
101 -+ Q_UNUSED(col);
102 - logMessage(QtCriticalMsg, msg.simplified());
103 - }
104 -
105 - void FbMainWindow::fatal(int row, int col, const QString &msg)
106 - {
107 -+ Q_UNUSED(row);
108 -+ Q_UNUSED(col);
109 - logMessage(QtFatalMsg, msg.simplified());
110 - }
111 -
112 -@@ -164,6 +171,7 @@ void FbMainWindow::createActions()
113 - FbTextEdit *text = mainDock->text();
114 - FbHeadEdit *head = mainDock->head();
115 - FbCodeEdit *code = mainDock->code();
116 -+ Q_UNUSED(head)
117 -
118 - menu = menuBar()->addMenu(tr("&File"));
119 - tool = addToolBar(tr("File"));
120 -diff --git a/source/fb2text.cpp b/source/fb2text.cpp
121 -index 0ea146f..aa2d276 100644
122 ---- a/source/fb2text.cpp
123 -+++ b/source/fb2text.cpp
124 -@@ -37,14 +37,14 @@ FbTextAction::FbTextAction(const QIcon &icon, const QString &text, QWebPage::Web
125 - {
126 - }
127 -
128 --QAction * FbTextAction::action(QWebPage::WebAction action)
129 -+QAction * FbTextAction::action()
130 - {
131 - return m_parent->pageAction(m_action);
132 - }
133 -
134 - void FbTextAction::updateAction()
135 - {
136 -- if (QAction * act = action(m_action)) {
137 -+ if (QAction * act = action()) {
138 - if (isCheckable()) setChecked(act->isChecked());
139 - setEnabled(act->isEnabled());
140 - }
141 -@@ -52,7 +52,7 @@ void FbTextAction::updateAction()
142 -
143 - void FbTextAction::connectAction()
144 - {
145 -- if (QAction * act = action(m_action)) {
146 -+ if (QAction * act = action()) {
147 - connect(this, SIGNAL(triggered(bool)), act, SIGNAL(triggered(bool)));
148 - connect(act, SIGNAL(changed()), this, SLOT(updateAction()));
149 - if (isCheckable()) setChecked(act->isChecked());
150 -@@ -65,7 +65,7 @@ void FbTextAction::connectAction()
151 -
152 - void FbTextAction::disconnectAction()
153 - {
154 -- QAction * act = action(m_action);
155 -+ QAction * act = action();
156 - disconnect(act, 0, this, 0);
157 - disconnect(this, 0, act, 0);
158 - }
159 -diff --git a/source/fb2text.hpp b/source/fb2text.hpp
160 -index c1d1cb4..41f8a6c 100644
161 ---- a/source/fb2text.hpp
162 -+++ b/source/fb2text.hpp
163 -@@ -169,7 +169,7 @@ private slots:
164 - void updateAction();
165 -
166 - private:
167 -- QAction * action(QWebPage::WebAction action);
168 -+ QAction * action();
169 -
170 - private:
171 - QWebPage::WebAction m_action;
172
173 diff --git a/app-editors/fb2edit/metadata.xml b/app-editors/fb2edit/metadata.xml
174 deleted file mode 100644
175 index ef67b7c2eb8..00000000000
176 --- a/app-editors/fb2edit/metadata.xml
177 +++ /dev/null
178 @@ -1,15 +0,0 @@
179 -<?xml version="1.0" encoding="UTF-8"?>
180 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
181 -<pkgmetadata>
182 - <maintainer type="person">
183 - <email>pinkbyte@g.o</email>
184 - <name>Sergey Popov</name>
185 - </maintainer>
186 - <upstream>
187 - <maintainer>
188 - <email>mail@×××××××.ru</email>
189 - <name>Denis Kandrashin</name>
190 - </maintainer>
191 - <remote-id type="github">lintest/fb2edit</remote-id>
192 - </upstream>
193 -</pkgmetadata>
194
195 diff --git a/profiles/package.mask b/profiles/package.mask
196 index 0c4577f958a..d001944bcfb 100644
197 --- a/profiles/package.mask
198 +++ b/profiles/package.mask
199 @@ -238,12 +238,6 @@ media-sound/skype-call-recorder
200 net-im/skype
201 net-im/skypetab-ng
202
203 -# Sergey Popov <pinkbyte@g.o> (08 Jun 2017)
204 -# Dead upstream, relies on ancient and vulnerable qtwebkit
205 -# See bug #620690
206 -# Removal in 30 days
207 -app-editors/fb2edit
208 -
209 # Michał Górny <mgorny@g.o> (07 Jun 2017)
210 # The new release changes API and *breaks* core Xfce components.
211 # Upstream lists xfce-base/xfce4-settings and xfce-base/xfce4-panel