1 |
commit: 553d7160a8ff28780dd13631170031d94dc3c6a3 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 07:57:39 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 14 08:25:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=553d7160 |
7 |
|
8 |
app-editors/amyedit: Remove last-rited package |
9 |
|
10 |
Bug: https://bugs.gentoo.org/770898 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-editors/amyedit/Manifest | 1 - |
14 |
app-editors/amyedit/amyedit-1.0-r3.ebuild | 33 -- |
15 |
app-editors/amyedit/files/amyedit-1.0-gcc45.patch | 16 - |
16 |
.../amyedit/files/amyedit-1.0-keyfile.patch | 62 ---- |
17 |
app-editors/amyedit/files/amyedit-1.0-signal.patch | 86 ------ |
18 |
.../amyedit/files/amyedit-1.0-sourceviewmm2.patch | 331 --------------------- |
19 |
app-editors/amyedit/metadata.xml | 11 - |
20 |
profiles/package.mask | 5 - |
21 |
8 files changed, 545 deletions(-) |
22 |
|
23 |
diff --git a/app-editors/amyedit/Manifest b/app-editors/amyedit/Manifest |
24 |
deleted file mode 100644 |
25 |
index 82fb1ac0813..00000000000 |
26 |
--- a/app-editors/amyedit/Manifest |
27 |
+++ /dev/null |
28 |
@@ -1 +0,0 @@ |
29 |
-DIST amyedit-1.0.tar.bz2 297769 BLAKE2B 9b3640db7f56bc6e5481b46f760e682cedc860e9439a55edcd45b9f1ec0a8dbead3f8f1075c2613da9842a590b56375fde8b3d36c98c813d400960a4d98fdbda SHA512 dce101c5d356cd194703798002c29772b7b7339a97f683ba7459e983988f26722f800a2c36a0c36bdea70a35c8398bc55b5215b4c30779ca22b5f25bbfedbe09 |
30 |
|
31 |
diff --git a/app-editors/amyedit/amyedit-1.0-r3.ebuild b/app-editors/amyedit/amyedit-1.0-r3.ebuild |
32 |
deleted file mode 100644 |
33 |
index eefaf494464..00000000000 |
34 |
--- a/app-editors/amyedit/amyedit-1.0-r3.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,33 +0,0 @@ |
37 |
-# Copyright 1999-2021 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=5 |
41 |
-inherit autotools epatch flag-o-matic |
42 |
- |
43 |
-DESCRIPTION=" AmyEdit is a LaTeX editor" |
44 |
-HOMEPAGE="http://amyedit.sf.net" |
45 |
-SRC_URI="mirror://sourceforge/amyedit/${P}.tar.bz2" |
46 |
-LICENSE="GPL-2" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 ppc x86" |
49 |
-IUSE="" |
50 |
-RDEPEND=">=dev-cpp/gtkmm-2.6:2.4 |
51 |
- >=dev-cpp/glibmm-2.14:2 |
52 |
- >=dev-libs/libsigc++-2.2:2 |
53 |
- x11-libs/gtksourceview:2.0 |
54 |
- dev-cpp/gtksourceviewmm:2.0 |
55 |
- app-text/aspell" |
56 |
-DEPEND="${RDEPEND} |
57 |
- dev-util/intltool |
58 |
- virtual/pkgconfig" |
59 |
- |
60 |
-src_prepare() { |
61 |
- epatch "${FILESDIR}/${P}-keyfile.patch" |
62 |
- epatch "${FILESDIR}/${P}-signal.patch" |
63 |
- epatch "${FILESDIR}/${P}-gcc45.patch" |
64 |
- epatch "${FILESDIR}/${P}-sourceviewmm2.patch" |
65 |
- rm -rf "${S}/src/gtksourceviewmm" || die |
66 |
- append-cxxflags -std=c++11 |
67 |
- mv configure.in configure.ac || die |
68 |
- eautoreconf |
69 |
-} |
70 |
|
71 |
diff --git a/app-editors/amyedit/files/amyedit-1.0-gcc45.patch b/app-editors/amyedit/files/amyedit-1.0-gcc45.patch |
72 |
deleted file mode 100644 |
73 |
index 16db9fd415f..00000000000 |
74 |
--- a/app-editors/amyedit/files/amyedit-1.0-gcc45.patch |
75 |
+++ /dev/null |
76 |
@@ -1,16 +0,0 @@ |
77 |
-Fix build with gcc 4.5 |
78 |
-https://bugs.gentoo.org/show_bug.cgi?id=321293 |
79 |
- |
80 |
-Index: amyedit-1.0/src/Preferences.cc |
81 |
-=================================================================== |
82 |
---- amyedit-1.0.orig/src/Preferences.cc |
83 |
-+++ amyedit-1.0/src/Preferences.cc |
84 |
-@@ -211,7 +211,7 @@ int Preferences::run() |
85 |
- } |
86 |
- |
87 |
- void Preferences::edit_latex_commands(){ |
88 |
-- EditLatexCommands::EditLatexCommands dialog(this); |
89 |
-+ EditLatexCommands dialog(this); |
90 |
- dialog.run(); |
91 |
- Amy::populate_text_list_model_from_list(previewoptionslist->get_model(), PrefStruct::instance()->get_keys("Commands"), true); |
92 |
- previewoptionslist->select(PrefStruct::instance()->get<Glib::ustring>("General", "preview_combo")); |
93 |
|
94 |
diff --git a/app-editors/amyedit/files/amyedit-1.0-keyfile.patch b/app-editors/amyedit/files/amyedit-1.0-keyfile.patch |
95 |
deleted file mode 100644 |
96 |
index fb9f9ac908f..00000000000 |
97 |
--- a/app-editors/amyedit/files/amyedit-1.0-keyfile.patch |
98 |
+++ /dev/null |
99 |
@@ -1,62 +0,0 @@ |
100 |
-diff -ur amyedit-1.0/src/main.cc amyedit-1.0.new/src/main.cc |
101 |
---- amyedit-1.0/src/main.cc 2006-03-14 06:08:32.000000000 +0700 |
102 |
-+++ amyedit-1.0.new/src/main.cc 2008-01-07 20:45:39.000000000 +0700 |
103 |
-@@ -54,7 +54,6 @@ |
104 |
- |
105 |
- #include "AmyEdit.hh" |
106 |
- #include "gtksourceviewmm/init.hh" |
107 |
--#include "gtkmm_extra/keyfile.h" |
108 |
- #include "Utils.hh" |
109 |
- |
110 |
- int main(int argc, char **argv) |
111 |
-@@ -65,7 +64,6 @@ |
112 |
- |
113 |
- Gtk::Main m(&argc, &argv); |
114 |
- Gtk::SourceViewmm_init(); |
115 |
-- Glib::keyfile_init(); |
116 |
- |
117 |
- /* TODO This should probably be removed and created on demand */ |
118 |
- |
119 |
-Only in amyedit-1.0.new/src: main.o |
120 |
-Only in amyedit-1.0.new/src: Makefile |
121 |
-diff -ur amyedit-1.0/src/Makefile.am amyedit-1.0.new/src/Makefile.am |
122 |
---- amyedit-1.0/src/Makefile.am 2006-03-08 05:44:53.000000000 +0700 |
123 |
-+++ amyedit-1.0.new/src/Makefile.am 2008-01-07 20:41:46.000000000 +0700 |
124 |
-@@ -30,8 +30,7 @@ |
125 |
- gtksourceviewmm/sourcelanguage.cpp \ |
126 |
- gtksourceviewmm/sourcelanguagesmanager.cpp \ |
127 |
- gtksourceviewmm/sourceview.cpp \ |
128 |
-- gtksourceviewmm/init.cc \ |
129 |
-- gtkmm_extra/keyfile.cc |
130 |
-+ gtksourceviewmm/init.cc |
131 |
- |
132 |
- headers = \ |
133 |
- AboutDialog.hh \ |
134 |
-@@ -54,15 +53,13 @@ |
135 |
- gtksourceviewmm/sourcelanguage.h \ |
136 |
- gtksourceviewmm/sourcelanguagesmanager.h \ |
137 |
- gtksourceviewmm/sourceview.h \ |
138 |
-- gtksourceviewmm/init.hh \ |
139 |
-- gtkmm_extra/keyfile.h |
140 |
-+ gtksourceviewmm/init.hh |
141 |
- |
142 |
- privateheaders= \ |
143 |
- gtksourceviewmm/private/sourcebuffer_p.h \ |
144 |
- gtksourceviewmm/private/sourcelanguage_p.h \ |
145 |
- gtksourceviewmm/private/sourcelanguagesmanager_p.h \ |
146 |
- gtksourceviewmm/private/sourceview_p.h \ |
147 |
-- gtkmm_extra/private/keyfile_p.h \ |
148 |
- Utils_p.hh |
149 |
- |
150 |
- if PRECOMPILE_HEADERS |
151 |
-diff -ur amyedit-1.0/src/PrefStruct.hh amyedit-1.0.new/src/PrefStruct.hh |
152 |
---- amyedit-1.0/src/PrefStruct.hh 2006-03-09 06:54:41.000000000 +0700 |
153 |
-+++ amyedit-1.0.new/src/PrefStruct.hh 2008-01-07 20:46:32.000000000 +0700 |
154 |
-@@ -24,7 +24,6 @@ |
155 |
- |
156 |
- #include "Preferences.hh" |
157 |
- #include <glibmm/ustring.h> |
158 |
--#include <gtkmm_extra/keyfile.h> |
159 |
- #include <iostream> |
160 |
- |
161 |
- class PrefStruct |
162 |
|
163 |
diff --git a/app-editors/amyedit/files/amyedit-1.0-signal.patch b/app-editors/amyedit/files/amyedit-1.0-signal.patch |
164 |
deleted file mode 100644 |
165 |
index d0f4df521cb..00000000000 |
166 |
--- a/app-editors/amyedit/files/amyedit-1.0-signal.patch |
167 |
+++ /dev/null |
168 |
@@ -1,86 +0,0 @@ |
169 |
-diff -Naur amyeditbroken/src/AmyEdit.cc amyedit-1.0/src/AmyEdit.cc |
170 |
---- amyeditbroken/src/AmyEdit.cc 2006-03-13 22:13:08.000000000 +0100 |
171 |
-+++ amyedit-1.0/src/AmyEdit.cc 2008-07-12 05:07:43.965608312 +0200 |
172 |
-@@ -65,9 +65,9 @@ |
173 |
- |
174 |
- /* My Signals */ |
175 |
- // signals when there is a file available |
176 |
--SigC::Signal1<void,bool> signal_file_open; |
177 |
-+sigc::signal1<void,bool> signal_file_open; |
178 |
- // signals an update to preferences |
179 |
--SigC::Signal0<void> signal_preferences_update; |
180 |
-+sigc::signal0<void> signal_preferences_update; |
181 |
- /**************/ |
182 |
- |
183 |
- AmyEdit* AmyEdit::smInstance=NULL; |
184 |
-diff -Naur amyeditbroken/src/EditTabs.cc amyedit-1.0/src/EditTabs.cc |
185 |
---- amyeditbroken/src/EditTabs.cc 2006-03-13 22:25:53.000000000 +0100 |
186 |
-+++ amyedit-1.0/src/EditTabs.cc 2008-07-12 05:08:41.022094749 +0200 |
187 |
-@@ -76,7 +76,7 @@ |
188 |
- set_tab_pos(Gtk::POS_TOP); |
189 |
- set_scrollable(true); |
190 |
- |
191 |
-- extern SigC::Signal0<void> signal_preferences_update; |
192 |
-+ extern sigc::signal0<void> signal_preferences_update; |
193 |
- |
194 |
- signal_switch_page().connect(sigc::mem_fun(*this, &EditTabs::on_switching_page)); |
195 |
- signal_preferences_update.connect(sigc::mem_fun(*this, &EditTabs::on_preferences_update)); |
196 |
-@@ -414,7 +414,7 @@ |
197 |
- |
198 |
- bool EditTabs::CloseTab(int tab) |
199 |
- { |
200 |
-- extern SigC::Signal1<void,bool> signal_file_open; |
201 |
-+ extern sigc::signal1<void,bool> signal_file_open; |
202 |
- |
203 |
- if (tab<0) |
204 |
- tab=get_current_page(); |
205 |
-@@ -686,8 +686,8 @@ |
206 |
- |
207 |
- void EditTabs::on_switching_page(GtkNotebookPage *page, guint number) |
208 |
- { |
209 |
-- extern SigC::Signal1<void, int> signal_line_set; |
210 |
-- extern SigC::Signal1<void, bool> signal_file_open; |
211 |
-+ extern sigc::signal1<void, int> signal_line_set; |
212 |
-+ extern sigc::signal1<void, bool> signal_file_open; |
213 |
- Page *curtab = get_current_tab(); |
214 |
- |
215 |
- if (curtab) |
216 |
-@@ -735,7 +735,7 @@ |
217 |
- |
218 |
- on_preferences_update(); |
219 |
- |
220 |
-- extern SigC::Signal0<void> signal_preferences_update; |
221 |
-+ extern sigc::signal0<void> signal_preferences_update; |
222 |
- get_buffer()->signal_modified_changed().connect(sigc::mem_fun(*this, &EditTabs::Page::on_modified_changed)); |
223 |
- get_buffer()->signal_changed().connect(sigc::mem_fun(*this, &EditTabs::Page::on_changed)); |
224 |
- get_buffer()->signal_mark_set().connect(sigc::mem_fun(*this, &EditTabs::Page::on_mark_changed)); |
225 |
-@@ -815,7 +815,7 @@ |
226 |
- |
227 |
- void EditTabs::Page::on_changed() |
228 |
- { |
229 |
-- extern SigC::Signal1<void, int> signal_line_set; |
230 |
-+ extern sigc::signal1<void, int> signal_line_set; |
231 |
- signal_line_set(get_buffer()->get_insert()->get_iter().get_line()); |
232 |
- |
233 |
- } |
234 |
-@@ -823,7 +823,7 @@ |
235 |
- void EditTabs::Page::on_mark_changed(Gtk::SourceBuffer::iterator iter, Glib::RefPtr<Gtk::SourceBuffer::Mark> mark){ |
236 |
- if (mark->get_name()=="insert") |
237 |
- { |
238 |
-- extern SigC::Signal1<void, int> signal_line_set; |
239 |
-+ extern sigc::signal1<void, int> signal_line_set; |
240 |
- |
241 |
- signal_line_set(get_buffer()->get_insert()->get_iter().get_line()); |
242 |
- |
243 |
-diff -Naur amyeditbroken/src/StatusBar.cc amyedit-1.0/src/StatusBar.cc |
244 |
---- amyeditbroken/src/StatusBar.cc 2005-12-17 15:56:47.000000000 +0100 |
245 |
-+++ amyedit-1.0/src/StatusBar.cc 2008-07-12 05:09:14.020602906 +0200 |
246 |
-@@ -50,7 +50,7 @@ |
247 |
- #include "StatusBar.hh" |
248 |
- #include "Utils.hh" |
249 |
- |
250 |
--SigC::Signal1<void, int> signal_line_set; |
251 |
-+sigc::signal1<void, int> signal_line_set; |
252 |
- |
253 |
- StatusBar::StatusBar() |
254 |
- { |
255 |
|
256 |
diff --git a/app-editors/amyedit/files/amyedit-1.0-sourceviewmm2.patch b/app-editors/amyedit/files/amyedit-1.0-sourceviewmm2.patch |
257 |
deleted file mode 100644 |
258 |
index 31b7882b3ba..00000000000 |
259 |
--- a/app-editors/amyedit/files/amyedit-1.0-sourceviewmm2.patch |
260 |
+++ /dev/null |
261 |
@@ -1,331 +0,0 @@ |
262 |
-Index: amyedit-1.0/configure.in |
263 |
-=================================================================== |
264 |
---- amyedit-1.0.orig/configure.in |
265 |
-+++ amyedit-1.0/configure.in |
266 |
-@@ -36,7 +36,7 @@ AC_ARG_ENABLE(precompiled-headers, |
267 |
- AM_CONDITIONAL(PRECOMPILE_HEADERS, test x$enable_precompiled_headers = xyes) |
268 |
- |
269 |
- AC_CHECK_LIB([aspell], [new_aspell_config]) |
270 |
--PKG_CHECK_MODULES(AMYEDIT, gtkmm-2.4 >= 2.6 gtksourceview-1.0) |
271 |
-+PKG_CHECK_MODULES(AMYEDIT, gtkmm-2.4 >= 2.6 gtksourceview-2.0 gtksourceviewmm-2.0) |
272 |
- AC_SUBST(AMYEDIT_CFLAGS) |
273 |
- AC_SUBST(AMYEDIT_LIBS) |
274 |
- |
275 |
-Index: amyedit-1.0/src/Makefile.am |
276 |
-=================================================================== |
277 |
---- amyedit-1.0.orig/src/Makefile.am |
278 |
-+++ amyedit-1.0/src/Makefile.am |
279 |
-@@ -25,12 +25,7 @@ sources = \ |
280 |
- TextListViewComboBox.cc \ |
281 |
- TextListViewListBox.cc \ |
282 |
- Utils.cc \ |
283 |
-- main.cc \ |
284 |
-- gtksourceviewmm/sourcebuffer.cpp \ |
285 |
-- gtksourceviewmm/sourcelanguage.cpp \ |
286 |
-- gtksourceviewmm/sourcelanguagesmanager.cpp \ |
287 |
-- gtksourceviewmm/sourceview.cpp \ |
288 |
-- gtksourceviewmm/init.cc |
289 |
-+ main.cc |
290 |
- |
291 |
- headers = \ |
292 |
- AboutDialog.hh \ |
293 |
-@@ -48,18 +43,9 @@ headers = \ |
294 |
- TextListModel.hh \ |
295 |
- TextListViewComboBox.hh \ |
296 |
- TextListViewListBox.hh \ |
297 |
-- Utils.hh \ |
298 |
-- gtksourceviewmm/sourcebuffer.h \ |
299 |
-- gtksourceviewmm/sourcelanguage.h \ |
300 |
-- gtksourceviewmm/sourcelanguagesmanager.h \ |
301 |
-- gtksourceviewmm/sourceview.h \ |
302 |
-- gtksourceviewmm/init.hh |
303 |
-+ Utils.hh |
304 |
- |
305 |
- privateheaders= \ |
306 |
-- gtksourceviewmm/private/sourcebuffer_p.h \ |
307 |
-- gtksourceviewmm/private/sourcelanguage_p.h \ |
308 |
-- gtksourceviewmm/private/sourcelanguagesmanager_p.h \ |
309 |
-- gtksourceviewmm/private/sourceview_p.h \ |
310 |
- Utils_p.hh |
311 |
- |
312 |
- if PRECOMPILE_HEADERS |
313 |
-Index: amyedit-1.0/src/EditTabs.cc |
314 |
-=================================================================== |
315 |
---- amyedit-1.0.orig/src/EditTabs.cc |
316 |
-+++ amyedit-1.0/src/EditTabs.cc |
317 |
-@@ -57,8 +57,8 @@ Foundation, Inc., 59 Temple Place, Suite |
318 |
- |
319 |
- #include <gtksourceview/gtksourcebuffer.h> |
320 |
- #include <gtksourceviewmm/sourcelanguage.h> |
321 |
--#include <gtksourceviewmm/sourcelanguagesmanager.h> |
322 |
--#include <gtksourceview/gtksourcelanguagesmanager.h> |
323 |
-+#include <gtksourceviewmm/sourcelanguagemanager.h> |
324 |
-+#include <gtksourceview/gtksourcelanguagemanager.h> |
325 |
- #include <gtksourceview/gtksourceiter.h> |
326 |
- |
327 |
- #include <gtkmm/stock.h> |
328 |
-@@ -161,7 +161,7 @@ void EditTabs::OpenTab(Glib::ustring fil |
329 |
- { |
330 |
- try |
331 |
- { |
332 |
-- Glib::RefPtr<Gtk::SourceBuffer> buffer = is_buffer_open(filename); |
333 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer = is_buffer_open(filename); |
334 |
- Page *newpage; |
335 |
- |
336 |
- if (buffer){ |
337 |
-@@ -553,16 +553,15 @@ Glib::ustring EditTabs::GetUntitledTabNa |
338 |
- |
339 |
- void EditTabs::Undo() |
340 |
- { |
341 |
-- Glib::RefPtr<Gtk::SourceBuffer> buffer = get_current_view()->get_buffer(); |
342 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer = Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(get_current_view()->get_buffer()); |
343 |
- if (buffer->can_undo ()) |
344 |
- buffer->undo (); |
345 |
- |
346 |
- } |
347 |
- |
348 |
-- |
349 |
- void EditTabs::Redo() |
350 |
- { |
351 |
-- Glib::RefPtr<Gtk::SourceBuffer> buffer = get_current_view()->get_buffer(); |
352 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer = Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(get_current_view()->get_buffer()); |
353 |
- if (buffer->can_redo ()) |
354 |
- buffer->redo (); |
355 |
- |
356 |
-@@ -625,10 +624,10 @@ void EditTabs::FindNext() |
357 |
- Page *curtab = get_current_tab(); |
358 |
- if (curtab) |
359 |
- { |
360 |
-- Glib::RefPtr<Gtk::SourceBuffer::Mark> cursor=curtab->get_buffer()->get_insert(); |
361 |
-- Gtk::SourceBuffer::iterator start, end; |
362 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer::Mark> cursor=curtab->get_buffer()->get_insert(); |
363 |
-+ gtksourceview::SourceBuffer::iterator start, end; |
364 |
- GtkTextIter climit; |
365 |
-- Gtk::SourceBuffer::iterator limit(&climit); |
366 |
-+ gtksourceview::SourceBuffer::iterator limit(&climit); |
367 |
- FindDialog fdialog; |
368 |
- int result; |
369 |
- do |
370 |
-@@ -648,7 +647,7 @@ void EditTabs::FindNext() |
371 |
- if(gtk_source_iter_forward_search(cursor->get_iter().gobj(),fdialog.get_text().c_str(),fdialog.get_flags(),start.gobj(),end.gobj(),0)) |
372 |
- { |
373 |
- curtab->get_buffer()->select_range(end, start); |
374 |
-- (static_cast<Gtk::SourceView*>(curtab->get_child()))->scroll_to(end); |
375 |
-+ (static_cast<gtksourceview::SourceView*>(curtab->get_child()))->scroll_to(end); |
376 |
- } |
377 |
- else |
378 |
- { |
379 |
-@@ -701,7 +700,7 @@ void EditTabs::on_switching_page(GtkNote |
380 |
- |
381 |
- } |
382 |
- |
383 |
--Glib::RefPtr <Gtk::SourceBuffer> EditTabs::is_buffer_open(Glib::ustring filename){ |
384 |
-+Glib::RefPtr <gtksourceview::SourceBuffer> EditTabs::is_buffer_open(Glib::ustring filename){ |
385 |
- int p = get_n_pages(); |
386 |
- |
387 |
- for (int x=0;x<p;x++){ |
388 |
-@@ -711,19 +710,19 @@ Glib::RefPtr <Gtk::SourceBuffer> EditTab |
389 |
- return curtab->get_buffer(); |
390 |
- } |
391 |
- |
392 |
-- return Glib::RefPtr <Gtk::SourceBuffer> (NULL); |
393 |
-+ return Glib::RefPtr <gtksourceview::SourceBuffer> (NULL); |
394 |
- |
395 |
- |
396 |
- } |
397 |
- |
398 |
--EditTabs::Page::Page(EditTabs *parent, Glib::RefPtr<Gtk::SourceBuffer> buffer){ |
399 |
-+EditTabs::Page::Page(EditTabs *parent, Glib::RefPtr<gtksourceview::SourceBuffer> buffer){ |
400 |
- |
401 |
- /* Note to self! CLEAN THIS UP!!!! */ |
402 |
- |
403 |
- /* Page is actually a ScrollWindow thing */ |
404 |
- set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_ALWAYS); |
405 |
- |
406 |
-- Gtk::SourceView *sourceview=Gtk::manage(new Gtk::SourceView()); |
407 |
-+ gtksourceview::SourceView *sourceview=Gtk::manage(new gtksourceview::SourceView()); |
408 |
- |
409 |
- if (buffer) |
410 |
- sourceview->set_buffer(buffer); |
411 |
-@@ -750,10 +749,10 @@ EditTabs::Page::Page(EditTabs *parent, G |
412 |
- * (ie buffer is null) */ |
413 |
- |
414 |
- if (!buffer){ |
415 |
-- Glib::ustring mime_type("text/x-tex"); |
416 |
-+ Glib::ustring mime_type("latex"); |
417 |
- |
418 |
-- Glib::RefPtr<Gtk::SourceLanguagesManager> lm = buffer->get_languages_manager(); |
419 |
-- Glib::RefPtr<Gtk::SourceLanguage> language = lm->get_language_from_mime_type(mime_type); |
420 |
-+ Glib::RefPtr<gtksourceview::SourceLanguageManager> lm = gtksourceview::SourceLanguageManager::create(); |
421 |
-+ Glib::RefPtr<gtksourceview::SourceLanguage> language = lm->get_language(mime_type); |
422 |
- |
423 |
- |
424 |
- if (language) |
425 |
-@@ -820,7 +819,7 @@ void EditTabs::Page::on_changed() |
426 |
- |
427 |
- } |
428 |
- |
429 |
--void EditTabs::Page::on_mark_changed(Gtk::SourceBuffer::iterator iter, Glib::RefPtr<Gtk::SourceBuffer::Mark> mark){ |
430 |
-+void EditTabs::Page::on_mark_changed(gtksourceview::SourceBuffer::iterator iter, Glib::RefPtr<gtksourceview::SourceBuffer::Mark> mark){ |
431 |
- if (mark->get_name()=="insert") |
432 |
- { |
433 |
- extern sigc::signal1<void, int> signal_line_set; |
434 |
-@@ -835,14 +834,14 @@ EditTabs *EditTabs::Page::get_parent() |
435 |
- return (static_cast<EditTabs*>(Gtk::Widget::get_parent())); |
436 |
- } |
437 |
- |
438 |
--Gtk::SourceView* EditTabs::Page::get_child() |
439 |
-+gtksourceview::SourceView* EditTabs::Page::get_child() |
440 |
- { |
441 |
-- return (static_cast<Gtk::SourceView*>(Gtk::Bin::get_child())); |
442 |
-+ return (static_cast<gtksourceview::SourceView*>(Gtk::Bin::get_child())); |
443 |
- } |
444 |
- |
445 |
--Glib::RefPtr<Gtk::SourceBuffer> EditTabs::Page::get_buffer() |
446 |
-+Glib::RefPtr<gtksourceview::SourceBuffer> EditTabs::Page::get_buffer() |
447 |
- { |
448 |
-- return (get_child()->get_buffer()); |
449 |
-+ return Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(get_child()->get_buffer()); |
450 |
- } |
451 |
- |
452 |
- EditTabs::Page *EditTabs::get_current_tab() |
453 |
-@@ -850,9 +849,9 @@ EditTabs::Page *EditTabs::get_current_ta |
454 |
- return (static_cast<EditTabs::Page*>(get_nth_page(get_current_page()))); |
455 |
- } |
456 |
- |
457 |
--Gtk::SourceView *EditTabs::get_current_view() |
458 |
-+gtksourceview::SourceView *EditTabs::get_current_view() |
459 |
- { |
460 |
-- return (static_cast<Gtk::SourceView*>(get_current_tab()->get_child())); |
461 |
-+ return (static_cast<gtksourceview::SourceView*>(get_current_tab()->get_child())); |
462 |
- } |
463 |
- |
464 |
- |
465 |
-@@ -861,8 +860,8 @@ void EditTabs::Page::on_preferences_upda |
466 |
- // For things that need to happen for all pages |
467 |
- PrefStruct *prefs = PrefStruct::instance(); |
468 |
- |
469 |
-- get_child()->set_tabs_width(prefs->get<int>("General", "tab_size")); |
470 |
-- get_buffer()->set_highlight(prefs->get<bool>("General", "syntax_highlighting")); |
471 |
-+ get_child()->set_tab_width(prefs->get<int>("General", "tab_size")); |
472 |
-+ get_buffer()->set_highlight_syntax(prefs->get<bool>("General", "syntax_highlighting")); |
473 |
- |
474 |
- } |
475 |
- |
476 |
-Index: amyedit-1.0/src/EditTabs.hh |
477 |
-=================================================================== |
478 |
---- amyedit-1.0.orig/src/EditTabs.hh |
479 |
-+++ amyedit-1.0/src/EditTabs.hh |
480 |
-@@ -63,11 +63,11 @@ class EditTabs: public Gtk::Notebook |
481 |
- class Page:public Gtk::ScrolledWindow |
482 |
- { |
483 |
- public: |
484 |
-- Page(EditTabs *parent, Glib::RefPtr<Gtk::SourceBuffer> buffer=Glib::RefPtr<Gtk::SourceBuffer>()); |
485 |
-+ Page(EditTabs *parent, Glib::RefPtr<gtksourceview::SourceBuffer> buffer=Glib::RefPtr<gtksourceview::SourceBuffer>()); |
486 |
- |
487 |
- EditTabs *get_parent(); |
488 |
-- Gtk::SourceView *get_child(); |
489 |
-- Glib::RefPtr<Gtk::SourceBuffer> get_buffer(); |
490 |
-+ gtksourceview::SourceView *get_child(); |
491 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer> get_buffer(); |
492 |
- |
493 |
- Glib::ustring filename; |
494 |
- Gtk::Label *tablabel; |
495 |
-@@ -77,8 +77,8 @@ class EditTabs: public Gtk::Notebook |
496 |
- void on_close_me(); |
497 |
- void on_modified_changed(); |
498 |
- void on_changed(); |
499 |
-- void on_mark_changed(Gtk::SourceBuffer::iterator iter, |
500 |
-- Glib::RefPtr<Gtk::SourceBuffer::Mark> mark); |
501 |
-+ void on_mark_changed(gtksourceview::SourceBuffer::iterator iter, |
502 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer::Mark> mark); |
503 |
- void on_preferences_update(); |
504 |
- |
505 |
- }; |
506 |
-@@ -89,13 +89,13 @@ class EditTabs: public Gtk::Notebook |
507 |
- Glib::ustring GetRootFileName(); |
508 |
- Glib::ustring TabNameFromFile(Glib::ustring start); |
509 |
- Glib::ustring GetUntitledTabName(Glib::ustring start); |
510 |
-- Glib::RefPtr<Gtk::SourceBuffer> is_buffer_open(Glib::ustring filename); |
511 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer> is_buffer_open(Glib::ustring filename); |
512 |
- |
513 |
- void on_switching_page(GtkNotebookPage *page, guint number); |
514 |
- public: |
515 |
- Page *get_current_tab(); |
516 |
- private: |
517 |
-- Gtk::SourceView *get_current_view(); |
518 |
-+ gtksourceview::SourceView *get_current_view(); |
519 |
- |
520 |
- void on_preferences_update(); |
521 |
- |
522 |
-Index: amyedit-1.0/src/SpellDialog.cc |
523 |
-=================================================================== |
524 |
---- amyedit-1.0.orig/src/SpellDialog.cc |
525 |
-+++ amyedit-1.0/src/SpellDialog.cc |
526 |
-@@ -267,9 +267,9 @@ int SpellDialog::checkDocument(){ |
527 |
- aspell_document_checker_reset(checker); |
528 |
- |
529 |
- view = getCurrentPage()->get_child(); |
530 |
-- buffer = view->get_buffer(); |
531 |
-+ buffer = Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(view->get_buffer()); |
532 |
- |
533 |
-- buffer->set_check_brackets(false); |
534 |
-+ buffer->set_highlight_matching_brackets(false); |
535 |
- |
536 |
- /* areastart has left gravity, arearight has right gravity, as inserts only |
537 |
- * occur inside them, they should always mark the beginning and ends of the |
538 |
-@@ -315,7 +315,7 @@ int SpellDialog::checkDocument(){ |
539 |
- buffer->delete_mark(areastart); |
540 |
- buffer->delete_mark(areaend); |
541 |
- |
542 |
-- buffer->set_check_brackets(true); |
543 |
-+ buffer->set_highlight_matching_brackets(true); |
544 |
- return 0; |
545 |
- } |
546 |
- |
547 |
-@@ -370,7 +370,7 @@ bool SpellDialog::changeWord(AspellToken |
548 |
- /* Close Clicked */ |
549 |
- |
550 |
- buffer->place_cursor(wordend); |
551 |
-- buffer->set_check_brackets(); |
552 |
-+ buffer->set_highlight_matching_brackets(); |
553 |
- return false; |
554 |
- } |
555 |
- |
556 |
-Index: amyedit-1.0/src/SpellDialog.hh |
557 |
-=================================================================== |
558 |
---- amyedit-1.0.orig/src/SpellDialog.hh |
559 |
-+++ amyedit-1.0/src/SpellDialog.hh |
560 |
-@@ -49,8 +49,8 @@ class SpellDialog : public Gtk::Dialog, |
561 |
- |
562 |
- void on_preferences_update(); |
563 |
- |
564 |
-- Gtk::SourceView* view; |
565 |
-- Glib::RefPtr<Gtk::SourceBuffer> buffer; |
566 |
-+ gtksourceview::SourceView* view; |
567 |
-+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer; |
568 |
- Gtk::Entry misslabel; |
569 |
- Gtk::Entry replaceentry; |
570 |
- TextListViewListBox listbox; |
571 |
-Index: amyedit-1.0/src/main.cc |
572 |
-=================================================================== |
573 |
---- amyedit-1.0.orig/src/main.cc |
574 |
-+++ amyedit-1.0/src/main.cc |
575 |
-@@ -53,7 +53,7 @@ |
576 |
- #include <fstream> |
577 |
- |
578 |
- #include "AmyEdit.hh" |
579 |
--#include "gtksourceviewmm/init.hh" |
580 |
-+#include "gtksourceviewmm/init.h" |
581 |
- #include "Utils.hh" |
582 |
- |
583 |
- int main(int argc, char **argv) |
584 |
-@@ -63,7 +63,7 @@ int main(int argc, char **argv) |
585 |
- textdomain (GETTEXT_PACKAGE); |
586 |
- |
587 |
- Gtk::Main m(&argc, &argv); |
588 |
-- Gtk::SourceViewmm_init(); |
589 |
-+ gtksourceview::init(); |
590 |
- |
591 |
- /* TODO This should probably be removed and created on demand */ |
592 |
- |
593 |
|
594 |
diff --git a/app-editors/amyedit/metadata.xml b/app-editors/amyedit/metadata.xml |
595 |
deleted file mode 100644 |
596 |
index 130606723ad..00000000000 |
597 |
--- a/app-editors/amyedit/metadata.xml |
598 |
+++ /dev/null |
599 |
@@ -1,11 +0,0 @@ |
600 |
-<?xml version="1.0" encoding="UTF-8"?> |
601 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
602 |
-<pkgmetadata> |
603 |
- <maintainer type="project"> |
604 |
- <email>tex@g.o</email> |
605 |
- <name>Gentoo TeX Project</name> |
606 |
- </maintainer> |
607 |
- <upstream> |
608 |
- <remote-id type="sourceforge">amyedit</remote-id> |
609 |
- </upstream> |
610 |
-</pkgmetadata> |
611 |
|
612 |
diff --git a/profiles/package.mask b/profiles/package.mask |
613 |
index 38f1a451915..27b6d576449 100644 |
614 |
--- a/profiles/package.mask |
615 |
+++ b/profiles/package.mask |
616 |
@@ -337,11 +337,6 @@ dev-java/freemarker |
617 |
# to a freshed gcc branch. |
618 |
<sys-devel/gcc-7 |
619 |
|
620 |
-# Andreas Sturmlechner <asturm@g.o> (2021-05-15) |
621 |
-# Dead upstream, dead downstream, GTK+2 based. Bug #770898 |
622 |
-# Removal on 2021-06-14. |
623 |
-app-editors/amyedit |
624 |
- |
625 |
# Michał Górny <mgorny@g.o> (2021-05-15) |
626 |
# Relies on dev-python/astunparse that is broken with Python 3.8+ |
627 |
# and abandoned upstream. The current version is also broken |