Github messages for voidlinux
 help / color / mirror / Atom feed
From: shahab-vahedi <shahab-vahedi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Add Printer Support: Brother DCP-L8410CDW
Date: Mon, 05 Aug 2024 00:04:20 +0200	[thread overview]
Message-ID: <20240804220420.2AA25248EA@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-51608@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 872 bytes --]

There is an updated pull request by shahab-vahedi against master on the void-packages repository

https://github.com/shahab-vahedi/void-packages brother
https://github.com/void-linux/void-packages/pull/51608

Add Printer Support: Brother DCP-L8410CDW
The LPR drivers and CUPS wrappers from Debian packages provided on [Brother's Support page](https://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=dcpl8410cdw_eu).

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, `x86_64-glibc`

A patch file from https://github.com/void-linux/void-packages/pull/51608.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-51608.patch --]
[-- Type: text/x-diff, Size: 40760 bytes --]

From 894bc8c4d400290db82696ad710b18ec64cac9d7 Mon Sep 17 00:00:00 2001
From: Shahab Vahedi <list+void@vahedi.org>
Date: Fri, 2 Aug 2024 16:41:21 +0200
Subject: [PATCH 1/2] New package: brother-dcp8410-lpr-1.5.0

---
 srcpkgs/brother-dcp8410-lpr/INSTALL           |   4 +
 .../files/README.voidlinux                    |   5 +
 srcpkgs/brother-dcp8410-lpr/files/agree.html  | 248 ++++++++++++++++++
 .../patches/fix-setup-script.patch            |  17 ++
 srcpkgs/brother-dcp8410-lpr/template          |  45 ++++
 5 files changed, 319 insertions(+)
 create mode 100644 srcpkgs/brother-dcp8410-lpr/INSTALL
 create mode 100644 srcpkgs/brother-dcp8410-lpr/files/README.voidlinux
 create mode 100644 srcpkgs/brother-dcp8410-lpr/files/agree.html
 create mode 100644 srcpkgs/brother-dcp8410-lpr/patches/fix-setup-script.patch
 create mode 100644 srcpkgs/brother-dcp8410-lpr/template

diff --git a/srcpkgs/brother-dcp8410-lpr/INSTALL b/srcpkgs/brother-dcp8410-lpr/INSTALL
new file mode 100644
index 00000000000000..b3bc10a08d1f8c
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-lpr/INSTALL
@@ -0,0 +1,4 @@
+case "${ACTION}" in
+post)
+    mkdir -p var/spool/lpd
+esac
diff --git a/srcpkgs/brother-dcp8410-lpr/files/README.voidlinux b/srcpkgs/brother-dcp8410-lpr/files/README.voidlinux
new file mode 100644
index 00000000000000..768afa57c17ac6
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-lpr/files/README.voidlinux
@@ -0,0 +1,5 @@
+If you have attached the device through a USB interface, then run:
+# /opt/brother/Printers/dcpl8410cdw/inf/setupPrintcapij dcpl8410cdw -i
+
+Also, before removing the package, you have to execute:
+# /opt/brother/Printers/dcpl8410cdw/inf/setupPrintcapij dcpl8410cdw -e
diff --git a/srcpkgs/brother-dcp8410-lpr/files/agree.html b/srcpkgs/brother-dcp8410-lpr/files/agree.html
new file mode 100644
index 00000000000000..577f6b82035fa8
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-lpr/files/agree.html
@@ -0,0 +1,248 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+"http://www.w3.org/TR/html4/loose.dtd"> 
+<html lang="en">
+<head>
+<title>End-User License Agreement for Brother Software</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
+<link rel="stylesheet" href="/library/websites/www.com/globalheader/css/template_agreement.css" type="text/css" media="all">
+<script type="text/javascript" src="/library/websites/www.com/globalheader/js/template.js" language="JavaScript"></script>
+
+<style type="text/css">
+<!--
+body {  font-size: 100%}
+.main {  font-size: 100%}
+.sm {  font-size: 90%}
+-->
+</style>
+</head>
+
+<body>
+
+<!-- begin #header -->
+<table border="0" cellpadding="0" cellspacing="0" id="header" summary="Global header">
+<tr>
+<td><img height="1" width="16" alt="" src="/library/websites/www.com/jp/globalheader/images/spacer.gif"></td>
+<td>
+
+<table border="0" cellpadding="0" cellspacing="0" summary="">
+<tr>
+<td id="brotherLogo">
+<a href="/index.htm" target="_top"><img height="40" width="106" alt="brother at your side" src="/library/websites/www.com/globalheader/images/head_brotherlogo.gif"></a>
+</td>
+<td><img height="1" width="200" alt="" src="/library/websites/www.com/globalheader/images/spacer.gif"></td>
+<td id="formArea">
+<!-- SelectCountry -->
+<div id="country">
+<form name="form1" id="form1">
+<select name="select_country" class="countryTxt">
+<option value="http://www.brother.com/index.htm" selected>Global Site</option>
+<option></option>
+<optgroup label="North/ South/ Central America">
+<option value="http://www.brother.com.ar/">Argentina - Espa&ntilde;ol</option>
+<option value="http://www.brother.com.br/">Brasil - Portugu&ecirc;s</option>
+<option value="http://www.brother.ca/en/index.asp">Canada - English</option>
+<option value="http://www.brother.ca/fr/index.asp">Canada - Fran&ccedil;ais</option>
+<option value="http://www.brother-usa.com/caribbean/">Caribbean Countries - English</option>
+<option value="http://www.brother.cl/">Chile - Espa&ntilde;ol</option>
+<option value="http://www.brother-usa.com/latinamerica/">Latin America - Espa&ntilde;ol</option>
+<option value="http://www.brother.com.mx/">M&eacute;xico - Espa&ntilde;ol</option>
+<option value="http://www.brother-usa.com/">U.S.A. - English</option>
+<option></option>
+</optgroup>
+<optgroup label="Europe">
+<option value="http://www.brother.eu/">Brother Europe</option>
+<option value="http://www.brother.at/?lang=en">Austria - English</option>
+<option value="http://www.brother.at/?lang=de">&#214;sterreich - Deutsch</option>
+<option value="http://www.brother.be/?&lang=fr">Belgique - Fran&#231;ais</option>
+<option value="http://www.brother.be/?&lang=nl">Belgique - Nederlands</option>
+<option value="http://www.brother.bg/">&#1041;&#1066;&#1083;&#1075;&#1072;&#1088;&#1080;&#1103; - &#1041;&#1066;&#1083;&#1075;&#1072;&#1089;&#1082;&#1080;</option>
+<option value="http://www.brother.cz/">&#268;esk&aacute; republika - &#269;esky</option>
+<option value="http://www.brother.dk/">Danmark - Dansk</option>
+<option value="http://www.brother.de/">Deutschland - Deutsch</option>
+<option value="http://www.brother.es/">Espa&ntilde;a - Espa&ntilde;ol</option>
+<option value="http://www.brother.fi/">Finland -Suomi</option>
+<option value="http://www.brother.fr/">France - Fran&ccedil;ais</option>
+<option value="http://www.brother.ie/">Ireland - English</option>
+<option value="http://www.brother.it/">Italia - Italiano</option>
+<option value="http://www.brother.hu/">Magyarorsz&aacute;g - Magyar</option>
+<option value="http://www.brother.nl/">Nederland - Nederlands</option>
+<option value="http://www.brother.no/">Norge - Norsk</option>
+<option value="http://www.brother.pl/">Polska - Polski</option>
+<option value="http://www.brother.pt/">Portugal - Portugu&ecirc;s</option>
+<option value="http://www.brother.ru/">&#1056;&#1086;&#1089;&#1089;&#1080;&#1103; - P&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;</option>
+<option value="http://www.brother.com.ro/">Rom&acirc;nia - Rom&acirc;n&atilde;</option>
+<option value="http://www.brother.ch/?&lang=de">Schweiz - Deutsch</option>
+<option value="http://www.brother.ch/?&lang=fr">Suisse - Fran&ccedil;ais</option>
+<option value="http://www.brother.co.za/">South Africa - English</option>
+<option value="http://www.brother.se/">Sverige - Svenska</option>
+<option value="http://www.brother.com.tr/">T&#252;rkiye - T&#252;rk&#231;e</option>
+<option value="http://www.brother.co.uk/cms.cfm/lang/en">United Kingdom</option>
+<option value="http://www.brother-ism.com/">--Industrial Sewing Machines</option>
+<option value="http://www.brother.com/europe/machine/index.htm">--Machine Tools</option>
+<option></option>
+</optgroup>
+<optgroup label="Middle East/ Africa">
+<option value="http://www.brother.ae/">Bahrain - English</option>
+<option value="http://www.brother.ae/">Egypt - English</option>
+<option value="http://www.brother.ae/">Ethiopia - English</option>
+<option value="http://www.brother.ae/">Iran - English</option>
+<option value="http://www.brother.ae/">Iraq - English</option>
+<option value="http://www.brother.ae/">Jordan - English</option>
+<option value="http://www.brother.ae/">Kenya - English</option>
+<option value="http://www.brother.ae/">Kuwait - English</option>
+<option value="http://www.brother.ae/">Lebanon - English</option>
+<option value="http://www.brother.ae/">Libya - English</option>
+<option value="http://www.brother.ae/">Mauritius - English</option>
+<option value="http://www.brother.ae/">Nigeria - English</option>
+<option value="http://www.brother.ae/">Oman - English</option>
+<option value="http://www.brother.ae/">Qatar - English</option>
+<option value="http://www.brother.ae/">Saudi Arabia - English</option>
+<option value="http://www.brother.co.za/">South Africa - English</option>
+<option value="http://www.brother.ae/">Syria - English</option>
+<option value="http://www.brother.ae/">Tanzania - English</option>
+<option value="http://www.brother.com.tr/">T&#252;rkiye - T&#252;rk&#231;e</option>
+<option value="http://www.brother.ae/">Uganda - English</option>
+<option value="http://www.brother.ae/">United Arab Emirates - English</option>
+<option value="http://www.brother.ae/">Yemen - English</option>
+<option value="http://www.brother.com/europe/machine/index.htm">--Machine Tools</option>
+<option value="http://www.brother.com/as_oc/contact/mea/index.htm">--Contact List</option>
+<option></option>
+</optgroup>
+<optgroup label="Asia/ Oceania">
+<option value="http://www.brother.com.au/">Australia - English</option>
+<option value="http://www.brother.ae/">Bangladesh - English</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+-<option value="http://www.brother-cn.net/">China - Chinese</option>
+<option value="http://www.brother.com.hk/en/home.html">&gt; Hong Kong - English</option>
+<option value="http://www.brother.com.hk/tc/home.html">&gt; Hong Kong - Chinese</option>
+<option value="http://www.brother.in/">India - English</option>
+<option value="http://www.brother.com.sg/">Indonesia - English</option>
+<option value="http://www.brother.co.jp/">Japan - Japanese</option>
+<option value="http://www.brother.com.my/">Malaysia - English</option>
+<option value="http://www.brother.ae/">Nepal - English</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.co.nz/">New Zealand - English</option>
+<option value="http://www.brother.ae/">Pakistan - English</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com.ph/">Philippines - English</option>
+<option value="http://www.brother.com.hk/en/product/product_list.html?category=19"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com.sg/">Singapore - English</option>
+-<option value="http://www.brother.co.th/">Thailand - Thai</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com.sg/">Vietnam - English</option>
+<option value="http://www.brother.com.hk/en/product/product_list.html?category=19"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com/as_oc/machine/index.htm">--Machine Tools</option>
+<option value="http://www.brother.com/as_oc/contact/asiapacific/index.htm">--Contact List</option>
+</optgroup>
+</select><a href="javascript:;"><img height="19" onClick="jumpCountry(form1.select_country);return false;" width="21" alt="Go" src="/library/websites/www.com/globalheader/images/head_btn.gif"></a>
+</form>
+</div>
+<!-- SelectCountry -->
+
+
+<!-- SiteSearch -->
+<div id="search">
+<form name="gs" method="GET" action="http://search2.brother.co.jp/search?">
+<input name="q" type="text" value="Search" onfocus="if(this.value == this.defaultValue) this.value=''" onblur="if(this.value == '') this.value=this.defaultValue" class="searchTxt"><input type="image" value="" alt="Go" src="/library/websites/www.com/globalheader/images/head_btn.gif">
+<input type="hidden" name="sort" value="date:D:L:d1">
+<input type="hidden" name="output" value="xml_no_dtd">
+<input type="hidden" name="oe" value="UTF-8"><input type="hidden" name="ie" value="UTF-8">
+<input type="hidden" name="client" value="fe_www_com">
+<input type="hidden" name="proxystylesheet" value="fe_www_com">
+<input type="hidden" name="site" value="col_www_com_cominf_sol">
+	</div>
+	</form>
+</div>
+<!-- SiteSearch -->
+</td>
+</tr>
+</table>
+
+</td>
+<td><img height="1" width="17" alt="" src="/library/websites/www.com/globalheader/images/spacer.gif"></td>
+</tr>
+
+
+</table>
+<!-- end #header -->
+
+<div style="line-height:1px;">&nbsp;</div>
+
+<table border="0" cellspacing="0" cellpadding="2" width="600">
+<tr>
+<td bgcolor="#333333"><b><span style="color:#FFFFFF;">License Agreement</span></b></td>
+</tr>
+<tr>
+<td><p>This Agreement provides terms and conditions for license grant for use
+    of the software that is distributed with this Agreement (&quot;Software&quot;)
+    from Brother Industries, Ltd. (&quot;Brother&quot;) to recipients thereof
+    (&quot;You&quot;).</p>
+  <table width="100%" height="60" border="1" bordercolor="#000099">
+    <tr>
+      <td bordercolor="#000099"><strong>Note:</strong><br>
+      Please click on &quot;I Accept&quot; while holding down &quot;Shift&quot; or
+      right click on &quot;I Accept&quot; and select &quot;Save Target As,,,&quot; from
+      the menu.</td>
+    </tr>
+  </table>  
+  <ol>
+    <li>The Software is comprised of the following software modules:<br>
+      <br>
+      (1)	Certain software modules that is the subject of GNU GENERAL PUBLIC
+        LICENSE (&quot;GPL Modules&quot;), and
+        <br>
+        (2)	Other software modules (&quot;Non-GPL Modules&quot;)
+        <br>
+        <br>
+        You may distinguish each of GPL Modules by downloading source files
+        of the Software as Brother separately makes available and reading such
+        files.<br>
+    </li>
+    <li>Your use of all GPL Modules shall be subject to the terms and conditions
+      of GNU GENERAL PUBLIC LICENSE Version 2, June 1991 (&quot;GPLv2&quot;).
+      Please see <a href="http://www.brother.com/agreement/English_gpl/agree.html" target="_blank">http://www.brother.com/agreement/English_gpl/agree.html</a>. You
+      shall use GPL Modules in accordance with the terms and conditions of GPLv2.
+      Your use of GPL Modules shall be deemed
+      as your agreement to the terms and conditions of GPLv2.<br>
+    </li>
+    <li>You have the right to use all Non-GPL Modules only in accordance with
+      the following terms and conditions. Your use of Non-GPL Modules shall be
+      deemed as your agreement to the following terms and conditions:
+      <p>(1) Brother retains any and all copyrights to Non-GPL Modules. In no
+        case this Agreement shall be construed to assign or otherwise transfer
+        from Brother to you any copyrights or other intellectual property rights
+        to whole or any part of Non-GPL Modules.</p>
+      <p>(2) Brother grants you a non-exclusive license to reproduce and/or distribute
+        (via Internet or in any other manner) Non-GPL Modules. Brother further
+        grants you a non-exclusive license to modify, alter, translate or otherwise
+        prepare derivative works of Non-GPL Modules and to reproduce and/or distribute
+        (via Internet or in any other manner) such modification, alteration,
+        translation or other derivative works of Non-GPL Modules.</p>
+      <p>(3) When you distribute (via Internet or in any other manner) Non-GPL
+        Modules or any modification, alteration, translation or other derivative
+        works thereof under the license granted in accordance with subparagraph
+        3(2) above, you must expressly grant any and all recipient thereof the
+        license equivalent to this Agreement which applies to Non-GPL Modules.</p>
+      <p>(4)	The license of Non-GPL Modules from Brother hereunder is granted &quot;AS
+        IS. BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO NON-GPL MODULES,
+        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY,
+        MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT. </p>
+      <p>(5) To the extent allowed by applicable laws, Brother shall have no
+        liability in contract, tort (including negligence or breach of statutory
+        duty) or otherwise for any interruption of use, loss of data, or for
+        any indirect, incidental, punitive or consequential loss or damage, or
+        for any loss of profit, revenue, data, goodwill or anticipated savings
+        that arises under, out of, or in contemplation of this Agreement or otherwise
+        arises due to any error, inaccuracy or defect in Non-GPL Modules even
+        if Brother has been advised of the possibility of such loss or damage.</p>
+      <p>(6) The form in which Non-GPL Modules is distributed is subject to Brother’s
+        sole discretion. Brother does not have any obligation to distribute or
+        disclose Non-GPL Modules in source code form. In no case shall this Agreement
+        be deemed as Brother’s express or implied agreement to disclose source
+        code of Non-GPL Modules.</p>
+    </li>
+    </ol></td>
+</tr>
+</table>
+</body>
+</html>
diff --git a/srcpkgs/brother-dcp8410-lpr/patches/fix-setup-script.patch b/srcpkgs/brother-dcp8410-lpr/patches/fix-setup-script.patch
new file mode 100644
index 00000000000000..09b116bdcc7cab
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-lpr/patches/fix-setup-script.patch
@@ -0,0 +1,17 @@
+Source: package maintainer
+Upstream: no
+Reason: There's no "lp" user on Void Linux
+
+--- a/opt/brother/Printers/dcpl8410cdw/inf/setupPrintcapij
++++ b/opt/brother/Printers/dcpl8410cdw/inf/setupPrintcapij
+@@ -34,9 +34,8 @@ case "$2" in
+ 	if [ ! -d $SPOOLER_NAME ]; then
+ 	        mkdir -p $SPOOLER_NAME
+ 	fi
+-	chown lp $SPOOLER_NAME
+ 	chgrp lp $SPOOLER_NAME
+-	chmod 700 $SPOOLER_NAME
++	chmod 770 $SPOOLER_NAME
+
+ 	if [ "$3" = "USB" ]; then
+ 		DEVICE_IF=/dev/usb/lp0
diff --git a/srcpkgs/brother-dcp8410-lpr/template b/srcpkgs/brother-dcp8410-lpr/template
new file mode 100644
index 00000000000000..c24f93bbeaf396
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-lpr/template
@@ -0,0 +1,45 @@
+# Template file for 'brother-dcp8410-lpr'
+pkgname=brother-dcp8410-lpr
+version=1.5.0
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+depends="ghostscript"
+short_desc="LPR driver for the Brother DCP-L8410CDW machines"
+maintainer="Shahab Vahedi <list+void@vahedi.org>"
+license="custom:EULA"
+homepage="https://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=dcpl8410cdw_eu"
+distfiles="https://download.brother.com/welcome/dlf103239/dcpl8410cdwlpr-${version}-0.i386.deb"
+checksum="1e97cd530e7b6162bf436d16e94098e524b438fdecf0a8044c5e07efa9300080"
+repository="nonfree"
+conf_files="/opt/brother/Printers/dcpl8410cdw/inf/brdcpl8410cdwrc"
+nopie=yes
+
+do_install() {
+	vmkdir opt/brother/Printers/dcpl8410cdw/lpd 755
+
+	vcopy opt/brother/Printers/dcpl8410cdw/inf opt/brother/Printers/dcpl8410cdw
+	vinstall opt/brother/Printers/dcpl8410cdw/lpd/filter_dcpl8410cdw \
+		755 opt/brother/Printers/dcpl8410cdw/lpd
+
+	# Copy the executables based on architecture type
+	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+		_arch="x86_64"
+	elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
+		_arch="i686"
+	else
+		_arch="unknown"
+	fi
+	for bin in brdcpl8410cdwfilter brprintconf_dcpl8410cdw; do
+		vinstall opt/brother/Printers/dcpl8410cdw/lpd/x86_64/${bin} \
+			755 opt/brother/Printers/dcpl8410cdw/lpd/
+	done
+
+	vmkdir usr/bin 755
+	ln -sf /opt/brother/Printers/dcpl8410cdw/lpd/brprintconf_dcpl8410cdw \
+		${DESTDIR}/usr/bin/brprintconf_dcpl8410cdw
+
+	vlicense ${FILESDIR}/agree.html LICENSE.html
+
+	vdoc "${FILESDIR}/README.voidlinux"
+}

From f516a3cd94451ddb064c76d64ed07ee0a60a9e39 Mon Sep 17 00:00:00 2001
From: Shahab Vahedi <list+void@vahedi.org>
Date: Fri, 2 Aug 2024 16:41:50 +0200
Subject: [PATCH 2/2] New package: brother-dcp8410-cups-1.5.0

---
 srcpkgs/brother-dcp8410-cups/INSTALL          |   6 +
 srcpkgs/brother-dcp8410-cups/REMOVE           |   5 +
 srcpkgs/brother-dcp8410-cups/files/agree.html | 248 ++++++++++++++++++
 .../files/cupswrapperdcpl8410cdw.void         | 152 +++++++++++
 srcpkgs/brother-dcp8410-cups/template         |  37 +++
 5 files changed, 448 insertions(+)
 create mode 100644 srcpkgs/brother-dcp8410-cups/INSTALL
 create mode 100644 srcpkgs/brother-dcp8410-cups/REMOVE
 create mode 100644 srcpkgs/brother-dcp8410-cups/files/agree.html
 create mode 100755 srcpkgs/brother-dcp8410-cups/files/cupswrapperdcpl8410cdw.void
 create mode 100644 srcpkgs/brother-dcp8410-cups/template

diff --git a/srcpkgs/brother-dcp8410-cups/INSTALL b/srcpkgs/brother-dcp8410-cups/INSTALL
new file mode 100644
index 00000000000000..3f342471bd0f92
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-cups/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+post)
+    [ -d /var/service/cupsd ] && sv restart cupsd
+    ;;
+esac
+
diff --git a/srcpkgs/brother-dcp8410-cups/REMOVE b/srcpkgs/brother-dcp8410-cups/REMOVE
new file mode 100644
index 00000000000000..1515570c7f7835
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-cups/REMOVE
@@ -0,0 +1,5 @@
+case ${ACTION} in
+post)
+    [ -d /var/service/cupsd ] && sv restart cupsd
+    ;;
+esac
diff --git a/srcpkgs/brother-dcp8410-cups/files/agree.html b/srcpkgs/brother-dcp8410-cups/files/agree.html
new file mode 100644
index 00000000000000..577f6b82035fa8
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-cups/files/agree.html
@@ -0,0 +1,248 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+"http://www.w3.org/TR/html4/loose.dtd"> 
+<html lang="en">
+<head>
+<title>End-User License Agreement for Brother Software</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
+<link rel="stylesheet" href="/library/websites/www.com/globalheader/css/template_agreement.css" type="text/css" media="all">
+<script type="text/javascript" src="/library/websites/www.com/globalheader/js/template.js" language="JavaScript"></script>
+
+<style type="text/css">
+<!--
+body {  font-size: 100%}
+.main {  font-size: 100%}
+.sm {  font-size: 90%}
+-->
+</style>
+</head>
+
+<body>
+
+<!-- begin #header -->
+<table border="0" cellpadding="0" cellspacing="0" id="header" summary="Global header">
+<tr>
+<td><img height="1" width="16" alt="" src="/library/websites/www.com/jp/globalheader/images/spacer.gif"></td>
+<td>
+
+<table border="0" cellpadding="0" cellspacing="0" summary="">
+<tr>
+<td id="brotherLogo">
+<a href="/index.htm" target="_top"><img height="40" width="106" alt="brother at your side" src="/library/websites/www.com/globalheader/images/head_brotherlogo.gif"></a>
+</td>
+<td><img height="1" width="200" alt="" src="/library/websites/www.com/globalheader/images/spacer.gif"></td>
+<td id="formArea">
+<!-- SelectCountry -->
+<div id="country">
+<form name="form1" id="form1">
+<select name="select_country" class="countryTxt">
+<option value="http://www.brother.com/index.htm" selected>Global Site</option>
+<option></option>
+<optgroup label="North/ South/ Central America">
+<option value="http://www.brother.com.ar/">Argentina - Espa&ntilde;ol</option>
+<option value="http://www.brother.com.br/">Brasil - Portugu&ecirc;s</option>
+<option value="http://www.brother.ca/en/index.asp">Canada - English</option>
+<option value="http://www.brother.ca/fr/index.asp">Canada - Fran&ccedil;ais</option>
+<option value="http://www.brother-usa.com/caribbean/">Caribbean Countries - English</option>
+<option value="http://www.brother.cl/">Chile - Espa&ntilde;ol</option>
+<option value="http://www.brother-usa.com/latinamerica/">Latin America - Espa&ntilde;ol</option>
+<option value="http://www.brother.com.mx/">M&eacute;xico - Espa&ntilde;ol</option>
+<option value="http://www.brother-usa.com/">U.S.A. - English</option>
+<option></option>
+</optgroup>
+<optgroup label="Europe">
+<option value="http://www.brother.eu/">Brother Europe</option>
+<option value="http://www.brother.at/?lang=en">Austria - English</option>
+<option value="http://www.brother.at/?lang=de">&#214;sterreich - Deutsch</option>
+<option value="http://www.brother.be/?&lang=fr">Belgique - Fran&#231;ais</option>
+<option value="http://www.brother.be/?&lang=nl">Belgique - Nederlands</option>
+<option value="http://www.brother.bg/">&#1041;&#1066;&#1083;&#1075;&#1072;&#1088;&#1080;&#1103; - &#1041;&#1066;&#1083;&#1075;&#1072;&#1089;&#1082;&#1080;</option>
+<option value="http://www.brother.cz/">&#268;esk&aacute; republika - &#269;esky</option>
+<option value="http://www.brother.dk/">Danmark - Dansk</option>
+<option value="http://www.brother.de/">Deutschland - Deutsch</option>
+<option value="http://www.brother.es/">Espa&ntilde;a - Espa&ntilde;ol</option>
+<option value="http://www.brother.fi/">Finland -Suomi</option>
+<option value="http://www.brother.fr/">France - Fran&ccedil;ais</option>
+<option value="http://www.brother.ie/">Ireland - English</option>
+<option value="http://www.brother.it/">Italia - Italiano</option>
+<option value="http://www.brother.hu/">Magyarorsz&aacute;g - Magyar</option>
+<option value="http://www.brother.nl/">Nederland - Nederlands</option>
+<option value="http://www.brother.no/">Norge - Norsk</option>
+<option value="http://www.brother.pl/">Polska - Polski</option>
+<option value="http://www.brother.pt/">Portugal - Portugu&ecirc;s</option>
+<option value="http://www.brother.ru/">&#1056;&#1086;&#1089;&#1089;&#1080;&#1103; - P&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;</option>
+<option value="http://www.brother.com.ro/">Rom&acirc;nia - Rom&acirc;n&atilde;</option>
+<option value="http://www.brother.ch/?&lang=de">Schweiz - Deutsch</option>
+<option value="http://www.brother.ch/?&lang=fr">Suisse - Fran&ccedil;ais</option>
+<option value="http://www.brother.co.za/">South Africa - English</option>
+<option value="http://www.brother.se/">Sverige - Svenska</option>
+<option value="http://www.brother.com.tr/">T&#252;rkiye - T&#252;rk&#231;e</option>
+<option value="http://www.brother.co.uk/cms.cfm/lang/en">United Kingdom</option>
+<option value="http://www.brother-ism.com/">--Industrial Sewing Machines</option>
+<option value="http://www.brother.com/europe/machine/index.htm">--Machine Tools</option>
+<option></option>
+</optgroup>
+<optgroup label="Middle East/ Africa">
+<option value="http://www.brother.ae/">Bahrain - English</option>
+<option value="http://www.brother.ae/">Egypt - English</option>
+<option value="http://www.brother.ae/">Ethiopia - English</option>
+<option value="http://www.brother.ae/">Iran - English</option>
+<option value="http://www.brother.ae/">Iraq - English</option>
+<option value="http://www.brother.ae/">Jordan - English</option>
+<option value="http://www.brother.ae/">Kenya - English</option>
+<option value="http://www.brother.ae/">Kuwait - English</option>
+<option value="http://www.brother.ae/">Lebanon - English</option>
+<option value="http://www.brother.ae/">Libya - English</option>
+<option value="http://www.brother.ae/">Mauritius - English</option>
+<option value="http://www.brother.ae/">Nigeria - English</option>
+<option value="http://www.brother.ae/">Oman - English</option>
+<option value="http://www.brother.ae/">Qatar - English</option>
+<option value="http://www.brother.ae/">Saudi Arabia - English</option>
+<option value="http://www.brother.co.za/">South Africa - English</option>
+<option value="http://www.brother.ae/">Syria - English</option>
+<option value="http://www.brother.ae/">Tanzania - English</option>
+<option value="http://www.brother.com.tr/">T&#252;rkiye - T&#252;rk&#231;e</option>
+<option value="http://www.brother.ae/">Uganda - English</option>
+<option value="http://www.brother.ae/">United Arab Emirates - English</option>
+<option value="http://www.brother.ae/">Yemen - English</option>
+<option value="http://www.brother.com/europe/machine/index.htm">--Machine Tools</option>
+<option value="http://www.brother.com/as_oc/contact/mea/index.htm">--Contact List</option>
+<option></option>
+</optgroup>
+<optgroup label="Asia/ Oceania">
+<option value="http://www.brother.com.au/">Australia - English</option>
+<option value="http://www.brother.ae/">Bangladesh - English</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+-<option value="http://www.brother-cn.net/">China - Chinese</option>
+<option value="http://www.brother.com.hk/en/home.html">&gt; Hong Kong - English</option>
+<option value="http://www.brother.com.hk/tc/home.html">&gt; Hong Kong - Chinese</option>
+<option value="http://www.brother.in/">India - English</option>
+<option value="http://www.brother.com.sg/">Indonesia - English</option>
+<option value="http://www.brother.co.jp/">Japan - Japanese</option>
+<option value="http://www.brother.com.my/">Malaysia - English</option>
+<option value="http://www.brother.ae/">Nepal - English</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.co.nz/">New Zealand - English</option>
+<option value="http://www.brother.ae/">Pakistan - English</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com.ph/">Philippines - English</option>
+<option value="http://www.brother.com.hk/en/product/product_list.html?category=19"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com.sg/">Singapore - English</option>
+-<option value="http://www.brother.co.th/">Thailand - Thai</option>
+<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com.sg/">Vietnam - English</option>
+<option value="http://www.brother.com.hk/en/product/product_list.html?category=19"> &gt; Industrial Sewing Machines</option>
+<option value="http://www.brother.com/as_oc/machine/index.htm">--Machine Tools</option>
+<option value="http://www.brother.com/as_oc/contact/asiapacific/index.htm">--Contact List</option>
+</optgroup>
+</select><a href="javascript:;"><img height="19" onClick="jumpCountry(form1.select_country);return false;" width="21" alt="Go" src="/library/websites/www.com/globalheader/images/head_btn.gif"></a>
+</form>
+</div>
+<!-- SelectCountry -->
+
+
+<!-- SiteSearch -->
+<div id="search">
+<form name="gs" method="GET" action="http://search2.brother.co.jp/search?">
+<input name="q" type="text" value="Search" onfocus="if(this.value == this.defaultValue) this.value=''" onblur="if(this.value == '') this.value=this.defaultValue" class="searchTxt"><input type="image" value="" alt="Go" src="/library/websites/www.com/globalheader/images/head_btn.gif">
+<input type="hidden" name="sort" value="date:D:L:d1">
+<input type="hidden" name="output" value="xml_no_dtd">
+<input type="hidden" name="oe" value="UTF-8"><input type="hidden" name="ie" value="UTF-8">
+<input type="hidden" name="client" value="fe_www_com">
+<input type="hidden" name="proxystylesheet" value="fe_www_com">
+<input type="hidden" name="site" value="col_www_com_cominf_sol">
+	</div>
+	</form>
+</div>
+<!-- SiteSearch -->
+</td>
+</tr>
+</table>
+
+</td>
+<td><img height="1" width="17" alt="" src="/library/websites/www.com/globalheader/images/spacer.gif"></td>
+</tr>
+
+
+</table>
+<!-- end #header -->
+
+<div style="line-height:1px;">&nbsp;</div>
+
+<table border="0" cellspacing="0" cellpadding="2" width="600">
+<tr>
+<td bgcolor="#333333"><b><span style="color:#FFFFFF;">License Agreement</span></b></td>
+</tr>
+<tr>
+<td><p>This Agreement provides terms and conditions for license grant for use
+    of the software that is distributed with this Agreement (&quot;Software&quot;)
+    from Brother Industries, Ltd. (&quot;Brother&quot;) to recipients thereof
+    (&quot;You&quot;).</p>
+  <table width="100%" height="60" border="1" bordercolor="#000099">
+    <tr>
+      <td bordercolor="#000099"><strong>Note:</strong><br>
+      Please click on &quot;I Accept&quot; while holding down &quot;Shift&quot; or
+      right click on &quot;I Accept&quot; and select &quot;Save Target As,,,&quot; from
+      the menu.</td>
+    </tr>
+  </table>  
+  <ol>
+    <li>The Software is comprised of the following software modules:<br>
+      <br>
+      (1)	Certain software modules that is the subject of GNU GENERAL PUBLIC
+        LICENSE (&quot;GPL Modules&quot;), and
+        <br>
+        (2)	Other software modules (&quot;Non-GPL Modules&quot;)
+        <br>
+        <br>
+        You may distinguish each of GPL Modules by downloading source files
+        of the Software as Brother separately makes available and reading such
+        files.<br>
+    </li>
+    <li>Your use of all GPL Modules shall be subject to the terms and conditions
+      of GNU GENERAL PUBLIC LICENSE Version 2, June 1991 (&quot;GPLv2&quot;).
+      Please see <a href="http://www.brother.com/agreement/English_gpl/agree.html" target="_blank">http://www.brother.com/agreement/English_gpl/agree.html</a>. You
+      shall use GPL Modules in accordance with the terms and conditions of GPLv2.
+      Your use of GPL Modules shall be deemed
+      as your agreement to the terms and conditions of GPLv2.<br>
+    </li>
+    <li>You have the right to use all Non-GPL Modules only in accordance with
+      the following terms and conditions. Your use of Non-GPL Modules shall be
+      deemed as your agreement to the following terms and conditions:
+      <p>(1) Brother retains any and all copyrights to Non-GPL Modules. In no
+        case this Agreement shall be construed to assign or otherwise transfer
+        from Brother to you any copyrights or other intellectual property rights
+        to whole or any part of Non-GPL Modules.</p>
+      <p>(2) Brother grants you a non-exclusive license to reproduce and/or distribute
+        (via Internet or in any other manner) Non-GPL Modules. Brother further
+        grants you a non-exclusive license to modify, alter, translate or otherwise
+        prepare derivative works of Non-GPL Modules and to reproduce and/or distribute
+        (via Internet or in any other manner) such modification, alteration,
+        translation or other derivative works of Non-GPL Modules.</p>
+      <p>(3) When you distribute (via Internet or in any other manner) Non-GPL
+        Modules or any modification, alteration, translation or other derivative
+        works thereof under the license granted in accordance with subparagraph
+        3(2) above, you must expressly grant any and all recipient thereof the
+        license equivalent to this Agreement which applies to Non-GPL Modules.</p>
+      <p>(4)	The license of Non-GPL Modules from Brother hereunder is granted &quot;AS
+        IS. BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO NON-GPL MODULES,
+        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY,
+        MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT. </p>
+      <p>(5) To the extent allowed by applicable laws, Brother shall have no
+        liability in contract, tort (including negligence or breach of statutory
+        duty) or otherwise for any interruption of use, loss of data, or for
+        any indirect, incidental, punitive or consequential loss or damage, or
+        for any loss of profit, revenue, data, goodwill or anticipated savings
+        that arises under, out of, or in contemplation of this Agreement or otherwise
+        arises due to any error, inaccuracy or defect in Non-GPL Modules even
+        if Brother has been advised of the possibility of such loss or damage.</p>
+      <p>(6) The form in which Non-GPL Modules is distributed is subject to Brother’s
+        sole discretion. Brother does not have any obligation to distribute or
+        disclose Non-GPL Modules in source code form. In no case shall this Agreement
+        be deemed as Brother’s express or implied agreement to disclose source
+        code of Non-GPL Modules.</p>
+    </li>
+    </ol></td>
+</tr>
+</table>
+</body>
+</html>
diff --git a/srcpkgs/brother-dcp8410-cups/files/cupswrapperdcpl8410cdw.void b/srcpkgs/brother-dcp8410-cups/files/cupswrapperdcpl8410cdw.void
new file mode 100755
index 00000000000000..5ec8b25520e1ad
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-cups/files/cupswrapperdcpl8410cdw.void
@@ -0,0 +1,152 @@
+#! /bin/sh
+#
+# Brother Print filter
+# Copyright (C) 2005-2016 Brother. Industries, Ltd.
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 2 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place, Suite 330, Boston, MA  02111-1307  USA
+#
+
+# This is trimmed down and tailored for brother-dcpl8410cdw-cupswrapper
+# package of Void Linux
+
+printer_model="dcpl8410cdw"
+printer_name="DCPL8410CDW"    # uppercase of $printer_model
+device_name="DCP-L8410CDW"    # $printer_name with a hyphen after {MFC,DCP,HL}
+inst_path="/opt/brother/Printers/${printer_model}"
+lpdwrapper="$inst_path/cupswrapper/brother_lpdwrapper_${printer_model}"
+ppd_file_name=/usr/share/cups/model/Brother/brother_${printer_model}_printer_en.ppd
+brotherlpdwrapper=/usr/lib/cups/filter/brother_lpdwrapper_${printer_model}
+
+if [ -d "/usr/share/cups/model" ]
+then
+  mkdir -p /usr/share/cups/model/Brother
+fi
+
+# Eliminate
+if [ "$1" = '-e' ]
+then
+  lpadmin -x ${printer_name}
+  rm -f "$ppd_file"
+  rm -f "$brotherlpdwrapper"
+  rm -f "$lpdwrapper"
+  sv restart cupsd
+  exit 0
+fi
+
+# Restart
+if [ "$1" = "-r" ]
+then
+  lpadmin -x ${printer_name}
+  sv restart cupsd
+  exit 0
+fi
+
+if [ "$1" = "help" ] || [ "$1" = "-h" ]
+then
+  echo   'option -h : help'
+  echo   '       -i : install'
+  echo   '       -e : uninstall'
+  echo   '       -r : remove printer'
+  exit 0
+fi
+
+#
+# The rest is "install"
+#
+
+if [ -e "$inst_path/lpd/filter_${printer_model}" ]
+then
+  :
+else
+  echo "ERROR : Brother LPD filter is not installed."
+fi
+rm -f $ppd_file_name
+
+src_ppd="$inst_path/cupswrapper/brother_${printer_model}_printer_en.ppd"
+if [ -e "$src_ppd" ]
+then
+  cp "$src_ppd" $ppd_file_name
+fi
+chmod 644 $ppd_file_name
+
+#
+# check /usr/lib/cups/filter
+#
+if [ -d /usr/lib/cups/filter ]
+then
+  rm -f             $brotherlpdwrapper
+  ln -s $lpdwrapper $brotherlpdwrapper
+fi
+
+sv restart cupsd
+
+sleep 2s
+
+uris=$(lpinfo -v)
+
+for uri in $uris
+do
+  URI=$(echo $uri | grep ${device_name} | grep usb)
+  if [ "$URI" != '' ]
+  then
+    break;
+  fi
+done
+
+if [ "$URI" = '' ]
+then
+  for uri in $uris
+  do
+    URI=$(echo $uri | grep ${device_name} )
+    if [ "$URI" != '' ]
+    then
+      break;
+    fi
+  done
+fi
+
+if [ "$URI" = '' ]
+then
+  for uri in $uris
+  do
+    URI=$(echo $uri | grep -i Brother | grep usb )
+    if [ "$URI" != '' ]
+    then
+      break;
+    fi
+  done
+fi  
+
+if [ "$URI" = '' ]
+then
+  for uri in $uris
+  do
+    URI=$(echo $uri | grep usb)
+    if [ "$URI" != '' ]
+    then
+      break;
+    fi
+  done
+fi
+
+if [ "$URI" = '' ]
+then
+  URI="usb://dev/usb/lp0"
+fi
+
+echo lpadmin -p ${printer_name} -E -v $URI -P $ppd_file_name
+lpadmin -p ${printer_name} -E -v $URI -P $ppd_file_name
+                
+exit 0
diff --git a/srcpkgs/brother-dcp8410-cups/template b/srcpkgs/brother-dcp8410-cups/template
new file mode 100644
index 00000000000000..e3d0026dd07a15
--- /dev/null
+++ b/srcpkgs/brother-dcp8410-cups/template
@@ -0,0 +1,37 @@
+# Template file for 'brother-dcp8410-cups'
+pkgname=brother-dcp8410-cups
+version=1.5.0
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+depends="brother-dcp8410-lpr cups cups-filters"
+short_desc="CUPS wrapper driver for the Brother DCP-L8410CDW machines"
+maintainer="Shahab Vahedi <list+void@vahedi.org>"
+license="custom:EULA"
+homepage="https://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=dcpl8410cdw_eu"
+distfiles="https://download.brother.com/welcome/dlf103248/dcpl8410cdwcupswrapper-${version}-0.i386.deb"
+checksum="b9deb04a6b8f7dd800e04cd90dcd3fa6129214bf36d63649b1710915fd8b549a"
+repository="nonfree"
+
+do_install() {
+	vmkdir opt/brother/Printers/dcpl8410cdw/cupswrapper 755
+
+	vinstall opt/brother/Printers/dcpl8410cdw/cupswrapper/brother_dcpl8410cdw_printer_en.ppd \
+		644 opt/brother/Printers/dcpl8410cdw/cupswrapper
+	vinstall opt/brother/Printers/dcpl8410cdw/cupswrapper/brother_lpdwrapper_dcpl8410cdw \
+		755 opt/brother/Printers/dcpl8410cdw/cupswrapper
+	vinstall ${FILESDIR}/cupswrapperdcpl8410cdw.void \
+		755 opt/brother/Printers/dcpl8410cdw/cupswrapper
+
+	# Copy the PPD file to its rightful place
+	vmkdir usr/share/cups/model/Brother 755
+	vinstall opt/brother/Printers/dcpl8410cdw/cupswrapper/brother_dcpl8410cdw_printer_en.ppd \
+		644 usr/share/cups/model/Brother
+
+	# Create a link to lpdwrapper in CUPS filter directory
+	vmkdir usr/lib/cups/filter 755
+	ln -sf /opt/brother/Printers/dcpl8410cdw/cupswrapper/brother_lpdwrapper_dcpl8410cdw \
+		${DESTDIR}/usr/lib/cups/filter/brother_lpdwrapper_dcpl8410cdw
+
+	vlicense ${FILESDIR}/agree.html LICENSE.html
+}

  parent reply	other threads:[~2024-08-04 22:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02 14:58 [PR PATCH] " shahab-vahedi
2024-08-02 16:37 ` [PR PATCH] [Updated] " shahab-vahedi
2024-08-04 22:04 ` shahab-vahedi [this message]
2024-08-05  7:39 ` shahab-vahedi
2024-08-05  7:53 ` shahab-vahedi
2024-08-05  7:56 ` shahab-vahedi
2024-08-10 19:57 ` shahab-vahedi
2024-08-17  6:39 ` shahab-vahedi
2024-08-25 13:39 ` shahab-vahedi
2024-08-31 17:56 ` shahab-vahedi
2024-09-09  7:41 ` shahab-vahedi
2024-10-24 19:34 ` shahab-vahedi
2024-10-24 19:35 ` shahab-vahedi
2024-10-25 13:26 ` ahesford
2024-10-25 17:29 ` shahab-vahedi
2024-10-28 18:49 ` shahab-vahedi
2024-10-28 20:52 ` [PR PATCH] [Updated] " shahab-vahedi
2024-10-28 20:58 ` shahab-vahedi
2024-10-29 12:59 ` ahesford
2025-01-28  1:57 ` github-actions
2025-02-11  1:58 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240804220420.2AA25248EA@inbox.vuxu.org \
    --to=shahab-vahedi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).