Bug 143540 - www/uzbl [maintainer][patch] update to new version
Summary: www/uzbl [maintainer][patch] update to new version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 08:00 UTC by Klaus Aehlig
Modified: 2010-03-02 00:00 UTC (History)
1 user (show)

See Also:


Attachments
uzbl.patch (8.75 KB, patch)
2010-02-04 08:00 UTC, Klaus Aehlig
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Aehlig 2010-02-04 08:00:01 UTC
	A new version of uzbl has been released. This version brings
        various improvements, in particular to uzbl-tabbed. See
        http://www.uzbl.org/

Fix: Apply the following patch. 

Then (not strictly necessary) rename in the files directory
patch-examples__data__uzbl__scripts__uzbl-cookie-daemon 
to patch-uzbl-cookie-daemon or, if you prefer, to
patch-examples__data__scripts__uzbl-cookie-daemon 
in order to reflect that the file to patch has now a different
position in the source tree.

PS for ehaupt@
Since you're providing the backup mastersite at LOCAL/ehaupt,
could you please mirror the new tar ball as well? I've already
uploaded it to my distfile site.
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-02-04 09:30:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-02-13 22:16:49 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Klaus,

The uzbl should be respect NOPORT*.

Can you modify Makefile to accept variables PORTDOCS and EXAMPLESDIR?

Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iQEcBAEBAgAGBQJLdyTYAAoJEIyJLN1L2ARbMuwIAI7Jbko9f6UiP+CEFYs0pVpG
Jxf0qdhnDCc9DoULQzIiMGUH2paQ0sXkd/TQ4VXBFCCg6T3q+LumDQOZBEekb/hr
/wevkKxmDIG2HsUeXygYd9QjNsQDfAZjaUxMfzQ7Z0gkYvIdPWHCTawgQkhFfnWi
2D1n8oG+KGXHt8mkzI+wh+t3VRMB6XU9+F1/qN3titVW5Ogg81/0s8/r3WEmMKp7
WHVp8okIdDJPjs6ZnXQunPL6DkyBLKShBX9wjuoQiA+qIhhh4Tz2HOUBISImYotP
N6BFxxf9fO0xX6H8xru/qV2XLI8rkGLIUekUAyYBqKZsuwjOMeURPHhfZxuDYwM=3D
=3DLtuL
-----END PGP SIGNATURE-----
Comment 3 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-02-13 22:17:33 UTC
State Changed
From-To: open->feedback

- Waiting new patch to port.
Comment 4 Klaus Aehlig 2010-02-14 02:27:41 UTC
Hi Sylvio,

> The uzbl should be respect NOPORT*.
> 
> Can you modify Makefile to accept variables PORTDOCS and EXAMPLESDIR?

I modified the port accordingly, see the new patch (against the current
version of the port, after the PORTREVISION bump; also, the renaming
of files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon should
still be done after applying the patch). Please note that the files
under ${DATADIR}/examples are---despite the name of their location--
actually data files. They need to be installed for the browser to
work in its default configuration. That's why my patch puts them in
the ${DATADIR} and honors NOPORTDATA, rather than EXAMPLESDIR and 
NOPORTEXAMPLES. I hope this is OK.

Best,
Klaus

--- uzbl.patch begins here ---
diff -ru uzbl/Makefile uzbl.new/Makefile
--- uzbl/Makefile	2010-02-05 12:45:10.000000000 +0100
+++ uzbl.new/Makefile	2010-02-14 02:50:14.000000000 +0100
@@ -7,7 +7,6 @@
 
 PORTNAME=	uzbl
 DISTVERSION=	0.0.0.${GITDATE}
-PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.linta.de/distfiles/ \
 		LOCAL/ehaupt
@@ -19,47 +18,63 @@
 
 USE_GNOME=	gtk20
 USE_LDCONFIG=	yes
+USE_GMAKE=	yes
 
-GITDATE=	2010.01.05
-GITVERSION=	1958b52
+GITDATE=	2010.02.02
+GITVERSION=	f8d6c93
 
 WRKSRC=		${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
 
+.if !defined(NOPORTDOCS)
+PORTDOCS=	AUTHORS README COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
+		multiple-instances-management performance url-editing config.h
+.endif
+
+.if !defined(NOPORTDATA)
+PORTDATA=	examples
+.endif
+
 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
+		${WRKSRC}/examples/config/config \
+		${WRKSRC}/src/uzbl-browser \
+		${WRKSRC}/examples/data/scripts/uzbl-event-manager
+	@${REINPLACE_CMD} -e "s|share/uzbl|${DATADIR_REL}|" \
+		${WRKSRC}/examples/data/scripts/uzbl-event-manager
 
 post-build:
-	@${FIND} ${WRKSRC} \( -name "*.orig" -or -name "*.bak" \) -exec rm -f {} \;
+	@${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
+	${INSTALL_SCRIPT} ${WRKSRC}/src/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
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/data/scripts/${f} ${PREFIX}/bin
 .endfor
-	${MKDIR} ${DATADIR}/docs
-	${INSTALL_DATA} ${WRKSRC}/config.h ${DATADIR}/docs
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/src/config.h ${DOCSDIR}
 .for f in COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
 		multiple-instances-management performance url-editing
-	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DATADIR}/docs
+	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}/${f}
 .endfor
 .for f in AUTHORS README
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/docs
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f}
 .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}
+.endif
+.if !defined(NOPORTDATA)
+	${MKDIR} ${DATADIR}/examples/data/forms ${DATADIR}/examples/config
+.for f in config/cookies \
+	data/bookmarks \
+	data/forms/bbs.archlinux.org \
+	data/style.css data/uzbl.png
+		${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DATADIR}/examples/${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)
+	${INSTALL_DATA} ${WRKSRC}/examples/config/config ${DATADIR}/examples/config/config
+	(cd ${WRKSRC}/examples/data && \
+		${COPYTREE_BIN} plugins ${DATADIR}/examples/data/)
+	(cd ${WRKSRC}/examples/data && \
+		${COPYTREE_BIN} scripts ${DATADIR}/examples/data/)
+.endif
 
 .include <bsd.port.mk>
diff -ru uzbl/distinfo uzbl.new/distinfo
--- uzbl/distinfo	2010-01-08 11:02:35.000000000 +0100
+++ uzbl.new/distinfo	2010-02-03 22:54:37.000000000 +0100
@@ -1,3 +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
+MD5 (uzbl-0.0.0.2010.02.02.tar.gz) = 70a5d47655d5ec11f68ff5b7a7bd68b5
+SHA256 (uzbl-0.0.0.2010.02.02.tar.gz) = 23b1e7b7b0ce40605e838f2af70cabd7f430a4f4b55f0b7e73a89296c40f2a6a
+SIZE (uzbl-0.0.0.2010.02.02.tar.gz) = 136063
diff -ru uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon uzbl.new/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon
--- uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon	2010-01-08 11:02:36.000000000 +0100
+++ uzbl.new/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon	2010-02-03 22:54:37.000000000 +0100
@@ -1,5 +1,5 @@
---- ./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
+--- ./examples/data/scripts/uzbl-cookie-daemon.orig	2010-01-05 20:17:29.000000000 +0100
++++ ./examples/data/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)
  
diff -ru uzbl/files/patch-uzbl-core.c uzbl.new/files/patch-uzbl-core.c
--- uzbl/files/patch-uzbl-core.c	2010-01-08 11:02:36.000000000 +0100
+++ uzbl.new/files/patch-uzbl-core.c	2010-02-03 22:54:37.000000000 +0100
@@ -1,5 +1,5 @@
---- uzbl-core.c.orig	2010-01-05 20:17:29.000000000 +0100
-+++ uzbl-core.c	2010-01-08 10:13:45.000000000 +0100
+--- src/uzbl-core.c.orig	2010-01-05 20:17:29.000000000 +0100
++++ src/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.
   */
diff -ru uzbl/pkg-plist uzbl.new/pkg-plist
--- uzbl/pkg-plist	2010-01-08 11:02:35.000000000 +0100
+++ uzbl.new/pkg-plist	2010-02-14 01:56:57.000000000 +0100
@@ -3,60 +3,3 @@
 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%%
--- uzbl.patch ends here ---
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-03-01 23:54:18 UTC
sylvio      2010-03-01 23:53:58 UTC

  FreeBSD ports repository

  Modified files:
    www/uzbl             Makefile distinfo pkg-plist 
    www/uzbl/files       
                         patch-examples__data__uzbl__scripts__uzbl-cookie-daemon 
                         patch-uzbl-core.c 
  Log:
  - Update to 2010.02.02
  
  PR:             ports/143540
  Submitted by:   Klaus T. Aehlig <aehilig@linta.de> (maintainer)
  Approved by:    itetcu (mentor)
  Feature safe:   yes
  
  Revision  Changes    Path
  1.3       +39 -24    ports/www/uzbl/Makefile
  1.2       +3 -3      ports/www/uzbl/distinfo
  1.2       +2 -2      ports/www/uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon
  1.2       +2 -2      ports/www/uzbl/files/patch-uzbl-core.c
  1.2       +0 -57     ports/www/uzbl/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-03-01 23:54:32 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!