Menu

strange, hardcoded and non-standard installation paths

General
2016-04-13
2016-04-13
  • Starikov Sergey

    Starikov Sergey - 2016-04-13

    Trying to install BiblioteQ I've find very strange package list:

    $ find /var/tmp/portage/app-text/biblioteq-9999/image/
    /var/tmp/portage/app-text/biblioteq-9999/image/
    /var/tmp/portage/app-text/biblioteq-9999/image/var
    /var/tmp/portage/app-text/biblioteq-9999/image/var/tmp
    /var/tmp/portage/app-text/biblioteq-9999/image/var/tmp/portage
    /var/tmp/portage/app-text/biblioteq-9999/image/var/tmp/portage/app-text
    /var/tmp/portage/app-text/biblioteq-9999/image/var/tmp/portage/app-text/biblioteq-9999
    /var/tmp/portage/app-text/biblioteq-9999/image/var/tmp/portage/app-text/biblioteq-9999/work
    /var/tmp/portage/app-text/biblioteq-9999/image/var/tmp/portage/app-text/biblioteq-9999/work/biblioteq.d
    /var/tmp/portage/app-text/biblioteq-9999/image/usr
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/BiblioteQ
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_hu_HU.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_nl_BE.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_de_DE.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_nl_NL.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_fr_FR.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/qt_de.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/qt_cs.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/qt_fr.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_cs_CZ.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/Translations/biblioteq_el_GR.qm
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/biblioteq.conf
    /var/tmp/portage/app-text/biblioteq-9999/image/usr/local/biblioteq/biblioteq.sh

    What is the idea of empty directory biblioteq.d?
    Why not to install config into it's standard place, for example /etc/biblioteq/biblioteq.conf?
    Why not to install binary into standard path (/usr/bin/BiblioteQ, in such case script is not needed at all)?
    For my experience qt_*.qm localization files also looks strange.

    Adding into installation rules desktop file I've got one more error message:

    >>> Completed installing biblioteq-9999 into /var/tmp/portage/app-text/biblioteq-9999/image/

    * QA Notice: This package installs one or more .desktop files that do not
    * pass validation.
    *
    * /usr/share/applications/biblioteq.desktop: error: (will be fatal in the future): value "text/html;/text/xml;application/xhtml_xml;" for key "MimeType" in group "Desktop Entry" contains value "/text/xml" which is an invalid MIME type: "/text/xml" contains an invalid character in the subtype

    desktop file also ignores standard paths, containing hardcoded non-standard.

     
  • Guess Who

    Guess Who - 2016-04-13

    The official source of BQ is https://github.com/textbrowser/biblioteq.

    The BiblioteQ.d.tar.gz file from SourceForge is essentially a copy of the the GitHub repository.

    What are you attempting to install? Where did you download the file from? On Unix systems, I don't provide an installation package. On OS X, the provided bundle is not an installation file. On W32, I provide a simple ZIP file with all of the relevant ingredients.

    So, I'm not responsible for the "portage" package.

    I don't know who created the package that you're using.

    On my machine, I have BQ installed in /usr/local/biblioteq.

    ls /usr/local/biblioteq/
    BiblioteQ biblioteq.conf biblioteq.sh book.png

    BQ doesn't need an installation. It may be launched from anywhere. If it's unable to locate biblioteq.conf, it will inform you.

    Please don't report third-party problems here. You should contact the vendor.

     
    • Starikov Sergey

      Starikov Sergey - 2016-04-13

      For now I try to build test Qt4 version using biblioteq.pro rules set.
      It is not «"portage" package», it is installation accordingly with biblioteq.pro.

       
  • Guess Who

    Guess Who - 2016-04-13

    qmake -o Makefile biblioteq.pro
    make

     

Log in to post a comment.