Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 11:48:33 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309232 - in head/x11: . deforaos-panel deforaos-panel/files
Message-ID:  <201212191148.qBJBmXhb085393@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Dec 19 11:48:33 2012
New Revision: 309232
URL: http://svnweb.freebsd.org/changeset/ports/309232

Log:
  DeforaOS Desktop panel
  
  PR:		ports/172991
  Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me>

Added:
  head/x11/deforaos-panel/
  head/x11/deforaos-panel/Makefile   (contents, props changed)
  head/x11/deforaos-panel/distinfo   (contents, props changed)
  head/x11/deforaos-panel/files/
  head/x11/deforaos-panel/files/patch-doc__Makefile   (contents, props changed)
  head/x11/deforaos-panel/files/patch-panel_desktop_exec.diff   (contents, props changed)
  head/x11/deforaos-panel/pkg-descr   (contents, props changed)
  head/x11/deforaos-panel/pkg-message   (contents, props changed)
  head/x11/deforaos-panel/pkg-plist   (contents, props changed)
Modified:
  head/x11/Makefile

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Wed Dec 19 10:04:35 2012	(r309231)
+++ head/x11/Makefile	Wed Dec 19 11:48:33 2012	(r309232)
@@ -31,8 +31,9 @@
     SUBDIR += compositeproto
     SUBDIR += damageproto
     SUBDIR += decurs
-    SUBDIR += deforaos-libdesktop
     SUBDIR += deforaos-keyboard
+    SUBDIR += deforaos-libdesktop
+    SUBDIR += deforaos-panel
     SUBDIR += deskmenu
     SUBDIR += deskpaint
     SUBDIR += dgs

Added: head/x11/deforaos-panel/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/Makefile	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,47 @@
+# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
+# $FreeBSD$
+
+PORTNAME=	deforaos-panel
+PORTVERSION=	0.2.15
+CATEGORIES=	x11
+MASTER_SITES=	http://www.defora.org/os/download/download/3706/
+DISTNAME=	Panel-${PORTVERSION}
+
+MAINTAINER=	olivier@cochard.me
+COMMENT=	DeforaOS desktop panel
+
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	System:${PORTSDIR}/devel/deforaos-libsystem \
+		Desktop:${PORTSDIR}/x11/deforaos-libdesktop
+BUILD_DEPENDS=	browser:${PORTSDIR}/x11-fm/deforaos-browser \
+		${LOCALBASE}/include/Desktop/Keyboard.h:${PORTSDIR}/x11/deforaos-keyboard \
+		xsltproc:${PORTSDIR}/textproc/libxslt \
+		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
+RUN_DEPENDS=	keyboard:${PORTSDIR}/x11/deforaos-keyboard \
+		${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme \
+		sudo:${PORTSDIR}/security/sudo
+
+USE_GNOME=	gtk20 desktopfileutils
+USE_PKGCONFIG=	build
+USE_GETTEXT=	yes
+INSTALLS_ICONS=	yes
+
+MAKE_ENV+=	MANDIR=${MANPREFIX}/man
+
+MAN1=	panel-embed.1 \
+	panel-message.1 \
+	panel-notify.1 \
+	panel.1 \
+	panelctl.1
+
+post-patch:
+	${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
+		${WRKSRC}/data/pkgconfig.sh
+	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \
+		${WRKSRC}/src/panel.c
+
+post-install:
+	@${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>

Added: head/x11/deforaos-panel/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/distinfo	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,2 @@
+SHA256 (Panel-0.2.15.tar.gz) = 6830d3fb74b9a3ebbecf0e96e64bda5c87a1ad24c6c7d24d1b92751dd558c37c
+SIZE (Panel-0.2.15.tar.gz) = 109232

Added: head/x11/deforaos-panel/files/patch-doc__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/files/patch-doc__Makefile	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,24 @@
+--- ./doc/Makefile.orig	2012-10-14 19:00:31.000000000 +0200
++++ ./doc/Makefile	2012-12-19 03:18:41.829739209 +0100
+@@ -1,4 +1,4 @@
+-TARGETS	= panel.1 panel.html panelctl.1 panelctl.html panel-embed.1 panel-embed.html panel-message.1 panel-message.html panel-notify.1 panel-notify.html
++TARGETS	= panel.1 panelctl.1 panel-embed.1 panel-message.1 panel-notify.1
+ PREFIX	= /usr/local
+ DESTDIR	=
+ RM	?= rm -f
+@@ -47,15 +47,10 @@
+ 
+ install: $(TARGETS)
+ 	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel.1"
+-	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel.html"
+ 	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panelctl.1"
+-	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panelctl.html"
+ 	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel-embed.1"
+-	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel-embed.html"
+ 	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel-message.1"
+-	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel-message.html"
+ 	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel-notify.1"
+-	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "panel-notify.html"
+ 
+ uninstall:
+ 	./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "panel.1"

Added: head/x11/deforaos-panel/files/patch-panel_desktop_exec.diff
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/files/patch-panel_desktop_exec.diff	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,30 @@
+Index: src/applets/main.c
+===================================================================
+RCS file: /home/cvs/DeforaOS/Apps/Desktop/src/Panel/src/applets/main.c,v
+retrieving revision 1.36
+diff -p -u -r1.36 main.c
+--- src/applets/main.c	21 Mar 2012 21:07:42 -0000	1.36
++++ src/applets/main.c	23 Oct 2012 09:08:40 -0000
+@@ -209,14 +209,21 @@ static GtkWidget * _main_applications(Ma
+
+ static void _applications_on_activate(gpointer data)
+ {
+-	char const * program = data;
++	char * program = data;
++	char * p;
+
+	if(program == NULL)
+		return;
++	if((program = strdup(program)) == NULL)
++		return; /* XXX report error */
++	/* XXX crude way to ignore %f, %F, %u and %U */
++	if((p = strchr(program, '%')) != NULL)
++		*p = '\0';
+ #ifdef DEBUG
+	fprintf(stderr, "DEBUG: %s() \"%s\"", __func__, program);
+ #endif
+	g_spawn_command_line_async(program, NULL);
++	free(program);
+ }
+
+ static void _applications_categories(GtkWidget * menu, GtkWidget ** menus)

Added: head/x11/deforaos-panel/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/pkg-descr	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,3 @@
+DeforaOS desktop panel
+
+WWW: http://www.defora.org/

Added: head/x11/deforaos-panel/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/pkg-message	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,5 @@
+======================================================
+Note regarding the suspend feature :
+
+Your user need sudo right for executing /usr/sbin/zzz
+======================================================

Added: head/x11/deforaos-panel/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/deforaos-panel/pkg-plist	Wed Dec 19 11:48:33 2012	(r309232)
@@ -0,0 +1,58 @@
+bin/panel
+bin/panel-embed
+bin/panel-message
+bin/panel-notify
+bin/panelctl
+bin/run
+include/Desktop/Panel.h
+lib/Panel/applets/battery.so
+lib/Panel/applets/bluetooth.so
+lib/Panel/applets/clock.so
+lib/Panel/applets/close.so
+lib/Panel/applets/cpu.so
+lib/Panel/applets/cpufreq.so
+lib/Panel/applets/desktop.so
+lib/Panel/applets/embed.so
+lib/Panel/applets/gps.so
+lib/Panel/applets/gsm.so
+lib/Panel/applets/keyboard.so
+lib/Panel/applets/lock.so
+lib/Panel/applets/logout.so
+lib/Panel/applets/main.so
+lib/Panel/applets/memory.so
+lib/Panel/applets/mixer.so
+lib/Panel/applets/pager.so
+lib/Panel/applets/phone.so
+lib/Panel/applets/rotate.so
+lib/Panel/applets/separator.so
+lib/Panel/applets/spacer.so
+lib/Panel/applets/swap.so
+lib/Panel/applets/systray.so
+lib/Panel/applets/tasks.so
+lib/Panel/applets/title.so
+lib/Panel/applets/usb.so
+lib/Panel/applets/volume.so
+lib/Panel/applets/wpa_supplicant.so
+libdata/pkgconfig/Panel.pc
+share/applications/panel-settings.desktop
+share/icons/hicolor/16x16/apps/panel-applet-bluetooth.png
+share/icons/hicolor/16x16/apps/panel-applet-desktop.png
+share/icons/hicolor/16x16/apps/panel-applet-usb.png
+share/icons/hicolor/16x16/apps/panel-settings.png
+share/icons/hicolor/22x22/apps/panel-applet-bluetooth.png
+share/icons/hicolor/22x22/apps/panel-applet-desktop.png
+share/icons/hicolor/22x22/apps/panel-settings.png
+share/icons/hicolor/24x24/apps/panel-applet-bluetooth.png
+share/icons/hicolor/24x24/apps/panel-applet-desktop.png
+share/icons/hicolor/24x24/apps/panel-applet-usb.png
+share/icons/hicolor/24x24/apps/panel-settings.png
+share/icons/hicolor/32x32/apps/panel-applet-bluetooth.png
+share/icons/hicolor/32x32/apps/panel-applet-desktop.png
+share/icons/hicolor/32x32/apps/panel-settings.png
+share/icons/hicolor/48x48/apps/panel-applet-bluetooth.png
+share/icons/hicolor/48x48/apps/panel-applet-desktop.png
+share/icons/hicolor/48x48/apps/panel-settings.png
+share/icons/hicolor/scalable/apps/panel-applet-bluetooth.svg
+share/locale/fr/LC_MESSAGES/Panel.mo
+@dirrm lib/Panel/applets
+@dirrm lib/Panel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212191148.qBJBmXhb085393>