summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-12-04 00:42:12 +0000
committerAlex Alexander <wired@gentoo.org>2009-12-04 00:42:12 +0000
commit0934f4c97b4aa82c71226ae4ce5b749fb41b4203 (patch)
tree1ffe2ef7f48cbacbe2a50bb86817c9b853a61e9a /www-client/uzbl
parentImprove detection of PBS_SERVER_NAME when the envvar is unset. #295408 (diff)
downloadhistorical-0934f4c97b4aa82c71226ae4ce5b749fb41b4203.tar.gz
historical-0934f4c97b4aa82c71226ae4ce5b749fb41b4203.tar.bz2
historical-0934f4c97b4aa82c71226ae4ce5b749fb41b4203.zip
new ebuild
Package-Manager: portage-2.2_rc54/cvs/Linux x86_64
Diffstat (limited to 'www-client/uzbl')
-rw-r--r--www-client/uzbl/ChangeLog10
-rw-r--r--www-client/uzbl/Manifest5
-rw-r--r--www-client/uzbl/files/uzbl-makefile-cleanup.patch41
-rw-r--r--www-client/uzbl/metadata.xml13
-rw-r--r--www-client/uzbl/uzbl-0_pre20091107.ebuild65
5 files changed, 134 insertions, 0 deletions
diff --git a/www-client/uzbl/ChangeLog b/www-client/uzbl/ChangeLog
new file mode 100644
index 000000000000..cf816ec443c3
--- /dev/null
+++ b/www-client/uzbl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-client/uzbl
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.1 2009/12/04 00:42:12 wired Exp $
+
+*uzbl-0_pre20091107 (04 Dec 2009)
+
+ 04 Dec 2009; Alex Alexander <wired@gentoo.org> +uzbl-0_pre20091107.ebuild,
+ +files/uzbl-makefile-cleanup.patch, +metadata.xml:
+ new ebuild
+
diff --git a/www-client/uzbl/Manifest b/www-client/uzbl/Manifest
new file mode 100644
index 000000000000..02aab68f3e82
--- /dev/null
+++ b/www-client/uzbl/Manifest
@@ -0,0 +1,5 @@
+AUX uzbl-makefile-cleanup.patch 2033 RMD160 b1e9fe31d544373529774c71e726c9b0adf8536b SHA1 bff9a2a1acf51a4128e77b0ae25e19f6a918012e SHA256 a9606d5c61919b4d26cb2146e2b857aeb41dfcea328ca3e1f465da8343ef786f
+DIST uzbl-0_pre20091107.tar.gz 129395 RMD160 d9fcf4f5a36dd027533ac42d97762547ddb44299 SHA1 2f0a6451b09d09f3ce89bf51afca6daf7636bd0b SHA256 a5e11e0689cd0bd2845b53673dac4d69159e36c1265a71e7b764e7dba67b6ee7
+EBUILD uzbl-0_pre20091107.ebuild 1442 RMD160 8586eadc0bf5058c2051adaa0192f50088374f2d SHA1 4a91973027cda42289c7edd22305ce900754242f SHA256 00ffe7bada3debcd55353d9fb4cb834b65748fdd62454e894d14284c97411d81
+MISC ChangeLog 381 RMD160 2646c860229d2a3fcf8f618dedd4e83161c5eb13 SHA1 1bf6b1280d42561dcb716020c3e18553e4a9f7a4 SHA256 8ff63a1440787859505f921e044a69299ff50f26b377ae4b42e4d243a91d888a
+MISC metadata.xml 326 RMD160 5d1339f3972ffe7f7f079c2c1d2ed5a79c8bcd93 SHA1 ec7495900f1f7d5b1f3276ad3478150e48b249cb SHA256 bb1709bb15b6144c36ce533afc6a50a7eb41201174b77a0907ebd0ac1fa8ce4b
diff --git a/www-client/uzbl/files/uzbl-makefile-cleanup.patch b/www-client/uzbl/files/uzbl-makefile-cleanup.patch
new file mode 100644
index 000000000000..47e34277526c
--- /dev/null
+++ b/www-client/uzbl/files/uzbl-makefile-cleanup.patch
@@ -0,0 +1,41 @@
+--- Makefile.old 2009-11-24 15:20:22.086005098 +0200
++++ Makefile 2009-11-24 15:44:30.944138916 +0200
+@@ -1,10 +1,8 @@
+ # first entries are for gnu make, 2nd for BSD make. see http://lists.uzbl.org/pipermail/uzbl-dev-uzbl.org/2009-July/000177.html
+
+-CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -lgthread-2.0 -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic -ggdb3
+-CFLAGS!=echo -std=c99 `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -ggdb -Wall -W -DARCH='"\""'`uname -m`'"\""' -lgthread-2.0 -DCOMMIT='"\""'`git log | head -n1 | sed "s/.* //"`'"\""' $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic -ggdb3
++CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -Wall -W -DARCH="\"$(shell uname -m)\"" -lgthread-2.0 -DCOMMIT="\"uzbl-commit\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic
+
+ LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -pthread $(LDFLAGS)
+-LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS)
+
+ SRC = uzbl-core.c events.c callbacks.c inspector.c
+ OBJ = ${SRC:.c=.o}
+@@ -32,10 +30,6 @@
+ @echo LINKING object files
+ @${CC} -o $@ ${OBJ} ${LDFLAGS}
+ @echo ... done.
+- @echo Stripping binary
+- @strip $@
+- @echo ... done.
+-
+
+ uzbl-browser: uzbl-core
+
+@@ -86,14 +80,10 @@
+
+ install-uzbl-core: all
+ install -d $(INSTALLDIR)/bin
+- install -d $(INSTALLDIR)/share/uzbl/docs
+ install -d $(INSTALLDIR)/share/uzbl/examples
+- cp -rp docs $(INSTALLDIR)/share/uzbl/
+- cp -rp config.h $(INSTALLDIR)/share/uzbl/docs/
++ cp -rp config.h $(INSTALLDIR)/share/uzbl/
+ cp -rp examples $(INSTALLDIR)/share/uzbl/
+ install -m755 uzbl-core $(INSTALLDIR)/bin/uzbl-core
+- install -m644 AUTHORS $(INSTALLDIR)/share/uzbl/docs
+- install -m644 README $(INSTALLDIR)/share/uzbl/docs
+
+ install-uzbl-browser: all
+ install -d $(INSTALLDIR)/bin
diff --git a/www-client/uzbl/metadata.xml b/www-client/uzbl/metadata.xml
new file mode 100644
index 000000000000..2ee5419cae3f
--- /dev/null
+++ b/www-client/uzbl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>wired@gentoo.org</email>
+<name>Alex Alexander</name>
+</maintainer>
+<use>
+ <flag name="helpers">Optional tools used by uzbl scripts</flag>
+</use>
+</pkgmetadata>
+
diff --git a/www-client/uzbl/uzbl-0_pre20091107.ebuild b/www-client/uzbl/uzbl-0_pre20091107.ebuild
new file mode 100644
index 000000000000..629aeb230bea
--- /dev/null
+++ b/www-client/uzbl/uzbl-0_pre20091107.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/uzbl-0_pre20091107.ebuild,v 1.1 2009/12/04 00:42:12 wired Exp $
+
+EAPI="2"
+
+inherit base
+
+MY_PV=${PV/*_pre}
+MY_PV=${MY_PV:0:4}.${MY_PV:4:2}.${MY_PV:6}
+
+DESCRIPTION="A keyboard controlled (modal vim-like bindings, or with modifierkeys) browser based on Webkit."
+HOMEPAGE="http://www.uzbl.org"
+SRC_URI="http://github.com/Dieterbe/${PN}/tarball/${MY_PV} -> ${P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="helpers"
+
+COMMON_DEPEND="
+ >=net-libs/webkit-gtk-1.1.7
+ >=net-libs/libsoup-2.26.2
+ >=x11-libs/gtk+-2.14
+ >=dev-libs/icu-4.0.1
+"
+
+DEPEND="
+ >=dev-util/pkgconfig-0.19
+ ${COMMON_DEPEND}
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ helpers? (
+ x11-misc/dmenu
+ net-misc/socat
+ x11-misc/xclip
+ gnome-extra/zenity
+ )
+"
+
+src_prepare() {
+ cd "${WORKDIR}"/Dieterbe-uzbl-*
+ S=$(pwd)
+
+ # patch Makefile to make it more sane
+ epatch "${FILESDIR}"/"${PN}"-makefile-cleanup.patch
+
+ # adjust path in default config file to /usr/share
+ sed -i "s:/usr/local/share/uzbl:/usr/share/uzbl:g" \
+ examples/config/uzbl/config ||
+ die "config path sed failed"
+}
+
+src_compile() {
+ emake || die "compile failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die "Installation failed"
+
+ # Move the docs to /usr/share/doc instead.
+ dodoc AUTHORS README docs/*
+}