Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645558 - <app-office/libreoffice-6.0[kde] depends on deprecated kdelibs4/Qt4
Summary: <app-office/libreoffice-6.0[kde] depends on deprecated kdelibs4/Qt4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on: 646506 652638
Blocks: kdelibs4-removal
  Show dependency tree
 
Reported: 2018-01-24 14:11 UTC by Andreas Sturmlechner
Modified: 2018-05-24 16:35 UTC (History)
1 user (show)

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


Attachments
gtk3-kde5.tar.xz (gtk3-kde5.tar.xz,24.95 KB, application/x-xz)
2018-01-27 17:42 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2018-01-24 14:11:22 UTC
Qt4 is dead and going away, and the time of kdelibs4 is even more limited.

Thankfully, support for KF5-based Filechooser w/ otherwise gtk+:3 vcl-frontend now exists in git master and will be part of the next major release.
Comment 1 Andrius Štikonas 2018-01-27 17:42:12 UTC
Created attachment 516910 [details]
gtk3-kde5.tar.xz

gtk3-kde5 patches compile with lo-6.0 too.
Comment 2 Larry the Git Cow gentoo-dev 2018-01-28 23:19:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c817e1b0bcc1f067390ff409feff4e8ffd605d6

commit 5c817e1b0bcc1f067390ff409feff4e8ffd605d6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-27 19:27:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-28 23:18:58 +0000

    app-office/libreoffice: Add 6.0 patchset for gtk3-kde5 vcl plugin
    
    Switches 6.0 branch USE=kde away from kdelibs4.
    
    Thanks-to: Andrius Štikonas <andrius@stikonas.eu>
    Bug: https://bugs.gentoo.org/645558
    Package-Manager: Portage-2.3.20, Repoman-2.3.6

 app-office/libreoffice/Manifest                    |  1 +
 app-office/libreoffice/libreoffice-6.0.9999.ebuild | 45 ++++++++++++----------
 2 files changed, 26 insertions(+), 20 deletions(-)}
Comment 3 MrPenguin07 2018-02-11 05:58:40 UTC
Hmm, from my end i'm unable to merge >=5.x due to kde use flag deps.

!!! The ebuild selected to satisfy "=app-office/libreoffice-6.0.9999" has unmet requirements.
- app-office/libreoffice-6.0.9999::gentoo USE="bluetooth branding cups dbus java kde pdfimport vlc -coinmp -debug -eds -firebird -googledrive -gstreamer -gtk -gtk2 -jemalloc -libressl -mysql -odk -postgres -test" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"

  The following REQUIRED_USE flag constraints are unsatisfied:
    kde? ( gtk )

  
Same message with all 6.x ebuilds. For me it seems impossible to upgrade?
Comment 4 Andreas Sturmlechner gentoo-dev 2018-02-11 09:53:26 UTC
USE="kde gtk".
Comment 5 MrPenguin07 2018-02-11 10:12:35 UTC
Cheers for quick response Andreas, the one thing I failed to try.

Looking at the ebuild, the gtk flag pulls:

gtk? (
		dev-libs/glib:2
		dev-libs/gobject-introspection
		gnome-base/dconf
		x11-libs/gtk+:3
	)

However, none of those were included into the emerge list.

Considering the gtk flag is globally disabled for most kde users, is there not a less confusing way to do this, even if temporary?

Cheers
Comment 6 MrPenguin07 2018-02-11 10:30:06 UTC
FYI these are the only extra packages pulled in since upgrading from libre-5.x

dev-libs/libixion-0.13.0
dev-libs/liborcus-0.13.2
app-office/libreoffice-l10n-6.0.1.1
app-text/libepubgen-0.1.0
app-text/libqxp-0.0.1

None of which seem related to gtk?
Comment 7 Andreas Sturmlechner gentoo-dev 2018-02-11 10:49:15 UTC
This bug is not the right place to help you with your local use flag setup. The ebuild is fine.

If you are struggling with where and how to setup USE flags, head to the forums or IRC.
Comment 8 MrPenguin07 2018-02-11 11:52:33 UTC
Well I disagree, this is not a discussion about my local setup this is now about how the transition from qt4 to qt5 deps is being handled in this ebuild.

I'm stating that the changes caused an unnecessary blocker and user confusion upon upgrading. To shrug that off as "there's nothing wrong with the ebuild" is not productive.
Comment 9 Andreas Sturmlechner gentoo-dev 2018-02-11 12:04:28 UTC
You can disagree as much as you like, but Portage tells you exactly what you need:

(In reply to Clint from comment #3)
>   The following REQUIRED_USE flag constraints are unsatisfied:
>     kde? ( gtk )

gtk is default enabled for LibreOffice. You are responsible for the flags you set. Beyond that any discussion is fruitless.
Comment 10 Larry the Git Cow gentoo-dev 2018-05-24 16:35:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c8c70869d1d97dcb469f4483ccfceac91af0b9d

commit 1c8c70869d1d97dcb469f4483ccfceac91af0b9d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-05-24 15:13:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-05-24 16:33:21 +0000

    profiles: Add <app-office/libreoffice-6.0[kde] to package.use.mask
    
    Closes: https://bugs.gentoo.org/645558

 profiles/base/package.use.mask | 6 ++++++
 1 file changed, 6 insertions(+)