mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Add uzbl, a web interface tools collection.
PR: ports/141674 Submitted by: aehlig at linta.de
This commit is contained in:
parent
2b0a9e7afb
commit
53d9d31bda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247388
@ -1656,6 +1656,7 @@
|
||||
SUBDIR += udmsearch
|
||||
SUBDIR += ump
|
||||
SUBDIR += usermanager
|
||||
SUBDIR += uzbl
|
||||
SUBDIR += validator
|
||||
SUBDIR += varnish
|
||||
SUBDIR += vee
|
||||
|
64
www/uzbl/Makefile
Normal file
64
www/uzbl/Makefile
Normal file
@ -0,0 +1,64 @@
|
||||
# Ports collection makefile for: uzbl
|
||||
# Date created: 2009/12/14
|
||||
# Whom: aehlig@linta.de
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= uzbl
|
||||
DISTVERSION= 0.0.0.${GITDATE}
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.linta.de/distfiles/ \
|
||||
LOCAL/ehaupt
|
||||
|
||||
MAINTAINER= aehlig@linta.de
|
||||
COMMENT= Web interface tools which adhere to the unix philosophy
|
||||
|
||||
LIB_DEPENDS= webkit:${PORTSDIR}/www/webkit-gtk2
|
||||
|
||||
USE_GNOME= gtk20
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GITDATE= 2010.01.05
|
||||
GITVERSION= 1958b52
|
||||
|
||||
WRKSRC= ${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" \
|
||||
${WRKSRC}/examples/config/uzbl/config \
|
||||
${WRKSRC}/uzbl-browser \
|
||||
${WRKSRC}/examples/data/uzbl/scripts/uzbl-event-manager
|
||||
|
||||
post-build:
|
||||
@${FIND} ${WRKSRC} \( -name "*.orig" -or -name "*.bak" \) -exec rm -f {} \;
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/uzbl-core ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/uzbl-browser ${PREFIX}/bin
|
||||
.for f in uzbl-event-manager uzbl-cookie-daemon uzbl-tabbed
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/data/uzbl/scripts/${f} ${PREFIX}/bin
|
||||
.endfor
|
||||
${MKDIR} ${DATADIR}/docs
|
||||
${INSTALL_DATA} ${WRKSRC}/config.h ${DATADIR}/docs
|
||||
.for f in COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
|
||||
multiple-instances-management performance url-editing
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DATADIR}/docs
|
||||
.endfor
|
||||
.for f in AUTHORS README
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/docs
|
||||
.endfor
|
||||
${MKDIR} ${DATADIR}/examples/config/uzbl \
|
||||
${DATADIR}/examples/data/uzbl/forms
|
||||
.for f in examples/config/uzbl/config examples/config/uzbl/cookies \
|
||||
examples/data/uzbl/bookmarks \
|
||||
examples/data/uzbl/forms/bbs.archlinux.org \
|
||||
examples/data/uzbl/style.css examples/data/uzbl/uzbl.png
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f}
|
||||
.endfor
|
||||
(cd ${WRKSRC}/examples/data/uzbl && \
|
||||
${COPYTREE_BIN} plugins ${DATADIR}/examples/data/uzbl)
|
||||
(cd ${WRKSRC}/examples/data/uzbl && \
|
||||
${COPYTREE_BIN} scripts ${DATADIR}/examples/data/uzbl)
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/uzbl/distinfo
Normal file
3
www/uzbl/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (uzbl-0.0.0.2010.01.05.tar.gz) = 2574fc68a7a7693297d371ca58a4edb4
|
||||
SHA256 (uzbl-0.0.0.2010.01.05.tar.gz) = 0aae5c9994d968b4f4ec7f8f2ce935c25e25d19cabbce27e3ded0672756132c8
|
||||
SIZE (uzbl-0.0.0.2010.01.05.tar.gz) = 133875
|
@ -0,0 +1,29 @@
|
||||
--- ./examples/data/uzbl/scripts/uzbl-cookie-daemon.orig 2010-01-05 20:17:29.000000000 +0100
|
||||
+++ ./examples/data/uzbl/scripts/uzbl-cookie-daemon 2010-01-07 13:24:58.000000000 +0100
|
||||
@@ -187,7 +187,7 @@
|
||||
raise Exception("directory at %r is not a socket" % cookie_socket)
|
||||
|
||||
try:
|
||||
- sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
|
||||
+ sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
sock.connect(cookie_socket)
|
||||
sock.close()
|
||||
echo("detected daemon listening on %r" % cookie_socket)
|
||||
@@ -210,7 +210,7 @@
|
||||
return False
|
||||
|
||||
try:
|
||||
- sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
|
||||
+ sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
sock.connect(cookie_socket)
|
||||
sock.send(cmd)
|
||||
sock.close()
|
||||
@@ -420,7 +420,7 @@
|
||||
mkbasedir(cookie_socket)
|
||||
|
||||
self.server_socket = socket.socket(socket.AF_UNIX,
|
||||
- socket.SOCK_SEQPACKET)
|
||||
+ socket.SOCK_STREAM)
|
||||
|
||||
self.server_socket.bind(cookie_socket)
|
||||
|
19
www/uzbl/files/patch-uzbl-core.c
Normal file
19
www/uzbl/files/patch-uzbl-core.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- uzbl-core.c.orig 2010-01-05 20:17:29.000000000 +0100
|
||||
+++ uzbl-core.c 2010-01-08 10:13:45.000000000 +0100
|
||||
@@ -29,6 +29,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
+#include <sys/errno.h>
|
||||
#include "uzbl-core.h"
|
||||
#include "callbacks.h"
|
||||
#include "events.h"
|
||||
@@ -1436,7 +1437,7 @@
|
||||
sa.sun_family = AF_UNIX;
|
||||
|
||||
/* create socket file descriptor and connect it to path */
|
||||
- fd = socket(AF_UNIX, SOCK_SEQPACKET, 0);
|
||||
+ fd = socket(AF_UNIX, SOCK_STREAM, 0);
|
||||
if(fd == -1) {
|
||||
g_printerr("talk_to_socket: creating socket failed (%s)\n", strerror(errno));
|
||||
return;
|
6
www/uzbl/pkg-descr
Normal file
6
www/uzbl/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Uzbl is a collection of web interface tools that follow the UNIX philosophy -
|
||||
"Write programs that do one thing and do it well. Write programs to work
|
||||
together. Write programs to handle text streams, because that is a universal
|
||||
interface."
|
||||
|
||||
WWW: http://www.uzbl.org
|
62
www/uzbl/pkg-plist
Normal file
62
www/uzbl/pkg-plist
Normal file
@ -0,0 +1,62 @@
|
||||
bin/uzbl-core
|
||||
bin/uzbl-browser
|
||||
bin/uzbl-cookie-daemon
|
||||
bin/uzbl-event-manager
|
||||
bin/uzbl-tabbed
|
||||
%%DATADIR%%/docs/url-editing
|
||||
%%DATADIR%%/docs/CONTRIBUTING
|
||||
%%DATADIR%%/docs/FAQ
|
||||
%%DATADIR%%/docs/INSTALL
|
||||
%%DATADIR%%/docs/TODO
|
||||
%%DATADIR%%/docs/config-syntax
|
||||
%%DATADIR%%/docs/multiple-instances-management
|
||||
%%DATADIR%%/docs/performance
|
||||
%%DATADIR%%/docs/COMMUNITY
|
||||
%%DATADIR%%/docs/config.h
|
||||
%%DATADIR%%/docs/AUTHORS
|
||||
%%DATADIR%%/docs/README
|
||||
%%DATADIR%%/examples/config/uzbl/config
|
||||
%%DATADIR%%/examples/config/uzbl/cookies
|
||||
%%DATADIR%%/examples/data/uzbl/forms/bbs.archlinux.org
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/progress_bar.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/completion.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/config.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/keycmd.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/mode.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/on_event.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/plugin_template.py
|
||||
%%DATADIR%%/examples/data/uzbl/plugins/bind.py
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/uzblcat
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/download.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/extedit.js
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/follow_Numbers.js
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/follow_Numbers_Strings.js
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/formfiller.pl
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/formfiller.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/hint.js
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/history.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/insert_bookmark.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/instance-select-wmii.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/linkfollow.js
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/load_url_from_bookmarks.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/load_url_from_history.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/scheme.py
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/scroll-percentage.js
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/session.sh
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/uzbl-cookie-daemon
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/uzbl-tabbed
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/uzbl-event-manager
|
||||
%%DATADIR%%/examples/data/uzbl/scripts/cookies.sh
|
||||
%%DATADIR%%/examples/data/uzbl/bookmarks
|
||||
%%DATADIR%%/examples/data/uzbl/style.css
|
||||
%%DATADIR%%/examples/data/uzbl/uzbl.png
|
||||
@dirrm %%DATADIR%%/docs
|
||||
@dirrm %%DATADIR%%/examples/config/uzbl
|
||||
@dirrm %%DATADIR%%/examples/config
|
||||
@dirrm %%DATADIR%%/examples/data/uzbl/forms
|
||||
@dirrm %%DATADIR%%/examples/data/uzbl/plugins
|
||||
@dirrm %%DATADIR%%/examples/data/uzbl/scripts
|
||||
@dirrm %%DATADIR%%/examples/data/uzbl
|
||||
@dirrm %%DATADIR%%/examples/data
|
||||
@dirrm %%DATADIR%%/examples
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user