Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180685 (http://www.shara.rov) - media-sound/qmmp-0.1 (new ebuild)
Summary: media-sound/qmmp-0.1 (new ebuild)
Status: RESOLVED FIXED
Alias: http://www.shara.rov
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-06-03 02:57 UTC by Evgeniy Kliymovich
Modified: 2009-01-03 19:13 UTC (History)
6 users (show)

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


Attachments
ebuild (qmmp-0.1.ebuild,1.92 KB, text/plain)
2007-06-03 03:00 UTC, Evgeniy Kliymovich
Details
About fix patch (qmmp-0.1-about.patch,409 bytes, patch)
2007-06-03 03:02 UTC, Evgeniy Kliymovich
Details | Diff
ffmpeg fix patch (qmmp-0.1-ffmpeg.patch,551 bytes, patch)
2007-06-03 03:02 UTC, Evgeniy Kliymovich
Details | Diff
id3tag patch (qmmp-0.1-null.patch,652 bytes, patch)
2007-06-03 03:03 UTC, Evgeniy Kliymovich
Details | Diff
qmmp-0.1.4.ebuild (qmmp-0.1.4.ebuild,1.81 KB, text/plain)
2007-11-20 16:32 UTC, Andrey Melentyev
Details
media-sound/qmmp-0.2.2.ebuild (qmmp-0.2.2.ebuild,2.71 KB, text/plain)
2008-10-21 11:29 UTC, kavol
Details
qmmp-0.2.2.ebuild (qmmp-0.2.2.ebuild,2.16 KB, text/plain)
2008-11-27 14:06 UTC, Thomas Kuther
Details
qmmp-0.2.2.ebuild (qmmp-0.2.2.ebuild,2.13 KB, text/plain)
2008-11-27 14:11 UTC, Thomas Kuther
Details
media-sound/qmmp-0.2.3 flag smoke test (media_sound___qmmp_0.2.3___flag_smoke_test.sh,2.25 KB, text/plain)
2009-01-03 19:13 UTC, Sebastian Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Kliymovich 2007-06-03 02:57:34 UTC
Hi.

Please add new application ebuild. That's new xmms-like media player written on QT.

Homepage: http://qmmp.ylsoftware.com/
Comment 1 Evgeniy Kliymovich 2007-06-03 03:00:51 UTC
Created attachment 120999 [details]
ebuild
Comment 2 Evgeniy Kliymovich 2007-06-03 03:02:18 UTC
Created attachment 121001 [details, diff]
About fix patch
Comment 3 Evgeniy Kliymovich 2007-06-03 03:02:38 UTC
Created attachment 121002 [details, diff]
ffmpeg fix patch
Comment 4 Evgeniy Kliymovich 2007-06-03 03:03:25 UTC
Created attachment 121003 [details, diff]
id3tag patch
Comment 5 kavol 2007-08-01 10:40:43 UTC
there is an ebuild for the new version at http://www.shara.rovno.ua/qmmp/gentoo/qmmp-0.1.3.1.ebuild

- it works_for_me(tm)

I vote +1 on adding this, finally there is something that looks like a real replacement for xmms (not mentioning qt instead of gtk)
Comment 6 kavol 2007-08-21 14:03:05 UTC
well, strange things happen ... while ok on x86, I get compile error on x86_86 ... this would be nothing unusual - except the fact that after replacing "emake" with simple "make" within the ebuild, it compiles, installs and runs fine ... how this can be, emake is a simple wrapper?

the compile error with emake:

[ 20%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_constants.o
[ 20%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_decoder.o
[ 21%] Building CXX object lib/qmmp/Input/mad/CMakeFiles/mad.dir/moc_settingsdialog.o
[ 21%] Building CXX object lib/qmmp/Input/flac/CMakeFiles/flac.dir/qrc_translations.o
[ 22%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_output.o
Linking CXX shared library libflac.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqmmp
collect2: ld returned 1 exit status
make[2]: *** [lib/qmmp/Input/flac/libflac.so] Error 1
make[1]: *** [lib/qmmp/Input/flac/CMakeFiles/flac.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 22%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_filetag.o
[ 22%] Building CXX object lib/qmmp/Input/mad/CMakeFiles/mad.dir/moc_id3tag.o
[ 22%] [ 23%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_outputfactory.o
Building CXX object lib/qmmp/Input/mad/CMakeFiles/mad.dir/moc_decodermadfactory.o
[ 24%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_iir_cfs.o
[ 24%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_iir_fpu.o
[ 24%] Building CXX object lib/qmmp/Input/mad/CMakeFiles/mad.dir/moc_decoder_mad.o
[ 25%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_iir.o
[ 25%] Building CXX object lib/qmmp/Input/mad/CMakeFiles/mad.dir/moc_detailsdialog.o
[ 25%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_decoderfactory.o
[ 25%] Building CXX object lib/CMakeFiles/qmmp.dir/moc_soundcore.o
[ 26%] Building CXX object lib/qmmp/Input/mad/CMakeFiles/mad.dir/qrc_translations.o
Linking CXX shared library libqmmp.so
Linking CXX shared library libmad.so
[ 26%] Built target qmmp
[ 26%] Built target mad
make: *** [all] Error 2
Comment 7 Evgeniy Kliymovich 2007-08-21 15:31:15 UTC
(In reply to comment #6)
> well, strange things happen ... while ok on x86, I get compile error on x86_86
> ... this would be nothing unusual - except the fact that after replacing
> "emake" with simple "make" within the ebuild, it compiles, installs and runs
> fine ... how this can be, emake is a simple wrapper?

I think yes, but I'm not sure.

> 
> [ 26%] Built target qmmp
> [ 26%] Built target mad
> make: *** [all] Error 2
> 

New ebuilds of this program can find on http://www.shara.rovno.ua/qmmp/gentoo/
Comment 8 kavol 2007-11-18 12:57:29 UTC
btw, simply renaming the ebuild from http://www.shara.rovno.ua/qmmp/gentoo/ to 0.1.4 works with the new version ... and it works even on amd64 ;-)
Comment 9 Alexandre Bique 2007-11-18 15:08:40 UTC
I can confirm that it works great (~x86, gcc 4.2.2, paludis 0.26_alpha4)
Comment 10 Andrey Melentyev 2007-11-20 16:32:05 UTC
Created attachment 136498 [details]
qmmp-0.1.4.ebuild

Hello,
it was me who made ebuilds from http://www.shara.rovno.ua/qmmp/gentoo/
for now the latest version of Qmmp is 0.1.4, here's the ebuild for those who are too lazy to rename old one :) I've also added ~amd64 flag to ebuild as it is reported to work. And cmake was moved from runtime to compile-time dependencies.

Unfortunately I can't really help with x86_64 problem which was mentioned earlier. As far as I know it is not recommended to execute "make" directly and not by calling "emake". But it is a question to real Gentoo developers, I don't have enought experience. I don't think that it is Qmmp problem, if manual compilation works fine here.

By the way, ebuild wasn't really tested with various USE flag combinations, so any feedback, even just "works-for-me with USE="blah-blah" will be very helpful.

Thanks.
Comment 11 Andrey Melentyev 2007-12-08 12:39:36 UTC
Qmmp-0.1.5 released. Bug fixes only. Old ebuild renamed to qmmp-0.1.5.ebuild should work fine.
Comment 12 kavol 2008-10-21 11:29:03 UTC
Created attachment 169298 [details]
media-sound/qmmp-0.2.2.ebuild

new version was released a while ago ... 0.2 series adds a few modules, so I've played with the use flags a bit; note that I have removed the listing of plugins enabled, no need to pollute the logs, as there is a nice summary of the enabled/disabled features at the beginning of the compilation
Comment 13 kavol 2008-10-21 11:33:20 UTC
... and it works for me on amd64 with the following settings:

USE="alsa dbus ffmpeg flac libsamplerate mad modplug scrobbler sndfile vorbis -jack -musepack -oss -pulseaudio -wavpack"
Comment 14 Tomáš Hlušička 2008-11-09 11:09:32 UTC
Hi,
i got similar problem like in Comment #6 but with 0.2.2 ebuild.
That occured variable with different use flags .
Compile  succesfull with MAKEOPTS="-j1" (thx for help Kavol).


Portage 2.2_rc13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sun, 09 Nov 2008 10:01:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2  -mssse3 -pipe -fomit-frame-pointer -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2  -mssse3 -pipe -fomit-frame-pointer -frecord-gcc-switches"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl afs alsa amd64 amr avfs bash-completion berkdb bzip2 cairo cdda cdparanoia cdr cli cracklib crypt dbus directfb dri dts dv dvb dvd dvdr dvdread enca encode ffmpeg fftw flac fltk fontforge fortran gdbm gif glitz gnutls gpm gstreamer hal iconv imlib isdnlog java jpeg lcd lcms libnotify lirc lm_sensors mad matroska midi mikmod mmx mmxext mp3 mp4 mpeg mudflap multilib ncurses network nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pcre pdf perl png pppd python qt3support readline reflection sdl sdl-sound session slang smp speex spell spl sqlite sse sse2 ssl ssse3 stream svg symlink sysfs tcl tcpd teletext theora threads tiff tk transmitter truetype unicode userlocales v4l v4l2 vcd vdr vorbis x264 xanim xcomposite xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" LIRC_DEVICES="asusdh serial" USERLAND="GNU" VIDEO_CARDS="nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 15 Thomas Kuther 2008-11-27 14:06:26 UTC
Created attachment 173586 [details]
qmmp-0.2.2.ebuild

More mature ebuild

* uses cmake-utils
* provides an extra qmmp_use_enable function to cope with those rediculous non-standard cmake options
Comment 16 Thomas Kuther 2008-11-27 14:11:09 UTC
Created attachment 173587 [details]
qmmp-0.2.2.ebuild

Oops, the other ebuild had -j1 removed.

It worked fine with -j3 after I had it installed once though.
Comment 17 kavol 2008-11-27 14:43:58 UTC
(In reply to comment #16)
> Oops, the other ebuild had -j1 removed.
> It worked fine with -j3 after I had it installed once though.

note that there exists a patch:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/qmmp/current/SOURCES/qmmp-0.2.2-parallel-build.patch?revision=278804&view=markup

- it should be fixed in the next version

two questions:

- is it really possible to have qmmp without openssl?

- why is libsamplerate use controlled via the jack use flag?
(it is used for the SRC plugin which may be built independently of jack ...)
Comment 18 kavol 2008-12-01 10:04:17 UTC
(In reply to comment #17)
> - why is libsamplerate use controlled via the jack use flag?
> (it is used for the SRC plugin which may be built independently of jack ...)

scratch that, I cannot read :-/
Comment 19 Ben de Groot (RETIRED) gentoo-dev 2009-01-02 17:13:36 UTC
Thanks for your contributions! This package is now in portage, with the latest version: 0.2.3.
Comment 20 Sebastian Pipping gentoo-dev 2009-01-03 19:13:31 UTC
Created attachment 177243 [details]
media-sound/qmmp-0.2.3 flag smoke test

The script runs

    USE=[..] emerge =media-sound/qmmp-0.2.3 -v

for different use flag combinations.  These combinations are tested:

================================================================================
0 from '-alsa -oss -pulseaudio -jack'
0 from ' alsa -oss -pulseaudio -jack'
0 from '-alsa  oss -pulseaudio -jack'
0 from '-alsa -oss  pulseaudio -jack'
0 from '-alsa -oss -pulseaudio  jack'
0 from ' alsa  oss  pulseaudio  jack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from ' dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus  ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg  flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac  libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate  mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad  modplug -musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug  musepack -scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack  scrobbler -sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler  sndfile -vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile  vorbis -wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis  wavpack'
0 from ' dbus  ffmpeg  flac  libsamplerate  mad  modplug  musepack  scrobbler  sndfile  vorbis  wavpack'
0 from '-dbus -ffmpeg -flac -libsamplerate -mad -modplug -musepack -scrobbler -sndfile -vorbis -wavpack -alsa -oss -pulseaudio -jack'
0 from ' dbus  ffmpeg  flac  libsamplerate  mad  modplug  musepack  scrobbler  sndfile  vorbis  wavpack  alsa  oss  pulseaudio  jack'
================================================================================