From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +EtyNcsnT2e1wAAAe85BDQ:P1 (envelope-from ) for ; Tue, 03 Dec 2024 15:46:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +EtyNcsnT2e1wAAAe85BDQ (envelope-from ) for ; Tue, 03 Dec 2024 16:46:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=gseCy7rk; dkim=fail ("headers rsa verify failed") header.d=arctype.co header.s=mail header.b=cmjhEMFF; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733240779; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FI3RRqJxC4LLoyF/BgZ5ZBkw5EgxY6QBhySpXVjCgeg=; b=Z3cR2Ajw/0vVtXCNktd6U2QGWDDfF3OqrSiniYzmmvpqaLPWzuDa28CbhvmV7Ozjbjr371 NILTGIu7K5rTy+ZRGmE9X1A4amYXc/RZhx9037L68qr9Uk0L3NXLeJ8Qn9ZVmoe/xEzInV pE65gKWZUGv9Hl3oQvytE+dn9Jir+1OyEBR1ZjgF6DTMtMo1o1ne+P0AbTpkymHiTNXdxM 3D0lqzypKZrrvp7stoqTsqDgSj8kIIOxAh3dUkc2FhwcoD8XjjQhqptwHXw4NRKDBbKj+A 8OojomgWVF7CqDrSiX3fxgJjiaNqB1xQKJxbW/rTtrJMrk2AUVLSwY8DzphU5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=gseCy7rk; dkim=fail ("headers rsa verify failed") header.d=arctype.co header.s=mail header.b=cmjhEMFF; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733240779; a=rsa-sha256; cv=none; b=OZhihXJBNZn56NOefOCHBdvh0wVDrPCMaMtc1+NAQfOl65gRLkkzgLDpcsK2AT0NubxiVL 7nt6xy1/x9QAH52OHHdpQoXngAbo4ToL1ikJPoi/QLlBFVPF+Erg3an4yX38wl9YafUfMU y+Heh46Kr+tsN/C2a9KiDyLXdlRr6vRVXaG4Gkn2qiQ+6BtcdeOaQEXDFaf1bYasYhibnQ /TgSdmvp9JP72sorfcavKet9zBsgw/zHC7BQemtxjXWQDJda9/TudK/60cJE4m6wF16eqV G/PaU0v2QOGIVhbUSV6KohdKZ5TM6MIlskzqIr3Ka4zfcoaEgSk9m+fA33QwOA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 45F318BDE0 for ; Tue, 03 Dec 2024 16:46:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIV6E-0001i2-UJ; Tue, 03 Dec 2024 10:46:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIV6C-0001hR-PJ for guix-patches@gnu.org; Tue, 03 Dec 2024 10:46:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIV6A-0001wt-TD for guix-patches@gnu.org; Tue, 03 Dec 2024 10:46:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=FI3RRqJxC4LLoyF/BgZ5ZBkw5EgxY6QBhySpXVjCgeg=; b=gseCy7rkCnaxQLq6Mr0TNepBCKuJKj1+DhzHqVFd2RtVH/+ajK0ZHIjWowpMk1/ORJgyt6VFKLu3S8UmY5iePDI6U74GHWMMYypsjUjzgxIZRvublzwmkzp4EGSWiz39B8b65twXWVEB9HjuKqsXf8d5vh6OwbgDDPhXEkWLQgFyg1nCSiVBbHOV3oj+Z5cWBsNKRgh5oqlVlImK4SKg9PblcB0hhk8QvDl7xtshxepWECdAKBaWABnCGCQZy0/Va0KVKFhV2lVGK4gWPZkUug6vRVGX+RpF655tbg0XfxBDRjnS2V/uR8ahoXj5bcmncLYzchhqLS/7Wy4y12oqEw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIV6A-0005NR-JS for guix-patches@gnu.org; Tue, 03 Dec 2024 10:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74671] [PATCH] gnu: freedesktop: Add `libsystemd` Resent-From: Ryan Sundberg Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74671 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74671@debbugs.gnu.org Cc: Ryan Sundberg X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173324071120591 (code B ref -1); Tue, 03 Dec 2024 15:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2024 15:45:11 +0000 Received: from localhost ([127.0.0.1]:60882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIV5K-0005Lz-KD for submit@debbugs.gnu.org; Tue, 03 Dec 2024 10:45:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:41268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIV5I-0005KJ-BR for submit@debbugs.gnu.org; Tue, 03 Dec 2024 10:45:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIV5H-0001Zw-6a for guix-patches@gnu.org; Tue, 03 Dec 2024 10:45:07 -0500 Received: from mail.arctype.co ([138.68.9.245]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIV5E-0001iW-Sv for guix-patches@gnu.org; Tue, 03 Dec 2024 10:45:06 -0500 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 45F2513B1B3; Tue, 3 Dec 2024 15:44:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arctype.co; s=mail; t=1733240669; bh=Llfd53lG6fZ1dNUZnrzA/XmKGRX8ClD9qLcA9JMD+ZU=; h=From:To:Cc:Subject:Date:From; b=cmjhEMFFTBA37hZuKwpVYXEQxyNUD8PI1UeNlFg5+jGPoK3ButQFNOOJaQxcQ9jjE LAK4A7CHz8iquIChC19Ozt6P/YIWAP+/ZZHRq2CVk5w0F5dbkeiYeZJizqsm2tYB9E x/sKjloS+KLaNaMkVEcDybZ34T3YvLUBNRJjRrgxu5TTG3RPm7RAJKDnqbFeJe+epn q5Orl/KGixynbq2JAwiORlTw3HA41q4bmBgjksTaHCbMm2TuoX/feWXm+86IzSTu57 ksRxyOc3EtyN9bMD2zz3fScvjr9G4FTn274O3grXBn1xayy3tQbRyfgpMrHWVteGd0 5B1oXQWKHcVfQ== Date: Tue, 3 Dec 2024 07:44:05 -0800 Message-ID: <9af5f2a281ba77ed960a9117a819bce2ab03f4a9.1733240631.git.ryan@arctype.co> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=138.68.9.245; envelope-from=ryan@arctype.co; helo=mail.arctype.co X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ryan Sundberg X-ACL-Warn: , Ryan Sundberg via Guix-patches From: Ryan Sundberg via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.35 X-Spam-Score: 0.35 X-Migadu-Queue-Id: 45F318BDE0 X-TUID: ky7ds/0wHm2Q Provide libsystemd.so and associated header files for linking against systemd. While users may not wish to use systemd as an init system, some programs may require this for their build process. * gnu/packages/freedesktop.scm (libsystemd): New variable Change-Id: I3f3b16e021ccca801693a0b8e1ba2d9cb040a952 Signed-off-by: Ryan Sundberg --- gnu/packages/freedesktop.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index af35625c18..e2d2b60376 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -761,6 +761,49 @@ (define-public libinput-minimal "-Ddebug-gui=false" ;requires gtk+@3 ,flags)))))) +(define-public libsystemd + (package + (name "libsystemd") + (version "256.9") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/systemd/systemd.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0x7n2jwmwrprl0aqcaxw184r5x03047264ccrv24aivmf5fzk7iy")))) + (build-system meson-build-system) + (arguments + `(;; Don't test all of systemd + #:tests? #f + #:configure-flags (list (string-append "-Drootprefix=" %output)) + #:phases (modify-phases %standard-phases + (replace 'build + (lambda* (#:key parallel-build? #:allow-other-keys) + (invoke "ninja" + "-j" (if parallel-build? (number->string (parallel-job-count)) "1") + "libsystemd.so.0.39.0" + "src/libsystemd/libsystemd.pc"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "meson" "install" "--no-rebuild" "--tags" "libsystemd") + (let ((out (assoc-ref outputs "out"))) + (delete-file "../source/src/systemd/meson.build") + (mkdir-p (string-append out "/lib/pkgconfig")) + (install-file "./src/libsystemd/libsystemd.pc" (string-append out "/lib/pkgconfig")) + (copy-recursively "../source/src/systemd" (string-append out "/include/systemd")))))))) + (inputs + (list gperf libcap libxcrypt (list util-linux "lib"))) + (native-inputs + (list cmake pkg-config python python-jinja2)) + (home-page "https://systemd.io/") + (synopsis "Functions for implementing services and interacting with systemd") + (description "The libsystemd library provides functions that allow interacting with various interfaces provided by the systemd(1) service manager, as well as various other functions and constants useful for implementing services in general.") + (license license:lgpl2.1+))) + (define-public libxdg-basedir (package (name "libxdg-basedir") base-commit: 32d1dfb5545bb01c9d8d7a2465f13f2f379dd96e -- 2.41.0