Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562640 - office-ext-r1.eclass RDEPEND refers to non-existent package app-office/openoffice
Summary: office-ext-r1.eclass RDEPEND refers to non-existent package app-office/openof...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 10:57 UTC by Sergey S. Starikoff
Modified: 2016-03-25 20:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2015-10-09 10:57:25 UTC
$ cd /usr/portage/gentoo/app-officeext/ooofbtools/
$ repoman -pv full
…
[INFO] checking package app-officeext/ooofbtools
  dependency.unknown            6
   app-officeext/ooofbtools/ooofbtools-2.34.ebuild: RDEPEND: app-office/openoffice
   app-officeext/ooofbtools/ooofbtools-2.34.ebuild: DEPEND: app-office/openoffice
   app-officeext/ooofbtools/ooofbtools-2.35.ebuild: RDEPEND: app-office/openoffice
   app-officeext/ooofbtools/ooofbtools-2.35.ebuild: DEPEND: app-office/openoffice
   app-officeext/ooofbtools/ooofbtools-2.36.ebuild: RDEPEND: app-office/openoffice
   app-officeext/ooofbtools/ooofbtools-2.36.ebuild: DEPEND: app-office/openoffice
…

$ cat /usr/portage/gentoo/profiles/desc/office_implementation.desc 
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

# This file contains descriptions of OFFICE USE_EXPAND flags.

libreoffice - use the app-office/libreoffice{,-bin} implementation for extensions
openoffice - use the app-office/openoffice{,-bin} implementation for extensions

Probably, year should be updated to 2015 ☺

The code:
/usr/portage/gentoo/eclass/office-ext-r1.eclass code:
RDEPEND=""

for i in ${OFFICE_IMPLEMENTATIONS[@]}; do
    IUSE+=" office_implementation_${i}"
    RDEPEND+="
        office_implementation_${i}? (
            || (
                app-office/${i}${OFFICE_REQ_USE}
                app-office/${i}-bin${OFFICE_REQ_USE}
            )
        )
    "
done

should be reviewed, because the only available implementation of AOO now is app-office/openoffice-bin.
Comment 1 Andreas Sturmlechner gentoo-dev 2015-10-10 22:17:07 UTC
I am not sure this warrants a change - the dependency is always fulfilled by app-office/openoffice-bin as long as it exists in tree. How much longer remains to be seen anyway, and should it leave, the eclass can really be revised.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2016-03-25 20:30:29 UTC
(In reply to Andreas Sturmlechner from comment #1)
> I am not sure this warrants a change - the dependency is always fulfilled by
> app-office/openoffice-bin as long as it exists in tree. How much longer
> remains to be seen anyway, and should it leave, the eclass can really be
> revised.

++

Not a bug, but a feature.