diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 3 | ||||
-rw-r--r-- | x11/deforaos-panel/Makefile | 47 | ||||
-rw-r--r-- | x11/deforaos-panel/distinfo | 2 | ||||
-rw-r--r-- | x11/deforaos-panel/files/patch-doc__Makefile | 24 | ||||
-rw-r--r-- | x11/deforaos-panel/files/patch-panel_desktop_exec.diff | 30 | ||||
-rw-r--r-- | x11/deforaos-panel/pkg-descr | 3 | ||||
-rw-r--r-- | x11/deforaos-panel/pkg-message | 5 | ||||
-rw-r--r-- | x11/deforaos-panel/pkg-plist | 58 |
8 files changed, 171 insertions, 1 deletions
diff --git a/x11/Makefile b/x11/Makefile index 48b1db669b3f..b6f96999f155 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -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 diff --git a/x11/deforaos-panel/Makefile b/x11/deforaos-panel/Makefile new file mode 100644 index 000000000000..a8350661c7b6 --- /dev/null +++ b/x11/deforaos-panel/Makefile @@ -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> diff --git a/x11/deforaos-panel/distinfo b/x11/deforaos-panel/distinfo new file mode 100644 index 000000000000..1a53885d632a --- /dev/null +++ b/x11/deforaos-panel/distinfo @@ -0,0 +1,2 @@ +SHA256 (Panel-0.2.15.tar.gz) = 6830d3fb74b9a3ebbecf0e96e64bda5c87a1ad24c6c7d24d1b92751dd558c37c +SIZE (Panel-0.2.15.tar.gz) = 109232 diff --git a/x11/deforaos-panel/files/patch-doc__Makefile b/x11/deforaos-panel/files/patch-doc__Makefile new file mode 100644 index 000000000000..556f3022e2ac --- /dev/null +++ b/x11/deforaos-panel/files/patch-doc__Makefile @@ -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" diff --git a/x11/deforaos-panel/files/patch-panel_desktop_exec.diff b/x11/deforaos-panel/files/patch-panel_desktop_exec.diff new file mode 100644 index 000000000000..59b7cd4dd897 --- /dev/null +++ b/x11/deforaos-panel/files/patch-panel_desktop_exec.diff @@ -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) diff --git a/x11/deforaos-panel/pkg-descr b/x11/deforaos-panel/pkg-descr new file mode 100644 index 000000000000..a0b1e80e3a85 --- /dev/null +++ b/x11/deforaos-panel/pkg-descr @@ -0,0 +1,3 @@ +DeforaOS desktop panel + +WWW: http://www.defora.org/ diff --git a/x11/deforaos-panel/pkg-message b/x11/deforaos-panel/pkg-message new file mode 100644 index 000000000000..eee2afdbfa76 --- /dev/null +++ b/x11/deforaos-panel/pkg-message @@ -0,0 +1,5 @@ +====================================================== +Note regarding the suspend feature : + +Your user need sudo right for executing /usr/sbin/zzz +====================================================== diff --git a/x11/deforaos-panel/pkg-plist b/x11/deforaos-panel/pkg-plist new file mode 100644 index 000000000000..0034b57cfd05 --- /dev/null +++ b/x11/deforaos-panel/pkg-plist @@ -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 |