Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579518 - media-sound/kmid: use bundled drumstick if drumstick >= 1.0 is installed
Summary: media-sound/kmid: use bundled drumstick if drumstick >= 1.0 is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: Masked for removal on 2017-11-21
Keywords: PMASKED
Depends on:
Blocks: kdelibs4-removal
  Show dependency tree
 
Reported: 2016-04-10 16:52 UTC by Christian Loosli
Modified: 2017-11-21 18:58 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 Christian Loosli 2016-04-10 16:52:20 UTC
kmid2, the KDE midi player, depends on drumstick  0.4 < x < 1.0, however, the most recent KDE applications depend on drumstick >= 1.0. 

kmid2 has a bundled drumstick library which can be used, however, unfortunately it only checks whether drumstick > 0.4 is installed. If this check is adapted to also check for >= 1.0, the bundled version is used. 

Otherwise building kmid2 fails at 

In file included from /var/tmp/portage/media-sound/kmid-2.4.0-r2/work/kmid-2.4.0/alsa/alsabackend.cpp:21:0:
/var/tmp/portage/media-sound/kmid-2.4.0-r2/work/kmid-2.4.0/alsa/alsamidiobject.h:24:24: critical error: alsaclient.h: file not found 
make[2]: *** [alsa/CMakeFiles/kmid_alsa.dir/alsabackend.o] Error 1

Patching this check should make the dependency on drumstick < 1.0 obsolete and thus kmid2 can be built along the most recent KDE applications.

Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, glibc-2.22-r4, 4.5.0-gentoo x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2
KiB Swap:   17825788 total,  17825756 free
Timestamp of repository gentoo: Sat, 09 Apr 2016 20:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: -1000

localportage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

heather
    location: /var/lib/layman/heather
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="de_CH.UTF-8"
LC_ALL="de_CH.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 joystick jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modemmanager modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb v4l vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon krita sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-06-22 13:09:50 UTC
I would consider last riting this as well as kmidimon as they are both dead upstream with no porting away from deprecated Qt 4 / KDE 4 in sight.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2016-06-22 16:15:51 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> I would consider last riting this as well as kmidimon as they are both dead
> upstream with no porting away from deprecated Qt 4 / KDE 4 in sight.

+1
Comment 3 Christian Loosli 2016-06-23 10:19:05 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> I would consider last riting this as well as kmidimon as they are both dead
> upstream with no porting away from deprecated Qt 4 / KDE 4 in sight.

Due to the lack of alternatives, lack of any hard to fix / critical bugs and the fact that it works and integrates well in KDE/Plasma 5: I'd rather that kmid is kept.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-06-23 11:15:39 UTC
(In reply to Christian Loosli from comment #3)
> (In reply to Michael Palimaka (kensington) from comment #1)
> > I would consider last riting this as well as kmidimon as they are both dead
> > upstream with no porting away from deprecated Qt 4 / KDE 4 in sight.
> 
> Due to the lack of alternatives, lack of any hard to fix / critical bugs and
> the fact that it works and integrates well in KDE/Plasma 5: I'd rather that
> kmid is kept.

Removal is not urgent but realistically Qt 4 / KDE 4 is EOL and will be removed at some point.
Comment 5 Larry the Git Cow gentoo-dev 2017-11-21 18:58:41 UTC
The bug has been closed via the following commit(s):

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

commit e02b71c5a95c6cfb13247574b531bb4442c3dba9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-11-19 15:47:03 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-11-21 18:55:20 +0000

    profiles: Remove last-rited packages
    
    Closes: https://bugs.gentoo.org/634386
    Closes: https://bugs.gentoo.org/634382
    Closes: https://bugs.gentoo.org/634388
    Closes: https://bugs.gentoo.org/634384
    Closes: https://bugs.gentoo.org/579518
    Closes: https://bugs.gentoo.org/623928

 kde-misc/kcollectd/Manifest                        |   1 -
 kde-misc/kcollectd/files/kcollectd-0.9-boost.patch |  42 -----
 .../kcollectd/files/kcollectd-0.9-cflags.patch     |  10 --
 .../kcollectd/files/kcollectd-0.9-desktop.patch    |  11 --
 kde-misc/kcollectd/files/kcollectd-0.9-gcc6.patch  |  52 -------
 kde-misc/kcollectd/kcollectd-0.9-r1.ebuild         |  28 ----
 kde-misc/kcollectd/metadata.xml                    |   8 -
 kde-misc/kdesudo/Manifest                          |   1 -
 kde-misc/kdesudo/kdesudo-3.4.2.4-r1.ebuild         |  24 ---
 kde-misc/kdesudo/metadata.xml                      |  11 --
 media-sound/kmid/Manifest                          |   1 -
 media-sound/kmid/kmid-2.4.0-r1.ebuild              |  27 ----
 media-sound/kmid/metadata.xml                      |  15 --
 media-sound/konvertible/Manifest                   |   1 -
 media-sound/konvertible/konvertible-1.0.1.ebuild   |  30 ----
 media-sound/konvertible/metadata.xml               |  12 --
 media-sound/kstreamripper/Manifest                 |   1 -
 .../files/kstreamripper-0.7.100-nodebuglog.patch   |  11 --
 .../kstreamripper/kstreamripper-0.7.100-r2.ebuild  |  27 ----
 media-sound/kstreamripper/metadata.xml             |  15 --
 net-im/qutim/Manifest                              |   1 -
 .../qutim-0.3.2-astral-migrate-qt-telepaphy.patch  | 151 ------------------
 ...-0.3.3-fix-build-with-gcc-6.1.0-and-above.patch |  26 ----
 net-im/qutim/metadata.xml                          |  42 -----
 net-im/qutim/qutim-0.3.3_p1.ebuild                 | 170 ---------------------
 net-misc/knutclient/Manifest                       |   1 -
 .../files/knutclient-1.0.5-desktop.patch           |  15 --
 .../knutclient/files/knutclient-1.0.5-gcc6.patch   |  18 ---
 net-misc/knutclient/knutclient-1.0.5.ebuild        |  27 ----
 net-misc/knutclient/metadata.xml                   |   8 -
 profiles/base/package.use.mask                     |   1 -
 profiles/package.mask                              |  42 -----
 profiles/updates/3Q-2012                           |   1 -
 sci-calculators/keurocalc/Manifest                 |   1 -
 sci-calculators/keurocalc/keurocalc-1.2.3.ebuild   |  31 ----
 sci-calculators/keurocalc/metadata.xml             |   8 -
 36 files changed, 871 deletions(-)