From a47ba316463b8ee98a8a649f953e9d4a0866e8ba Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 27 May 2009 23:16:25 +0100 Subject: Add recipe for xdg-user-dirs Signed-off-by: Richard Purdie --- .../xdg-user-dirs/xdg-user-dirs/configurefix.patch | 18 ++++++++++++++++++ .../packages/xdg-user-dirs/xdg-user-dirs_0.10.bb | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch create mode 100644 meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb (limited to 'meta-moblin') diff --git a/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch new file mode 100644 index 0000000000..576cdde752 --- /dev/null +++ b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch @@ -0,0 +1,18 @@ +The AM_DISABLE_STATIC appears to pull in strange libtool junk so just remove it. + +RP - 27/5/09 + +Index: xdg-user-dirs-0.10/configure.ac +=================================================================== +--- xdg-user-dirs-0.10.orig/configure.ac 2009-05-27 22:27:20.000000000 +0100 ++++ xdg-user-dirs-0.10/configure.ac 2009-05-27 22:27:28.000000000 +0100 +@@ -13,8 +13,7 @@ + AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET +-AM_PROG_MKDIR_P +-AM_DISABLE_STATIC ++AM_PROG_MKDIR_P + AM_ICONV + + GETTEXT_PACKAGE=xdg-user-dirs diff --git a/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb new file mode 100644 index 0000000000..2ea08b6b01 --- /dev/null +++ b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder" +SRC_URI = "http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.10.tar.gz \ + file://configurefix.patch;patch=1 " +PR = "r1" + +inherit autotools_stage + +do_install_append () { + install -d ${D}${sysconfdir}/skel/.config/ + mv ${D}${sysconfdir}/xdg/user-dirs.defaults ${D}${sysconfdir}/skel/.config/user-dirs.dirs +} -- cgit v1.2.3