From patchwork Wed Nov 17 16:07:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 34578 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5B4A127BBE3; Wed, 17 Nov 2021 16:23:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0941427BBE1 for ; Wed, 17 Nov 2021 16:23:40 +0000 (GMT) Received: from localhost ([::1]:35170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnNil-0004uS-2T for patchwork@mira.cbaines.net; Wed, 17 Nov 2021 11:23:39 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches 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/~martijnbraam/megapixels. * gnu/packages/gnome.scm (megapixels): New variable. base-commit: b7b982228a7256afcb83d0b05a098139c2e1a644 --- 2.33.0 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")