From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gK4yOoAii2Hn0gAAgWs5BA (envelope-from ) for ; Wed, 10 Nov 2021 02:38:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GPn0NYAii2ESKgAA1q6Kng (envelope-from ) for ; Wed, 10 Nov 2021 01:38:08 +0000 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 3FF13907C for ; Wed, 10 Nov 2021 02:38:08 +0100 (CET) Received: from localhost ([::1]:40104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkcYx-0001o1-9g for larch@yhetil.org; Tue, 09 Nov 2021 20:38:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkcYs-0001nk-N1 for guix-patches@gnu.org; Tue, 09 Nov 2021 20:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkcYs-00056C-E9 for guix-patches@gnu.org; Tue, 09 Nov 2021 20:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkcYs-0000tZ-Cn for guix-patches@gnu.org; Tue, 09 Nov 2021 20:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH 1/4] gnu: Add libglibutil. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Nov 2021 01:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "51737@debbugs.gnu.org" <51737@debbugs.gnu.org> Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.16365082693408 (code B ref 51737); Wed, 10 Nov 2021 01:38:02 +0000 Received: (at 51737) by debbugs.gnu.org; 10 Nov 2021 01:37:49 +0000 Received: from localhost ([127.0.0.1]:36379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkcYf-0000su-EI for submit@debbugs.gnu.org; Tue, 09 Nov 2021 20:37:49 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:64131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkcYd-0000sg-IF for 51737@debbugs.gnu.org; Tue, 09 Nov 2021 20:37:48 -0500 Date: Wed, 10 Nov 2021 01:37:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636508260; bh=bRaf6/NZgXtL0VC7E643R9Z0NKG56hOHcRk1ID4LcfM=; h=Date:To:From:Reply-To:Subject:From; b=f50KC+t5bFYuEJQd0lbK4Ar6bxBWCY2spfM/+9nmccrKk7MuSNTdfoDN67+PxuWJx It8P2zlHik1FF3aLHA23Dq2eHx7eegau44CJ474O0cYEpLlQ7z+qlvY7R9OXBaGmJd 81ZGoUNHMQzbhvUYnHhrf9ftb6bIdDjA8I3JJEu4= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636508288; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bRaf6/NZgXtL0VC7E643R9Z0NKG56hOHcRk1ID4LcfM=; b=eLwJoxLIjFlzFNGKpY4B6cxbWsx35H1xliB5lSlCyA06Z7sB7DLdUdxrrsj1d8b/FG/i5u iRgFan9Yf1BJwSpXvxCLEzjpDSC4SNtzNeqnL2uzNoL1pSQ35ovxKfqWi61c2cnV/e4LZh jurzCed6zLmT7DcZQ7l5l+bg2S4fgAR9dAtf/XSY3SY5mBsd2AKrWSJ3xpfJHZK+EeYyPe tcIjKWVt5OzdfpE+zMb0QcSVouodn+LBWNnp79AabQA50SYFhJovxx6Cco235XFIZ8aW0v Ac+hlb071Kx7vze/6OxtrAN1mb7CWJ7YIuH3PwXF7IPFgDwWTAO3lfI4ZXLMrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636508288; a=rsa-sha256; cv=none; b=KnQcfyqtPG4/JhWeQ1MOlg5ysJQ6laLuW0YGOa62mwQJ35Qgo7GyqYFg7qRAx4fxP+Pilx e8woPPl55ehcUf3PWsEWm0BGzn9l+9pAjKBvxdr/gov6w8ZIucxz1r5DkOtMbZYq1+QbDU SPBMQ+PevpC30ZklddDm0ieGlNskJXsjZZIbimHl/G1wMbBAoek7sWu6vxJzHkiapS7GFJ jd3MFXF18ndlSgYyd10kcTFxZLPMKCVwEJI2LPmLwlAyIxRzkqjB32FFab8JuMDkiEfiIv KsavcBIqu+FG2Fa6YoXmyE6cpzc3eJIx5PWLC5Zsau/qLsZ55cDiZP+g3EDbLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=f50KC+t5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=f50KC+t5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3FF13907C X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: Oy69zyigEsyx * gnu/packages/glib.scm (libglibutil): New variable. diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 8ed1e3a944..6d8a6801da 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2019, 2020 Marius Bakke ;;; Copyright =C2=A9 2020 Nicol=C3=B2 Balzarotti ;;; Copyright =C2=A9 2020 Arthur Margerit +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -68,6 +69,7 @@ (define-module (gnu packages glib) #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) @@ -749,6 +751,49 @@ (define-public glibmm-2.64 `(("libsigc++" ,libsigc++) ("glib" ,glib))))) +(define-public libglibutil + (package + (name "libglibutil") + (version "1.0.55") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sailfishos.org/mer-core/libglibutil") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zrxccpyfz4jf14zr6fj9b88p340s66lw5cnqkapfa72kl1rnp4q")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "CC=3D" ,(cc-for-target)) + (string-append "DESTDIR=3D" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'remove-usr-prefix + (lambda* _ + (substitute* "libglibutil.pc.in" + (("/usr/include") (string-append %output "/include"))) + (substitute* "Makefile" + (("usr/") "")))) + (add-after 'install 'install-dev + (lambda* _ + (invoke "make" "install-dev" (string-append "DESTDIR=3D" %out= put)))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (chdir "test") + (invoke "make" (string-append "CC=3D" ,(cc-for-target))) + (chdir "..") #t)))))) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("glib" ,glib))) + (home-page "https://git.sailfishos.org/mer-core/libglibutil") + (synopsis "GLib utilites") + (description "This package provides library of glib utilities.") + (license license:bsd-3))) + (define-public python2-pygobject-2 (package (name "python2-pygobject") -- 2.33.1