From 4f4c63f2a01cff93350247cd11f7ae4c4426e915 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 19 Jan 2009 18:55:47 +0000 Subject: [PATCH] Add xfce packages. SVN-Revision: 14107 --- xfce/README | 2 + xfce/app/orage/Makefile | 75 ++++++++++ xfce/app/thunar/Makefile | 136 ++++++++++++++++++ xfce/app/xarchiver/Makefile | 64 +++++++++ xfce/app/xfburn/Makefile | 64 +++++++++ xfce/app/xfce-mousepad/Makefile | 54 +++++++ xfce/app/xfce-terminal/Makefile | 68 +++++++++ xfce/app/xfce-utils/Makefile | 72 ++++++++++ xfce/app/xfce4-appfinder/Makefile | 54 +++++++ .../010-dont-crash-on-empty-category.patch | 12 ++ xfce/app/xfce4-mixer/Makefile | 70 +++++++++ xfce/app/xfce4-panel/Makefile | 97 +++++++++++++ ...0-fix-action-plugin-no-icon-segfault.patch | 37 +++++ xfce/app/xfce4-session/Makefile | 107 ++++++++++++++ xfce/app/xfce4-settings/Makefile | 59 ++++++++ .../010-fix-xfsettingsd-segfault.patch | 35 +++++ xfce/app/xfconf/Makefile | 91 ++++++++++++ xfce/app/xfdesktop/Makefile | 84 +++++++++++ xfce/app/xfmedia/Makefile | 78 ++++++++++ xfce/app/xfprint/Makefile | 79 ++++++++++ xfce/data/gtk-xfce-engine/Makefile | 49 +++++++ xfce/data/xfce4-icon-theme/Makefile | 42 ++++++ xfce/data/xfwm4-themes/Makefile | 37 +++++ xfce/libs/libexo/Makefile | 103 +++++++++++++ xfce/libs/libexo/patches/010-configure.patch | 17 +++ xfce/libs/libexo/patches/020-no-tests.patch | 33 +++++ xfce/libs/libxfce4menu/Makefile | 57 ++++++++ xfce/libs/libxfce4util/Makefile | 64 +++++++++ xfce/libs/libxfcegui4/Makefile | 75 ++++++++++ xfce/wm/xfwm4/Makefile | 70 +++++++++ 30 files changed, 1885 insertions(+) create mode 100644 xfce/README create mode 100644 xfce/app/orage/Makefile create mode 100644 xfce/app/thunar/Makefile create mode 100644 xfce/app/xarchiver/Makefile create mode 100644 xfce/app/xfburn/Makefile create mode 100644 xfce/app/xfce-mousepad/Makefile create mode 100644 xfce/app/xfce-terminal/Makefile create mode 100644 xfce/app/xfce-utils/Makefile create mode 100644 xfce/app/xfce4-appfinder/Makefile create mode 100644 xfce/app/xfce4-appfinder/patches/010-dont-crash-on-empty-category.patch create mode 100644 xfce/app/xfce4-mixer/Makefile create mode 100644 xfce/app/xfce4-panel/Makefile create mode 100644 xfce/app/xfce4-panel/patches/020-fix-action-plugin-no-icon-segfault.patch create mode 100644 xfce/app/xfce4-session/Makefile create mode 100644 xfce/app/xfce4-settings/Makefile create mode 100644 xfce/app/xfce4-settings/patches/010-fix-xfsettingsd-segfault.patch create mode 100644 xfce/app/xfconf/Makefile create mode 100644 xfce/app/xfdesktop/Makefile create mode 100644 xfce/app/xfmedia/Makefile create mode 100644 xfce/app/xfprint/Makefile create mode 100644 xfce/data/gtk-xfce-engine/Makefile create mode 100644 xfce/data/xfce4-icon-theme/Makefile create mode 100644 xfce/data/xfwm4-themes/Makefile create mode 100644 xfce/libs/libexo/Makefile create mode 100644 xfce/libs/libexo/patches/010-configure.patch create mode 100644 xfce/libs/libexo/patches/020-no-tests.patch create mode 100644 xfce/libs/libxfce4menu/Makefile create mode 100644 xfce/libs/libxfce4util/Makefile create mode 100644 xfce/libs/libxfcegui4/Makefile create mode 100644 xfce/wm/xfwm4/Makefile diff --git a/xfce/README b/xfce/README new file mode 100644 index 0000000..840f1fa --- /dev/null +++ b/xfce/README @@ -0,0 +1,2 @@ +Feed containing packages for the xfce desktop environment. +NOTE: You also need svn://dev.openwrt.org/feeds/desktop in your feeds.conf diff --git a/xfce/app/orage/Makefile b/xfce/app/orage/Makefile new file mode 100644 index 0000000..b44b999 --- /dev/null +++ b/xfce/app/orage/Makefile @@ -0,0 +1,75 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=orage +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:= +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/orage + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=orage + DEPENDS:=+perl +xfce4-panel +endef + +define Package/orage/install + $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/* \ + $(1)/usr/lib/xfce4/panel-plugins/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons/* + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4/panel-plugins/* + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/panel-plugins/* \ + $(1)/usr/share/xfce4/panel-plugins/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications + + $(INSTALL_DIR) $(1)/usr/share/orage/sounds + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/orage/sounds/* \ + $(1)/usr/share/orage/sounds/ + + $(INSTALL_DIR) $(1)/usr/share/orage/zoneinfo + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/orage/zoneinfo/* \ + $(1)/usr/share/orage/zoneinfo/ +endef + +$(eval $(call BuildPackage,orage)) diff --git a/xfce/app/thunar/Makefile b/xfce/app/thunar/Makefile new file mode 100644 index 0000000..e6f3dd1 --- /dev/null +++ b/xfce/app/thunar/Makefile @@ -0,0 +1,136 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=thunar +PKG_VERSION:=0.9.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=Thunar-$(PKG_VERSION).tar.bz2 +PKG_BUILD_DIR:=$(BUILD_DIR)/Thunar-$(PKG_VERSION) +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-4.5.93/src/ +PKG_MD5SUM:=8fb12c28284503929732dea8c185c413 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/libthunar-vfs + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=thunar virtual filesystem library + DEPENDS:=+libexo +libpng +libxfce4util +libgamin +libstartup-notification \ + +xfce4-panel +endef + +define Package/libthunarx + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=libthunarx + DEPENDS:=+gtk2 +endef + +define Package/thunar + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=thunar + DEPENDS:=+libthunarx +libthunar-vfs +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --libexecdir=/usr/lib/thunar/ \ + ) +endef + + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,lib/thunarx-1,include} + $(CP) \ + $(PKG_INSTALL_DIR)/usr/include/* \ + $(1)/usr/include/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,a,so*} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/libthunar-vfs/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libthunar-vfs-1.so* \ + $(1)/usr/lib/ +endef + +define Package/libthunarx/install + $(INSTALL_DIR) $(1)/usr/lib/thunarx-1 + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libthunarx-1.so* \ + $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/thunarx-1/*.so* \ + $(1)/usr/lib/thunarx-1/ +endef + +define Package/thunar/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/lib/thunar/xfce4/panel-plugins + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/thunar/{T,t}hunar* \ + $(1)/usr/lib/thunar/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/thunar/xfce4/panel-plugins/* \ + $(1)/usr/lib/thunar/xfce4/panel-plugins + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4/panel-plugins + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/panel-plugins/* \ + $(1)/usr/share/xfce4/panel-plugins/ + + $(INSTALL_DIR) $(1)/usr/share/dbus-1/services + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/dbus-1/services/* \ + $(1)/usr/share/dbus-1/services/ + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/pixmaps/Thunar + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/Thunar/* \ + $(1)/usr/share/pixmaps/Thunar +endef + +$(eval $(call BuildPackage,libthunar-vfs)) +$(eval $(call BuildPackage,libthunarx)) +$(eval $(call BuildPackage,thunar)) diff --git a/xfce/app/xarchiver/Makefile b/xfce/app/xarchiver/Makefile new file mode 100644 index 0000000..976ab41 --- /dev/null +++ b/xfce/app/xarchiver/Makefile @@ -0,0 +1,64 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xarchiver +PKG_VERSION:=0.5.0beta1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_MD5SUM:=d57dcae78473681d6cd3b8dcf6e5c3d1 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xarchiver + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xarchiver + DEPENDS:=+gtk2 +endef + +define Package/xarchiver/install + $(INSTALL_DIR) $(1)/usr/lib/thunar-archive-plugin + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/thunar-archive-plugin/*.tap \ + $(1)/usr/lib/thunar-archive-plugin/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/pixmaps/xarchiver + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/xarchiver/* \ + $(1)/usr/share/pixmaps/xarchiver/ + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xarchiver)) diff --git a/xfce/app/xfburn/Makefile b/xfce/app/xfburn/Makefile new file mode 100644 index 0000000..1701765 --- /dev/null +++ b/xfce/app/xfburn/Makefile @@ -0,0 +1,64 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfburn +PKG_VERSION:=0.4.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://goodies.xfce.org/releases/$(PKG_NAME) +PKG_MD5SUM:=621a59415138c191c25e3d30a5ed5742 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfburn + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfburn + DEPENDS:=+libxfcegui4 +libexo +libburn +libisofs +endef + +define Package/xfburn/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications + + $(INSTALL_DIR) $(1)/usr/share/Thunar/sendto + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/Thunar/sendto/* \ + $(1)/usr/share/Thunar/sendto/ + + $(INSTALL_DIR) $(1)/usr/share/xfburn + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfburn/* \ + $(1)/usr/share/xfburn/ +endef + +$(eval $(call BuildPackage,xfburn)) diff --git a/xfce/app/xfce-mousepad/Makefile b/xfce/app/xfce-mousepad/Makefile new file mode 100644 index 0000000..a7f806b --- /dev/null +++ b/xfce/app/xfce-mousepad/Makefile @@ -0,0 +1,54 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce-mousepad +PKG_VERSION:=0.2.14 +PKG_RELEASE:=1 + +PKG_SOURCE:=mousepad-$(PKG_VERSION).tar.bz2 +PKG_BUILD_DIR:=$(BUILD_DIR)/mousepad-$(PKG_VERSION) +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-4.4.3/src/ +PKG_MD5SUM:=6cfef0e424c778409e2791d0af6ab089 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce-mousepad + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce-mousepad + DEPENDS:=+libxfcegui4 +endef + +define Package/xfce-mousepad/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/pixmaps + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \ + $(1)/usr/share/pixmaps/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xfce-mousepad)) diff --git a/xfce/app/xfce-terminal/Makefile b/xfce/app/xfce-terminal/Makefile new file mode 100644 index 0000000..2996be4 --- /dev/null +++ b/xfce/app/xfce-terminal/Makefile @@ -0,0 +1,68 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce-terminal +PKG_VERSION:=0.2.5.8rc2 +PKG_RELEASE:=1 + +PKG_SOURCE:=Terminal-$(PKG_VERSION).tar.bz2 +PKG_BUILD_DIR:=$(BUILD_DIR)/Terminal-$(PKG_VERSION) +PKG_SOURCE_URL:=http://download.berlios.de/xfce-goodies/ +PKG_MD5SUM:=d2785c1b11c48ed012042faa708bbf94 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce-terminal + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce-terminal + DEPENDS:=+libxfcegui4 +endef + +define Package/xfce-terminal/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/Terminal \ + $(1)/usr/bin/ + (cd $(1)/usr/bin; ln -sf Terminal terminal) + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/pixmaps + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \ + $(1)/usr/share/pixmaps/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications/ + + $(INSTALL_DIR) $(1)/usr/share/Terminal/apps + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/Terminal/*.ui \ + $(1)/usr/share/Terminal/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/Terminal/apps/* \ + $(1)/usr/share/Terminal/apps/ +endef + +$(eval $(call BuildPackage,xfce-terminal)) diff --git a/xfce/app/xfce-utils/Makefile b/xfce/app/xfce-utils/Makefile new file mode 100644 index 0000000..155d65b --- /dev/null +++ b/xfce/app/xfce-utils/Makefile @@ -0,0 +1,72 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce-utils +PKG_VERSION:=4.5.92 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=8700842ab643838910ec9adfa08aa01d +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce-utils + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce-utils + DEPENDS:=+libxfce4util +libxfcegui4 +dbus +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --enable-dbus \ + --disable-xfconf-migration \ + ) +endef + +define Package/xfce-utils/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/dbus-1/services + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/dbus-1/services/* \ + $(1)/usr/share/dbus-1/services + + $(INSTALL_DIR) $(1)/usr/share/xfce4 + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/* \ + $(1)/usr/share/xfce4/ + + $(INSTALL_DIR) $(1)/root + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xinitrc \ + $(1)/root/.xinitrc +endef + +$(eval $(call BuildPackage,xfce-utils)) diff --git a/xfce/app/xfce4-appfinder/Makefile b/xfce/app/xfce4-appfinder/Makefile new file mode 100644 index 0000000..c1537a3 --- /dev/null +++ b/xfce/app/xfce4-appfinder/Makefile @@ -0,0 +1,54 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce4-appfinder +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=75b37cd228cf85a85b36d227429fe9a3 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce4-appfinder + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce4-appfinder + DEPENDS:=+libxfcegui4 +libxfce4menu +gtk2 +libxfconf +endef + +define Package/xfce4-appfinder/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xfce4-appfinder)) diff --git a/xfce/app/xfce4-appfinder/patches/010-dont-crash-on-empty-category.patch b/xfce/app/xfce4-appfinder/patches/010-dont-crash-on-empty-category.patch new file mode 100644 index 0000000..b475c39 --- /dev/null +++ b/xfce/app/xfce4-appfinder/patches/010-dont-crash-on-empty-category.patch @@ -0,0 +1,12 @@ +--- a/src/xfce-appfinder-window.c ++++ b/src/xfce-appfinder-window.c +@@ -1208,7 +1208,8 @@ _xfce_appfinder_window_visible_func (GtkTreeModel *filter, + + g_free (search_text); + g_free (text); +- g_free (category); ++ if (category) ++ g_free (category); + + return visible; + } diff --git a/xfce/app/xfce4-mixer/Makefile b/xfce/app/xfce4-mixer/Makefile new file mode 100644 index 0000000..43505e6 --- /dev/null +++ b/xfce/app/xfce4-mixer/Makefile @@ -0,0 +1,70 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce4-mixer +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=bb4c4b46873a576797c74e642da5c0ad +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce4-mixer + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce4-mixer + DEPENDS:=+libxfce4util +libxfcegui4 +libxfce4panel +gst-plugins-base \ + +xfce4-panel +endef + +define Package/xfce4-mixer/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/* \ + $(1)/usr/lib/xfce4/panel-plugins/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4-mixer/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4-mixer/icons/* \ + $(1)/usr/share/xfce4-mixer/icons/ + + $(INSTALL_DIR) $(1)/usr/share/pixmaps + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \ + $(1)/usr/share/pixmaps/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4 + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/* \ + $(1)/usr/share/xfce4/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xfce4-mixer)) diff --git a/xfce/app/xfce4-panel/Makefile b/xfce/app/xfce4-panel/Makefile new file mode 100644 index 0000000..164bea7 --- /dev/null +++ b/xfce/app/xfce4-panel/Makefile @@ -0,0 +1,97 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce4-panel +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src +PKG_MD5SUM:=96c4cccf520aa789b267b14b491359ab +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib/ + +define Package/libxfce4-panel + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=libxfce4-panel +endef + +define Package/xfce4-panel + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce4-panel + DEPENDS:=+libxfce4util +libxfcegui4 +libexo +cairo +libwnck +libSM +libX11 \ + +gtk2 +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4panel} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4panel/* \ + $(1)/usr/include/xfce4/libxfce4panel/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \ + $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/xfce4-panel/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/*.so* \ + $(1)/usr/lib/xfce4/panel-plugins + + $(INSTALL_DIR) $(1)/etc/xdg/xfce4/panel/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/xfce4/panel/* \ + $(1)/etc/xdg/xfce4/panel/ + + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4/panel-plugins + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/panel-plugins/* \ + $(1)/usr/share/xfce4/panel-plugins/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications/ + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \ + $(1)/usr/share/icons/hicolor/ +endef + +$(eval $(call BuildPackage,libxfce4-panel)) +$(eval $(call BuildPackage,xfce4-panel)) diff --git a/xfce/app/xfce4-panel/patches/020-fix-action-plugin-no-icon-segfault.patch b/xfce/app/xfce4-panel/patches/020-fix-action-plugin-no-icon-segfault.patch new file mode 100644 index 0000000..844b98b --- /dev/null +++ b/xfce/app/xfce4-panel/patches/020-fix-action-plugin-no-icon-segfault.patch @@ -0,0 +1,37 @@ +--- xfce4-panel-4.4.2.orig/plugins/actions/actions.c 2008-09-17 18:52:37.000000000 +0200 ++++ xfce4-panel-4.4.2/plugins/actions/actions.c 2008-09-17 19:44:58.000000000 +0200 +@@ -138,19 +138,28 @@ + gtk_widget_set_size_request (GTK_WIDGET (plugin), -1, -1); + + pb = actions_load_icon (ACTION_LOCK, width); +- gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb); +- g_object_unref (G_OBJECT (pb)); ++ if (pb) ++ { ++ gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb); ++ g_object_unref (G_OBJECT (pb)); ++ } + + pb = actions_load_icon (ACTION_QUIT, width); +- gtk_image_set_from_pixbuf (GTK_IMAGE (action->image2), pb); +- g_object_unref (G_OBJECT (pb)); ++ if (pb) ++ { ++ gtk_image_set_from_pixbuf (GTK_IMAGE (action->image2), pb); ++ g_object_unref (G_OBJECT (pb)); ++ } + break; + + case ACTION_QUIT: + case ACTION_LOCK: + pb = actions_load_icon (action->type, width); +- gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb); +- g_object_unref (G_OBJECT (pb)); ++ if (pb) ++ { ++ gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb); ++ g_object_unref (G_OBJECT (pb)); ++ } + gtk_widget_set_size_request (GTK_WIDGET (plugin), size, size); + break; + } diff --git a/xfce/app/xfce4-session/Makefile b/xfce/app/xfce4-session/Makefile new file mode 100644 index 0000000..6900f52 --- /dev/null +++ b/xfce/app/xfce4-session/Makefile @@ -0,0 +1,107 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce4-session +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=7d3b5f1400cc053ef01ad61e209d5828 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce4-session + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce4-session + DEPENDS:=+libxfce4util +libxfcegui4 +libwnck +dbus +libdbusgconf +libxfconf \ + +libglade +iceauth +libX11 +libSM +xfconf +thunar +xfce4-panel \ + +xfce4-settings +xfdesktop +xfce-utils +xfwm4 +endef + +define Build/Configure + $(call Build/Configure/Default,\ + ac_cv_header_linux_ioprio_h=no \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/xfce4-session-4.6/libxfsm} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/xfce4-session-4.6/libxfsm/*.h \ + $(1)/usr/include/xfce4/xfce4-session-4.6/libxfsm/ + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/xfce4-session/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/lib/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/{balou-*,xfsm-shutdown-helper} \ + $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/lib/xfce4/splash/engines + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/splash/engines/*.so* \ + $(1)/usr/lib/xfce4/splash/engines/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \ + $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \ + $(1)/usr/share/icons/hicolor/ + + $(INSTALL_DIR) $(1)/usr/share/themes + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/themes/* \ + $(1)/usr/share/themes/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications + + $(INSTALL_DIR) $(1)/usr/share/xfce4/tips + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/tips/* \ + $(1)/usr/share/xfce4/tips/ +endef + +$(eval $(call BuildPackage,xfce4-session)) diff --git a/xfce/app/xfce4-settings/Makefile b/xfce/app/xfce4-settings/Makefile new file mode 100644 index 0000000..11dfb81 --- /dev/null +++ b/xfce/app/xfce4-settings/Makefile @@ -0,0 +1,59 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce4-settings +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=3873c76afcb8f1d174381825fc0467cf +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfce4-settings + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfce4-settings + DEPENDS:=+libxfce4util +libxfcegui4 +libexo +xfconf +libglade +libdbus-glib \ + +libXi +libXrandr +xrdb +endef + +define Package/xfce4-settings/install + $(INSTALL_DIR) $(1)/etc/xdg/{autostart,xfce4/xfconf/xfce-perchannel-xml} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/autostart/* \ + $(1)/etc/xdg/autostart/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \ + $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xfce4-settings)) diff --git a/xfce/app/xfce4-settings/patches/010-fix-xfsettingsd-segfault.patch b/xfce/app/xfce4-settings/patches/010-fix-xfsettingsd-segfault.patch new file mode 100644 index 0000000..ead7118 --- /dev/null +++ b/xfce/app/xfce4-settings/patches/010-fix-xfsettingsd-segfault.patch @@ -0,0 +1,35 @@ +diff --git a/xfsettingsd/registry.c b/xfsettingsd/registry.c +index e868685..d2da4a1 100644 +--- a/xfsettingsd/registry.c ++++ b/xfsettingsd/registry.c +@@ -302,13 +302,15 @@ xsettings_registry_store_xrdb(XSettingsRegistry *registry) + if (G_LIKELY (filename)) + { + /* create file contents */ ++ const gchar *xft_rgba = g_value_get_string (&properties[XSETTING_ENTRY_XFT_RGBA].value); ++ + string = g_string_sized_new (80); + g_string_append_printf (string, "Xft.antialias: %d\n" + "Xft.hinting: %d\n" + "Xft.rgba: %s\n", + g_value_get_int (&properties[XSETTING_ENTRY_XFT_ANTIALIAS].value), + g_value_get_int (&properties[XSETTING_ENTRY_XFT_HINTING].value), +- g_value_get_string (&properties[XSETTING_ENTRY_XFT_RGBA].value)); ++ xft_rgba ? xft_rgba : ""); + + if (g_value_get_int (&properties[XSETTING_ENTRY_XFT_HINTING].value)) + g_string_append_printf (string, "Xft.hintstyle: %s\n", g_value_get_string (&properties[XSETTING_ENTRY_XFT_HINTSTYLE].value)); +@@ -355,10 +357,12 @@ xsettings_registry_store_xrdb(XSettingsRegistry *registry) + if (G_LIKELY (filename)) + { + /* build file contents */ ++ const gchar *cursor_theme_name = g_value_get_string (&properties[XSETTING_ENTRY_GTK_CURSORTHEMENAME].value); ++ + contents = g_strdup_printf ("Xcursor.theme: %s\n" + "Xcursor.theme_core: true\n" + "Xcursor.size: %d\n", +- g_value_get_string (&properties[XSETTING_ENTRY_GTK_CURSORTHEMENAME].value), ++ cursor_theme_name ? cursor_theme_name : "", + g_value_get_int (&properties[XSETTING_ENTRY_GTK_CURSORTHEMESIZE].value)); + + /* write the contents to the file */ diff --git a/xfce/app/xfconf/Makefile b/xfce/app/xfconf/Makefile new file mode 100644 index 0000000..5853995 --- /dev/null +++ b/xfce/app/xfconf/Makefile @@ -0,0 +1,91 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfconf +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=d426da2c79f9741aeea7a55ce967ffa3 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/libxfconf + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=libxfconf + DEPENDS:=+libxfce4util +dbus +libdbus-glib +gtk2 +endef + +define Package/xfconf + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfconf + DEPENDS:=+libxfconf +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --libexecdir=/usr/lib/xfconf \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include} + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{so*,la,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/include/* \ + $(1)/usr/include/ +endef + +define Package/libxfconf/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ +endef + +define Package/xfconf/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/lib/xfconf/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/xfconf/xfconfd \ + $(1)/usr/lib/xfconf/ + + $(INSTALL_DIR) $(1)/usr/share/dbus-1/services + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/dbus-1/services/* \ + $(1)/usr/share/dbus-1/services/ +endef +$(eval $(call BuildPackage,libxfconf)) +$(eval $(call BuildPackage,xfconf)) diff --git a/xfce/app/xfdesktop/Makefile b/xfce/app/xfdesktop/Makefile new file mode 100644 index 0000000..861f1aa --- /dev/null +++ b/xfce/app/xfdesktop/Makefile @@ -0,0 +1,84 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfdesktop +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:= +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfdesktop + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfdesktop + DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libwnck +libglade +thunar +endef + +define Package/xfdesktop/install + $(INSTALL_DIR) $(1)/etc/xdg/menus + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/menus/* \ + $(1)/etc/xdg/menus/ + + $(INSTALL_DIR) $(1)/usr/lib/xfce4/modules + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/modules/*.so \ + $(1)/usr/lib/xfce4/modules/ + + $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/* \ + $(1)/usr/lib/xfce4/panel-plugins/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/pixmaps + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \ + $(1)/usr/share/pixmaps/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4 + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/{backdrops,panel-plugins} \ + $(1)/usr/share/xfce4/ + + $(INSTALL_DIR) $(1)/usr/share/desktop-directories + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/desktop-directories/* \ + $(1)/usr/share/desktop-directories/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications/ +endef + +$(eval $(call BuildPackage,xfdesktop)) diff --git a/xfce/app/xfmedia/Makefile b/xfce/app/xfmedia/Makefile new file mode 100644 index 0000000..b041024 --- /dev/null +++ b/xfce/app/xfmedia/Makefile @@ -0,0 +1,78 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfmedia +PKG_VERSION:=0.9.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://spuriousinterrupt.org/files/xfmedia/ +PKG_MD5SUM:=6eb8bd1f67201f829e0f45e733c02bd5 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfmedia + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfmedia + DEPENDS:=+libxfcegui4 +xine-lib +dbus +taglib +endef + +define Build/Configure + $(call Build/Configure/Default, \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/* \ + $(1)/usr/include/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{so*,la,a} \ + $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/xfmedia/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor/48x48/apps + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/48x48/apps/* \ + $(1)/usr/share/icons/hicolor/48x48/apps/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xfmedia)) diff --git a/xfce/app/xfprint/Makefile b/xfce/app/xfprint/Makefile new file mode 100644 index 0000000..38c9c43 --- /dev/null +++ b/xfce/app/xfprint/Makefile @@ -0,0 +1,79 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfprint +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=2d3b658167bfbe10ec3258d7c3d995d2 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfprint + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfprint + DEPENDS:=+libxfce4util +libxfcegui4 +xfconf +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfprint} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfprint/* \ + $(1)/usr/include/xfce4/libxfprint/ + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/xfprint/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/lib/xfce4/xfprint-plugins + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/xfprint-plugins/*.so* \ + $(1)/usr/lib/xfce4/xfprint-plugins/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications +endef + +$(eval $(call BuildPackage,xfprint)) diff --git a/xfce/data/gtk-xfce-engine/Makefile b/xfce/data/gtk-xfce-engine/Makefile new file mode 100644 index 0000000..265804b --- /dev/null +++ b/xfce/data/gtk-xfce-engine/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gtk-xfce-engine +PKG_VERSION:=2.5.92 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-4.5.92/src/ +PKG_MD5SUM:= +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib \ + +define Package/gtk-xfce-engine + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=gtk-xfce-engine + DEPENDS:=+gtk2 +endef + +define Package/gtk-xfce-engine/install + $(INSTALL_DIR) $(1)/usr/lib/gtk-2.0/2.10.0/engines + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/gtk-2.0/2.10.0/engines/*.{so*,a} \ + $(1)/usr/lib/gtk-2.0/2.10.0/engines/ + + $(INSTALL_DIR) $(1)/usr/share/themes + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/themes/* \ + $(1)/usr/share/themes +endef + +$(eval $(call BuildPackage,gtk-xfce-engine)) diff --git a/xfce/data/xfce4-icon-theme/Makefile b/xfce/data/xfce4-icon-theme/Makefile new file mode 100644 index 0000000..0227e8a --- /dev/null +++ b/xfce/data/xfce4-icon-theme/Makefile @@ -0,0 +1,42 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfce4-icon-theme +PKG_VERSION:=4.4.3 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=73ce2977b84f634a6a6c5d9c27e336db +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/xfce4-icon-theme + SECTION:=xorg-data + CATEGORY:=Xorg + SUBMENU:=data + TITLE:=xfce4-icon-theme + DEPENDS:=+hicolor-icon-theme +endef + +define Package/xfce4-icon-theme/install + $(INSTALL_DIR) $(1)/usr/share/icons + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/* \ + $(1)/usr/share/icons/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4/mime + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/mime/* \ + $(1)/usr/share/xfce4/mime/ +endef + +$(eval $(call BuildPackage,xfce4-icon-theme)) diff --git a/xfce/data/xfwm4-themes/Makefile b/xfce/data/xfwm4-themes/Makefile new file mode 100644 index 0000000..b36b630 --- /dev/null +++ b/xfce/data/xfwm4-themes/Makefile @@ -0,0 +1,37 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfwm4-themes +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:= +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/xfwm4-themes + SECTION:=xorg-data + CATEGORY:=Xorg + SUBMENU:=data + TITLE:=xfwm4-themes + DEPENDS:=xfwm4 +endef + +define Package/xfwm4-themes/install + $(INSTALL_DIR) $(1)/usr/share/themes + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/themes/* \ + $(1)/usr/share/themes +endef + +$(eval $(call BuildPackage,xfwm4-themes)) diff --git a/xfce/libs/libexo/Makefile b/xfce/libs/libexo/Makefile new file mode 100644 index 0000000..95d5397 --- /dev/null +++ b/xfce/libs/libexo/Makefile @@ -0,0 +1,103 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libexo +PKG_VERSION:=0.3.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=exo-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-4.5.93/src/ +PKG_MD5SUM:= +PKG_BUILD_DIR:=$(BUILD_DIR)/exo-$(PKG_VERSION)/ +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib/ + +define Package/libexo + SECTION:=xorg-framework + CATEGORY:=Xorg + SUBMENU:=framework + TITLE:=libexo + DEPENDS:=+gtk2 +libxfce4util +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --libexecdir=/usr/lib/exo/ \ + --disable-hal \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/exo-0.3} + $(CP) \ + $(PKG_INSTALL_DIR)/usr/include/exo-0.3/* \ + $(1)/usr/include/exo-0.3/ + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/libexo/install + $(INSTALL_DIR) $(1)/etc/xdg/xfce4 + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/xfce4/* \ + $(1)/etc/xdg/xfce4/ + + $(INSTALL_DIR) $(1)/usr/lib/exo + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ + + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/exo/exo-helper-0.3 \ + $(PKG_INSTALL_DIR)/usr/lib/exo/exo-compose-mail-0.3 \ + $(1)/usr/lib/exo/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/applications/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications/ + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \ + $(1)/usr/share/icons/hicolor + + $(INSTALL_DIR) $(1)/usr/share/pixmaps/exo-0.3 + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps/exo-0.3/* \ + $(1)/usr/share/pixmaps/exo-0.3/ + + $(INSTALL_DIR) $(1)/usr/share/xfce4/helpers + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfce4/helpers/* \ + $(1)/usr/share/xfce4/helpers/ + +endef + +$(eval $(call BuildPackage,libexo)) diff --git a/xfce/libs/libexo/patches/010-configure.patch b/xfce/libs/libexo/patches/010-configure.patch new file mode 100644 index 0000000..681b269 --- /dev/null +++ b/xfce/libs/libexo/patches/010-configure.patch @@ -0,0 +1,17 @@ +--- exo-0.3.4.orig/configure 2008-09-15 00:56:32.000000000 +0200 ++++ exo-0.3.4/configure 2008-09-15 01:04:43.000000000 +0200 +@@ -22619,13 +22619,7 @@ + fi + + +-if test "$cross_compiling" = yes; then +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; } +-else ++if test "$cross_compiling" != yes; then + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF diff --git a/xfce/libs/libexo/patches/020-no-tests.patch b/xfce/libs/libexo/patches/020-no-tests.patch new file mode 100644 index 0000000..b276320 --- /dev/null +++ b/xfce/libs/libexo/patches/020-no-tests.patch @@ -0,0 +1,33 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -23,8 +23,7 @@ SUBDIRS = \ + pixmaps \ + po \ + po-doc \ +- $(PYTHON_SUBDIR) \ +- tests ++ $(PYTHON_SUBDIR) + + AUTOMAKE_OPTIONS = \ + 1.8 \ +--- a/Makefile.in ++++ b/Makefile.in +@@ -66,7 +66,7 @@ ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = exo exo-csource exo-support exo-desktop-item-edit \ + exo-hal exo-helper exo-mount exo-mount-notify exo-open docs \ +- icons pixmaps po po-doc python tests ++ icons pixmaps po po-doc python + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) +@@ -306,8 +306,7 @@ SUBDIRS = \ + pixmaps \ + po \ + po-doc \ +- $(PYTHON_SUBDIR) \ +- tests ++ $(PYTHON_SUBDIR) + + AUTOMAKE_OPTIONS = \ + 1.8 \ diff --git a/xfce/libs/libxfce4menu/Makefile b/xfce/libs/libxfce4menu/Makefile new file mode 100644 index 0000000..b217a92 --- /dev/null +++ b/xfce/libs/libxfce4menu/Makefile @@ -0,0 +1,57 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libxfce4menu +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=54b75f848566f179fcfd463af03281ff +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+= \ + -I$(STAGING_DIR)/usr/lib/libintl/include + +TARGET_LDFLAGS+= \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/libxfce4menu + SECTION:=xorg-framework + CATEGORY:=Xorg + SUBMENU:=framework + TITLE:=libxfce4menu + DEPENDS:=+gtk2 +libxfce4util +glib2 +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4menu-0.1} + $(CP) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4menu-0.1/* \ + $(1)/usr/include/xfce4/libxfce4menu-0.1/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \ + $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/libxfce4menu/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libxfce4menu)) diff --git a/xfce/libs/libxfce4util/Makefile b/xfce/libs/libxfce4util/Makefile new file mode 100644 index 0000000..0f04504 --- /dev/null +++ b/xfce/libs/libxfce4util/Makefile @@ -0,0 +1,64 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libxfce4util +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=c0a7ae70609ba5df8d42c82c3d8cdb07 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include + +define Package/libxfce4util + SECTION:=xorg-framework + CATEGORY:=Xorg + SUBMENU:=framework + TITLE:=libxfce4util + DEPENDS:=+glib2 +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --with-broken-putenv=no \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4util} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4util/*.h \ + $(1)/usr/include/xfce4/libxfce4util + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \ + $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/libxfce4util/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib + + $(INSTALL_DIR) $(1)/usr/sbin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/sbin/* \ + $(1)/usr/sbin +endef + +$(eval $(call BuildPackage,libxfce4util)) diff --git a/xfce/libs/libxfcegui4/Makefile b/xfce/libs/libxfcegui4/Makefile new file mode 100644 index 0000000..aff6d4e --- /dev/null +++ b/xfce/libs/libxfcegui4/Makefile @@ -0,0 +1,75 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libxfcegui4 +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=e8c760abcd08df81abe4a2f94ced26aa +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+= \ + -I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_CFLAGS+= \ + -L$(STAGING_DIR)/usr/lib/libintl/lib/ + +define Package/libxfcegui4 + SECTION:=xorg-framework + CATEGORY:=Xorg + SUBMENU:=framework + TITLE:=libxfcegui4 + DEPENDS:=+libxfce4util +gtk2 +libglade +libxfconf +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfcegui4,include/xfce4/libxfce4kbd-private} + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfcegui4/* \ + $(1)/usr/include/xfce4/libxfcegui4 + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4kbd-private/* \ + $(1)/usr/include/xfce4/libxfce4kbd-private/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \ + $(1)/usr/lib/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig/ +endef + +define Package/libxfcegui4/install + $(INSTALL_DIR) $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \ + $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ + + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/lib/libglade/2.0 + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/libglade/2.0/*.so \ + $(1)/usr/lib/libglade/2.0/ + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \ + $(1)/usr/share/icons/hicolor/ +endef + +$(eval $(call BuildPackage,libxfcegui4)) diff --git a/xfce/wm/xfwm4/Makefile b/xfce/wm/xfwm4/Makefile new file mode 100644 index 0000000..e44823e --- /dev/null +++ b/xfce/wm/xfwm4/Makefile @@ -0,0 +1,70 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=xfwm4 +PKG_VERSION:=4.5.93 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/ +PKG_MD5SUM:=5655230f7323cda513cf3cc26b8bea78 +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS+= \ + -I$(STAGING_DIR)/usr/lib/libintl/include/ + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Package/xfwm4 + SECTION:=xorg-app + CATEGORY:=Xorg + SUBMENU:=app + TITLE:=xfwm4 + DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libdbus-glib +libwnck +endef + +define Package/xfwm4/install + $(INSTALL_DIR) $(1)/usr/lib/xfce4/xfwm4 + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/lib/xfce4/xfwm4/helper-dialog \ + $(1)/usr/lib/xfce4/xfwm4/ + + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/* \ + $(1)/usr/bin/ + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \ + $(1)/usr/share/icons/hicolor/ + + $(INSTALL_DIR) $(1)/usr/share/applications + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/applications/* \ + $(1)/usr/share/applications/ + + $(INSTALL_DIR) $(1)/usr/share/themes + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/themes/* \ + $(1)/usr/share/themes/ + + $(INSTALL_DIR) $(1)/usr/share/xfwm4 + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/xfwm4/* \ + $(1)/usr/share/xfwm4/ +endef + +$(eval $(call BuildPackage,xfwm4)) -- 2.30.2