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
commitcb27828ace7d307bd1c3e1a016d3f852ca76a481 (patch)
treecd6bd07e232c9501e7da7b53a7e2d13b0b0e47e7 /www-client/uzbl
parentImprove detection of PBS_SERVER_NAME when the envvar is unset. #295408 (diff)
downloadgentoo-2-cb27828ace7d307bd1c3e1a016d3f852ca76a481.tar.gz
gentoo-2-cb27828ace7d307bd1c3e1a016d3f852ca76a481.tar.bz2
gentoo-2-cb27828ace7d307bd1c3e1a016d3f852ca76a481.zip
new ebuild
(Portage version: 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/files/uzbl-makefile-cleanup.patch41
-rw-r--r--www-client/uzbl/metadata.xml13
-rw-r--r--www-client/uzbl/uzbl-0_pre20091107.ebuild65
4 files changed, 129 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/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/*
+}