From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2775D138247 for ; Tue, 21 Jan 2014 09:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A39FFE0B64; Tue, 21 Jan 2014 09:37:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16414E0B64 for ; Tue, 21 Jan 2014 09:37:23 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11EB533FA10 for ; Tue, 21 Jan 2014 09:37:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id BBE9918096 for ; Tue, 21 Jan 2014 09:37:21 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1390297071.834078a9b1f289bcf42a4677c28822352a21f56c.ulm@gentoo> Subject: [gentoo-commits] proj/emacs:master commit in: www-client/conkeror/, www-client/conkeror/files/ X-VCS-Repository: proj/emacs X-VCS-Files: www-client/conkeror/ChangeLog www-client/conkeror/Manifest www-client/conkeror/conkeror-9999.ebuild www-client/conkeror/files/conkeror.desktop www-client/conkeror/files/conkeror.sh www-client/conkeror/metadata.xml X-VCS-Directories: www-client/conkeror/ www-client/conkeror/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 834078a9b1f289bcf42a4677c28822352a21f56c X-VCS-Branch: master Date: Tue, 21 Jan 2014 09:37:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 87abe4cc-4d0a-4d79-967a-a956814bdfa6 X-Archives-Hash: d4ed58616787dda9b88e1488bd2b8704 commit: 834078a9b1f289bcf42a4677c28822352a21f56c Author: Ulrich Müller gentoo org> AuthorDate: Tue Jan 21 09:37:51 2014 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Jan 21 09:37:51 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=834078a9 Copied from Portage tree. Fixes for live ebuild contributed by Jauhien Piatlicki gmail.com> in bug 497024. Package-Manager: portage-2.2.8-r1 --- www-client/conkeror/ChangeLog | 31 ++++++++++++++++ www-client/conkeror/Manifest | 1 + www-client/conkeror/conkeror-9999.ebuild | 57 ++++++++++++++++++++++++++++++ www-client/conkeror/files/conkeror.desktop | 14 ++++++++ www-client/conkeror/files/conkeror.sh | 12 +++++++ www-client/conkeror/metadata.xml | 20 +++++++++++ 6 files changed, 135 insertions(+) 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 +conkeror-9999.ebuild, + +files/conkeror.desktop, +files/conkeror.sh, +metadata.xml: + Copied from Portage tree. Fixes for live ebuild contributed by + Jauhien Piatlicki in bug 497024. + + 09 Apr 2009; Ulrich Mueller metadata.xml: + Update herd in metadata. + +*conkeror-0.9_pre20090401 (07 Apr 2009) + + 07 Apr 2009; Ulrich Mueller + +conkeror-0.9_pre20090401.ebuild: + Add ebuild for upstream snapshot. + + 10 Feb 2009; Ulrich Mueller +files/conkeror.desktop, + conkeror-9999.ebuild: + Also install "help", "style" and "tests" subdirectories. Add desktop entry. + + 05 Sep 2008; Christian Faulhammer conkeror-9999.ebuild: + add a DESCRIPTION + +*conkeror-9999 (05 Sep 2008) + + 05 Sep 2008; Ulrich Mueller +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 @@ + + + + + fauli@gentoo.org + Christian Faulhammer + + + ulm@gentoo.org + Ulrich Müller + + + 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. + +