Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/emacs:master commit in: www-client/conkeror/, www-client/conkeror/files/
Date: Tue, 21 Jan 2014 09:37:26
Message-Id: 1390297071.834078a9b1f289bcf42a4677c28822352a21f56c.ulm@gentoo
1 commit: 834078a9b1f289bcf42a4677c28822352a21f56c
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 21 09:37:51 2014 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 21 09:37:51 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=834078a9
7
8 Copied from Portage tree. Fixes for live ebuild contributed by Jauhien Piatlicki <piatlicki <AT> gmail.com> in bug 497024.
9
10 Package-Manager: portage-2.2.8-r1
11
12 ---
13 www-client/conkeror/ChangeLog | 31 ++++++++++++++++
14 www-client/conkeror/Manifest | 1 +
15 www-client/conkeror/conkeror-9999.ebuild | 57 ++++++++++++++++++++++++++++++
16 www-client/conkeror/files/conkeror.desktop | 14 ++++++++
17 www-client/conkeror/files/conkeror.sh | 12 +++++++
18 www-client/conkeror/metadata.xml | 20 +++++++++++
19 6 files changed, 135 insertions(+)
20
21 diff --git a/www-client/conkeror/ChangeLog b/www-client/conkeror/ChangeLog
22 new file mode 100644
23 index 0000000..172e6c9
24 --- /dev/null
25 +++ b/www-client/conkeror/ChangeLog
26 @@ -0,0 +1,31 @@
27 +# ChangeLog for www-client/conkeror
28 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: $
30 +
31 + 21 Jan 2014; Ulrich Müller <ulm@g.o> +conkeror-9999.ebuild,
32 + +files/conkeror.desktop, +files/conkeror.sh, +metadata.xml:
33 + Copied from Portage tree. Fixes for live ebuild contributed by
34 + Jauhien Piatlicki <piatlicki@×××××.com> in bug 497024.
35 +
36 + 09 Apr 2009; Ulrich Mueller <ulm@g.o> metadata.xml:
37 + Update herd in metadata.
38 +
39 +*conkeror-0.9_pre20090401 (07 Apr 2009)
40 +
41 + 07 Apr 2009; Ulrich Mueller <ulm@g.o>
42 + +conkeror-0.9_pre20090401.ebuild:
43 + Add ebuild for upstream snapshot.
44 +
45 + 10 Feb 2009; Ulrich Mueller <ulm@g.o> +files/conkeror.desktop,
46 + conkeror-9999.ebuild:
47 + Also install "help", "style" and "tests" subdirectories. Add desktop entry.
48 +
49 + 05 Sep 2008; Christian Faulhammer <opfer@g.o> conkeror-9999.ebuild:
50 + add a DESCRIPTION
51 +
52 +*conkeror-9999 (05 Sep 2008)
53 +
54 + 05 Sep 2008; Ulrich Mueller <ulm@g.o> +metadata.xml,
55 + +conkeror-9999.ebuild:
56 + Initial import, work in progress. Ebuild contributed by me.
57 +
58
59 diff --git a/www-client/conkeror/Manifest b/www-client/conkeror/Manifest
60 new file mode 100644
61 index 0000000..cd1bc77
62 --- /dev/null
63 +++ b/www-client/conkeror/Manifest
64 @@ -0,0 +1 @@
65 +DIST conkeror.png 5105 SHA256 b11856c32bdec9e9b045df44aa37727f6a3ec18507d376bf27675bc7ee042667 SHA512 fd44e2732a74ab6a54ef4a946f20619aa74d24d2244b0d6bedfa6d4680bc3247d297565550d8c3a5cc4a8ca608761ccb8f61e71cbe0c2851d400f8fa426e034f WHIRLPOOL 3fe3ea1f7f1caaa737ed3777b6b8cb6e10f971b5853a0a89de65c78e75323e8f01f01ea46d01fbff47dd97452e7a114b353322b4d8764a4d2bacf755c8fa3c66
66
67 diff --git a/www-client/conkeror/conkeror-9999.ebuild b/www-client/conkeror/conkeror-9999.ebuild
68 new file mode 100644
69 index 0000000..c9b543e
70 --- /dev/null
71 +++ b/www-client/conkeror/conkeror-9999.ebuild
72 @@ -0,0 +1,57 @@
73 +# Copyright 1999-2014 Gentoo Foundation
74 +# Distributed under the terms of the GNU General Public License v2
75 +# $Header: $
76 +
77 +EAPI=5
78 +
79 +EGIT_REPO_URI="git://repo.or.cz/conkeror.git"
80 +EGIT_BRANCH="gecko26-downloads-fix"
81 +
82 +inherit eutils git-r3 toolchain-funcs fdo-mime
83 +
84 +DESCRIPTION="A Mozilla-based web browser whose design is inspired by GNU Emacs"
85 +HOMEPAGE="http://conkeror.org/"
86 +# conkeror.png is derived from http://commons.wikimedia.org/wiki/File:Conker.jpg
87 +SRC_URI="http://dev.gentoo.org/~ulm/distfiles/conkeror.png"
88 +
89 +# CC-BY-SA-3.0 for conkeror.png
90 +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 ) CC-BY-SA-3.0"
91 +SLOT="0"
92 +
93 +RDEPEND="|| ( >=www-client/firefox-5.0 >=www-client/firefox-bin-23.0 )"
94 +
95 +src_unpack() {
96 + git-r3_src_unpack
97 + cp "${DISTDIR}/conkeror.png" . || die
98 +}
99 +
100 +src_compile() {
101 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
102 +}
103 +
104 +src_install() {
105 + insinto /usr/share/${PN}
106 + doins -r branding chrome components content defaults help locale modules \
107 + search-engines style tests
108 + doins application.ini *.manifest Info.plist
109 +
110 + exeinto /usr/libexec/${PN}
111 + doexe conkeror-spawn-helper
112 + dosym ../../libexec/${PN}/conkeror-spawn-helper \
113 + /usr/share/${PN}/conkeror-spawn-helper
114 +
115 + newbin "${FILESDIR}/conkeror.sh" conkeror
116 + domenu "${FILESDIR}/conkeror.desktop"
117 + doicon "${WORKDIR}/conkeror.png"
118 +
119 + doman contrib/man/conkeror.1
120 + dodoc CREDITS
121 +}
122 +
123 +pkg_postinst() {
124 + fdo-mime_desktop_database_update
125 +}
126 +
127 +pkg_postrm() {
128 + fdo-mime_desktop_database_update
129 +}
130
131 diff --git a/www-client/conkeror/files/conkeror.desktop b/www-client/conkeror/files/conkeror.desktop
132 new file mode 100644
133 index 0000000..fcf6123
134 --- /dev/null
135 +++ b/www-client/conkeror/files/conkeror.desktop
136 @@ -0,0 +1,14 @@
137 +[Desktop Entry]
138 +Type=Application
139 +Version=1.0
140 +Name=Conkeror
141 +GenericName=Web Browser
142 +Comment=Conkeror is a Mozilla-based web browser whose design is inspired by GNU Emacs
143 +Icon=conkeror
144 +TryExec=/usr/bin/conkeror
145 +Exec=/usr/bin/conkeror %u
146 +Terminal=false
147 +Categories=Network;WebBrowser;
148 +MimeType=text/html;text/xml;
149 +StartupNotify=true
150 +StartupWMClass=Conkeror
151
152 diff --git a/www-client/conkeror/files/conkeror.sh b/www-client/conkeror/files/conkeror.sh
153 new file mode 100644
154 index 0000000..e00077b
155 --- /dev/null
156 +++ b/www-client/conkeror/files/conkeror.sh
157 @@ -0,0 +1,12 @@
158 +#!/bin/bash
159 +# Wrapper script for conkeror
160 +
161 +for cmd in firefox firefox-bin; do
162 + xr=$(type -p ${cmd})
163 + if [[ -n ${xr} ]]; then
164 + exec "${xr}" -app /usr/share/conkeror/application.ini "$@"
165 + fi
166 +done
167 +
168 +echo "$0: firefox required, but not found." >&2
169 +exit 1
170
171 diff --git a/www-client/conkeror/metadata.xml b/www-client/conkeror/metadata.xml
172 new file mode 100644
173 index 0000000..f8e5d58
174 --- /dev/null
175 +++ b/www-client/conkeror/metadata.xml
176 @@ -0,0 +1,20 @@
177 +<?xml version="1.0" encoding="UTF-8"?>
178 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
179 +<pkgmetadata>
180 +<maintainer>
181 + <email>fauli@g.o</email>
182 + <name>Christian Faulhammer</name>
183 +</maintainer>
184 +<maintainer>
185 + <email>ulm@g.o</email>
186 + <name>Ulrich Müller</name>
187 +</maintainer>
188 +<longdescription>
189 + Conkeror is a keyboard-oriented, highly-customizable, highly-extensible
190 + web browser based on Mozilla XULRunner, written mainly in JavaScript, and
191 + inspired by exceptional software such as Emacs and vi. Conkeror features a
192 + sophisticated keyboard system, allowing users to run commands and interact
193 + with content in powerful and novel ways, and it is self-documenting,
194 + featuring a powerful interactive help system.
195 +</longdescription>
196 +</pkgmetadata>