From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 1/2] gnu: Add libxdg-basedir. Date: Wed, 08 Jul 2015 21:50:07 +0300 Message-ID: <871tgimqlc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCuQ9-0008QN-Uy for guix-devel@gnu.org; Wed, 08 Jul 2015 14:50:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCuQ6-0001zI-LV for guix-devel@gnu.org; Wed, 08 Jul 2015 14:50:13 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:36108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCuQ6-0001yI-D1 for guix-devel@gnu.org; Wed, 08 Jul 2015 14:50:10 -0400 Received: by lagc2 with SMTP id c2so228607795lag.3 for ; Wed, 08 Jul 2015 11:50:08 -0700 (PDT) Received: from leviafan ([217.107.192.181]) by smtp.gmail.com with ESMTPSA id xl7sm851142lbb.42.2015.07.08.11.50.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 11:50:07 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Is "freedesktop.scm" the proper place for this package? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-libxdg-basedir.patch >From 520d68e9baf565d835ee6e92d7903c49666ad6f0 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Wed, 8 Jul 2015 19:32:20 +0300 Subject: [PATCH 1/2] gnu: Add libxdg-basedir. * gnu/packages/freedesktop.scm (libxdg-basedir): New variable. --- gnu/packages/freedesktop.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index eeb97cd..5cdb456 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -91,6 +91,39 @@ freedesktop.org project.") other applications that need to directly deal with input devices.") (license license:x11))) +(define-public libxdg-basedir + (package + (name "libxdg-basedir") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/devnev/libxdg-basedir/archive/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0s28c7sfwqimsmb3kn91mx7wi55fs3flhbmynl9k60rrllr00aqw")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + ;; Run 'configure' in its own phase, not now. + (substitute* "autogen.sh" + (("^.*\\./configure.*") "")) + (zero? (system* "sh" "autogen.sh"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (home-page "https://github.com/devnev/libxdg-basedir") + (synopsis "Implementation of the XDG Base Directory specification") + (description + "libxdg-basedir is a C library providing some functions to use with +the freedesktop.org XDG Base Directory specification.") + (license license:expat))) + (define-public elogind (let ((commit "14405a9")) (package -- 2.4.3 --=-=-=--