summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-27 23:16:25 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-27 23:16:25 +0100
commita47ba316463b8ee98a8a649f953e9d4a0866e8ba (patch)
treed67a441a301c10ccbb5fb29bf7f51ad5cfabd9aa
parentb63ec221132a43fa5fd80518b9cbf2624975b9c0 (diff)
downloadpoky-a47ba316463b8ee98a8a649f953e9d4a0866e8ba.tar.gz
Add recipe for xdg-user-dirs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch18
-rw-r--r--meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb11
2 files changed, 29 insertions, 0 deletions
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 @@
1The AM_DISABLE_STATIC appears to pull in strange libtool junk so just remove it.
2
3RP - 27/5/09
4
5Index: xdg-user-dirs-0.10/configure.ac
6===================================================================
7--- xdg-user-dirs-0.10.orig/configure.ac 2009-05-27 22:27:20.000000000 +0100
8+++ xdg-user-dirs-0.10/configure.ac 2009-05-27 22:27:28.000000000 +0100
9@@ -13,8 +13,7 @@
10 AC_PROG_INSTALL
11 AC_PROG_LN_S
12 AC_PROG_MAKE_SET
13-AM_PROG_MKDIR_P
14-AM_DISABLE_STATIC
15+AM_PROG_MKDIR_P
16 AM_ICONV
17
18 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 @@
1DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder"
2SRC_URI = "http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.10.tar.gz \
3 file://configurefix.patch;patch=1 "
4PR = "r1"
5
6inherit autotools_stage
7
8do_install_append () {
9 install -d ${D}${sysconfdir}/skel/.config/
10 mv ${D}${sysconfdir}/xdg/user-dirs.defaults ${D}${sysconfdir}/skel/.config/user-dirs.dirs
11}