Re: [aur-general] When to use optdepends (was: AUR package q -- newbie)

2020-05-12 Thread Dan Sommers
On Tue, 12 May 2020 15:55:58 +0200
Markus Schaaf  wrote:

> > It's not really clear to me when to optdepend.
> 
> Comments welcome. My idea is to use optdepends for things the user may
> want, but it's not obvious how to make them work, like a glue-library
> the application needs to use another facility, e.g. gpgme to use gpg,
> or ghostscript to produce PDF.

As a *user*, I look at an optdepends'ed package as an otherwise
independent package that makes the original package better or more
useful.  I usually think that the original package will use the
optdepends'ed package out of the box, especially if the latter is
already installed when I install the former, or automatically if I
install the latter later.  IMO, the more I have to do to configure the
main package to use the optdepends'ed package, the relationship degrades
from optdepends to something lesser.

https://wiki.archlinux.org/index.php/PKGBUILD#optdepends has some good
examples.  In particular, if I see that a package has an optdepends on
CUPS, then I assume that that package detects and uses CUPS all by
itself.  The package, of course, likely does lots of other things even
if it can't print.

Just my 2¢.

-- 
“Atoms are not things.” – Werner Heisenberg
Dan Sommers, http://www.tombstonezero.net/dan


[aur-general] mate-common-dev missing Source File

2018-11-07 Thread Dan Sommers

Greetings,

I tried to install mate-common-dev¹ this morning, but it fails to
download its source file²:

  -> Downloading mate-common-1.21.0.tar.xz...
  [... curl progress meter skipped ...]
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading 
http://pub.mate-desktop.or/releases/1.21/mate-common-1.21.0.tar.xz

Aborting...

I checked the source directory,³ and sure enough, there is no
mate-common tarball there.

A lot of other mate-*-dev packages depend on mate-common-dev; what's the
easiest path forward to a mate-desktop-dev installation?

Thanks,
Dan

¹ https://aur.archlinux.org/packages/mate-desktop-dev/
² http://pub.mate-desktop.org/releases/1.21/mate-desktop-1.21.3.tar.xz
³ http://pub.mate-desktop.org/releases/1.21/