summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-02-13 23:15:12 +0100
committerUlrich Müller <ulm@gentoo.org>2014-02-13 23:15:12 +0100
commitb3a89060cea00bc9f43b5de54811b353dadc8b9c (patch)
tree3d33550e7b38cd453bfe98104deeb0491ee73170
parentFix filename of patch in previous commit. (diff)
downloadulm-b3a89060cea00bc9f43b5de54811b353dadc8b9c.tar.gz
ulm-b3a89060cea00bc9f43b5de54811b353dadc8b9c.tar.bz2
ulm-b3a89060cea00bc9f43b5de54811b353dadc8b9c.zip
Copied from emacs overlay.
Package-Manager: portage-2.2.8-r1
-rw-r--r--www-client/conkeror/ChangeLog31
-rw-r--r--www-client/conkeror/Manifest1
-rw-r--r--www-client/conkeror/conkeror-9999.ebuild57
-rw-r--r--www-client/conkeror/files/conkeror.desktop14
-rw-r--r--www-client/conkeror/files/conkeror.sh12
-rw-r--r--www-client/conkeror/metadata.xml20
6 files changed, 135 insertions, 0 deletions
diff --git a/www-client/conkeror/ChangeLog b/www-client/conkeror/ChangeLog
new file mode 100644
index 0000000..172e6c9
--- /dev/null
+++ b/www-client/conkeror/ChangeLog
@@ -0,0 +1,31 @@
+# ChangeLog for www-client/conkeror
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 21 Jan 2014; Ulrich Müller <ulm@gentoo.org> +conkeror-9999.ebuild,
+ +files/conkeror.desktop, +files/conkeror.sh, +metadata.xml:
+ Copied from Portage tree. Fixes for live ebuild contributed by
+ Jauhien Piatlicki <piatlicki@gmail.com> in bug 497024.
+
+ 09 Apr 2009; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
+ Update herd in metadata.
+
+*conkeror-0.9_pre20090401 (07 Apr 2009)
+
+ 07 Apr 2009; Ulrich Mueller <ulm@gentoo.org>
+ +conkeror-0.9_pre20090401.ebuild:
+ Add ebuild for upstream snapshot.
+
+ 10 Feb 2009; Ulrich Mueller <ulm@gentoo.org> +files/conkeror.desktop,
+ conkeror-9999.ebuild:
+ Also install "help", "style" and "tests" subdirectories. Add desktop entry.
+
+ 05 Sep 2008; Christian Faulhammer <opfer@gentoo.org> conkeror-9999.ebuild:
+ add a DESCRIPTION
+
+*conkeror-9999 (05 Sep 2008)
+
+ 05 Sep 2008; Ulrich Mueller <ulm@gentoo.org> +metadata.xml,
+ +conkeror-9999.ebuild:
+ Initial import, work in progress. Ebuild contributed by me.
+
diff --git a/www-client/conkeror/Manifest b/www-client/conkeror/Manifest
new file mode 100644
index 0000000..cd1bc77
--- /dev/null
+++ b/www-client/conkeror/Manifest
@@ -0,0 +1 @@
+DIST conkeror.png 5105 SHA256 b11856c32bdec9e9b045df44aa37727f6a3ec18507d376bf27675bc7ee042667 SHA512 fd44e2732a74ab6a54ef4a946f20619aa74d24d2244b0d6bedfa6d4680bc3247d297565550d8c3a5cc4a8ca608761ccb8f61e71cbe0c2851d400f8fa426e034f WHIRLPOOL 3fe3ea1f7f1caaa737ed3777b6b8cb6e10f971b5853a0a89de65c78e75323e8f01f01ea46d01fbff47dd97452e7a114b353322b4d8764a4d2bacf755c8fa3c66
diff --git a/www-client/conkeror/conkeror-9999.ebuild b/www-client/conkeror/conkeror-9999.ebuild
new file mode 100644
index 0000000..c9b543e
--- /dev/null
+++ b/www-client/conkeror/conkeror-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_REPO_URI="git://repo.or.cz/conkeror.git"
+EGIT_BRANCH="gecko26-downloads-fix"
+
+inherit eutils git-r3 toolchain-funcs fdo-mime
+
+DESCRIPTION="A Mozilla-based web browser whose design is inspired by GNU Emacs"
+HOMEPAGE="http://conkeror.org/"
+# conkeror.png is derived from http://commons.wikimedia.org/wiki/File:Conker.jpg
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/conkeror.png"
+
+# CC-BY-SA-3.0 for conkeror.png
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 ) CC-BY-SA-3.0"
+SLOT="0"
+
+RDEPEND="|| ( >=www-client/firefox-5.0 >=www-client/firefox-bin-23.0 )"
+
+src_unpack() {
+ git-r3_src_unpack
+ cp "${DISTDIR}/conkeror.png" . || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r branding chrome components content defaults help locale modules \
+ search-engines style tests
+ doins application.ini *.manifest Info.plist
+
+ exeinto /usr/libexec/${PN}
+ doexe conkeror-spawn-helper
+ dosym ../../libexec/${PN}/conkeror-spawn-helper \
+ /usr/share/${PN}/conkeror-spawn-helper
+
+ newbin "${FILESDIR}/conkeror.sh" conkeror
+ domenu "${FILESDIR}/conkeror.desktop"
+ doicon "${WORKDIR}/conkeror.png"
+
+ doman contrib/man/conkeror.1
+ dodoc CREDITS
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/www-client/conkeror/files/conkeror.desktop b/www-client/conkeror/files/conkeror.desktop
new file mode 100644
index 0000000..fcf6123
--- /dev/null
+++ b/www-client/conkeror/files/conkeror.desktop
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Conkeror
+GenericName=Web Browser
+Comment=Conkeror is a Mozilla-based web browser whose design is inspired by GNU Emacs
+Icon=conkeror
+TryExec=/usr/bin/conkeror
+Exec=/usr/bin/conkeror %u
+Terminal=false
+Categories=Network;WebBrowser;
+MimeType=text/html;text/xml;
+StartupNotify=true
+StartupWMClass=Conkeror
diff --git a/www-client/conkeror/files/conkeror.sh b/www-client/conkeror/files/conkeror.sh
new file mode 100644
index 0000000..e00077b
--- /dev/null
+++ b/www-client/conkeror/files/conkeror.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Wrapper script for conkeror
+
+for cmd in firefox firefox-bin; do
+ xr=$(type -p ${cmd})
+ if [[ -n ${xr} ]]; then
+ exec "${xr}" -app /usr/share/conkeror/application.ini "$@"
+ fi
+done
+
+echo "$0: firefox required, but not found." >&2
+exit 1
diff --git a/www-client/conkeror/metadata.xml b/www-client/conkeror/metadata.xml
new file mode 100644
index 0000000..f8e5d58
--- /dev/null
+++ b/www-client/conkeror/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>fauli@gentoo.org</email>
+ <name>Christian Faulhammer</name>
+</maintainer>
+<maintainer>
+ <email>ulm@gentoo.org</email>
+ <name>Ulrich Müller</name>
+</maintainer>
+<longdescription>
+ Conkeror is a keyboard-oriented, highly-customizable, highly-extensible
+ web browser based on Mozilla XULRunner, written mainly in JavaScript, and
+ inspired by exceptional software such as Emacs and vi. Conkeror features a
+ sophisticated keyboard system, allowing users to run commands and interact
+ with content in powerful and novel ways, and it is self-documenting,
+ featuring a powerful interactive help system.
+</longdescription>
+</pkgmetadata>