Date: Tue, 23 Oct 2012 19:36:25 +0200 From: Olivier Cochard-Labbe <olivier@cochard.me> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172991: new port: x11/deforaos-Panel (5/15) Message-ID: <5086d59b.475fb40a.5e7e.ffffc2cb@mx.google.com> Resent-Message-ID: <201210231740.q9NHe1Ii009971@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172991 >Category: ports >Synopsis: new port: x11/deforaos-Panel (5/15) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 23 17:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: FreeBSD 9.1-RC2 amd64 >Organization: >Environment: System: FreeBSD laptop.bsdrp.net 9.1-RC2 FreeBSD 9.1-RC2 #0 r241106: Mon Oct 1 18:26:44 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This is the menu pannel of deforaos desktop (5/15) >How-To-Repeat: >Fix: --- deforaos-Panel.shar.txt 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: # # x11/deforaos-Panel # x11/deforaos-Panel/Makefile # x11/deforaos-Panel/distinfo # x11/deforaos-Panel/pkg-plist # x11/deforaos-Panel/pkg-descr # x11/deforaos-Panel/files # x11/deforaos-Panel/files/patch-panel_desktop_exec.diff # x11/deforaos-Panel/pkg-message # echo c - x11/deforaos-Panel mkdir -p x11/deforaos-Panel > /dev/null 2>&1 echo x - x11/deforaos-Panel/Makefile sed 's/^X//' >x11/deforaos-Panel/Makefile << '0b6cb6002d21a58464abb83c89548c46' X# New ports collection makefile for: deforaos-Panel X# Date created: 10 Oct Jun 2012 X# Whom: Olivier Cochard-Labbe <olivier@cochard.me> X# X# $FreeBSD$ X XPORTNAME= deforaos-Panel XPORTVERSION= 0.2.15 XCATEGORIES= x11 XMASTER_SITES= http://www.defora.org/os/download/download/3706/ XDISTNAME= Panel-${PORTVERSION} X XMAINTAINER= olivier@cochard.me XCOMMENT= DeforaOS desktop panel X XLICENSE= GPLv3 X XLIB_DEPENDS= System:${PORTSDIR}/devel/deforaos-libSystem \ X Desktop:${PORTSDIR}/x11/deforaos-libDesktop XBUILD_DEPENDS= browser:${PORTSDIR}/x11/deforaos-Browser XRUN_DEPENDS= keyboard:${PORTSDIR}/x11/deforaos-Keyboard \ X ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme \ X sudo:${PORTSDIR}/security/sudo X XUSE_GNOME= gtk20 desktopfileutils XUSE_PKGCONFIG= build XUSE_GETTEXT= yes XINSTALLS_ICONS= yes X Xpost-patch: X ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ X ${WRKSRC}/data/pkgconfig.sh X ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ X ${WRKSRC}/src/panel.c X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> 0b6cb6002d21a58464abb83c89548c46 echo x - x11/deforaos-Panel/distinfo sed 's/^X//' >x11/deforaos-Panel/distinfo << 'fc99836e25ae1cf3706efe47d05d3d3d' XSHA256 (Panel-0.2.15.tar.gz) = 6830d3fb74b9a3ebbecf0e96e64bda5c87a1ad24c6c7d24d1b92751dd558c37c XSIZE (Panel-0.2.15.tar.gz) = 109232 fc99836e25ae1cf3706efe47d05d3d3d echo x - x11/deforaos-Panel/pkg-plist sed 's/^X//' >x11/deforaos-Panel/pkg-plist << '31e23ab7db745403f58bb0185fcf11e4' Xbin/panel Xbin/panel-notify Xbin/panelctl Xbin/run Xinclude/Desktop/Panel.h Xlib/Panel/applets/battery.so Xlib/Panel/applets/bluetooth.so Xlib/Panel/applets/clock.so Xlib/Panel/applets/close.so Xlib/Panel/applets/cpu.so Xlib/Panel/applets/cpufreq.so Xlib/Panel/applets/desktop.so Xlib/Panel/applets/gps.so Xlib/Panel/applets/gsm.so Xlib/Panel/applets/keyboard.so Xlib/Panel/applets/lock.so Xlib/Panel/applets/logout.so Xlib/Panel/applets/main.so Xlib/Panel/applets/memory.so Xlib/Panel/applets/mixer.so Xlib/Panel/applets/pager.so Xlib/Panel/applets/phone.so Xlib/Panel/applets/rotate.so Xlib/Panel/applets/separator.so Xlib/Panel/applets/spacer.so Xlib/Panel/applets/swap.so Xlib/Panel/applets/systray.so Xlib/Panel/applets/tasks.so Xlib/Panel/applets/title.so Xlib/Panel/applets/usb.so Xlib/Panel/applets/volume.so Xlib/Panel/applets/wpa_supplicant.so Xlibdata/pkgconfig/Panel.pc Xshare/applications/panel-settings.desktop Xshare/icons/hicolor/16x16/apps/panel-applet-bluetooth.png Xshare/icons/hicolor/16x16/apps/panel-applet-desktop.png Xshare/icons/hicolor/16x16/apps/panel-applet-usb.png Xshare/icons/hicolor/16x16/apps/panel-settings.png Xshare/icons/hicolor/22x22/apps/panel-applet-bluetooth.png Xshare/icons/hicolor/22x22/apps/panel-applet-desktop.png Xshare/icons/hicolor/22x22/apps/panel-settings.png Xshare/icons/hicolor/24x24/apps/panel-applet-bluetooth.png Xshare/icons/hicolor/24x24/apps/panel-applet-desktop.png Xshare/icons/hicolor/24x24/apps/panel-applet-usb.png Xshare/icons/hicolor/24x24/apps/panel-settings.png Xshare/icons/hicolor/32x32/apps/panel-applet-bluetooth.png Xshare/icons/hicolor/32x32/apps/panel-applet-desktop.png Xshare/icons/hicolor/32x32/apps/panel-settings.png Xshare/icons/hicolor/48x48/apps/panel-applet-bluetooth.png Xshare/icons/hicolor/48x48/apps/panel-applet-desktop.png Xshare/icons/hicolor/48x48/apps/panel-settings.png Xshare/icons/hicolor/scalable/apps/panel-applet-bluetooth.svg Xshare/locale/fr/LC_MESSAGES/Panel.mo X@dirrm lib/Panel/applets X@dirrm lib/Panel 31e23ab7db745403f58bb0185fcf11e4 echo x - x11/deforaos-Panel/pkg-descr sed 's/^X//' >x11/deforaos-Panel/pkg-descr << '87c4d341ca6aac09aa1990863a3c4fb8' XDeforaOS desktop panel X XWWW: http://www.defora.org/ 87c4d341ca6aac09aa1990863a3c4fb8 echo c - x11/deforaos-Panel/files mkdir -p x11/deforaos-Panel/files > /dev/null 2>&1 echo x - x11/deforaos-Panel/files/patch-panel_desktop_exec.diff sed 's/^X//' >x11/deforaos-Panel/files/patch-panel_desktop_exec.diff << '5d64922a3201d9b0812955a7006259b4' XIndex: src/applets/main.c X=================================================================== XRCS file: /home/cvs/DeforaOS/Apps/Desktop/src/Panel/src/applets/main.c,v Xretrieving revision 1.36 Xdiff -p -u -r1.36 main.c X--- src/applets/main.c 21 Mar 2012 21:07:42 -0000 1.36 X+++ src/applets/main.c 23 Oct 2012 09:08:40 -0000 X@@ -209,14 +209,21 @@ static GtkWidget * _main_applications(Ma X X static void _applications_on_activate(gpointer data) X { X- char const * program = data; X+ char * program = data; X+ char * p; X X if(program == NULL) X return; X+ if((program = strdup(program)) == NULL) X+ return; /* XXX report error */ X+ /* XXX crude way to ignore %f, %F, %u and %U */ X+ if((p = strchr(program, '%')) != NULL) X+ *p = '\0'; X #ifdef DEBUG X fprintf(stderr, "DEBUG: %s() \"%s\"", __func__, program); X #endif X g_spawn_command_line_async(program, NULL); X+ free(program); X } X X static void _applications_categories(GtkWidget * menu, GtkWidget ** menus) 5d64922a3201d9b0812955a7006259b4 echo x - x11/deforaos-Panel/pkg-message sed 's/^X//' >x11/deforaos-Panel/pkg-message << 'ebd8a03922efa07e3bf5aa6be0931ff7' X====================================================== XNote regarding the suspend feature : X XYour user need sudo right for executing /usr/sbin/zzz X====================================================== ebd8a03922efa07e3bf5aa6be0931ff7 exit --- deforaos-Panel.shar.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5086d59b.475fb40a.5e7e.ffffc2cb>