GNU bug report logs - #74315
[PATCH 0/1] gnu: Add ptouch-print.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Fredrik Salomonsson <plattfot@HIDDEN>; Keywords: patch; dated Tue, 12 Nov 2024 03:20:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 74315 <at> debbugs.gnu.org:


Received: (at 74315) by debbugs.gnu.org; 8 Apr 2025 22:05:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 08 18:05:20 2025
Received: from localhost ([127.0.0.1]:35901 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u2H4J-0001VX-Ok
	for submit <at> debbugs.gnu.org; Tue, 08 Apr 2025 18:05:20 -0400
Received: from mout02.posteo.de ([185.67.36.66]:57687)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <plattfot@HIDDEN>)
 id 1u2H4F-0001To-3C
 for 74315 <at> debbugs.gnu.org; Tue, 08 Apr 2025 18:05:17 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 40F2A240101
 for <74315 <at> debbugs.gnu.org>; Wed,  9 Apr 2025 00:05:05 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1744149906; bh=rcz/HKt75/ChWhGBb9F5CT7ri3rm/igujADY2+d7iNQ=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=O9a4aqTMB7aksYpj4JtTzW2SmwXaJSIoGmX0itKDuFUnTfIg9V4MVVDjCopaWT2Vv
 8fDKJMxJOl48nNS+fCYUrSiX/I60s2yeQ8QyHwA6vR48IzEfiIaHm7LuTFoalvqdF/
 H9wqP5nTNlgcOKE05oovYzc3POw4eGd0bA7D9GLx6tPla+qMr7BMyuw/pZy1Z3aC5S
 GRanCEPcjy6bngr0XHbnnHKcdRUVM1LzxCPB2zVHCuNPFkLZhqPxhoecA0k+hT9/H4
 by40eAPBsTnWwluI/y35X4mjvpHa4EmLM/HJgGqmyL1/0MvONCmJKhcGHjgeAi0BvS
 jUVgQLAbw2axw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4ZXKrK10vsz6v0F;
 Wed,  9 Apr 2025 00:05:03 +0200 (CEST)
From: Fredrik Salomonsson <plattfot@HIDDEN>
To: 74315 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add ptouch-print.
Date: Tue,  8 Apr 2025 22:04:46 +0000
Message-ID: <d04410cabd78344521a40874f8bca320ed7e3e1e.1744149862.git.plattfot@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Fredrik Salomonsson <plattfot@HIDDEN>,
 Sharlatan Hellseher <sharlatanus@HIDDEN>, Steve George <steve@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74315
Cc: Fredrik Salomonsson <plattfot@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/printers.scm (ptouch-print): New variable.

Change-Id: I2ab2a80b80932af8566f6c5879e63e7b0bced747
---
 gnu/packages/printers.scm | 51 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 0069494b4d..8a78adbfd7 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -22,14 +22,18 @@ (define-module (gnu packages printers)
   #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages avahi)
+  #:use-module (gnu packages gd)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages man)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages qt))
 
 ;; This is a module for packages related to printer-like devices, but not
@@ -69,6 +73,53 @@ (define-public ipp-usb
 simply relay a TCP connection to USB do not work.")
     (license license:bsd-2)))
 
+(define-public ptouch-print
+  (package
+    (name "ptouch-print")
+    (version "1.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.familie-radermacher.ch/linux/ptouch-print.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1pxi30a74azhzsl1wni2va4rkhlfn97qxmz4kryrj9xkvf55jv88"))
+       (file-name (git-file-name name version))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f ;no test target
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'patch-cmakefile
+                    (lambda _
+                      (substitute* "CMakeLists.txt"
+                        ;; Remove the internal override of CMAKE_INSTALL_PREFIX
+                        (("set\\(CMAKE_INSTALL_PREFIX /usr\\)")
+                         "")
+                        ;; Remove hard coded udev install steps, installing it in the
+                        ;; install-udev-rules phase
+                        (("if\\(EXISTS /etc/udev/rules.d\\)
+	install\\(FILES udev/90-usb-ptouch-permissions.rules DESTINATION /etc/udev/rules.d\\)
+	install\\(CODE \"execute_process(COMMAND udevadm control --reload-rules)\"\\)
+endif\\(\\)
+")
+                         "")) #t))
+                  (add-after 'install 'install-udev-rules
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (rules (string-append out "/lib/udev/rules.d/")))
+                        (install-file
+                         "../source/udev/90-usb-ptouch-permissions.rules"
+                         rules)))))))
+    (native-inputs (list gd git gettext-minimal libusb pkg-config))
+    (synopsis "CLI tool to print labels on Brother P-Touch printers")
+    (description
+     "A command line tool to print labels on Brother P-Touch
+printers on Linux.  Note that there is no need to install the printer via CUPS, the
+printer is accessed directly via libusb.")
+    (home-page "https://dominic.familie-radermacher.ch/projekte/ptouch-print/")
+    (license license:gpl3)))
+
 (define-public robocut
   (package
     (name "robocut")

base-commit: c9dfe2aceb69e121b03349b6610d51d9374b4570
-- 
2.49.0





Information forwarded to plattfot@HIDDEN, sharlatanus@HIDDEN, steve@HIDDEN, guix-patches@HIDDEN:
bug#74315; Package guix-patches. Full text available.

Message received at 74315 <at> debbugs.gnu.org:


Received: (at 74315) by debbugs.gnu.org; 8 Apr 2025 16:54:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 08 12:54:22 2025
Received: from localhost ([127.0.0.1]:35133 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u2CDN-0000xr-Kf
	for submit <at> debbugs.gnu.org; Tue, 08 Apr 2025 12:54:22 -0400
Received: from mout01.posteo.de ([185.67.36.65]:54095)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <plattfot@HIDDEN>)
 id 1u2CDK-0000x8-QE
 for 74315 <at> debbugs.gnu.org; Tue, 08 Apr 2025 12:54:19 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id C82D7240027
 for <74315 <at> debbugs.gnu.org>; Tue,  8 Apr 2025 18:54:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1744131252; bh=y30NxPwhRw9hMYu7aECLIWXhy6CU8w5drttnFIZNl7M=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:
 Content-Transfer-Encoding:From;
 b=qQtU0xLZO1nZeEZm3YCtSunMwr3Q5mkB9Pm7ypPgtnrKZj2jEC7KJe6HarwTk2arI
 gcUNl2rLMlJcH0r5fFMxBkNqnR463sxwGbzbfm6PWkrJMZknwRmU8/urGWi/N3UZTp
 LtaWFQc5tf3b+diLpS7JU+6COKGa5lRR8sK/h6zP1fK4bHyEeoSn0gIU9QevSUARE5
 XgGBEQQucfc7pgfj7laBo9eMIxBlTKO4nPoK30s2yL1r5N/ekM+03iyqjhOLAzC0fM
 O2xZ6WxMZZCSoSVQ+2CkpYqqkkDSuOWjOEa3dspGJmukHpgWFIOPjhTMsi5GVFbALq
 nG+w+M3krSulg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4ZXBxZ719yz9rxL
 for <74315 <at> debbugs.gnu.org>; Tue,  8 Apr 2025 18:54:10 +0200 (CEST)
From: Fredrik Salomonsson <plattfot@HIDDEN>
To: 74315 <at> debbugs.gnu.org
Subject: RE: [bug#74315] [PATCH 0/1] gnu: Add ptouch-print.
In-Reply-To: <878qq8u6t3.fsf@HIDDEN> (Sharlatan Hellseher's message of
 "Fri, 14 Feb 2025 11:03:36 +0000")
References: <cover.1731381092.git.plattfot@HIDDEN>
 <878qq8u6t3.fsf@HIDDEN>
Date: Tue, 08 Apr 2025 16:54:08 +0000
Message-ID: <87v7rebnm7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74315
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hi Sharlatan,

Sorry I missed your question, for some reason I didn't get the email.

Sharlatan Hellseher <sharlatanus@HIDDEN> writes:

> I started reviewing you patch, just a question of interest why commit
> and not git tag?
>
> +(define-public ptouch-print
> +  (let ((commit "740b20e150e030aa2e75086d1202064f9c4c4090")
> +        (revision "0"))
>
> There is a fresh one
> https://git.familie-radermacher.ch/linux/ptouch-print.git/tag/?h=3Dv1.6

It seems to be just bad timing on my part.  As I'd packaged this in my
own channel 2024 October 26 =E2=80=94 at that time it was just the v1.5 tag=
 from
three years ago so I opted for the latest commit.  I tested it in my
channel to see if it was working then ported it to the main Guix
channel.  It seems that the tag was created about a week after I created
the package in my channel.  And I forgot to check the repository when I
ported it to guix.

I'll update the patch to use the tag instead, should be in a few hours
or so.

And thank you Steve for the reminder!

--=20
s/Fred[re]+i[ck]+/Fredrik/g




Information forwarded to guix-patches@HIDDEN:
bug#74315; Package guix-patches. Full text available.

Message received at 74315-submitter <at> debbugs.gnu.org:


Received: (at 74315-submitter) by debbugs.gnu.org; 8 Apr 2025 12:56:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 08 08:56:44 2025
Received: from localhost ([127.0.0.1]:59842 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u28VQ-0004Yb-86
	for submit <at> debbugs.gnu.org; Tue, 08 Apr 2025 08:56:44 -0400
Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:37454)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <steve@HIDDEN>)
 id 1u28VF-0004X6-Oj; Tue, 08 Apr 2025 08:56:38 -0400
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit05.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <steve@HIDDEN>)
 id 1u28V7-00EukB-0O; Tue, 08 Apr 2025 14:56:25 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=futurile.net; s=selector1; h=Content-Type:MIME-Version:Message-ID:Subject:
 To:From:Date; bh=040U03f239vj4Uw2gM7CQnJJQ2q8yIyNJa+Zgu7AtaA=; b=ANtJ8lVVdUfE
 qU7fG3BDTbb3TOcG0tlF7esThpfxv/D+/+gyVQfI0zhcDt5KARLLwG0BLYZVPtjiZeMu/vZ+4i74i
 aM86NgvLyrEJnF29WK6vmUa8HvQzDL0Be1fQed5BGqM8DWCV/ZmmDkYZrFlE9ZWIExBbOeYf9f75U
 Goa3e9B8XY2baYcEOTisqwIjbUHDjGVOZ31SLU3NC+GscmE4YaeVv0wBASFsrwZptPSV5i5Sz/I1j
 A1xmtI3Xu3UgdyarVxahHQAfRZZMRVzY+qdyW6Pm9Onc2WCTgVJbF+lXCmHBBJJFQfuwkzQ2xxl7U
 hijXFq9Zmq8NDRHH6B7xFg==;
Received: from [10.9.9.73] (helo=submission02.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <steve@HIDDEN>)
 id 1u28V6-0000j5-Bw; Tue, 08 Apr 2025 14:56:24 +0200
Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)]
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
 id 1u28V2-00DgkI-UV; Tue, 08 Apr 2025 14:56:21 +0200
Date: Tue, 8 Apr 2025 13:56:19 +0100
From: Steve George <steve@HIDDEN>
To: 74315 <at> debbugs.gnu.org, 74315-submitter <at> debbugs.gnu.org
Subject: RE: Add ptouch-print to Guix
Message-ID: <Z_Uc86Qg5Kfv9U45@t25sg>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 74315-submitter
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Fredrik,

Just a reminder that Sharlatan left a question when reviewing your patch. Just in case you didn't get the notification:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74315

  Cheers,

  Futurile / Steve




Message sent on to Fredrik Salomonsson <plattfot@HIDDEN>:
bug#74315. Full text available.

Message received at 74315 <at> debbugs.gnu.org:


Received: (at 74315) by debbugs.gnu.org; 8 Apr 2025 12:56:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 08 08:56:44 2025
Received: from localhost ([127.0.0.1]:59840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u28VM-0004YI-Kz
	for submit <at> debbugs.gnu.org; Tue, 08 Apr 2025 08:56:44 -0400
Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:37454)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <steve@HIDDEN>)
 id 1u28VF-0004X6-Oj; Tue, 08 Apr 2025 08:56:38 -0400
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit05.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <steve@HIDDEN>)
 id 1u28V7-00EukB-0O; Tue, 08 Apr 2025 14:56:25 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=futurile.net; s=selector1; h=Content-Type:MIME-Version:Message-ID:Subject:
 To:From:Date; bh=040U03f239vj4Uw2gM7CQnJJQ2q8yIyNJa+Zgu7AtaA=; b=ANtJ8lVVdUfE
 qU7fG3BDTbb3TOcG0tlF7esThpfxv/D+/+gyVQfI0zhcDt5KARLLwG0BLYZVPtjiZeMu/vZ+4i74i
 aM86NgvLyrEJnF29WK6vmUa8HvQzDL0Be1fQed5BGqM8DWCV/ZmmDkYZrFlE9ZWIExBbOeYf9f75U
 Goa3e9B8XY2baYcEOTisqwIjbUHDjGVOZ31SLU3NC+GscmE4YaeVv0wBASFsrwZptPSV5i5Sz/I1j
 A1xmtI3Xu3UgdyarVxahHQAfRZZMRVzY+qdyW6Pm9Onc2WCTgVJbF+lXCmHBBJJFQfuwkzQ2xxl7U
 hijXFq9Zmq8NDRHH6B7xFg==;
Received: from [10.9.9.73] (helo=submission02.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <steve@HIDDEN>)
 id 1u28V6-0000j5-Bw; Tue, 08 Apr 2025 14:56:24 +0200
Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)]
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
 id 1u28V2-00DgkI-UV; Tue, 08 Apr 2025 14:56:21 +0200
Date: Tue, 8 Apr 2025 13:56:19 +0100
From: Steve George <steve@HIDDEN>
To: 74315 <at> debbugs.gnu.org, 74315-submitter <at> debbugs.gnu.org
Subject: RE: Add ptouch-print to Guix
Message-ID: <Z_Uc86Qg5Kfv9U45@t25sg>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 74315
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Fredrik,

Just a reminder that Sharlatan left a question when reviewing your patch. Just in case you didn't get the notification:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74315

  Cheers,

  Futurile / Steve




Information forwarded to guix-patches@HIDDEN:
bug#74315; Package guix-patches. Full text available.

Message received at 74315 <at> debbugs.gnu.org:


Received: (at 74315) by debbugs.gnu.org; 14 Feb 2025 11:04:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 06:04:16 2025
Received: from localhost ([127.0.0.1]:47284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1titUV-00088D-Sj
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 06:04:16 -0500
Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:60919)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1titU0-00086f-8z
 for 74315 <at> debbugs.gnu.org; Fri, 14 Feb 2025 06:03:44 -0500
Received: by mail-wr1-x42f.google.com with SMTP id
 ffacd0b85a97d-38f29a1a93bso1013763f8f.1
 for <74315 <at> debbugs.gnu.org>; Fri, 14 Feb 2025 03:03:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739531018; x=1740135818; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=lNDwqYu6JzPXRsj4gwmsSjKe39cwAARwtP+HVdH4kEU=;
 b=g2PqfSsaUtBRWHK2Af8XDH/MQ3Kt8Y16kWRh1D3dAGby8p13tnfup6CKfq05JqdgeD
 RD2NHNAMJw/fMB8rA+oA4lyBMutLkK379mtoLoMbvOEqg37LrR/eVfXtZpGm3uksNetF
 utjy6Zt8B5jzwysljyUBuRphIon1q9BmzHXtqPnsiR7x+ptREdKLzGIXbYVf+vBeZijq
 58oPdErpVyGubi4VwuYGSJctgpZvnAhqUHYekrFGVs3ZxDTBXnySxM2uSIsl/3TWuFVU
 uTY+zMhRMklL/truP0IgCxYL8dd0bzjaVnrjGFHfcs8BiaHvhFrGTAvgEYu+JCrimj3P
 KlpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739531018; x=1740135818;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=lNDwqYu6JzPXRsj4gwmsSjKe39cwAARwtP+HVdH4kEU=;
 b=rgQCLOXM0zy8WJFC3+zWBehuZ7u5wdB8FZrrHYXBmi5yGQVEZyitYzmYM+HxrWHgTd
 Hrdnrg9uI0Cp8lrFSTIdTpaRXKtMg21joDb/6K1up9U/8mzAPEEfY6uXa3X7R6xNMsVg
 bERSznz2BUZ9HTHPcZ6QVqgqubUeN1AcbwwfoEyeJr4FcRHijukJck++l6WpwNniQmfr
 YLsPl2TRUVKsNiZxyddA2wSCjgg8MIoK0vpiYPxf35WgpEe3DaRRoehUsRvbnYmQVZVV
 s9sHBMG3IKD29+WWMQEwWUN1vThXhVX/5rzxhucLOUcXn4LORY8tahkvNRNw8i6jMn7C
 WJSg==
X-Gm-Message-State: AOJu0YzwWOxMrNdCCSy1z7V3BlGGGzPiqMdvdoMkxHPaSPDTRvH4B1tH
 LQ1OhqKi8EZ+1NLV3KCwdLzkcXi4zs6TLN5E64GzLOPjo/eedve7L7GzeX3A
X-Gm-Gg: ASbGncvzEJkzd20cQbI9c5FyMk9/lHOdt3/yxS9T/dmYnYTqXrCFpJSruauQpg8Pmpv
 cwUlhvCUZlonkagwMiU4UJStWZOosrVYRV7d/3geq+BbpYqE8KBe+b3uzH/YQusMex6v8DwFWtV
 JXsbJCbOotsVrkCoR6wlXi0bHbqXm5Jb9tp2MwL/XVYmYeuIZRJwm2Nn2lXdBonK+3k8FxHF8EN
 Htt4FT/69qjyZ3dpKeXACgKftWSn60G1w/rvPtclTsh+IT1iOXUAF6CGr0Zlwh5gRYP+FXbiOsf
 e59JlGVEtNxsZgAqn4GJoxUH4wXlrxCAWg8B6FoTNkN4y2QD8nJiJt4t2SCgearzrOQ=
X-Google-Smtp-Source: AGHT+IHYDqpK34Xknesmq4u05w/Q0YQPHJF7ONjDmSlAYANWUBfWNENGhxsFt+crqX5RCggfZACMYw==
X-Received: by 2002:a5d:5188:0:b0:385:fd07:85f4 with SMTP id
 ffacd0b85a97d-38dea290941mr9769236f8f.31.1739531017854; 
 Fri, 14 Feb 2025 03:03:37 -0800 (PST)
Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net.
 [86.8.111.200]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-38f258ccd2csm4445443f8f.30.2025.02.14.03.03.36
 for <74315 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 14 Feb 2025 03:03:37 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
To: 74315 <at> debbugs.gnu.org
Subject: [PATCH 0/1] gnu: Add ptouch-print.
Date: Fri, 14 Feb 2025 11:03:36 +0000
Message-ID: <878qq8u6t3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 74315
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Hi,

I started reviewing you patch, just a question of interest why commit
and not git tag?

--8<---------------cut here---------------start------------->8---
+(define-public ptouch-print
+  (let ((commit "740b20e150e030aa2e75086d1202064f9c4c4090")
+        (revision "0"))
--8<---------------cut here---------------end--------------->8---

There is a fresh one
https://git.familie-radermacher.ch/linux/ptouch-print.git/tag/?h=v1.6

--
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmevIwgACgkQdtcnv/Ys
0rW6ew/9GlLUoZEZJz1gTuIk9g2NwreyPwhPWTThEn1rr616Yinc/OkNUUVcpcZg
ZTKk4yI6FFYF1RhQDigq6oZ15lZYauTZ3EtNVfL0kIzuxxqJqODj6acB1lHQqBV/
lXwKcn71P+hRSSlCVsMqGA3+ZDhtSG8sS+XNrTmuAtcQ5bUevLFi5Y8iK07sAnTJ
kPEOThKVwGatvhLqnmOCCtEl+hEGIL3JUGjpIByMJlw6IRwarGkPrNA4PRyNNESI
Tn4mx2FvwQf8322M/+lhckbhfEJHajImJNluEBmDgAuv/qqdnTZvRMf0k8hPY4W+
k40NtTwzDjWG2ZWvxBuGRczRTjYILdJlY7tASk2uPSIxbLXZ1585R53nWGMEF57b
NkiGDiNxJHn3PiT1g4svdmljSFvNNsuXZ3Esi0qcPG43a3h6jjEKpvQ1bFg+fV3g
MQ0KFWnaosGy8cM//rpXyV11DNjx2IXVErq0UrQhwm9io6/3EXton2M84q/jgvG7
SKrpeZeQmqg3RNxUtiUK3K+qN396oPpYUh/S50ZOs8e7YTQFJYI3GpGRgcFXG0Js
+2SPiyOQjBkAFqBqP3aGzrktLCM1UaYafSLyjOi1kz1w3UgBke0flMvl8754ogHG
W0FW7K1zODWE1VoaHBgD+InhR9UyBstEpNIEpXJWV2NOzkcAsxQ=
=yqtE
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#74315; Package guix-patches. Full text available.

Message received at 74315 <at> debbugs.gnu.org:


Received: (at 74315) by debbugs.gnu.org; 12 Nov 2024 03:54:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 11 22:54:37 2024
Received: from localhost ([127.0.0.1]:59978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tAhzB-0005mk-Bu
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2024 22:54:37 -0500
Received: from mout01.posteo.de ([185.67.36.65]:41525)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <plattfot@HIDDEN>) id 1tAhz8-0005mV-7Z
 for 74315 <at> debbugs.gnu.org; Mon, 11 Nov 2024 22:54:35 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id D7517240027
 for <74315 <at> debbugs.gnu.org>; Tue, 12 Nov 2024 04:54:26 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1731383667; bh=ElsCClMRP8sz4kbWhqb7KVi8vOUZpYw41d/Qgr0sD8s=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=VMjHGGASCI47HG5HGhzfy/Scx6xpGwAGWy4ftuPGLoF0Wd6uxyTs8I56o9gOqNRoi
 Q9vEOPgkkURbXnvBBGU0aaRFZP8v+ycr6bFoGlO7HyusdHvlFenCnZAkZ1Knj3BMT8
 PCECl+ffDiq2KuxnRspmgELdGuQjK8gR48kB+uCxOcIwbRUpD/xxFUhqDkRnCqN7ET
 iRccv1D4qzFaLE4Qf1rl39J2FWmGRkPQ59MJ/6erwdpe6ln8/UGQl9A/dU4G6nLFb6
 FibYvrT4UkagAaarRR9ZI/MZIOw985BBW/Slcp4cfVYVYmfw+/QZKenkA7SDbUwEpf
 Uecx0qEdxvKEw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4XnXbj4N1Jz9rxB;
 Tue, 12 Nov 2024 04:54:25 +0100 (CET)
From: Fredrik Salomonsson <plattfot@HIDDEN>
To: 74315 <at> debbugs.gnu.org
Subject: [PATCH 1/1] gnu: Add ptouch-print.
Date: Tue, 12 Nov 2024 03:28:07 +0000
Message-ID: <e78f169b2270122be75a945ef06e7ea7533d6476.1731381092.git.plattfot@HIDDEN>
In-Reply-To: <cover.1731381092.git.plattfot@HIDDEN>
References: <cover.1731381092.git.plattfot@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74315
Cc: Fredrik Salomonsson <plattfot@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/printers.scm (ptouch-print): New variable.

Change-Id: I2ab2a80b80932af8566f6c5879e63e7b0bced747
---
 gnu/packages/printers.scm | 55 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 0069494b4d..995af76359 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -22,14 +22,18 @@ (define-module (gnu packages printers)
   #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages avahi)
+  #:use-module (gnu packages gd)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages man)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages qt))
 
 ;; This is a module for packages related to printer-like devices, but not
@@ -69,6 +73,57 @@ (define-public ipp-usb
 simply relay a TCP connection to USB do not work.")
     (license license:bsd-2)))
 
+(define-public ptouch-print
+  (let ((commit "740b20e150e030aa2e75086d1202064f9c4c4090")
+        (revision "0"))
+    (package
+      (name "ptouch-print")
+      (version (git-version "1.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://git.familie-radermacher.ch/linux/ptouch-print.git")
+               (commit commit)))
+         (sha256
+          (base32 "17lw6gyb9hqdzdlypm98bdpnfjn74a3jrdd0rwic63a7072iqnzr"))
+         (file-name (git-file-name name version))))
+      (build-system cmake-build-system)
+      (arguments
+       '(#:tests? #f ;no test target
+         #:phases (modify-phases %standard-phases
+                    (add-before 'configure 'patch-cmakefile
+                      (lambda _
+                        (substitute* "CMakeLists.txt"
+                          ;; Remove the internal override of CMAKE_INSTALL_PREFIX
+                          (("set\\(CMAKE_INSTALL_PREFIX /usr\\)")
+                           "")
+                          ;; Remove hard coded udev install steps, installing it in the
+                          ;; install-udev-rules phase
+                          (("if\\(EXISTS /etc/udev/rules.d\\)
+\tinstall\\(FILES udev/90-usb-ptouch-permissions.rules DESTINATION /etc/udev/rules.d\\)
+\tinstall\\(CODE \"execute_process(COMMAND udevadm control --reload-rules)\"\\)
+endif\\(\\)
+")
+                           "")) #t))
+                    (add-after 'install 'install-udev-rules
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        (let* ((out (assoc-ref outputs "out"))
+                               (rules (string-append out "/lib/udev/rules.d/")))
+                          (install-file
+                           "../source/udev/90-usb-ptouch-permissions.rules"
+                           rules)))))))
+      (native-inputs (list gd git gettext-minimal libusb pkg-config))
+      (synopsis "CLI tool to print labels on Brother P-Touch printers")
+      (description
+       "A command line tool to print labels on Brother P-Touch
+printers on Linux.  Note that there is no need to install the printer via CUPS, the
+printer is accessed directly via libusb.")
+      (home-page
+       "https://dominic.familie-radermacher.ch/projekte/ptouch-print/")
+      (license license:gpl3))))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#74315; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Nov 2024 03:19:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 11 22:19:09 2024
Received: from localhost ([127.0.0.1]:59909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tAhQr-00048g-IA
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2024 22:19:09 -0500
Received: from lists.gnu.org ([209.51.188.17]:45798)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <plattfot@HIDDEN>) id 1tAhQq-00048Y-Hm
 for submit <at> debbugs.gnu.org; Mon, 11 Nov 2024 22:19: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 <plattfot@HIDDEN>)
 id 1tAhQq-0000xi-24
 for guix-patches@HIDDEN; Mon, 11 Nov 2024 22:19:08 -0500
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <plattfot@HIDDEN>)
 id 1tAhQn-0000yU-Ut
 for guix-patches@HIDDEN; Mon, 11 Nov 2024 22:19:07 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id B65F4240101
 for <guix-patches@HIDDEN>; Tue, 12 Nov 2024 04:18:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1731381536; bh=yOXWa4peAsvxzPhX/mJEJuDS5CtUmgAG5LqfXLS9x3g=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=dVkry1eZxckNduodX6MuclPng3kwRgkoADCoQn2ebUwH6FxuxGRfd0A24vT4vLtVG
 MRGKCC3b7Uj+m1WodkrebrYzQZzLG1KP34F1l1/1sCM5Z0wqRn3W0J/8NasCC2C1zd
 qDXLaPU0ePid6al8Fynoz8T3chidRF2f5d+bUUJdCWv33Lg0Gg3xP7cCjB784T2bUE
 T/xOgVLzbR41ztMYtgfdurTH/C+IFAYI8RkucNSA71qmquqNx6ccTwR91culZQB+KZ
 giYhHf5m0Yw+3EJDWp7mkfQB1vPNMCEDKCVD9m1MFNk0KYHa0w3G9xLP+oQvsJ96KG
 POoLFxgSdRhJQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4XnWpl6y9zz9rxB;
 Tue, 12 Nov 2024 04:18:55 +0100 (CET)
From: Fredrik Salomonsson <plattfot@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/1] gnu: Add ptouch-print.
Date: Tue, 12 Nov 2024 03:18:50 +0000
Message-ID: <cover.1731381092.git.plattfot@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Fredrik Salomonsson <plattfot@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Guix,

Adding a package to be able to print labels with a Brother P-touch printer.  I
tested this with a P700 and it worked fine.  It installs the udev rules that
should allow any user to use this CLI tool without needing sudo.  But I could
not get that to work.  Might be my setup or that Guix System does not properly
support the uaccess tag.  E.g. see the Arch Wiki [0] on what the uaccess tag
is suppose to trigger.

[0] https://wiki.archlinux.org/title/Udev#Allowing_regular_users_to_use_devices

Fredrik Salomonsson (1):
  gnu: Add ptouch-print.

 gnu/packages/printers.scm | 55 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)


base-commit: b790db7589858fc77989b4d1f369c52bca6d6e7c
-- 
2.46.0





Acknowledgement sent to Fredrik Salomonsson <plattfot@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#74315; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Apr 2025 22:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.