pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xdg-user-dirs import xdg-user-dirs-0.10 which does...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f63d74f9bae6
branches: trunk
changeset: 557509:f63d74f9bae6
user: drochner <drochner%pkgsrc.org@localhost>
date: Thu Apr 16 19:06:56 2009 +0000
description:
import xdg-user-dirs-0.10 which does basically provide a tool
to create the ~/.config/user-dirs.dirs file which is used by
modern applications to get "well known" user directories
(for downloads etc)
diffstat:
x11/xdg-user-dirs/DESCR | 9 +++++++
x11/xdg-user-dirs/Makefile | 22 ++++++++++++++++++
x11/xdg-user-dirs/PLIST | 46 ++++++++++++++++++++++++++++++++++++++
x11/xdg-user-dirs/distinfo | 8 ++++++
x11/xdg-user-dirs/patches/patch-aa | 14 +++++++++++
x11/xdg-user-dirs/patches/patch-ab | 18 ++++++++++++++
x11/xdg-user-dirs/patches/patch-ac | 13 ++++++++++
7 files changed, 130 insertions(+), 0 deletions(-)
diffs (158 lines):
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/DESCR Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,9 @@
+xdg-user-dirs is a tool to help manage "well known" user directories like
+the desktop folder and the music folder. It also handles localization
+(i.e. translation) of the filenames.
+The way it works is that xdg-user-dirs-update is run very early in the
+login phase. This program reads a configuration file, and a set of
+default directories. It then creates localized versions of these
+directories in the users home directory and sets up a config file
+in $(XDG_CONFIG_HOME)/user-dirs.dirs (XDG_CONFIG_HOME defaults to ~/.config)
+that applications can read to find these directories.
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/Makefile Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/16 19:06:56 drochner Exp $
+#
+
+DISTNAME= xdg-user-dirs-0.10
+CATEGORIES= x11
+MASTER_SITES= http://user-dirs.freedesktop.org/releases/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.freedesktop.org/wiki/Software/xdg-user-dirs
+COMMENT= Tool to manage "well known" user directories
+
+GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+
+EGDIR= ${PREFIX}/share/examples/xdg
+
+CONF_FILES+= ${EGDIR}/user-dirs.conf \
+ ${PKG_SYSCONFDIR}/xdg/user-dirs.conf
+CONF_FILES+= ${EGDIR}/user-dirs.defaults \
+ ${PKG_SYSCONFDIR}/xdg/user-dirs.defaults
+
+.include "../../mk/bsd.pkg.mk"
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/PLIST Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/16 19:06:56 drochner Exp $
+bin/xdg-user-dir
+bin/xdg-user-dirs-update
+share/examples/xdg/user-dirs.conf
+share/examples/xdg/user-dirs.defaults
+share/locale/af/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ar/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/be@latin/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/bg/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ca/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/cs/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/da/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/de/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/el/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/es/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/et/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/eu/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/fi/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/fr/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ga/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/hu/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/it/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ja/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ko/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ku/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/lt/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/mk/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/nb/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/nl/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/nn/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/pa/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/pl/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/pt/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/pt_BR/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/ru/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/sk/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/sr/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/sr@Latn/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/sv/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/th/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/tr/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/uk/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/zh_CN/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/zh_HK/LC_MESSAGES/xdg-user-dirs.mo
+share/locale/zh_TW/LC_MESSAGES/xdg-user-dirs.mo
+@dirrm share/examples/xdg
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/distinfo Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/16 19:06:56 drochner Exp $
+
+SHA1 (xdg-user-dirs-0.10.tar.gz) = 824ab2ccdbea30d4cdc29bbec3b80250297e363b
+RMD160 (xdg-user-dirs-0.10.tar.gz) = 6069cff49918dc0393bc86bde1a95268e8c6de51
+Size (xdg-user-dirs-0.10.tar.gz) = 242835 bytes
+SHA1 (patch-aa) = 133a075c749ec27c46688c0ff9894d3689ea6d80
+SHA1 (patch-ab) = 2a699ce58d526684c53c0e989b95de588908e324
+SHA1 (patch-ac) = da06f94f98f6d9ad8fb219c0d6708868b9975821
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/patches/patch-aa Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/16 19:06:56 drochner Exp $
+
+--- xdg-user-dir.orig 2007-02-26 16:51:16.000000000 +0100
++++ xdg-user-dir
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+
+-test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
+-if [ "x$1" == "xDESKTOP" ]; then
++test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && . ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
++if [ "x$1" = "xDESKTOP" ]; then
+ eval echo \${XDG_${1}_DIR:-$HOME/Desktop}
+ else
+ eval echo \${XDG_${1}_DIR:-$HOME}
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/patches/patch-ab Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/04/16 19:06:56 drochner Exp $
+
+--- configure.orig 2009-04-16 16:43:21.000000000 +0200
++++ configure
+@@ -6744,12 +6744,11 @@ extern
+ #ifdef __cplusplus
+ "C"
+ #endif
+-const char *_nl_expand_alias (const char *);
+ int
+ main ()
+ {
+ bindtextdomain ("", "");
+-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
++return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr
+ ;
+ return 0;
+ }
diff -r 443f9fb06f25 -r f63d74f9bae6 x11/xdg-user-dirs/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xdg-user-dirs/patches/patch-ac Thu Apr 16 19:06:56 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/04/16 19:06:56 drochner Exp $
+
+--- Makefile.in.orig 2009-04-16 17:04:57.000000000 +0200
++++ Makefile.in
+@@ -229,7 +229,7 @@ INCLUDES = \
+ EXTRA_DIST = config.rpath translate.c autogen.sh \
+ user-dirs.conf user-dirs.defaults xdg-user-dir
+
+-xdgdir = $(sysconfdir)/xdg
++xdgdir = $(prefix)/share/examples/xdg
+ xdg_DATA = user-dirs.conf user-dirs.defaults
+ libraries = $(LIBINTL)
+ bin_SCRIPTS = \
Home |
Main Index |
Thread Index |
Old Index