From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 4 22:00:25 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D37E106564A for ; Thu, 4 Oct 2012 22:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5A28FC18 for ; Thu, 4 Oct 2012 22:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q94M0ONt023571 for ; Thu, 4 Oct 2012 22:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q94M0OE9023570; Thu, 4 Oct 2012 22:00:24 GMT (envelope-from gnats) Resent-Date: Thu, 4 Oct 2012 22:00:24 GMT Resent-Message-Id: <201210042200.q94M0OE9023570@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3476E106566B for ; Thu, 4 Oct 2012 21:51:46 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 546A68FC18 for ; Thu, 4 Oct 2012 21:51:44 +0000 (UTC) Received: (qmail invoked by alias); 04 Oct 2012 21:51:36 -0000 Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201] by mail.gmx.net (mp036) with SMTP; 04 Oct 2012 23:51:36 +0200 Received: by something.email.com (sSMTP sendmail emulation); Thu, 04 Oct 2012 23:51:35 +0200 Message-Id: <20121004215146.3476E106566B@hub.freebsd.org> Date: Thu, 04 Oct 2012 23:51:35 +0200 From: nemysis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jgh@FreeBSD.org Subject: ports/172336: [MAINTAINER] multimedia/gtk-youtube-viewer: update to 3.0.2, Makefile changed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 22:00:25 -0000 >Number: 172336 >Category: ports >Synopsis: [MAINTAINER] multimedia/gtk-youtube-viewer: update to 3.0.2, Makefile changed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Oct 04 22:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: - Update to 3.0.2 Makefile changed - Added Categorie perl5 +CATEGORIES= multimedia perl5 - Changed MASTER_SITES +MASTER_SITES= GITHUB - Added dependencies + p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \ + p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ - Changed PLIST PLIST_FILES PLIST_DIRSTRY - Added post-extract +post-extract: + @(cd ${WRKSRC}/WWW-YoutubeViewer && ${MV} * ..) - Added CONFLICTS +CONFLICTS= youtube-viewer-[0-9]* - Rework do-install, post-install, post-patch do-install: +post-install: post-patch: + @(cd ${WRKSRC}/bin && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" \ + -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer youtube-viewer) - Removed all comments - Added in pkg-descr WWW +WWW: https://github.com/trizen/youtube-viewer/ Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) >How-To-Repeat: portlint -A WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy. 0 fatal errors and 1 warning found. port test: clean Build log RedPorts https://redports.org/buildarchive/20121004081840-5328/ >Fix: --- gtk-youtube-viewer-3.0.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/Makefile ./Makefile --- /usr/ports/multimedia/gtk-youtube-viewer/Makefile 2012-09-23 17:14:54.000000000 +0200 +++ ./Makefile 2012-10-04 10:13:58.000000000 +0200 @@ -6,10 +6,9 @@ # PORTNAME= gtk-youtube-viewer -PORTVERSION= 2.0.5 -CATEGORIES= multimedia -MASTER_SITES= GOOGLE_CODE -PROJECTHOST= trizen +PORTVERSION= 3.0.2 +CATEGORIES= multimedia perl5 +MASTER_SITES= GITHUB MAINTAINER= nemysis@gmx.ch COMMENT= GTK Search and play YouTube videos streaming in MPlayer @@ -21,46 +20,60 @@ p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor \ p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \ + p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \ + p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ mplayer:${PORTSDIR}/multimedia/mplayer -OPTIONS_DEFINE= GCAP -GCAP_DESC= GCAP support +USE_GITHUB= yes +GH_ACCOUNT= trizen +GH_PROJECT= youtube-viewer +GH_TAGNAME= master +GH_COMMIT= 99bf00c -WRKSRC= ${WRKDIR}/${PORTNAME}/src +WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}/ USE_PERL5_RUN= yes NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.png \ - share/applications/${PORTNAME}.desktop -PLIST_DIRSTRY= share/applications + %%SITE_PERL%%/WWW/YoutubeViewer.pm \ + share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.png +PLIST_DIRSTRY= share/applications \ + %%SITE_PERL%%/WWW PORTDATA= * +CONFLICTS= youtube-viewer-[0-9]* + +OPTIONS_DEFINE= GCAP +GCAP_DESC= GCAP support + .include .if ${PORT_OPTIONS:MGCAP} RUN_DEPENDS+= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap .endif +post-extract: + @(cd ${WRKSRC}/WWW-YoutubeViewer && ${MV} * ..) + post-patch: - @(cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" gtk-youtube-viewer.pl \ - youtube-viewer && ${REINPLACE_CMD} -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer) + @(cd ${WRKSRC}/bin && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" \ + -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer youtube-viewer) + ${MKDIR} ${PREFIX}/${SITE_PERL_REL}/WWW + ${INSTALL_DATA} ${WRKSRC}/lib/WWW/YoutubeViewer.pm ${PREFIX}/${SITE_PERL_REL}/WWW/ ${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/youtube-viewer ${DATADIR} - -# Data - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "icons lib" ${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pl ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/youtube-viewer ${DATADIR} -# Pixmaps and Desktop - ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ +post-install: + @(cd ${WRKSRC}/share && ${COPYTREE_SHARE} "gtk-youtube-viewer-icons icons" ${DATADIR}) + ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.glade ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/share/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ ${MKDIR} ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.desktop ${PREFIX}/share/applications/ .include diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/distinfo ./distinfo --- /usr/ports/multimedia/gtk-youtube-viewer/distinfo 2012-08-24 23:15:59.000000000 +0200 +++ ./distinfo 2012-10-04 10:10:28.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (gtk-youtube-viewer-2.0.5.tar.gz) = 28cce3956d58659849db451e9d016e426577bfd8791000678f87ac8929c6def0 -SIZE (gtk-youtube-viewer-2.0.5.tar.gz) = 165777 +SHA256 (gtk-youtube-viewer-3.0.2.tar.gz) = 5f51240c08c736ad7899eb909aab9474cde68bc56e68a9a9d20a4d94ac67d4a0 +SIZE (gtk-youtube-viewer-3.0.2.tar.gz) = 103814 diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/pkg-descr ./pkg-descr --- /usr/ports/multimedia/gtk-youtube-viewer/pkg-descr 2012-09-23 17:14:54.000000000 +0200 +++ ./pkg-descr 2012-10-04 00:02:12.000000000 +0200 @@ -2,3 +2,4 @@ Linux application which is dedicated to streaming Youtube Videos with MPlayer. WWW: https://code.google.com/p/trizen/ +WWW: https://github.com/trizen/youtube-viewer/ --- gtk-youtube-viewer-3.0.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: