summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libfm/Makefile25
-rw-r--r--package/lxpanel/Makefile30
-rw-r--r--package/lxpanel/patches/patch-src_plugins_batt_batt_c29
-rw-r--r--package/lxtask/Makefile27
-rw-r--r--package/menu-cache/Makefile27
-rw-r--r--package/openbox/Makefile3
-rw-r--r--package/pcmanfm/Makefile35
7 files changed, 176 insertions, 0 deletions
diff --git a/package/libfm/Makefile b/package/libfm/Makefile
new file mode 100644
index 000000000..8b60a14dc
--- /dev/null
+++ b/package/libfm/Makefile
@@ -0,0 +1,25 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libfm
+PKG_VERSION:= 2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 188d0820aa4e8f25f3fb0519813baa68
+PKG_DESCR:= libfm library
+PKG_SECTION:= libs
+PKG_BUILDDEP:= menu-cache
+PKG_URL:= http://lxde.org/
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBFM,libfm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+libfm-install:
+ $(INSTALL_DIR) $(IDIR_LIBFM)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libfm.so* \
+ $(IDIR_LIBFM)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lxpanel/Makefile b/package/lxpanel/Makefile
new file mode 100644
index 000000000..51f5275d1
--- /dev/null
+++ b/package/lxpanel/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= lxpanel
+PKG_VERSION:= 0.5.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 4c51dfdc0d15851d331905cfa00cc025
+PKG_DESCR:= graphical panel
+PKG_SECTION:= x11/lxde
+PKG_URL:= http://lxde.org/
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LXPANEL,lxpanel,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+lxpanel-install:
+ $(INSTALL_DIR) $(IDIR_LXPANEL)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/lxpanel* \
+ $(IDIR_LXPANEL)/usr/bin
+ $(INSTALL_DIR) $(IDIR_LXPANEL)/usr/share/lxpanel
+ $(CP) $(WRKINST)/usr/share/lxpanel/* \
+ $(IDIR_LXPANEL)/usr/share/lxpanel
+ $(INSTALL_DIR) $(IDIR_LXPANEL)/usr/lib/lxpanel
+ $(CP) $(WRKINST)/usr/lib/lxpanel/* \
+ $(IDIR_LXPANEL)/usr/lib/lxpanel
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lxpanel/patches/patch-src_plugins_batt_batt_c b/package/lxpanel/patches/patch-src_plugins_batt_batt_c
new file mode 100644
index 000000000..33467abc1
--- /dev/null
+++ b/package/lxpanel/patches/patch-src_plugins_batt_batt_c
@@ -0,0 +1,29 @@
+--- lxpanel-0.5.6.orig/src/plugins/batt/batt.c 2010-02-08 07:37:52.000000000 +0100
++++ lxpanel-0.5.6/src/plugins/batt/batt.c 2011-04-14 22:05:34.617672290 +0200
+@@ -95,7 +95,7 @@ typedef struct {
+ typedef struct {
+ char *command;
+ sem_t *lock;
+-} alarm;
++} alarms;
+
+ static void destructor(Plugin *p);
+ static void update_display(lx_battery *lx_b, gboolean repaint);
+@@ -103,7 +103,7 @@ static void update_display(lx_battery *l
+ /* alarmProcess takes the address of a dynamically allocated alarm struct (which
+ it must free). It ensures that alarm commands do not run concurrently. */
+ static void * alarmProcess(void *arg) {
+- alarm *a = (alarm *) arg;
++ alarms *a = (alarms *) arg;
+
+ sem_wait(a->lock);
+ system(a->command);
+@@ -157,7 +157,7 @@ void update_display(lx_battery *lx_b, gb
+ /* Run the alarm command if it isn't already running */
+ if (alarmCanRun) {
+
+- alarm *a = (alarm *) malloc(sizeof(alarm));
++ alarms *a = (alarms *) malloc(sizeof(alarms));
+ a->command = lx_b->alarmCommand;
+ a->lock = &(lx_b->alarmProcessLock);
+
diff --git a/package/lxtask/Makefile b/package/lxtask/Makefile
new file mode 100644
index 000000000..0869805cd
--- /dev/null
+++ b/package/lxtask/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= lxtask
+PKG_VERSION:= 0.1.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 5e54e91b09864c917e91ccafff61de9c
+PKG_DESCR:= graphical task manager
+PKG_SECTION:= x11/lxde
+PKG_URL:= http://lxde.org/
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LXTASK,lxtask,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+lxtask-install:
+ $(INSTALL_DIR) $(IDIR_LXTASK)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/lxtask \
+ $(IDIR_LXTASK)/usr/bin
+ $(INSTALL_DIR) $(IDIR_LXTASK)/usr/share/applications
+ $(CP) $(WRKINST)/usr/share/applications/* \
+ $(IDIR_LXTASK)/usr/share/applications
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/menu-cache/Makefile b/package/menu-cache/Makefile
new file mode 100644
index 000000000..bf654c7a7
--- /dev/null
+++ b/package/menu-cache/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= menu-cache
+PKG_VERSION:= 0.3.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= bf5efbbb520bee2a35dc4f3005816cf0
+PKG_DESCR:= menu-cache
+PKG_SECTION:= libs
+PKG_URL:= http://lxde.org/
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MENU_CACHE,menu-cache,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+menu-cache-install:
+ $(INSTALL_DIR) $(IDIR_MENU_CACHE)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libmenu-cache.so* \
+ $(IDIR_MENU_CACHE)/usr/lib
+ $(INSTALL_DIR) $(IDIR_MENU_CACHE)/usr/libexec
+ $(INSTALL_BIN) $(WRKINST)/usr/libexec/menu-cache* \
+ $(IDIR_MENU_CACHE)/usr/libexec
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openbox/Makefile b/package/openbox/Makefile
index 9ed04df18..961a4a0b0 100644
--- a/package/openbox/Makefile
+++ b/package/openbox/Makefile
@@ -18,6 +18,9 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPENBOX,openbox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
openbox-install:
+ $(INSTALL_DIR) $(IDIR_OPENBOX)/etc/xdg/openbox
+ $(CP) $(WRKINST)/etc/xdg/openbox/* \
+ $(IDIR_OPENBOX)/etc/xdg/openbox
$(INSTALL_DIR) $(IDIR_OPENBOX)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/openbox \
$(IDIR_OPENBOX)/usr/bin
diff --git a/package/pcmanfm/Makefile b/package/pcmanfm/Makefile
new file mode 100644
index 000000000..ff050312d
--- /dev/null
+++ b/package/pcmanfm/Makefile
@@ -0,0 +1,35 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= pcmanfm
+PKG_VERSION:= 2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 20c07a1a39596d2322be0e88a310b314
+PKG_DESCR:= graphical file manager
+PKG_SECTION:= x11/apps
+PKG_DEPENDS:= libfm
+PKG_BUILDDEP:= libfm
+PKG_URL:= http://lxde.org/
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PCMANFM,pcmanfm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+pcmanfm-install:
+ $(INSTALL_DIR) $(IDIR_PCMANFM)/etc/xdg/pcmanfm
+ $(CP) $(WRKINST)/etc/xdg/pcmanfm/* \
+ $(IDIR_PCMANFM)/etc/xdg/pcmanfm
+ $(INSTALL_DIR) $(IDIR_PCMANFM)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/pcmanfm \
+ $(IDIR_PCMANFM)/usr/bin
+ $(INSTALL_DIR) $(IDIR_PCMANFM)/usr/share/pcmanfm/ui
+ $(CP) $(WRKINST)/usr/share/pcmanfm/ui/* \
+ $(IDIR_PCMANFM)/usr/share/pcmanfm/ui
+ $(INSTALL_DIR) $(IDIR_PCMANFM)/usr/share/applications
+ $(CP) $(WRKINST)/usr/share/applications/* \
+ $(IDIR_PCMANFM)/usr/share/applications
+
+include ${TOPDIR}/mk/pkg-bottom.mk