Date: Tue, 6 Jan 2004 14:55:57 +0100 From: "Franz Klammer" <klammer@webonaut.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60979: [NEW PORT] deskutils/gdesklets-sensor-displayconstraints-0.1.0 Message-ID: <1073397347@ds9.webonaut.com> Resent-Message-ID: <200401061400.i06E0WFG046594@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60979 >Category: ports >Synopsis: [NEW PORT] deskutils/gdesklets-sensor-displayconstraints-0.1.0 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 06 06:00:32 PST 2004 >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 #4: Tue Jan 6 00:09:47 CET 2004 root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386 >Description: A sensor that allows a user to set maximum constraints on a display. The display will then not grow larger then the maximum values specified. Currently only display 'Width' and 'Height' are supported. >How-To-Repeat: >Fix: --- gdesklets-sensor-displayconstraints.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-sensor-displayconstraints # gdesklets-sensor-displayconstraints/Makefile # gdesklets-sensor-displayconstraints/distinfo # gdesklets-sensor-displayconstraints/pkg-descr # gdesklets-sensor-displayconstraints/pkg-message # gdesklets-sensor-displayconstraints/pkg-plist # gdesklets-sensor-displayconstraints/files # gdesklets-sensor-displayconstraints/files/patch-Install_DisplayConstraints_Sensor.bin # echo c - gdesklets-sensor-displayconstraints mkdir -p gdesklets-sensor-displayconstraints > /dev/null 2>&1 echo x - gdesklets-sensor-displayconstraints/Makefile sed 's/^X//' >gdesklets-sensor-displayconstraints/Makefile << 'END-of-gdesklets-sensor-displayconstraints/Makefile' X# New ports collection makefile for: gdesklets-displayconstraints X# Date created: 06 January 2004 X# Whom: Franz Klammer <klammer@webonaut.com> X# X# $FreeBSD:$ X# X XPORTNAME= displayconstraints XPORTVERSION= 0.1.0 XCATEGORIES= deskutils gnome XMASTER_SITES= http://gdesklets.gnomedesktop.org/files/ XPKGNAMEPREFIX= gdesklets-sensor- XDISTNAME= displayconstraints-${PORTVERSION} X XMAINTAINER= klammer@webonaut.com XCOMMENT= This Sensor allows a user to set maximum constraints on a display X XRUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets X XWRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION} X XUSE_BZIP2= yes XUSE_X_PREFIX= yes XUSE_PYTHON= yes XNAME= DisplayConstraints X Xdo-build: X @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} X @${FIND} ${WRKSRC} -name '*.orig' -delete X Xdo-install: X @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME} X ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py \ X ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ X ${INSTALL_DATA} ${WRKSRC}/${NAME}/README \ X ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ X @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ X ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ X @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ X ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-gdesklets-sensor-displayconstraints/Makefile echo x - gdesklets-sensor-displayconstraints/distinfo sed 's/^X//' >gdesklets-sensor-displayconstraints/distinfo << 'END-of-gdesklets-sensor-displayconstraints/distinfo' XMD5 (displayconstraints-0.1.0.tar.bz2) = a36a563797dfd8c8f112323300661d02 END-of-gdesklets-sensor-displayconstraints/distinfo echo x - gdesklets-sensor-displayconstraints/pkg-descr sed 's/^X//' >gdesklets-sensor-displayconstraints/pkg-descr << 'END-of-gdesklets-sensor-displayconstraints/pkg-descr' XThis sensor allows a user to set maximum constraints on a display. X XThe display will then not grow larger then the maximum values specified. X XCurrently only display 'Width' and 'Height' are supported. X XWWW: http://gdesklets.gnomedesktop.org/ END-of-gdesklets-sensor-displayconstraints/pkg-descr echo x - gdesklets-sensor-displayconstraints/pkg-message sed 's/^X//' >gdesklets-sensor-displayconstraints/pkg-message << 'END-of-gdesklets-sensor-displayconstraints/pkg-message' X## XTo view the README: X X cat ${PREFIX}/share/gnome/gdesklets/Sensors/DisplayConstraints/README 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## END-of-gdesklets-sensor-displayconstraints/pkg-message echo x - gdesklets-sensor-displayconstraints/pkg-plist sed 's/^X//' >gdesklets-sensor-displayconstraints/pkg-plist << 'END-of-gdesklets-sensor-displayconstraints/pkg-plist' Xshare/gnome/gdesklets/Sensors/DisplayConstraints/__init__.py Xshare/gnome/gdesklets/Sensors/DisplayConstraints/__init__.pyc Xshare/gnome/gdesklets/Sensors/DisplayConstraints/__init__.pyo Xshare/gnome/gdesklets/Sensors/DisplayConstraints/README X@dirrm share/gnome/gdesklets/Sensors/DisplayConstraints/ END-of-gdesklets-sensor-displayconstraints/pkg-plist echo c - gdesklets-sensor-displayconstraints/files mkdir -p gdesklets-sensor-displayconstraints/files > /dev/null 2>&1 echo x - gdesklets-sensor-displayconstraints/files/patch-Install_DisplayConstraints_Sensor.bin sed 's/^X//' >gdesklets-sensor-displayconstraints/files/patch-Install_DisplayConstraints_Sensor.bin << 'END-of-patch-Install_DisplayConstraints_Sensor.bin' X--- Install_DisplayConstraints_Sensor.bin.orig Sun Sep 14 22:03:43 2003 X+++ Install_DisplayConstraints_Sensor.bin Tue Jan 6 14:08:22 2004 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-patch-Install_DisplayConstraints_Sensor.bin exit --- gdesklets-sensor-displayconstraints.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1073397347>