Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/focuswriter: ChangeLog focuswriter-1.5.2-r1.ebuild focuswriter-1.5.2.ebuild
Date: Thu, 31 Jul 2014 14:07:31
Message-Id: 20140731140726.64F1E20035@flycatcher.gentoo.org
1 pinkbyte 14/07/31 14:07:24
2
3 Modified: ChangeLog
4 Added: focuswriter-1.5.2-r1.ebuild
5 Removed: focuswriter-1.5.2.ebuild
6 Log:
7 Revision bump: unbundle QtSingleApplication, wrt bug #489148. Drop old revision
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
10
11 Revision Changes Path
12 1.20 app-editors/focuswriter/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/ChangeLog?rev=1.20&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/ChangeLog?rev=1.20&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/ChangeLog?r1=1.19&r2=1.20
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v
21 retrieving revision 1.19
22 retrieving revision 1.20
23 diff -u -r1.19 -r1.20
24 --- ChangeLog 31 Jul 2014 10:49:52 -0000 1.19
25 +++ ChangeLog 31 Jul 2014 14:07:24 -0000 1.20
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-editors/focuswriter
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.19 2014/07/31 10:49:52 kensington Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.20 2014/07/31 14:07:24 pinkbyte Exp $
31 +
32 +*focuswriter-1.5.2-r1 (31 Jul 2014)
33 +
34 + 31 Jul 2014; Sergey Popov <pinkbyte@g.o> -focuswriter-1.5.2.ebuild,
35 + +focuswriter-1.5.2-r1.ebuild,
36 + +files/focuswriter-1.5.2-unbundle-qtsingleapplication.patch:
37 + Revision bump: unbundle QtSingleApplication, wrt bug #489148. Drop old
38 + revision
39
40 *focuswriter-1.5.2 (31 Jul 2014)
41
42
43
44
45 1.1 app-editors/focuswriter/focuswriter-1.5.2-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: focuswriter-1.5.2-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2-r1.ebuild,v 1.1 2014/07/31 14:07:24 pinkbyte Exp $
55
56 EAPI=5
57
58 PLOCALES="ar ca cs da de el en en_GB es_MX es fi fr he hu hy id it ja ko nl pl
59 pt_BR pt ro ru sk sr sv tr uk vi zh_CN zh_TW"
60 PLOCALE_BACKUP="en"
61 inherit fdo-mime gnome2-utils l10n readme.gentoo qt4-r2
62
63 DESCRIPTION="A fullscreen and distraction-free word processor"
64 HOMEPAGE="http://gottcode.org/focuswriter/"
65 SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
66
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="debug"
71
72 RDEPEND="app-text/hunspell
73 dev-qt/qtcore:4
74 dev-qt/qtgui:4
75 dev-qt/qtsingleapplication[X]
76 sys-libs/zlib"
77 DEPEND="${RDEPEND}
78 virtual/pkgconfig"
79
80 DOCS=( ChangeLog CREDITS NEWS README )
81 DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is
82 installed with wav useflag enabled."
83
84 PATCHES=( "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch" )
85
86 rm_loc() {
87 sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed'
88 rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed"
89 }
90
91 src_prepare() {
92 l10n_for_each_disabled_locale_do rm_loc
93 qt4-r2_src_prepare
94 }
95
96 src_configure() {
97 eqmake4 PREFIX="${EPREFIX}/usr"
98 }
99
100 src_install() {
101 readme.gentoo_create_doc
102 qt4-r2_src_install
103 }
104
105 pkg_preinst() {
106 gnome2_icon_savelist
107 }
108
109 pkg_postinst() {
110 readme.gentoo_pkg_postinst
111 gnome2_icon_cache_update
112 fdo-mime_desktop_database_update
113 }
114
115 pkg_postrm() {
116 gnome2_icon_cache_update
117 fdo-mime_desktop_database_update
118 }