Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kde-misc/plasma-applet-window-title and kde-misc/plasma-applet-window-buttons: New packages #14039

Conversation

fedeliallalinea
Copy link
Contributor

No description provided.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @fedeliallalinea
Areas affected: ebuilds
Packages affected: kde-misc/plasma-applet-window-buttons, kde-misc/plasma-applet-window-title

kde-misc/plasma-applet-window-buttons: @gentoo/proxy-maint (new package)
kde-misc/plasma-applet-window-title: @gentoo/proxy-maint (new package)

Linked bugs

Bugs linked: 703298


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added new package The PR is adding a new package. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Dec 18, 2019
MY_PN="${PN/plasma-/}"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3 kde5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use kde5.eclass anymore:
This eclass is *deprecated*. Please read the PORTING notes for switching to ecm.eclass in case the package is using extra-cmake-modules, otherwise just use cmake-utils.eclass instead. For projects hosted on kde.org infrastructure, inherit kde.org.eclass to fetch and unpack sources independent of the build system being used.

For inspiration on how to do it, look at latte-dock-0.9.5.ebuild for example.

HOMEPAGE="https://github.com/psifidotos/applet-window-buttons"

LICENSE="GPL-2+"
IUSE=""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When porting away from kde5.eclass, SLOT would be missing below LICENSE.

IUSE=""

DEPEND="
$(add_frameworks_dep extra-cmake-modules)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you use kde5.eclass or ecm.eclass, this dependency is added automatically for you.

LICENSE="GPL-2+"
IUSE=""

DEPEND="
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at https://github.com/psifidotos/applet-window-buttons/blob/master/libappletdecoration/CMakeLists.txt there should be much more dependencies, e.g. Qt is missing completely. Did you check linking with lddtree?

MY_PN="${PN/plasma-/}"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3 kde5-functions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use kde5-functions.eclass anymore:
This eclass must not be inherited directly by an ebuild.

Copy link
Member

@a17r a17r Dec 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, what does this package add compared to installing applet-window-title via e.g. discover? It seems as if there is no build system to actually compile something.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, what does this package add compared to installing applet-window-title via e.g. discover? It seems as if there is no build system to actually compile something.

I think nothing, but why then create an bin ebuild when you can download it and put into /opt?
I like the idea to install all from portage, but I understand that these are personal preferences.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use kde5-functions.eclass anymore:
This eclass must not be inherited directly by an ebuild.

How manage src_{prepare,configure,compile} phases? Maybe, for example, with

src_configure() { 
	: 
}

Copy link
Member

@a17r a17r Jan 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, what does this package add compared to installing applet-window-title via e.g. discover? It seems as if there is no build system to actually compile something.

I think nothing, but why then create an bin ebuild when you can download it and put into /opt?
I like the idea to install all from portage, but I understand that these are personal preferences.

Well, I was citing from kde proj's packaging policy; and I disagree with your example, as it involves much more than simply using the upstream interface that provides a search and install button and auto-update facility as is the alternative here. ;) The package will always be slower to update than upstream, so we ask ourselves 'what advantage does the package give us'.

If you tell me that these two applets are typically used together, such that you even add a reference in pkg_postinst to that effect, then it would be awkward to provide only one as system package, I would agree with adding both to tree.

@fedeliallalinea fedeliallalinea force-pushed the plasma-applet-window-{buttons,title} branch from bb105a7 to 7c7c1d6 Compare December 24, 2019 07:26
Comment on lines 8 to 10
KFMIN=5.38.0
QTMIN=5.9.0
PLASMA_MINIMAL=5.12.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can do that; But please note that KDE Frameworks 5.37 was dropped more than two years ago, and Qt 5.7 was gone soon afterwards (5.8 never packaged), and Plasma 5.11 as well. So you are quite safe from a packaging standpoint, not least because ecm.eclass already sets KFMIN=5.64.0 anyway. Unlike gnome proj we are not overzealous with minimum versions. ;)

Regarding PLASMA_MINIMAL: a variable used only once should rather not be declared at all.

Comment on lines 34 to 35
insinto /usr/share/plasma/plasmoids/org.kde.windowtitle
doins metadata.desktop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use desktop.eclass instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but domenu or newmenu insert in /usr/share/applications. All metadata.desktop are installed in plugin directory (see for example latte-dock)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ofc, ignore me ;)

SLOT="0"
IUSE=""

DEPEND="
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If nothing is being built, do we need a DEPEND at all?

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Bug: https://bugs.gentoo.org/703298
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Bug: https://bugs.gentoo.org/703298
@fedeliallalinea fedeliallalinea force-pushed the plasma-applet-window-{buttons,title} branch from 7c7c1d6 to e0bedcf Compare January 27, 2020 12:03
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-01-27 14:07 UTC
Newest commit scanned: e0bedcf
Status: ❌ broken

There are too many broken packages to determine whether the breakages were added by the pull request. If in doubt, please rebase.

Issues:https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#global
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/consul-template
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/emacs-updater
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/fluentd
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/puppet
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/puppet-agent
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/puppetdb
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-admin/puppetserver
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-crypt/mcrypt
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-emulation/faudio
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-emulation/virtualbox-additions
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-emulation/virtualbox-guest-additions
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-emulation/virtualbox-modules
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-forensics/sleuthkit
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-i18n/atokx3
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-misc/blink1
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-office/libreoffice-bin-debug
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-text/jabref-bin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#app-text/wscr
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-db/mysql
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-db/postgresql
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-embedded/arduino
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/gin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/gwt
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/icedtea
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/icedtea-bin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/netbeans-platform
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/openjdk
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/openjdk-bin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/openjdk-jre-bin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-java/openjfx
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-lang/R
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-lang/julia
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-lang/nqp
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-libs/gjs
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-libs/hsa-ext-rocr
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-ml/lablgtk
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-php/pecl-imagick
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-python/doit
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-python/empy
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-python/parver
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-python/pygame
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-ros/roslaunch
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-util/conf2struct
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-util/cookiecutter
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-util/google-perftools
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#dev-vcs/gitsh
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#games-simulation/flightgear
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#games-strategy/freeciv
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#games-util/pogo-manager-bin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#gnome-extra/cjs
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#gnustep-apps/sogo
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#mail-client/mutt
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#mail-filter/spamassassin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-gfx/iscan
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-gfx/libimagequant
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-gfx/sane-frontends
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-libs/clutter-gst
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-plugins/vdr-burn
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-plugins/vdr-graphlcd
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-sound/podcatcher
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-tv/gentoo-vdr-scripts
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#media-video/ushare
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/fail2ban
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/metasploit
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/mk-livestatus
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/nagios-check_multiple
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/nagios-core
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/ntopng
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/snort
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/tcpdump
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/vnstat
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/wireshark
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-analyzer/zabbix
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-dns/bind
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-dns/dnsdist
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-dns/dnssec-validator
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-dns/unbound
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-fs/nfs-utils
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-libs/nodejs
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-mail/dovecot
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/apt-cacher-ng
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/dhcp
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/gerbera
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/icaclient
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/kea
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/pulseaudio-dlna
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-misc/youtube-dl
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-p2p/bisq
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-p2p/fms
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-print/cups
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-proxy/haproxy
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-proxy/squidguard
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-vpn/strongswan
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#net-wireless/kismet
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-chemistry/nmrdepaker
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-chemistry/pymol
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-libs/nlopt
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-libs/parmetis
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-libs/scikits_learn
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-libs/tensorflow
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-libs/tensorflow-estimator
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-mathematics/geogebra
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-mathematics/normaliz
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-visualization/gwyddion
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-visualization/pythonprop
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sci-visualization/veusz
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-apps/attr
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-apps/shadow
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-auth/nss-pam-ldapd
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/cinder
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/crmsh
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/glusterfs
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/kube-apiserver
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/kube-controller-manager
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/kube-scheduler
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-cluster/neutron
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-fs/tmsu
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#sys-fs/udisks
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#virtual/jdk
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#virtual/jre
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-apps/cgit
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-apps/grafana-bin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-apps/netbox
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-apps/postfixadmin
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-misc/shellinabox
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-misc/xxv
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#www-servers/nginx
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#x11-misc/dzen
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#x11-misc/xorg-cf-files
https://qa-reports.gentoo.org/output/gentoo-ci/f5722be/output.html#x11-wm/xpra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. new package The PR is adding a new package. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants