xfce4-lua-graph-plugin-0.1, lua driven plugin for the xfce4 panel

This commit is contained in:
jolan 2006-01-25 00:01:27 +00:00
parent ede439b7b7
commit 853827d9fc
9 changed files with 143 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
COMMENT= "lua driven plugin for the xfce4 panel"
DISTNAME= xfce4-lua-graph-plugin-0.1
PKGNAME= ${DISTNAME:S/-plugin//}
MASTER_SITES= http://download.berlios.de/xfce-goodies/
HOMEPAGE= http://xfce-goodies.berlios.de/
# BSD
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
:xfce4-panel-*:x11/xfce4/xfce4-panel
LIB_DEPENDS= xfcegui4.3.4::x11/xfce4/libxfcegui4 \
xml2.9.0::textproc/libxml \
lua.5,lualib.5::lang/lua
RUN_DEPENDS= :xfce4-panel-*:x11/xfce4/xfce4-panel
WANTLIB= ICE SM X11 Xext Xft Xrender fontconfig freetype m z \
atk-1.0.0.0 gdk-x11-2.0.0.0 gdk_pixbuf-2.0.0.0 glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 gtk-x11-2.0.0.0 pango-1.0.0.0 \
pangoft2-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 \
startup-notification-1 xfce4util.1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xfce4-lua-graph
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xfce4-lua-graph
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xfce4-lua-graph
${INSTALL_DATA} ${WRKSRC}/scripts/* \
${PREFIX}/share/examples/xfce4-lua-graph
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (xfce4/xfce4-lua-graph-plugin-0.1.tar.gz) = 4cac4a06508497dc8b1ee25dc5595209
RMD160 (xfce4/xfce4-lua-graph-plugin-0.1.tar.gz) = 7f75d2ec2f98d22c1851de4b669cb05913e3a829
SHA1 (xfce4/xfce4-lua-graph-plugin-0.1.tar.gz) = 4f72182a9660462036601b4fdcf1e9478aea5ba8
SIZE (xfce4/xfce4-lua-graph-plugin-0.1.tar.gz) = 324164

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-README,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
--- README.orig Wed Dec 21 18:54:15 2005
+++ README Tue Jan 24 13:55:25 2006
@@ -24,7 +24,7 @@ data on your computer, until a fully-fle
Lua Details
======================
Lua (http://www.lua.org) is a light-weight programming language designed for
-extending applications. The Lua library is GPLed, ANSI compatible, portable
+extending applications. The Lua library is ANSI compatible, portable,
and easy to use.
The current version of Lua (5.0) supports:
@@ -274,4 +274,4 @@ Installation Notes
-Copyright © 2005 A. Gordon <agordon88@gmail.com>
\ No newline at end of file
+Copyright © 2005 A. Gordon <agordon88@gmail.com>

View File

@ -0,0 +1,39 @@
$OpenBSD: patch-configure,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
--- configure.orig Tue Dec 20 16:50:14 2005
+++ configure Tue Jan 24 13:43:33 2006
@@ -21030,7 +21030,7 @@ if test "${ac_cv_lib_lua50_lua_open+set}
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-llua50 $LIBS"
+LIBS="-llua $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -21092,7 +21092,7 @@ if test $ac_cv_lib_lua50_lua_open = yes;
#define HAVE_LIBLUA50 1
_ACEOF
- LIBS="-llua50 $LIBS"
+ LIBS="-llua $LIBS"
else
{ { echo "$as_me:$LINENO: error: Please install the lua library development suite (lua50 library not found" >&5
@@ -21107,7 +21107,7 @@ if test "${ac_cv_lib_lualib50_luaopen_ba
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-llualib50 $LIBS"
+LIBS="-llualib -lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -21169,7 +21169,7 @@ if test $ac_cv_lib_lualib50_luaopen_base
#define HAVE_LIBLUALIB50 1
_ACEOF
- LIBS="-llualib50 $LIBS"
+ LIBS="-llualib $LIBS"
else
{ { echo "$as_me:$LINENO: error: Please install the lualib library development suite (lualib50 library not found" >&5

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-panel-plugin_Makefile_in,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
--- panel-plugin/Makefile.in.orig Tue Dec 20 17:14:33 2005
+++ panel-plugin/Makefile.in Tue Jan 24 13:47:27 2006
@@ -183,8 +183,8 @@ plugin_LTLIBRARIES = \
libluagraph.la
libluagraph_la_LDFLAGS = \
- -llua50 \
- -llualib50 \
+ -llua \
+ -llualib \
-avoid-version \
-export-dynamic \
-module

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-panel-plugin_luagraph_c,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
--- panel-plugin/luagraph.c.orig Wed Dec 21 17:28:13 2005
+++ panel-plugin/luagraph.c Tue Jan 24 13:46:34 2006
@@ -49,9 +49,9 @@
#include <panel/icons.h>
#include <panel/plugins.h>
-#include <lua50/lua.h>
-#include <lua50/lauxlib.h>
-#include <lua50/lualib.h>
+#include <lua.h>
+#include <lauxlib.h>
+#include <lualib.h>
const char *demo_script =
"function init() \n" \

View File

@ -0,0 +1,3 @@
xfce4-lua-graph is a Lua driven plugin for the xfce4 panel. It provides
a quick solution for displaying any kind of information on the xfce4
panel.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
lib/xfce4/panel-plugins/libluagraph.so

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/01/25 00:01:27 jolan Exp $
%%SHARED%%
lib/xfce4/panel-plugins/libluagraph.a
lib/xfce4/panel-plugins/libluagraph.la
share/doc/xfce4-lua-graph/
share/doc/xfce4-lua-graph/README
share/examples/xfce4-lua-graph/
share/examples/xfce4-lua-graph/battery.lua
share/examples/xfce4-lua-graph/counter.lua
share/examples/xfce4-lua-graph/temperature.lua