unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Mekeor Melire <mekeor.melire@gmail.com>
Cc: 25758@debbugs.gnu.org
Subject: bug#25758: Should zathura depend on zathura-pdf-poppler?
Date: Fri, 17 Feb 2017 01:29:36 +0300	[thread overview]
Message-ID: <871suxhir3.fsf@gmail.com> (raw)
In-Reply-To: <20170216180122.2f3a6fd7@gmail.com> (Mekeor Melire's message of "Thu, 16 Feb 2017 18:01:22 +0100")

Mekeor Melire (2017-02-16 18:01 +0100) wrote:

> zathura is a document viewer:
>
> 	synopsis: Lightweight keyboard-driven PDF viewer
> 	description: Zathura is a customizable document viewer.  It
> provides a minimalistic interface and an interface that mainly focuses
> on keyboard interaction.
>
> Meanwhile, when you only install zathura itself, it's not usable for any
> format. You have to install zathura-pdf-poppler in order to be able to
> open PDF files.
>
> So, shouldn't zathura depend on zathura-pdf-poppler so that PDFs are viewable by default?
>
> On IRC, we agreed that zathura should depend on zathura-pdf-poppler:
>
> 	<mekeor> i just installed 'zathura', a PDF viewer. it doesn't
> work. i get this error first: "could not open plugin directory". can
> anyone reproduce this?
> 	<mekeor> oh, i think i have to additionally install another package.
> 	<mekeor> zathura-pdf-poppler
> 	<lfam> mekeor: If that's the cause, we should fix it!
> 	<mekeor> lfam: yes, it was the cause.
> 	<mekeor> lfam: there are several different backends for
> zathura. it's imaginable that a person wants to install zathura without
> PDF support but only postscript support, isn't it?
> 	<lfam> mekeor: It's imaginable, but we generally intend to provide fully featured packages

zathura is already a fully-featured package; it just happens that it
doesn't include any plugin, so it's not usable by default.  But it's an
upstream choice.  So I think we shouldn't modify zathura package.

> 	<Sleep_Walker> question is - is there anyone who would like to
> have zathura and not zathura-pdf-poppler?
> 	<Sleep_Walker> and I agree that it is unlikely
> 	<Sleep_Walker> that is moment where weaker dependency like 'recommends' would come handy
>
> If you have a different opinion, let me know. Otherwise, I'm going to
> send a patch next week which implements this dependency.

I have a different opinion.  I think since 'zathura' and its plugins are
separate projects, they should stay independent packages, and
'zathura-pdf-poppler' shouldn't be propagated when 'zathura' is
installed, especially taking into account that there is
'zathura-pdf-mupdf' (which is not packaged).

Also what if a user doesn't want to view PDFs at all?  Well, it's
unlikely, but still.  There might be users who like djvu and don't like
pdf, why not.

And the same logic should be applied to 'aspell'.  It's not usable by
itself, you need to install some dictionary.  So what about installing
'aspell-dict-en' by default along with 'aspell'?  To be clear I'm
against this and against modifying 'zathura' package.

But I think it would be good to update the description to mention that a
user should also install 'zathura-*' plugins to make it work.

-- 
Alex

  reply	other threads:[~2017-02-16 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-16 17:01 bug#25758: Should zathura depend on zathura-pdf-poppler? Mekeor Melire
2017-02-16 22:29 ` Alex Kost [this message]
2017-02-17 14:35   ` ng0
2017-11-08 21:04 ` bug#25758: (no subject) Mekeor Melire

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=871suxhir3.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=25758@debbugs.gnu.org \
    --cc=mekeor.melire@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).