Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xmw:master commit in: www-client/pentadactyl/
Date: Mon, 28 Dec 2015 10:41:52
Message-Id: 1451299297.e15c1037da95a44a909b2ab9d8fa740d4de4e596.xmw@gentoo
1 commit: e15c1037da95a44a909b2ab9d8fa740d4de4e596
2 Author: Michael Weber <michael <AT> xmw <DOT> de>
3 AuthorDate: Mon Dec 28 10:41:37 2015 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 10:41:37 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=e15c1037
7
8 www-client/pentadactyl: update live ebuild (thanks skruppy), remove old releases.
9
10 Package-Manager: portage-2.2.26
11 Manifest-Sign-Key: 0x71D573A82F434065
12
13 www-client/pentadactyl/Manifest | 27 ---------------
14 .../pentadactyl/pentadactyl-1.0_beta6.ebuild | 33 ------------------
15 .../pentadactyl-1.0_beta7_pre6226.ebuild | 33 ------------------
16 www-client/pentadactyl/pentadactyl-9999.ebuild | 40 ++++++++++++++--------
17 4 files changed, 25 insertions(+), 108 deletions(-)
18
19 diff --git a/www-client/pentadactyl/Manifest b/www-client/pentadactyl/Manifest
20 deleted file mode 100644
21 index 2d26cbd..0000000
22 --- a/www-client/pentadactyl/Manifest
23 +++ /dev/null
24 @@ -1,27 +0,0 @@
25 ------BEGIN PGP SIGNED MESSAGE-----
26 -Hash: SHA256
27 -
28 -- -----BEGIN PGP SIGNED MESSAGE-----
29 -Hash: SHA256
30 -
31 -DIST pentadactyl-1.0_beta6.tar.bz2 12610800 RMD160 24930c296b8c05828aceeec65c6ad0c320d2ca3a SHA1 76741d5b07fdfae72f79bb4c14a11a6ec27a9a73 SHA256 6604b72f967d31bdfe45186225e6eb251dc20a133387d59dd1cf98924ad2516c
32 -DIST pentadactyl-1.0_beta7_pre6226.tar.bz2 12626118 RMD160 738f9376f5fbea747d4cd76e367ec7e205d9ad5a SHA1 6311bc452890dfe5bee931bce3566f1a13d702d8 SHA256 1fe97330bd1765d0a332cbd61b8daecc24554296ff10c05eb352e213f3787df1
33 -EBUILD pentadactyl-1.0_beta6.ebuild 852 RMD160 4d37aeea84e7686191cebad6fd8294a78d3a65ec SHA1 f6096b644293253d3d731553d190816fc5ba59f6 SHA256 87c70ce58b0515700afa97ab23a84546a0c939faed90d4af60f04c0a98a87c5a
34 -EBUILD pentadactyl-1.0_beta7_pre6226.ebuild 852 RMD160 d676cf24c7993f16dcb501e3d0d0c73d00894239 SHA1 9ed582cc80acc3b48fb500a7d6b0e9c73609d6b3 SHA256 22750dc7e7bee5caa842500d0cb545f020e27224cceb77f27dd0ee28a381bb0b
35 -EBUILD pentadactyl-9999.ebuild 856 RMD160 363150971881917e38f9bdd32306e66c03f76c07 SHA1 791fe537d514dc296e1c8326946412c3a5580be6 SHA256 8447b9d5c12cb85f9d22765224dea9d9f3f7eefd735c4f5e6e9c9f456e63f58b
36 -MISC ChangeLog 417 RMD160 f537de722d27d0162f2ad31c91b695d7422ba602 SHA1 b5c0b7f9d46b596ec74e4262ae546ca732a6f7ed SHA256 e98b3303733b451a4c44eaa8ce00f6645fb012297bdd1c8794e2e4f4c194c8c0
37 -MISC metadata.xml 245 RMD160 6b03982a4d5f32d9fa6b9259ae36f9fcb07c8404 SHA1 fb16c7b4c5ab071dd979f761b8bb075f5396b737 SHA256 375a1da02cd2c393ce2378a73c1ce08134bc030b3bb378c6a4d6ca9cd5be1f8d
38 -- -----BEGIN PGP SIGNATURE-----
39 -Version: GnuPG v2.0.17 (GNU/Linux)
40 -
41 -iF4EAREIAAYFAk4JVCkACgkQknrdDGLu8JAdAQD/We+jFRxFP7JBeW3KxrmyAyUf
42 -fUTBXRYdvuXFvomh0GQA/2/HZSjUKEb9kuj+Cd2Scu28Twxi7BqmmyeoFH5ys/n2
43 -=HoSr
44 -- -----END PGP SIGNATURE-----
45 ------BEGIN PGP SIGNATURE-----
46 -Version: GnuPG v2.0.17 (GNU/Linux)
47 -
48 -iF4EAREIAAYFAk4JVJsACgkQknrdDGLu8JAbjgD/QKBnSJieF3Kh1hENjxmahKSc
49 -YmpPi+ShWGId9oC5UtwA/iI3mjl9FisGA0vrD0qjmprDcP3IGr4YNOEC4qkoHHSq
50 -=YYnL
51 ------END PGP SIGNATURE-----
52
53 diff --git a/www-client/pentadactyl/pentadactyl-1.0_beta6.ebuild b/www-client/pentadactyl/pentadactyl-1.0_beta6.ebuild
54 deleted file mode 100644
55 index 25bdd0f..0000000
56 --- a/www-client/pentadactyl/pentadactyl-1.0_beta6.ebuild
57 +++ /dev/null
58 @@ -1,33 +0,0 @@
59 -# Copyright 1999-2011 Gentoo Foundation
60 -# Distributed under the terms of the GNU General Public License v2
61 -# $Header: $
62 -
63 -EAPI=3
64 -
65 -inherit mozextension multilib
66 -
67 -DESCRIPTION="Firefox addon, designed to make browsing more efficient and especially more keyboard accessible"
68 -HOMEPAGE="http://dactyl.sourceforge.net/pentadactyl/"
69 -SRC_URI="http://xmw.de/mirror/${PN}/${P}.tar.bz2"
70 -
71 -LICENSE="${PN}"
72 -SLOT="0"
73 -KEYWORDS="~amd64 ~x86"
74 -IUSE=""
75 -
76 -RDEPEND="|| (
77 - ( >=www-client/firefox-3.5 <www-client/firefox-4.1 )
78 - ( >=www-client/firefox-bin-3.5 <www-client/firefox-bin-4.1 ) )"
79 -DEPEND="${DEPEND}
80 - app-arch/zip"
81 -
82 -src_compile() {
83 - emake -C ${PN} xpi || die
84 -}
85 -
86 -src_install() {
87 - xpi_unpack "${S}"/downloads/${P/_beta/b}.xpi || die
88 - MOZILLA_FIVE_HOME=/usr/$(get_libdir)/firefox \
89 - xpi_install "${WORKDIR}"/${P/_beta/b} || die
90 - dodoc AUTHORS Donors NEWS TODO || die
91 -}
92
93 diff --git a/www-client/pentadactyl/pentadactyl-1.0_beta7_pre6226.ebuild b/www-client/pentadactyl/pentadactyl-1.0_beta7_pre6226.ebuild
94 deleted file mode 100644
95 index 43f79d4..0000000
96 --- a/www-client/pentadactyl/pentadactyl-1.0_beta7_pre6226.ebuild
97 +++ /dev/null
98 @@ -1,33 +0,0 @@
99 -# Copyright 1999-2011 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -# $Header: $
102 -
103 -EAPI=3
104 -
105 -inherit mozextension multilib
106 -
107 -DESCRIPTION="Firefox addon, designed to make browsing more efficient and especially more keyboard accessible"
108 -HOMEPAGE="http://dactyl.sourceforge.net/pentadactyl/"
109 -SRC_URI="http://xmw.de/mirror/${PN}/${P}.tar.bz2"
110 -
111 -LICENSE="${PN}"
112 -SLOT="0"
113 -KEYWORDS="~amd64 ~x86"
114 -IUSE=""
115 -
116 -RDEPEND="|| (
117 - ( >=www-client/firefox-3.6 <www-client/firefox-8 )
118 - ( >=www-client/firefox-bin-3.6 <www-client/firefox-bin-8 ) )"
119 -DEPEND="${DEPEND}
120 - app-arch/zip"
121 -
122 -src_compile() {
123 - emake -C ${PN} xpi || die
124 -}
125 -
126 -src_install() {
127 - xpi_unpack "${S}"/downloads/${PN}-1.0b7pre.xpi || die
128 - MOZILLA_FIVE_HOME=/usr/$(get_libdir)/firefox \
129 - xpi_install "${WORKDIR}"/${PN}-1.0b7pre || die
130 - dodoc AUTHORS Donors NEWS TODO || die
131 -}
132
133 diff --git a/www-client/pentadactyl/pentadactyl-9999.ebuild b/www-client/pentadactyl/pentadactyl-9999.ebuild
134 index 8b17679..9d5aad4 100644
135 --- a/www-client/pentadactyl/pentadactyl-9999.ebuild
136 +++ b/www-client/pentadactyl/pentadactyl-9999.ebuild
137 @@ -1,35 +1,45 @@
138 -# Copyright 1999-2011 Gentoo Foundation
139 +# Copyright 1999-2015 Gentoo Foundation
140 # Distributed under the terms of the GNU General Public License v2
141 # $Header: $
142
143 -EAPI=3
144 +EAPI=5
145
146 -EHG_REPO_URI=https://dactyl.googlecode.com/hg/
147 +MOZEXTENSION_TARGET="browser/extensions"
148 +inherit git-2 mozextension multilib
149
150 -inherit mercurial mozextension multilib
151 +DESCRIPTION="Firefox addon, designed to make browsing efficient and keyboard accessible"
152 +HOMEPAGE="http://5digits.org/pentadactyl/index"
153 +EGIT_REPO_URI="git://github.com/5digits/dactyl.git"
154
155 -DESCRIPTION="Firefox addon, designed to make browsing more efficient and especially more keyboard accessible"
156 -HOMEPAGE="http://dactyl.sourceforge.net/pentadactyl/"
157 -SRC_URI=""
158 -
159 -LICENSE="${PN}"
160 +LICENSE="MIT"
161 SLOT="0"
162 -KEYWORDS=""
163 +KEYWORDS="~amd64 ~x86"
164 IUSE=""
165
166 RDEPEND="|| (
167 - ( >=www-client/firefox-3.6 <www-client/firefox-8 )
168 - ( >=www-client/firefox-bin-3.6 <www-client/firefox-bin-8 ) )"
169 + ( >=www-client/firefox-3.6 )
170 + ( >=www-client/firefox-bin-3.6 ) )"
171 DEPEND="${DEPEND}
172 app-arch/zip"
173
174 +RESTRICT="mirror"
175 +S=${WORKDIR}/src
176 +
177 +src_prepare() {
178 + ## https://github.com/5digits/dactyl/issues/99#issuecomment-165550255
179 + sed -i "s|em:name=.*|em:name=\"Pentadactyl Nightly - Unofficial\"|" pentadactyl/install.rdf
180 + sed -i "s|em:version=.*|em:version=\"$(date -Iseconds)\"|" pentadactyl/install.rdf
181 + #sed -i "s|em:id=\"penta.*|em:id=\"\"|" pentadactyl/install.rdf
182 + sed -i "s|em:maxVersion=.*|em:maxVersion=\"666.*\"/>|" pentadactyl/install.rdf
183 +}
184 +
185 src_compile() {
186 - emake -C ${PN} xpi || die
187 + emake -C "${PN}" xpi
188 }
189
190 src_install() {
191 - xpi_unpack "${S}"/downloads/pentadactyl-1* || die
192 + xpi_unpack ./downloads/pentadactyl-* || die
193 MOZILLA_FIVE_HOME=/usr/$(get_libdir)/firefox \
194 - xpi_install "${WORKDIR}"/pentadactyl-1* || die
195 + xpi_install ../pentadactyl-* || die
196 dodoc AUTHORS Donors NEWS TODO || die
197 }