1 |
commit: b28fd7bd5885f0d4b21349ae10465c2d2d155103 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 28 19:27:37 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 28 19:28:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28fd7bd |
7 |
|
8 |
app-editors/focuswriter: version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-editors/focuswriter/Manifest | 1 + |
13 |
...writer-1.6.0-unbundle-qtsingleapplication.patch | 37 ++++++++++++++ |
14 |
app-editors/focuswriter/focuswriter-1.6.0.ebuild | 58 ++++++++++++++++++++++ |
15 |
3 files changed, 96 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/focuswriter/Manifest b/app-editors/focuswriter/Manifest |
18 |
index d4b24a1..524203e 100644 |
19 |
--- a/app-editors/focuswriter/Manifest |
20 |
+++ b/app-editors/focuswriter/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST focuswriter-1.5.5-src.tar.bz2 5249014 SHA256 b6a2085587864b2685516d20870d9375803ccdf3472e66bf457382d028c1da0e SHA512 aed6a2e203dcf349ff7fef6caa8e7ab1dbba80da988933c06d6f4ea1ad49ad4c4546b30aaacf9373d1234cb8934daac36f00d0d7b3512d9c3fc4f1e1b273a766 WHIRLPOOL 29795304e6d6687d16d2774cd4d28d0c45382474391d7ad62fa557a134e7c5d11ba6bf81bb81df2b0fb3727b4bb32f705d8fe73a7129f44c8485cc9d8b19b2e1 |
23 |
DIST focuswriter-1.5.6-src.tar.bz2 5274057 SHA256 ec22ce097ae48d46c9a5c485630a885d67b7a281ca6b760d9d494546ed284b17 SHA512 a8d53d13fc1efb385eb8d9a93cb2ebde688d0d52e7f9ba4cb72cd7181e5ab1cff046358c217e45c939ae5a7f618acfddd57eef4ca0f02e3bb046dfdf361d26b9 WHIRLPOOL 79ec3af30e86ccca46a6c07615b7183541983792f809fdda8a159bd83785f5fe799828d994c23903421dd0628c61a6aa12686826b4d56ca66f6aaaa01f87f64f |
24 |
DIST focuswriter-1.5.7-src.tar.bz2 5274706 SHA256 e2ce4f2be1d76ded2de589e60e40677166e582dc8aa3657167d52deab209c92a SHA512 15bbaf2d34d6232aca50bc10daadbb8eef8aa37336a4373cde0f4b6f638a8832c4ea764a0cc670f77174df200be17ec40406921adc3266d858726a42412107bb WHIRLPOOL e9e30a798740deca2f13301846a915b404cc6d89b47700490d0c27a3d40efb9f69fff17eaf7079d09ed1967fdef329ef5b6f63ab58b9c15179d3e87a72e930fc |
25 |
+DIST focuswriter-1.6.0-src.tar.bz2 10430720 SHA256 174bfe2e076eba3426f24362de40c399094cd480d25353fe01537ae64dede12e SHA512 60921a55bdec7985541fdc4947db879fca60b4d6475644a76cd0de6d7dc70874456c35c852a25066b06176a199fca2860866369de1a5a13e595cfc977faade75 WHIRLPOOL 313011af9e1b52d4ad333c834befabf5da494db60b93875490a70e6caaf287be526fe6fffe69d89bc984471afa0d3f864fc833aedfc0a8aa66eafe556cd7cd63 |
26 |
|
27 |
diff --git a/app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch b/app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch |
28 |
new file mode 100644 |
29 |
index 00000000..000db83 |
30 |
--- /dev/null |
31 |
+++ b/app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch |
32 |
@@ -0,0 +1,37 @@ |
33 |
+--- a/focuswriter.pro |
34 |
++++ b/focuswriter.pro |
35 |
+@@ -7,6 +7,7 @@ |
36 |
+ |
37 |
+ TEMPLATE = app |
38 |
+ QT += network widgets printsupport multimedia concurrent |
39 |
++CONFIG += qtsingleapplication |
40 |
+ macx { |
41 |
+ QT += macextras |
42 |
+ } |
43 |
+@@ -83,7 +84,7 @@ |
44 |
+ src/spelling/dictionary_provider_voikko.cpp |
45 |
+ } |
46 |
+ |
47 |
+-INCLUDEPATH += src src/fileformats src/qtsingleapplication src/qtzip src/spelling |
48 |
++INCLUDEPATH += src src/fileformats src/qtzip src/spelling |
49 |
+ |
50 |
+ # Specify program sources |
51 |
+ HEADERS += src/action_manager.h \ |
52 |
+@@ -142,8 +143,6 @@ |
53 |
+ src/fileformats/rtf_tokenizer.h \ |
54 |
+ src/fileformats/rtf_writer.h \ |
55 |
+ src/fileformats/txt_reader.h \ |
56 |
+- src/qtsingleapplication/qtsingleapplication.h \ |
57 |
+- src/qtsingleapplication/qtlocalpeer.h \ |
58 |
+ src/qtzip/qtzipreader.h \ |
59 |
+ src/qtzip/qtzipwriter.h \ |
60 |
+ src/spelling/abstract_dictionary.h \ |
61 |
+@@ -207,8 +206,6 @@ |
62 |
+ src/fileformats/rtf_tokenizer.cpp \ |
63 |
+ src/fileformats/rtf_writer.cpp \ |
64 |
+ src/fileformats/txt_reader.cpp \ |
65 |
+- src/qtsingleapplication/qtsingleapplication.cpp \ |
66 |
+- src/qtsingleapplication/qtlocalpeer.cpp \ |
67 |
+ src/qtzip/qtzip.cpp \ |
68 |
+ src/spelling/dictionary_dialog.cpp \ |
69 |
+ src/spelling/dictionary_manager.cpp \ |
70 |
|
71 |
diff --git a/app-editors/focuswriter/focuswriter-1.6.0.ebuild b/app-editors/focuswriter/focuswriter-1.6.0.ebuild |
72 |
new file mode 100644 |
73 |
index 00000000..d3c77f6 |
74 |
--- /dev/null |
75 |
+++ b/app-editors/focuswriter/focuswriter-1.6.0.ebuild |
76 |
@@ -0,0 +1,58 @@ |
77 |
+# Copyright 1999-2016 Gentoo Foundation |
78 |
+# Distributed under the terms of the GNU General Public License v2 |
79 |
+# $Id$ |
80 |
+ |
81 |
+EAPI=6 |
82 |
+ |
83 |
+inherit fdo-mime gnome2-utils qmake-utils |
84 |
+ |
85 |
+DESCRIPTION="A fullscreen and distraction-free word processor" |
86 |
+HOMEPAGE="http://gottcode.org/focuswriter/" |
87 |
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" |
88 |
+ |
89 |
+LICENSE="LGPL-3 GPL-3" |
90 |
+SLOT="0" |
91 |
+KEYWORDS="~amd64 ~x86" |
92 |
+IUSE="" |
93 |
+ |
94 |
+RDEPEND=" |
95 |
+ app-text/hunspell:= |
96 |
+ dev-qt/qtcore:5 |
97 |
+ dev-qt/qtgui:5 |
98 |
+ dev-qt/qtmultimedia:5 |
99 |
+ dev-qt/qtprintsupport:5 |
100 |
+ dev-qt/qtsingleapplication[qt5,X] |
101 |
+ dev-qt/qtwidgets:5 |
102 |
+ sys-libs/zlib |
103 |
+" |
104 |
+DEPEND="${RDEPEND} |
105 |
+ dev-qt/qtconcurrent:5 |
106 |
+ virtual/pkgconfig |
107 |
+" |
108 |
+ |
109 |
+DOCS=( ChangeLog CREDITS NEWS README ) |
110 |
+ |
111 |
+PATCHES=( "${FILESDIR}/${PN}-1.6.0-unbundle-qtsingleapplication.patch" ) |
112 |
+ |
113 |
+src_configure() { |
114 |
+ eqmake5 PREFIX="${EPREFIX}/usr" |
115 |
+} |
116 |
+ |
117 |
+src_install() { |
118 |
+ emake INSTALL_ROOT="${D}" install |
119 |
+ einstalldocs |
120 |
+} |
121 |
+ |
122 |
+pkg_preinst() { |
123 |
+ gnome2_icon_savelist |
124 |
+} |
125 |
+ |
126 |
+pkg_postinst() { |
127 |
+ gnome2_icon_cache_update |
128 |
+ fdo-mime_desktop_database_update |
129 |
+} |
130 |
+ |
131 |
+pkg_postrm() { |
132 |
+ gnome2_icon_cache_update |
133 |
+ fdo-mime_desktop_database_update |
134 |
+} |