From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wCwtJ22pm2FadQAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 15:30:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QC7nIm2pm2FjUQAAB5/wlQ (envelope-from ) for ; Mon, 22 Nov 2021 14:30:05 +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 E61B5A0B5 for ; Mon, 22 Nov 2021 15:30:04 +0100 (CET) Received: from localhost ([::1]:42242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpAKa-0006vc-4t for larch@yhetil.org; Mon, 22 Nov 2021 09:30:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpAJx-0006vN-JD for guix-devel@gnu.org; Mon, 22 Nov 2021 09:29:25 -0500 Received: from mail-0301.mail-europe.com ([188.165.51.139]:43890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpAJt-0002Xu-OK for guix-devel@gnu.org; Mon, 22 Nov 2021 09:29:25 -0500 Date: Mon, 22 Nov 2021 14:29:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1637591354; bh=lDxWzkl4V22KQvmDt6Bj1SXLF/XYzXueMydZyDL61Ck=; h=Date:To:From:Reply-To:Subject:From; b=Vnal94m//Je7Rt2yvPnSSa8ugfgqIyBsxD1zkq5Bt+ImSYPWNQd0VpkVtpjLzR3O2 edtfRCZ3ctJxIAIVwoalcIgRys+V/gq0o1XQfR31z8Y6Li43dZTSnmL+/rvxOYX6cd FS/+Eg3ZL7OuFrWuVuUITmrdZUrLqnyCGqeVCk2y4kOY3YshZiF1jWA4fWEOgOpiVk cfpJIlqDhdKTrY6TIPQnZKI97AqD5uouANBgHdMTOY4iAUENOdtQMd1YJRcEbhxQp2 8dLcLjtDDdHo1d6mNb5ySfnKFU9dUVPwHxz5AdzlXN6FuyDTkGvm5BMs/XzPQWfebQ 9GZ0KH8uw1H1g== To: "guix-devel\\@gnu.org" From: Ekaitz Zarraga Subject: Help with package AppImage support Message-ID: <_xVjfJ4W4fPQpKjHi_K0yQ8it0Qxk0bcqKDkMi5I9LAzgr7nc6G3vS3mSXwtT89mBf4skrlN43EBErQawcLl5PKQaFseUE8799VD_LjxIDE=@elenq.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=ekaitz@elenq.tech; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637591405; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lDxWzkl4V22KQvmDt6Bj1SXLF/XYzXueMydZyDL61Ck=; b=OGEZ9hAbShUxHb0J8Y3zMVHTD6J3dQ7BaPw6Bmw9Rxz+FY9qBligSLlMZD+gkywXkmgpi3 ydNbn8EB5gXuN5ZCmcuWHfqYXeNdcZbtZ01Ll9JWr14Lf47oW8K0F4TmGHpxQEgZo+X9ab kwIpl/rv8GVGpBRbh4JXiY0OKiuUO/UcwFVBeKOiHBffJ+8fddC3H+WUq1zHYX2NeN1TzW POPG4aCzQLOHJmn2qQtL5968fbd0WCkdxVH5dOaxxMJysX1KPm20cX+mssFO7Wc0toZ3l8 PITwiIZf3tvgJilFiI0EggtPj5sCiLaJzN90TFlZOw/YV7iFF+RG3lDsTAjBYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637591405; a=rsa-sha256; cv=none; b=CfCpRIcB01hHrTUYS3Rmte7KgqNPcdNgy7BqQuttYI3PGbjsYj6WTLy4VxcEVBFosIwj53 NrZg8AzHrSiSSRl+PqNiUtBH3Tdv90Lurzwt9v1lS3kWDKtR1zF3BvSXAiGVnakPXK0kuN NM/iLJibaUhzV8N3EOUDiTt7Ye5YDOzax4iq1bJ4ZS5RDKoDGnxL3UvfSDiurNl9DBLzNn d0Kqm722BG22gtwY5A/F6QUo3/ofqDVdXn6cclWGlDdG0EC+kcauM8/VVYwnl5O9JATEK6 F3ne2CyQcGw07Sd1thhQfIsfuRSCM07JaZ05mc+HCCEr2ENmitWR1f2IkMkEpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail header.b="Vnal94m/"; dmarc=pass (policy=none) header.from=elenq.tech; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail header.b="Vnal94m/"; dmarc=pass (policy=none) header.from=elenq.tech; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E61B5A0B5 X-Spam-Score: -4.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: vGzvF5e4r3x9 Hi, I'm trying to package some AppImage support for later adding it to `guix pa= ck`. I having issues with AppImageKit (see below)... I'm not able to make it loa= d the libsquashfuse I already packaged. CMake refuses to find it. I could use a hand to make this package work or at least some help with CMa= ke, because I'm not used to work with it and I know some of you have dealt with= it much more than what I did. Can anyone help me with this? This is the current file I'm using to test all this: (define-module (appimage) #:use-module ((guix licenses) #:prefix license:) #:use-module ((srfi srfi-1) #:hide (zip)) #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages wget) #:use-module (gnu packages vim) #:use-module (gnu packages freedesktop) #:use-module (gnu packages autotools) #:use-module (gnu packages pkg-config) #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) #:use-module (gnu packages boost) #:use-module (gnu packages tls) #:use-module (gnu packages compression) #:use-module (gnu packages commencement) #:use-module (gnu packages backup) #:use-module (gnu packages version-control) #:use-module (gnu packages linux)) (define-public squashfuse (package (name "squashfuse") (version "0.1.104") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/vasi/squashfuse.git") (commit version))) (sha256 (base32 "1j9phqgg3xqfyk94h1vcl5gkyhdfnglmzwva2vvp5ri07b76y3h4")))) (build-system gnu-build-system) (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf) ("pkg-config" ,pkg-config) ("libtool" ,libtool))) (inputs `(("fuse" ,fuse))) (synopsis "FUSE filesystem to mount squashfs archives") (description "Squashfuse lets you mount SquashFS archives in user-space= . It supports almost all features of the SquashFS format, yet is still fast and memory-efficient.") (home-page "https://github.com/vasi/squashfuse") (license license:bsd-2))) (define-public xdg-utils-cxx (package (name "xdg-utils-cxx") (version "1.0.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/azubieta/xdg-utils-cxx.git") (commit (string-append "v" version)) (recursive? #t))) (sha256 (base32 "00nvn00z1c7xvpb7xjm6i9i62hchg3nandxw487g6dallv378hw4")))= ) (build-system cmake-build-system) (arguments `(#:configure-flags (list "-DXDG_UTILS_SHARED=3DON"))) (synopsis "Implementation of the FreeDesktop specifications to be used = in C++ projects") (description "Implementation of the Free Desktop Standards in C++. Thi= s is a project was started to fulfill the need of a reliable implementations of = such standards in the AppImage project. It is totally standalone and only depend= s on the standard c++ libraries (stdlib).") (home-page "https://github.com/azubieta/xdg-utils-cxx") (license license:expat))) (define-public libappimage (package (name "libappimage") (version "1.0.3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/AppImage/libappimage.git") (commit (string-append "v" version)) (recursive? #t))) (sha256 (base32 "1b8kkypzvf12xp25lgcrqrflhj9j8kgwd39za4w90vx3q0c2lpa0")))) (build-system cmake-build-system) (arguments `(#:configure-flags (list "-DBUILD_TESTING:bool=3DFalse" ; Tests are broken "-DUSE_SYSTEM_BOOST=3DOn" "-DUSE_SYSTEM_LIBARCHIVE=3DOn" "-DUSE_SYSTEM_XZ=3DOn" "-DUSE_SYSTEM_XDGUTILS=3DOn" "-DUSE_SYSTEM_SQUASHFUSE=3DOn") #:tests? #f)) ; Tests are broken (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf) ("git" ,git) ("libtool" ,libtool) ("pkg-config" ,pkg-config))) (inputs `(("boost" ,boost) ("cairo" ,cairo) ("desktop-file-validate" ,desktop-file-utils) ("fuse" ,fuse) ("libarchive" ,libarchive) ("librsvg" ,librsvg) ("squashfuse" ,squashfuse) ("wget" ,wget) ("xdg-utils-cxx" ,xdg-utils-cxx) ("xxd" ,xxd) ("xz" ,xz))) (synopsis "Implements functionality for dealing with AppImage files") (description "Library for dealing with AppImage files.") (home-page "https://github.com/AppImage/libappimage/") (license license:expat))) (define-public appimagekit (package (name "appimagekit") (version "13") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/AppImage/appimagekit.git") (commit version) ;; We may be able to disable the recursive flag: ;; - It downloads libappimage ;; - It downloads some CMake related things (recursive? #t))) (sha256 (base32 "171xrnlkmjrk7a44cr10wfpfr8swgzw3yjk7yn4902r6ia73xa56")))) (build-system cmake-build-system) (arguments `(#:configure-flags (list "-DXZ_EXTERNAL=3DOn" "-DUSE_SYSTEM_MKSQUASHFS=3DOn") #:phases (modify-phases %standard-phases (add-after 'patch-source-shebangs 'unbundle (lambda _ (substitute* "CMakeLists.txt" (("add_subdirectory\\(lib\\)") "") (("include\\(lib\\/libappimage\\/cmake\\/tools\= \.cmake\\)") ""))))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("fuse" ,fuse) ("squashfuse" ,squashfuse) ("openssl" ,openssl) ("xz" ,xz))) (synopsis "Implements functionality for dealing with AppImage files") (description "Library for dealing with AppImage files.") (home-page "https://github.com/AppImage/libappimage/") (license license:expat)))