summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/uzbl/ChangeLog8
-rw-r--r--www-client/uzbl/Manifest4
-rw-r--r--www-client/uzbl/files/9999-Makefile.patch45
-rw-r--r--www-client/uzbl/metadata.xml5
-rw-r--r--www-client/uzbl/uzbl-9999.ebuild46
5 files changed, 108 insertions, 0 deletions
diff --git a/www-client/uzbl/ChangeLog b/www-client/uzbl/ChangeLog
new file mode 100644
index 000000000..1678b086f
--- /dev/null
+++ b/www-client/uzbl/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for www-client/uzbl
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Nov 2009; Tomas Touceda (chiiph) <chiiph@gmail.com> +uzbl-9999.ebuild,
+ +files/9999-Makefile.patch, +metadata.xml:
+ New ebuild for bug 270995. Thanks to ohnobinki and Tommy[D]
+
diff --git a/www-client/uzbl/Manifest b/www-client/uzbl/Manifest
new file mode 100644
index 000000000..290da63d9
--- /dev/null
+++ b/www-client/uzbl/Manifest
@@ -0,0 +1,4 @@
+AUX 9999-Makefile.patch 2414 RMD160 d9e9531ed3cf90c254311abc378da8614c6e3189 SHA1 9eb5fab551b64a728d1c69dc0f32375949dc005a SHA256 373193f73750a467392ff33449d17955dd864c2b5fcbfc45d794d31dffb68bbb
+EBUILD uzbl-9999.ebuild 1044 RMD160 64d8e30a480964b9a32ddbb0401297210aefca00 SHA1 c48f6dd070aff4a2465d5b7fd3b61980b74f8290 SHA256 10f65664908d9a07e6ee60878e5f7304ddfa34d6a5aa7cf77252f16bcaf331d0
+MISC ChangeLog 300 RMD160 5b753d494ecc247a4e7e32702efedc5b293c7113 SHA1 d6f8886e64a5c7d5ca2c7d028870de2c7b218dc8 SHA256 cb2b95f96c786ff451123ebe434312918098bcd37a462ceffbf6f190dd1aecc8
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/www-client/uzbl/files/9999-Makefile.patch b/www-client/uzbl/files/9999-Makefile.patch
new file mode 100644
index 000000000..8965c6a61
--- /dev/null
+++ b/www-client/uzbl/files/9999-Makefile.patch
@@ -0,0 +1,45 @@
+diff -Naur uzbl-9999.orig/Makefile uzbl-9999/Makefile
+--- uzbl-9999.orig/Makefile 2009-11-08 20:15:30.000000000 -0300
++++ uzbl-9999/Makefile 2009-11-08 20:16:04.000000000 -0300
+@@ -1,7 +1,7 @@
+ # 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) -DARCH="\"gentoo\"" -lgthread-2.0 -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) $(CFLAGS)
++CFLAGS!=echo -std=c99 `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -DARCH='\"gentoo\"' -lgthread-2.0 -DCOMMIT='"\""'`git log | head -n1 | sed "s/.* //"`'"\""' $(CPPFLAGS) $(CFLAGS)
+
+ 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)
+@@ -32,15 +32,11 @@
+ @echo LINKING object files
+ @${CC} -o $@ ${OBJ} ${LDFLAGS}
+ @echo ... done.
+- @echo Stripping binary
+- @strip $@
+- @echo ... done.
+-
+
+ uzbl-browser: uzbl-core
+
+ # packagers, set DESTDIR to your "package directory" and PREFIX to the prefix you want to have on the end-user system
+-PREFIX?=/usr/local
++PREFIX?=/usr
+ INSTALLDIR?=$(DESTDIR)$(PREFIX)
+
+ # the 'tests' target can never be up to date
+@@ -86,14 +82,9 @@
+
+ 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 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 000000000..7e3286984
--- /dev/null
+++ b/www-client/uzbl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/www-client/uzbl/uzbl-9999.ebuild b/www-client/uzbl/uzbl-9999.ebuild
new file mode 100644
index 000000000..40b5a4db3
--- /dev/null
+++ b/www-client/uzbl/uzbl-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+EGIT_REPO_URI="git://github.com/Dieterbe/uzbl.git"
+
+inherit git toolchain-funcs
+
+DESCRIPTION="A web browser that follows the UNIX philosophy"
+HOMEPAGE="http://www.uzbl.org"
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ gnome-extra/zenity
+ net-misc/socat
+ >=net-libs/libsoup-2.24
+ >=net-libs/webkit-gtk-1.1.4
+ >=x11-libs/gtk+-2.14"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+EGIT_PATCHES=("${FILESDIR}/${PV}-Makefile.patch")
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc docs/* || die "dodoc failed"
+}
+
+pkg_postinst() {
+ ewarn "Remember to export XDG_DATA_HOME and XDG_CONFIG_HOME or otherwise"
+ ewarn "${PN} won't work."
+ ewarn "For testing do:"
+ ewarn " export XDG_DATA_HOME=\"/usr/share/uzbl/examples/data/\""
+ ewarn " export XDG_CONFIG_HOME=\"/usr/share/uzbl/examples/config/\""
+}