pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46605: multimedia/gmplayer



>Number:         46605
>Category:       pkg
>Synopsis:       multimedia/gmplayer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 16 11:15:00 +0000 2012
>Originator:     Ryosuke Moro
>Release:        
>Organization:
>Environment:
NetBSD p_1.s.local 6.99.7 NetBSD 6.99.7 (amnesia) #10: Sun Jun 10 07:22:53 JST 
2012 szptvlfn@p_1.s.local:/usr/obj/sys/arch/i386/compile/amnesia i386

>Description:
Icon 'mplayer' (size 16) not found or unsupported format.
Icon 'mplayer' (size 32) not found or unsupported format.
Icon 'mplayer' (size 48) not found or unsupported format.
Skin file /usr/pkg/share/mplayer/skins/default/skin not found.
Skin 'default' not found.

Exiting... (Fatal error)

>How-To-Repeat:
run gmplayer
>Fix:
Apply this patch in pkgsrc/multimedia/gmplayer to fix 
"Skin file /usr/pkg/share/mplayer/skins/default/skin not found.".


Index: Makefile
# diff -u Makefile Makefile.fixed
--- Makefile    2012-06-16 19:47:55.000000000 +0900
+++ Makefile.fixed      2012-06-16 19:10:17.000000000 +0900
@@ -67,17 +67,17 @@
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin/gmplayer
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mplayer/Skin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mplayer/skins
 .for skin in ${SKINS}
        @${ECHO_MSG} "Installing skin ${skin}..."
        ${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${skin} |    \
-         ${GTAR} xCmf ${DESTDIR}${PREFIX}/share/mplayer/Skin -
+         ${GTAR} xCmf ${DESTDIR}${PREFIX}/share/mplayer/skins -
 .endfor
-       ${CHMOD} -R a+rX ${DESTDIR}${PREFIX}/share/mplayer/Skin
-       ${RM} -f ${DESTDIR}${PREFIX}/share/mplayer/Skin/default
-       ${LN} -s Blue ${DESTDIR}${PREFIX}/share/mplayer/Skin/default
-       ${RM} -rf ${DESTDIR}${PREFIX}/share/mplayer/Skin/Blue/.svn
-       ${RM} -rf ${DESTDIR}${PREFIX}/share/mplayer/Skin/Blue/icons/.svn
+       ${CHMOD} -R a+rX ${DESTDIR}${PREFIX}/share/mplayer/skins
+       ${RM} -f ${DESTDIR}${PREFIX}/share/mplayer/skins/default
+       ${LN} -s Blue ${DESTDIR}${PREFIX}/share/mplayer/skins/default
+       ${RM} -rf ${DESTDIR}${PREFIX}/share/mplayer/skins/Blue/.svn
+       ${RM} -rf ${DESTDIR}${PREFIX}/share/mplayer/skins/Blue/icons/.svn
 
 .include "../../x11/libXScrnSaver/buildlink3.mk"
 .include "../../multimedia/libdvdnav/buildlink3.mk"

Index: PLIST
Use vim
:%s/Skin/skins/g



Home | Main Index | Thread Index | Old Index