ports/60514: NEW PORT: audio/gdesklets-cornerxmms-0.0.5
"Franz Klammer" <Franz Klammer
klammer at webonaut.com
Mon Dec 22 19:50:28 UTC 2003
>Number: 60514
>Category: ports
>Synopsis: NEW PORT: audio/gdesklets-cornerxmms-0.0.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 22 11:50:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Franz Klammer
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ds9.webonaut.com 5.2-CURRENT FreeBSD 5.2-CURRENT #15: Fri Dec 19 16:21:25 CET 2003 root at ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386
>Description:
NEW PORT: audio/gdesklets-cornerxmms-0.0.5
A fancy desklet that allows you to control XMMS from the desktop.
>How-To-Repeat:
>Fix:
--- gdesklets-cornerxmms.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gdesklets-cornerxmms
# gdesklets-cornerxmms/files
# gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin
# gdesklets-cornerxmms/Makefile
# gdesklets-cornerxmms/distinfo
# gdesklets-cornerxmms/pkg-descr
# gdesklets-cornerxmms/pkg-message
# gdesklets-cornerxmms/pkg-plist
#
echo c - gdesklets-cornerxmms
mkdir -p gdesklets-cornerxmms > /dev/null 2>&1
echo c - gdesklets-cornerxmms/files
mkdir -p gdesklets-cornerxmms/files > /dev/null 2>&1
echo x - gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin
sed 's/^X//' >gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin << 'END-of-gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin'
X--- Install_CornerXMMS_Sensor.bin.orig Mon Dec 22 20:12:09 2003
X+++ Install_CornerXMMS_Sensor.bin Mon Dec 22 20:13:06 2003
X@@ -75,15 +75,9 @@
X else:
X cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
X "LANG=C tar -xzvf %(tmp)s 2>&1"
X- fail, out = commands.getstatusoutput(cmd % vars())
X+ commands.getstatusoutput(cmd % vars())
X os.unlink(tmp)
X
X- if (fail):
X- if (no_message): print ERROR_TAR + out
X- else: message(ERROR_TAR + out, "error")
X- sys.exit(1)
X-
X- print out
X if (not list_only):
X if (no_message): print SUCCESS
X else: message(SUCCESS, "info")
END-of-gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin
echo x - gdesklets-cornerxmms/Makefile
sed 's/^X//' >gdesklets-cornerxmms/Makefile << 'END-of-gdesklets-cornerxmms/Makefile'
X# New ports collection makefile for: gdesklets-cornerxmms
X# Date created: 22 December 2003
X# Whom: Franz Klammer <klammer at webonaut.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cornerxmms
XPORTVERSION= 0.0.5
XCATEGORIES= audio gnome
XMASTER_SITES= http://gdesklets.gnomedesktop.org/files/
XPKGNAMEPREFIX= gdesklets-
XDISTNAME= CornerXMMS-${PORTVERSION}
X
XMAINTAINER= klammer at webonaut.com
XCOMMENT= A fancy desklet that allows you to control XMMS from the desktop
X
XRUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
X ${PYTHON_SITELIBDIR}/xmms/__init__.py:${PORTSDIR}/audio/py-xmms
X
XUSE_BZIP2= yes
XUSE_PYTHON= yes
XUSE_X_PREFIX= yes
X
XNAME= CornerXMMS
XDATADIR= ${PREFIX}/share/gnome
XWRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION}
X
Xdo-build:
X @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
X @${FIND} ${WRKSRC} -name '*.orig' -delete
X
Xdo-install:
X @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
X @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}
X @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
X @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
X @${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Sensors/${NAME}/
X @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
X @${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
X
Xpost-install:
X @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-gdesklets-cornerxmms/Makefile
echo x - gdesklets-cornerxmms/distinfo
sed 's/^X//' >gdesklets-cornerxmms/distinfo << 'END-of-gdesklets-cornerxmms/distinfo'
XMD5 (CornerXMMS-0.0.5.tar.bz2) = 2714260a2a82005a814db703cf2ea854
END-of-gdesklets-cornerxmms/distinfo
echo x - gdesklets-cornerxmms/pkg-descr
sed 's/^X//' >gdesklets-cornerxmms/pkg-descr << 'END-of-gdesklets-cornerxmms/pkg-descr'
XA fancy desklet that allows you to control XMMS from the desktop.
X
XWWW: http://gdesklets.gnomedesktop.org/
END-of-gdesklets-cornerxmms/pkg-descr
echo x - gdesklets-cornerxmms/pkg-message
sed 's/^X//' >gdesklets-cornerxmms/pkg-message << 'END-of-gdesklets-cornerxmms/pkg-message'
X##
XTo view the README:
X
X cat ${PREFIX}/share/gnome/gdesklets/Sensors/CornerXMMS/README
X
XTo view the installed Displays:
X
X ls ${PREFIX}/share/gnome/gdesklets/Displays
X
XTo use those desklet:
X
X gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/CornerXMMS/cornerxmms-bottomright.display
X
XNOTE: Be sure to login as your user when you use the gdesklets command,
X as the configuration will be stored in the ~/.gdesklets/ directory
X and/or gconf database.
X##
END-of-gdesklets-cornerxmms/pkg-message
echo x - gdesklets-cornerxmms/pkg-plist
sed 's/^X//' >gdesklets-cornerxmms/pkg-plist << 'END-of-gdesklets-cornerxmms/pkg-plist'
Xshare/gnome/gdesklets/Displays/CornerXMMS/cornerxmms-bottomright.display
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/bar0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/bar1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/body-br.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/bot-br0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/eject0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/eq0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/eq1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/gauge.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/ml0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/ml1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/next0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/pause0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/pause1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/pl0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/pl1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/play0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/play1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/prev0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/rep0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/rep1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/rnd0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/rnd1.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/stop0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/textmask-br0.png
Xshare/gnome/gdesklets/Displays/CornerXMMS/gfx/textmask-br1.png
Xshare/gnome/gdesklets/Sensors/CornerXMMS/__init__.py
Xshare/gnome/gdesklets/Sensors/CornerXMMS/__init__.pyc
Xshare/gnome/gdesklets/Sensors/CornerXMMS/__init__.pyo
Xshare/gnome/gdesklets/Sensors/CornerXMMS/README
X at dirrm share/gnome/gdesklets/Sensors/CornerXMMS
X at dirrm share/gnome/gdesklets/Displays/CornerXMMS/gfx
X at dirrm share/gnome/gdesklets/Displays/CornerXMMS
END-of-gdesklets-cornerxmms/pkg-plist
exit
--- gdesklets-cornerxmms.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list