ports/171819: [MAINTAINER] multimedia/gtk-youtube-viewer: Makefile changed, Port require always DATA, fixed missing
nemysis
nemysis at gmx.ch
Thu Sep 20 18:40:05 UTC 2012
>Number: 171819
>Category: ports
>Synopsis: [MAINTAINER] multimedia/gtk-youtube-viewer: Makefile changed, Port require always DATA, fixed missing
>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 Sep 20 18:40:04 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:
Makefile changed:
Port require always DATA
-.if ${PORT_OPTIONS:MDATA}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "icons lib" ${DATADIR})
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pl ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${DATADIR}
-.endif
Added missing directory
+ ${MKDIR} ${PREFIX}/share/applications
Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, 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.
Build log RedPorts
https://redports.org/buildarchive/20120920133509-46693/
>Fix:
--- gtk-youtube-viewer-2.0.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/Makefile ./Makefile
--- /usr/ports/multimedia/gtk-youtube-viewer/Makefile 2012-08-24 23:15:59.000000000 +0200
+++ ./Makefile 2012-09-20 14:09:32.000000000 +0200
@@ -9,6 +9,7 @@
PORTVERSION= 2.0.5
CATEGORIES= multimedia
MASTER_SITES= GOOGLE_CODE
+PROJECTHOST= trizen
MAINTAINER= nemysis at gmx.ch
COMMENT= GTK Search and play YouTube videos streaming in MPlayer
@@ -22,15 +23,13 @@
p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \
mplayer:${PORTSDIR}/multimedia/mplayer
-OPTIONS_DEFINE= DATA GCAP
+OPTIONS_DEFINE= GCAP
GCAP_DESC= GCAP support
-OPTIONS_DEFAULT= DATA
WRKSRC= ${WRKDIR}/${PORTNAME}/src
USE_PERL5_RUN= yes
NO_BUILD= yes
-PROJECTHOST= trizen
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png \
@@ -55,14 +54,13 @@
${INSTALL_SCRIPT} ${WRKSRC}/youtube-viewer ${DATADIR}
# Data
-.if ${PORT_OPTIONS:MDATA}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "icons lib" ${DATADIR})
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pl ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${DATADIR}
-.endif
# Pixmaps and Desktop
${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/pkg-descr ./pkg-descr
--- /usr/ports/multimedia/gtk-youtube-viewer/pkg-descr 2012-08-24 23:15:59.000000000 +0200
+++ ./pkg-descr 2012-09-20 14:11:07.000000000 +0200
@@ -1,4 +1,4 @@
GTK Youtube Viewer is created to be a flexible and reliable open-source
-Linux application which is dedicated to streaming Youtube Videos with MPlayer.
+Linux application which is dedicated to streaming Youtube Videos with MPlayer.
WWW: https://code.google.com/p/trizen/
--- gtk-youtube-viewer-2.0.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list