From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GMJaKpMslWHpKwAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 17:23:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QFD5JZMslWGqXwAA1q6Kng (envelope-from ) for ; Wed, 17 Nov 2021 16:23:47 +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 51EB52ADBD for ; Wed, 17 Nov 2021 17:23:47 +0100 (CET) Received: from localhost ([::1]:35170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnNiq-0004uS-Qz for larch@yhetil.org; Wed, 17 Nov 2021 11:23:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnNTe-0007Y5-IN for guix-patches@gnu.org; Wed, 17 Nov 2021 11:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnNTe-0003Va-8i for guix-patches@gnu.org; Wed, 17 Nov 2021 11:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnNTd-0002YI-UR for guix-patches@gnu.org; Wed, 17 Nov 2021 11:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51923] [PATCH] gnu: Add megapixels. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Nov 2021 16:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51923 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51923@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.16371652539757 (code B ref -1); Wed, 17 Nov 2021 16:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 16:07:33 +0000 Received: from localhost ([127.0.0.1]:33568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnNT0-0002Wy-0Q for submit@debbugs.gnu.org; Wed, 17 Nov 2021 11:07:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:44600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnNSw-0002Wo-0Z for submit@debbugs.gnu.org; Wed, 17 Nov 2021 11:07:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnNSt-0005Yv-Re for guix-patches@gnu.org; Wed, 17 Nov 2021 11:07:16 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:55976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnNSr-0003Su-3N for guix-patches@gnu.org; Wed, 17 Nov 2021 11:07:15 -0500 Date: Wed, 17 Nov 2021 16:07:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1637165226; bh=VFsii1GklxfFVyFRIZfLVG1y1Vy+eOYRi14LLN5sIao=; h=Date:To:From:Reply-To:Subject:From; b=V6L551ge8QORJrjYOKuuQTAwYcHYJAvJe1YWPqWccaIrfEAxc7XeYPIB8zB9r08XO CR3Xw/64nbmKjXvx029ppXlAy6XY5m7kqW9cMmx/Y3sseavIOY3MQs0Nw2+k3nmm4+ tDYoacyGz++eEh9IJLTAbzB+MiCbFg8ozXurOC+U= Message-ID: <1vMgyrQNafwkMS0fIpN4mfDx99qF7xXbrXm_sCn6ysww4GrF4zowVOX2LzUzvgC33fu6zlCrPKQTpas0kymx5ME2BmRRNON5m0cmlh9Lrbs=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=phodina@protonmail.com; helo=mail-40131.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , 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=1637166227; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VFsii1GklxfFVyFRIZfLVG1y1Vy+eOYRi14LLN5sIao=; b=bGWZv8a6RnfORP+5yD2uZ3SmbN2TgZ7oQeNzAmr9iKRFdS9rYS2gr05FvLD1qPQ5dKlMlF rSkt9OgD4jFB6VbMD84NP+ZoBr2Tt7KthdEQAsLba4SIY+6xxnR3Iwp8Au+piFQTH5ECKJ JQzpr7Cuq7zSUuRyeKn4BzoGzRBz5BfFi/DpDTpvt9celuNfL4cB0Ql2Ju00QIW7XVmZt6 Qoe7jiAviHorO5+oZFgEdSAUQpA8QZ0qDYMg2tPkAkjEY7DMcYGYNmHFuG4DdJvyGbvyd1 vpf8G3dli4+iehBgWF8abgWqh84j4j1f7Gxb/HF15hhY7dT+wgZYzerkjO1aCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637166227; a=rsa-sha256; cv=none; b=LMYoqI0Psx2vNRPUuSuhO8Yx9OsJbdkQhtMGBkDjQSg7DtjHDPblIBx1fo1Mhr+G8f7fIH UvRplSwEU4kdePebmg2yQcwTM6TYUnIbMe+0l9j26KuaFNZtux3/WqzzPHlE+6pVPCff2x ZDMevT9Y5I7aw/5rOXsi4T3BouBq/r2TkNkO9tA0hc1QhFjlNwI2pmBZT78TsgQ8ThoDJR /dBLtxkdbeAn4pegYZVHs+mT5ucLzy+rFNHUDskfmjM4dDJu4jVsbjhyIewkvOfxtVLrd5 Ric66KfVpXUh1Icu8TzXfWNgw+zU0QyYO0lC3DGVMAP1MFT0S7B3mwrnlHYsQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=V6L551ge; 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: -3.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=V6L551ge; 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: 51EB52ADBD X-Spam-Score: -3.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: +coQ9eciwq59 Hi, this adds support for the camera on PinePhone. Also when I run lint it errors: ice-9/boot-9.scm:1685:16: In procedure raise-exception: error: remote-refs: unbound variable The problem is in the updater not handling the url https://git.sr.ht/~marti= jnbraam/megapixels. * gnu/packages/gnome.scm (megapixels): New variable. diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 19520f335a..7d53784533 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1137,6 +1137,42 @@ freedesktop.org desktop notification specification."= ) (home-page "https://wiki.gnome.org/Projects/NotificationDaemon") (license license:gpl2+))) +(define-public megapixels + (package + (name "megapixels") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~martijnbraam/megapixels") + (commit version))) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dagp1sh5whnnllrydk7ijjid0hmvcbdm8kkzq2g168khdfn80jm")))) + (build-system meson-build-system) + (native-inputs `(("pkg-config" ,pkg-config) + ("gtk:bin" + ,gtk "bin") ; for gtk-update-icon-cache + ("glib:bin" + ,glib "bin") ; glib-compile-schemas, etc. + ("desktop-file-utils" + ,desktop-file-utils) ; for update-desktop-database + ("zbar" ,zbar) + ("libtiff" ,libtiff) + ("cmake" ,cmake))) + (inputs `(("libhandy" ,libhandy) + ("perl-image-exiftool" ,perl-image-exiftool) + ("imagemagick" ,imagemagick) + ("libraw" ,libraw) + ("gtk" ,gtk))) + (synopsis "Camera application") + (description "This package provides camera application that knows +how to deal with the media request api.") + (home-page "https://git.sr.ht/~martijnbraam/megapixels") + (license license:gpl3+))) + (define-public mm-common (package (name "mm-common") base-commit: b7b982228a7256afcb83d0b05a098139c2e1a644 -- 2.33.0