Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/scantailor/, media-gfx/scantailor/files/
Date: Sat, 25 Feb 2017 20:08:32
Message-Id: 1488053305.fb3caa3de5568871c8b40a4bbccbd38dcf2f296e.johu@gentoo
1 commit: fb3caa3de5568871c8b40a4bbccbd38dcf2f296e
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 20:08:12 2017 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 20:08:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3caa3d
7
8 media-gfx/scantailor: Remove 0.9.10
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-gfx/scantailor/Manifest | 1 -
13 media-gfx/scantailor/files/scantailor-gcc46.patch | 121 ----------------------
14 media-gfx/scantailor/scantailor-0.9.10.ebuild | 50 ---------
15 3 files changed, 172 deletions(-)
16
17 diff --git a/media-gfx/scantailor/Manifest b/media-gfx/scantailor/Manifest
18 index 2cae743bb7..a45659523d 100644
19 --- a/media-gfx/scantailor/Manifest
20 +++ b/media-gfx/scantailor/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST scantailor-0.9.10.tar.gz 1124348 SHA256 0b574eabfb65e4dcf3915d00ad3da31d464060458ffaeb49e4257e97301f93a0 SHA512 e2221a381c7c19ea2f7f5a791fec8ed3fd21e9065418e8cadb6ec34e95f9c9a4ec94effe6543087bb06b483c0cb08d40fd6cce63b065e91d97f756d1afa458b1 WHIRLPOOL 261ea78474fd644a407140dfb535d282d4413fbf79eba1b36ccf032b247f57d55560fc5c3a14db2f6fdbcb7351fba9aad64612950151422a88d77395d9ab03ee
23 DIST scantailor-0.9.11.1-boost-join-moc.patch 53044 SHA256 c00772facafdb696bf0e36ba216050cf3ec5b45c15e0099e6ef4935bffa9ba00 SHA512 77c6ee7988834c8694f9c09182fcdf87bdba64f3e69c9cc9b8347c4980a56c484a4368643f1c608ebbaeb469d4d6bc8d1a62f95fce18bc41dfce68137a457a61 WHIRLPOOL 0e5b04a65a5c47deeea6b3ec192549e50b22825df506bda2b87fbc1aa0254993a33c7c7907af1520c7e0ae4264a9a00b9e92d6114b1aee664408c69bb9bdcf00
24 DIST scantailor-0.9.11.1.tar.gz 1190198 SHA256 881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3 SHA512 cec327fd12144f7cee5043adfee3880c75fb147474e4c3b5166385f7a8f47cb5650ed2df930bbe1f4b8ac2c7229a887ecba1ca105b47b1023f5d3d7d7b54bdb4 WHIRLPOOL c064837bd4d5f4c3fbfa260493f3eccecff59910c934005148975f2f00511539ae0e66535d0a57bbf0458022c8ec249faa7f3df40ed8d89b2683530b885e4f6b
25
26 diff --git a/media-gfx/scantailor/files/scantailor-gcc46.patch b/media-gfx/scantailor/files/scantailor-gcc46.patch
27 deleted file mode 100644
28 index 8965ab478b..0000000000
29 --- a/media-gfx/scantailor/files/scantailor-gcc46.patch
30 +++ /dev/null
31 @@ -1,121 +0,0 @@
32 -From a25036fbf37941e241da520fa7fab45e13c9c4a4 Mon Sep 17 00:00:00 2001
33 -From: Joseph Artsimovich <joseph.artsimovich@×××××.com>
34 -Date: Sat, 1 Oct 2011 19:37:10 +0100
35 -Subject: [PATCH] Fix build issues with certain version combinations of boost
36 - and gcc.
37 -
38 ----
39 - ProjectWriter.cpp | 1 +
40 - compat/boost_multi_index_foreach_fix.h | 46 ++++++++++++++++++++++++++++++++
41 - zones/EditableZoneSet.h | 18 ++++++++++++-
42 - 3 files changed, 64 insertions(+), 1 deletions(-)
43 - create mode 100644 compat/boost_multi_index_foreach_fix.h
44 -
45 -diff --git a/ProjectWriter.cpp b/ProjectWriter.cpp
46 -index e6e519b..44329d7 100644
47 ---- a/ProjectWriter.cpp
48 -+++ b/ProjectWriter.cpp
49 -@@ -25,6 +25,7 @@
50 - #include "ImageMetadata.h"
51 - #include "AbstractFilter.h"
52 - #include "FileNameDisambiguator.h"
53 -+#include "compat/boost_multi_index_foreach_fix.h"
54 - #include <QtXml>
55 - #include <QFile>
56 - #include <QTextStream>
57 -diff --git a/compat/boost_multi_index_foreach_fix.h b/compat/boost_multi_index_foreach_fix.h
58 -new file mode 100644
59 -index 0000000..7800c79
60 ---- /dev/null
61 -+++ b/compat/boost_multi_index_foreach_fix.h
62 -@@ -0,0 +1,46 @@
63 -+/*
64 -+ Scan Tailor - Interactive post-processing tool for scanned pages.
65 -+ Copyright (C) Joseph Artsimovich <joseph.artsimovich@×××××.com>
66 -+
67 -+ This program is free software: you can redistribute it and/or modify
68 -+ it under the terms of the GNU General Public License as published by
69 -+ the Free Software Foundation, either version 3 of the License, or
70 -+ (at your option) any later version.
71 -+
72 -+ This program is distributed in the hope that it will be useful,
73 -+ but WITHOUT ANY WARRANTY; without even the implied warranty of
74 -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75 -+ GNU General Public License for more details.
76 -+
77 -+ You should have received a copy of the GNU General Public License
78 -+ along with this program. If not, see <http://www.gnu.org/licenses/>.
79 -+*/
80 -+
81 -+#ifndef BOOST_MULTI_INDEX_FOREACH_FIX_H_
82 -+#define BOOST_MULTI_INDEX_FOREACH_FIX_H_
83 -+
84 -+#include <boost/foreach.hpp>
85 -+#include <boost/mpl/bool.hpp>
86 -+#include <boost/multi_index/sequenced_index.hpp>
87 -+
88 -+// BOOST_FOREACH() in boost >= 1.47 has problems with gcc >= 4.6
89 -+// These problems aren't specific to boost::multi_index,
90 -+// but the code below only deals with it.
91 -+// In future versions of boost, they might include equivalent
92 -+// code in boost::multi_index itself, which will lead to build problems.
93 -+// If / when this happens, conditional compilation will be necessary.
94 -+
95 -+namespace boost
96 -+{
97 -+namespace foreach
98 -+{
99 -+
100 -+template<typename SuperMeta, typename TagList>
101 -+struct is_noncopyable<boost::multi_index::detail::sequenced_index<SuperMeta, TagList> > : mpl::true_
102 -+{
103 -+};
104 -+
105 -+} // namespace foreach
106 -+} // namespace boost
107 -+
108 -+#endif
109 -diff --git a/zones/EditableZoneSet.h b/zones/EditableZoneSet.h
110 -index 153693d..4ecfd0d 100644
111 ---- a/zones/EditableZoneSet.h
112 -+++ b/zones/EditableZoneSet.h
113 -@@ -1,7 +1,7 @@
114 - /*
115 -
116 - Scan Tailor - Interactive post-processing tool for scanned pages.
117 -- Copyright (C) 2007-2009 Joseph Artsimovich <joseph_a@××××.ru>
118 -+ Copyright (C) Joseph Artsimovich <joseph.artsimovich@×××××.com>
119 -
120 - This program is free software: you can redistribute it and/or modify
121 - it under the terms of the GNU General Public License as published by
122 -@@ -24,6 +24,8 @@
123 - #include "PropertySet.h"
124 - #include "IntrusivePtr.h"
125 - #include <QObject>
126 -+#include <boost/mpl/bool.hpp>
127 -+#include <boost/foreach.hpp>
128 - #include <boost/iterator/iterator_facade.hpp>
129 - #include <map>
130 -
131 -@@ -102,4 +104,18 @@ private:
132 - PropertySet m_defaultProps;
133 - };
134 -
135 -+namespace boost
136 -+{
137 -+namespace foreach
138 -+{
139 -+
140 -+// Make BOOST_FOREACH work with the above class (necessary for boost >= 1.46 with gcc >= 4.6)
141 -+template<>
142 -+struct is_noncopyable<EditableZoneSet> : public boost::mpl::true_
143 -+{
144 -+};
145 -+
146 -+} // namespace foreach
147 -+} // namespace boost
148 -+
149 - #endif
150 ---
151 -1.7.8.rc4
152 -
153
154 diff --git a/media-gfx/scantailor/scantailor-0.9.10.ebuild b/media-gfx/scantailor/scantailor-0.9.10.ebuild
155 deleted file mode 100644
156 index 62ff3ecc8c..0000000000
157 --- a/media-gfx/scantailor/scantailor-0.9.10.ebuild
158 +++ /dev/null
159 @@ -1,50 +0,0 @@
160 -# Copyright 1999-2013 Gentoo Foundation
161 -# Distributed under the terms of the GNU General Public License v2
162 -# $Id$
163 -
164 -EAPI=4
165 -inherit cmake-utils eutils virtualx
166 -
167 -DESCRIPTION="A interactive post-processing tool for scanned pages"
168 -HOMEPAGE="http://scantailor.sourceforge.net/"
169 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
170 -
171 -LICENSE="GPL-2 GPL-3 public-domain"
172 -SLOT="0"
173 -KEYWORDS="~amd64 ~x86"
174 -IUSE="opengl"
175 -
176 -RDEPEND=">=media-libs/libpng-1.2.43
177 - >=media-libs/tiff-3.9.4
178 - sys-libs/zlib
179 - virtual/jpeg
180 - x11-libs/libXrender
181 - dev-qt/qtgui:4
182 - opengl? ( dev-qt/qtopengl:4 )"
183 -DEPEND="${RDEPEND}
184 - dev-libs/boost"
185 -
186 -PATCHES=(
187 - "${FILESDIR}"/${PN}-0.9.9-environment_flags.patch
188 - "${FILESDIR}"/${PN}-gcc46.patch
189 -)
190 -
191 -src_configure() {
192 - mycmakeargs=(
193 - $(cmake-utils_use_enable opengl)
194 - )
195 -
196 - cmake-utils_src_configure
197 -}
198 -
199 -src_test() {
200 - cd "${CMAKE_BUILD_DIR}" || die
201 - Xemake test
202 -}
203 -
204 -src_install() {
205 - cmake-utils_src_install
206 -
207 - newicon resources/appicon.svg ${PN}.svg
208 - make_desktop_entry ${PN} "Scan Tailor"
209 -}