From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#25758: Should zathura depend on zathura-pdf-poppler? Date: Fri, 17 Feb 2017 14:35:34 +0000 Message-ID: <20170217143534.p7omzyszagtp3a4h@wasp> References: <20170216180122.2f3a6fd7@gmail.com> <871suxhir3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cejbp-0007yK-G6 for bug-guix@gnu.org; Fri, 17 Feb 2017 09:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cejbm-0003Zn-AQ for bug-guix@gnu.org; Fri, 17 Feb 2017 09:34:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cejbm-0003Zi-77 for bug-guix@gnu.org; Fri, 17 Feb 2017 09:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cejbl-0002gc-VU for bug-guix@gnu.org; Fri, 17 Feb 2017 09:34:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <871suxhir3.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Alex Kost Cc: 25758@debbugs.gnu.org On 17-02-17 01:29:36, Alex Kost wrote: > 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: > > > > 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? > > oh, i think i have to additionally install another package. > > zathura-pdf-poppler > > mekeor: If that's the cause, we should fix it! > > lfam: yes, it was the cause. > > 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? > > 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. > > > question is - is there anyone who would like to > > have zathura and not zathura-pdf-poppler? > > and I agree that it is unlikely > > 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 > > > I agree, the packages are good as they are, what must be improved in this case is the description of the root package (zathura). -- ng0 -- https://www.inventati.org/patternsinthechaos/