Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Add Printer Support: Brother DCP-L8410CDW
Date: Tue, 29 Oct 2024 13:59:29 +0100	[thread overview]
Message-ID: <20241029125929.F0ECC2DCD8@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: 2655 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/51608#issuecomment-2444149512

Comment:
I think you misinterpreted my comments:
- Marking the package restricted is a precondition for consideration, without consideration for terms of service that may allow redistribution. It should be restricted because the build process is fragile. A precompiled deb offered by a corporate sponsor may disappear at any time, or may break and be unfixable becuase of other Void updates. We do not need to accept the possibility that officially repacking this software may break our repository at an inopportune moment.
- The `README.maintainer` does not belong in our repository. As I noted, users are expected to familiarize themselves with the maintenance of printers in CUPS should they wish to use it. Void is not a repository for general-purpose documentation.
- The INSTALL and REMOVE scripts remain inappropriate. Void does not alter general system configuration just by virtue of package installation or removal. Removing or adding printers when this package is installed or removed is not appropriate; users may wish to install or remove packages without rewriting printcap. This is especially true because the `-lpr` package is a dependency of the `-cups` package, but CUPS tends to own `/etc/printcap`; other packages shouldn't be modifying that file at all.

In addition:
- In the `-lpr` package, why are you rearranging the executable structure? If the package installs executables in `x86_64` and `i686` subdirectories, you should leave them where they are, but remove the unnecessary arch for each of the `i686` and `x86_64` packages.
- The wrapper script in `-cups` is poorly written (it doesn't even spell `lpdwrapper` correctly) and isn't really suitable for Void at all. The script should **never** copy files into the `/usr/share` or `/usr/lib*` trees, because those are owned by the package manager. The attempt to start, stop or restart services is also poorly conceived. The Void template should just symlink the PPD file(s) as appropriate, so that the package manager can manage those links.
- There is no need for `curl` or fetching the license file at runtime; you can just add the EULA URL to the `distfiles` array in each case, using the following construct:
    ```sh
    distfiles="<regular-distfile>
     https://support.brother.com/g/s/agreement/English_lpr/agree.html>eula-${version}.html"
    skip_extraction="eula-${version}.html"

    post_extract() {
        sed -n -e <...> "${XBPS_SRCDISTDIR}/${pkgname}-${version}/eula-${version}.html" > LICENSE
    }
    ```

  parent reply	other threads:[~2024-10-29 12:59 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
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 [this message]
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=20241029125929.F0ECC2DCD8@inbox.vuxu.org \
    --to=ahesford@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).