From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#25758: Should zathura depend on zathura-pdf-poppler? Date: Fri, 17 Feb 2017 01:29:36 +0300 Message-ID: <871suxhir3.fsf@gmail.com> References: <20170216180122.2f3a6fd7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceUYx-0006At-4f for bug-guix@gnu.org; Thu, 16 Feb 2017 17:30:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceUYt-0006US-3w for bug-guix@gnu.org; Thu, 16 Feb 2017 17:30:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceUYs-0006U6-VF for bug-guix@gnu.org; Thu, 16 Feb 2017 17:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ceUYs-0003p0-JO for bug-guix@gnu.org; Thu, 16 Feb 2017 17:30:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170216180122.2f3a6fd7@gmail.com> (Mekeor Melire's message of "Thu, 16 Feb 2017 18:01:22 +0100") 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: Mekeor Melire Cc: 25758@debbugs.gnu.org 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