You are not logged in.
I just discovered the music player Youki: http://youki.mp/ Its by the same people who made bpmx: http://bmpx.backtrace.info/site/BMPx_Homepage
I really want to check it out. It seems like the perfect player for my needs. I downloaded the source code, un tared it and did
./configure
I got this error:
checking for DBUS... configure: error: Package requirements (dbus-c++-1 dbus-1 >= 0.93 dbus-glib-1 >= 0.61) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the DBUS_CFLAGS and DBUS_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
What does this mean? Should I install dbus-c++ ? I'm having a little trouble finding this package.
Has anyone used youki before? How do you like it?
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
You can find dbus-c++ on aur :
Offline
dbus-c++ gives me errors
make[4]: Entering directory `/home/geo/bin/youki/dbus-c++/src/dbus-c++-build/examples/echo'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -pthread -fvisibility=hidden -Wall -O3 -MT echo_client_mt-echo-client.o -MD -MP -MF .deps/echo_client_mt-echo-client.Tpo -c -o echo_client_mt-echo-client.o `test -f 'echo-client.cpp' || echo './'`echo-client.cpp
echo-client.cpp: In function 'void* greeter_thread(void*)':
echo-client.cpp:41: error: 'snprintf' was not declared in this scope
make[4]: *** [echo_client_mt-echo-client.o] Error 1
make[4]: Leaving directory `/home/geo/bin/youki/dbus-c++/src/dbus-c++-build/examples/echo'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/geo/bin/youki/dbus-c++/src/dbus-c++-build/examples/echo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/geo/bin/youki/dbus-c++/src/dbus-c++-build/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/geo/bin/youki/dbus-c++/src/dbus-c++-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting..
Archlinux x86_64 | post-engineering | last.fm
Offline
I really want to check it out. It seems like the perfect player for my needs. I downloaded the source code, un tared it and did
./configure
Just a little note: Don't you use makepkg?
I highly recommend to make a PKGBUILD and run makepkg, instead of installing "the dirty way".
Or is it just to check if it configures? (can be done woth makepkg too, but does not make a lot of difference)
Offline
here is a build that i wanted to move into community but i decided to wait an release. the builds from aur are using a git that is kinda broken and the changes need to be merged there.
http://archlinux.ro/~ioni/dbus-c++.tar.gz
edit: now an up to date and working version is in aur. dbus-c++
Last edited by wonder (2009-08-15 22:18:34)
Give what you have. To someone, it may be better than you dare to think.
Offline
Hrm, as much as I love my mpd & ncmpcpp setup, this looks slick.
dnyy in IRC & Urban Terror
Offline
@Ghost1227 Awesome. Thanks alot.
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
Is the pkgbuild ready? I can't find it in AUR.
Offline
Is the pkgbuild ready? I can't find it in AUR.
Ghost1227 was trying to patch some dependencies (even ones that were not in the aur) that had failed to build with it and still couldn't get it to work.
It's unclear when he will have it done, the process to make this pkgbuild is a huge hassle.
Last edited by Acecero (2009-08-22 08:52:09)
Offline
Ouch, I was really looking forward to this
Offline
I started to compile the dependencies from source, but too many were too broken for me to fix, so i left it (and it has a looooots of dependencies, wow!)
Offline
Too bad, but thanks for your efforts.
Offline
try pacman -Sy dbus . by default arch comes with dbus-core which seems to be some subset of dbus or so making it fail. XFCE4 had(?) the same problem as far as i know
Offline
I managed to solve depency hell of youki, but compile fails:
../xsd/cxx/tree/elements.hxx:711: instantiated from "static std::auto_ptr<_Tp1> xsd::cxx::tree::traits<T, C>::create(const xercesc_3_0::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::type*) [with T = xsd::cxx::tree::string<char, xsd::cxx::tree::simple_type<xsd::cxx::tree::_type> >, C = char]"
mb-artist-basic-1.0.cxx:409: instantiated from here
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "ATTRIBUTE_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "ENTITY_REFERENCE_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "ENTITY_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "PROCESSING_INSTRUCTION_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "COMMENT_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "DOCUMENT_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "DOCUMENT_TYPE_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "DOCUMENT_FRAGMENT_NODE" ei käsitellä switch-lauseessa
../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "NOTATION_NODE" ei käsitellä switch-lauseessa
make[2]: *** [mb-artist-basic-1.0.lo] Virhe 1
make[2]: Poistutaan hakemistosta "/home/obi-lan/aur/youki-0.03/xmlcpp"
make[1]: *** [all-recursive] Virhe 1
make[1]: Poistutaan hakemistosta "/home/obi-lan/aur/youki-0.03"
make: *** [all] Virhe 2
Offline
Please use a english locale whe you are posting error messages. Not everyone can read finnish
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I managed to solve depency hell of youki, but compile fails:
../xsd/cxx/tree/elements.hxx:711: instantiated from "static std::auto_ptr<_Tp1> xsd::cxx::tree::traits<T, C>::create(const xercesc_3_0::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::type*) [with T = xsd::cxx::tree::string<char, xsd::cxx::tree::simple_type<xsd::cxx::tree::_type> >, C = char]" mb-artist-basic-1.0.cxx:409: instantiated from here ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "ATTRIBUTE_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "ENTITY_REFERENCE_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "ENTITY_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "PROCESSING_INSTRUCTION_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "COMMENT_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "DOCUMENT_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "DOCUMENT_TYPE_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "DOCUMENT_FRAGMENT_NODE" ei käsitellä switch-lauseessa ../xsd/cxx/tree/text.txx:31: varoitus: lueteltua arvoa "NOTATION_NODE" ei käsitellä switch-lauseessa make[2]: *** [mb-artist-basic-1.0.lo] Virhe 1 make[2]: Poistutaan hakemistosta "/home/obi-lan/aur/youki-0.03/xmlcpp" make[1]: *** [all-recursive] Virhe 1 make[1]: Poistutaan hakemistosta "/home/obi-lan/aur/youki-0.03" make: *** [all] Virhe 2
No you haven't, you are still missing dependencies. This is how far I got except with English locale.
Offline
Ah sorry, didn't think that far:
...
../xsd/cxx/tree/parsing.txx:329: instantiated from 'xsd::cxx::tree::string<C, B>::string(const xercesc_3_0::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::type*) [with C = char, B = xsd::cxx::tree::simple_type<xsd::cxx::tree::_type>]'
../xsd/cxx/tree/elements.hxx:711: instantiated from 'static std::auto_ptr<_Tp1> xsd::cxx::tree::traits<T, C>::create(const xercesc_3_0::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::type*) [with T = xsd::cxx::tree::string<char, xsd::cxx::tree::simple_type<xsd::cxx::tree::_type> >, C = char]'
mb-artist-basic-1.0.cxx:409: instantiated from here
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'ATTRIBUTE_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'ENTITY_REFERENCE_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'ENTITY_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'PROCESSING_INSTRUCTION_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'COMMENT_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'DOCUMENT_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'DOCUMENT_TYPE_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'DOCUMENT_FRAGMENT_NODE' not handled in switch
../xsd/cxx/tree/text.txx:31: warning: enumeration value 'NOTATION_NODE' not handled in switch
make[2]: *** [mb-artist-basic-1.0.lo] Error 1
make[2]: Leaving directory `/home/obi-lan/aur/youki-0.03/xmlcpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/obi-lan/aur/youki-0.03'
make: *** [all] Error 2
./configure isn't complaining about any missing depencies so I wonder what I'm still missing... And this is on x86_64 platform
Last edited by Obi-Lan (2009-08-23 18:09:17)
Offline
Looks interesting, looking forward to trying it
Offline
I got it to build - eventually. There are issues with deps xerces-c-2, dbus-c++, and sigx, as follows:
- xerces-c-2, as packaged in community, is installed in /opt, and youki couldn't see it, even --with-xerces-prefix=/opt/xerces-c-2. So I rebuilt it to install in /usr, and it worked fine.
- wonder's dbus-c++ build in the AUR (see above) uses an unofficial variant of the official dbus-c++ project, which youki doesn't like. Reverting to the official git repo fixed that.
- sigx, in the AUR, builds with no errors, but does not install the sigxconfig.h header. Over half of the remaining sigx headers include sigxconfig.h, so this causes a "file not found" error when youki is building. Adding an explicit install line for sigxconfig.h to the sigx PKGBUILD fixed that.
Finally, api/uri.cc in youki's source needs a gcc4.4 patch - include <stdio.h>.
Here are some PKGBUILDS and patch files:
xerces-c-2:
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: pukyxd
pkgname=xerces-c-2
pkgver=2.8.0
pkgrel=2
pkgdesc="A validating XML parser written in a portable subset of C++."
arch=('i686' 'x86_64')
url="http://xerces.apache.org/xerces-c"
license=("APACHE")
depends=('gcc-libs')
options=('!makeflags')
source=("http://ftp.heanet.ie/mirrors/www.apache.org/dist/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz")
md5sums=('5daf514b73f3e0de9e3fce704387c0d2')
conflicts=('xerces-c')
build() {
export XERCESCROOT=$startdir/src/xerces-c-src_2_8_0
cd $startdir/src/xerces-c-src_2_8_0/src/xercesc
./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P/usr
make || return 1
make DESTDIR=$startdir/pkg/ install
}
dbus-c++:
# Contributor: Zarra <zarraxx@gmail.com>
pkgname=dbus-c++
pkgver=20090825
pkgrel=1
pkgdesc="dbus-c++ attempts to provide a C++ API for D-BUS. "
url="http://freedesktop.org/wiki/Software/dbus-c++"
arch=('i686' 'x86_64')
license=('GPL')
depends=('dbus>=1.2.0' 'glib2')
makedepends=('git' 'autoconf' 'automake')
source=(gcc44.patch)
md5sums=()
options=('!libtool')
_gitroot="git://anongit.freedesktop.org/git/dbus/dbus-c++/"
#_gitroot="git://gitorious.org/dbus-cplusplus/mainline.git"
_gitname="dbus-c++"
build() {
cd "$srcdir"
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d "$srcdir"/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cp -r "$srcdir"/$_gitname "$srcdir"/$_gitname-build
cd "$srcdir"/$_gitname-build
patch -Np1 -i "$srcdir"/gcc44.patch || return 1
./autogen.sh --prefix=/usr --disable-static --enable-glib
make || return 1
make DESTDIR="$pkgdir" install || return 1
rm -rf "$srcdir"/$_gitname-build
}
md5sums=('55a7d473b890683e2b8aeb26c234853f'
'8ab04d1222d98c5acf3e3a02c8afc7ca')
dbus-c++ - gcc44.patch:
diff --git a/examples/echo/echo-client.h b/examples/echo/echo-client.h
index 54401ec..3511cc0 100644
--- a/examples/echo/echo-client.h
+++ b/examples/echo/echo-client.h
@@ -3,6 +3,7 @@
#include <dbus-c++/dbus.h>
#include "echo-client-glue.h"
+#include <cstdio>
class EchoClient
: public org::freedesktop::DBus::EchoDemo_proxy,
diff --git a/examples/echo/echo-server.h b/examples/echo/echo-server.h
index 3f0be58..9dfbaec 100644
--- a/examples/echo/echo-server.h
+++ b/examples/echo/echo-server.h
@@ -2,6 +2,7 @@
#define __DEMO_ECHO_SERVER_H
#include <dbus-c++/dbus.h>
+#include <cstdio>
#include "echo-server-glue.h"
class EchoServer
sigx:
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=sigx
pkgver=2.0.2
pkgrel=2
pkgdesc="An interthread communication library for c++"
arch=('i686' 'x86_64')
url="http://triendl.eu/sigx/"
license=('GPL')
depends=('glibmm')
makedepends=('scons')
source=(http://triendl.eu/sigx/${pkgname}-${pkgver}.tar.bz2)
md5sums=('a920c75e5016b5f27a5be2e5f5483a62')
build() {
cd "${srcdir}/${pkgname}"
scons DESTDIR="${pkgdir}/" PREFIX="/usr" install
install -m644 sigxconfig.h ${pkgdir}/usr/include/sigx-2.0/sigx/
}
youki:
pkgname=youki
pkgver=0.05.2
pkgrel=1
pkgdesc="A very simple, powerful and very fast media player"
arch=('x86_64')
url="http://youki.mp"
license=('unknown')
depends=('gstreamer0.10-base' 'pygtk' 'glibmm' 'gtkmm' 'libglademm' 'xerces-c-2' 'dbus-c++' 'taglib-gio' 'sigx' 'gamin')
source=(http://redmine.youki.mp/attachments/download/25/youki_${pkgver}-1mpx1.tar.gz
gcc44.patch)
build() {
cd $srcdir/youki-$pkgver
patch -Np0 -i $srcdir/gcc44.patch || return 1
./autogen.sh --prefix=/usr --libexecdir=/usr/lib/youki || return 1
make || return 1
make DESTDIR=$pkgdir/ install || return 1
}
md5sums=('d59dc98b96a550c2b89ead89551a83ae'
'f7c7b3b73016652f9f5a3cab2e850af0')
youki - gcc44.patch:
--- api/uri.cc.old 2009-08-25 12:24:34.346761514 +0100
+++ api/uri.cc 2009-08-25 09:12:50.366562687 +0100
@@ -34,6 +34,7 @@
// permission is above and beyond the permissions granted by the GPL license
// MPX is covered by.
+#include <stdio.h>
#include <glib.h>
#include <string>
#include <boost/algorithm/string.hpp>
Before you all go rushing off to build it, I should probably mention that, although I'm getting a nice-looking app on my screen, I can't actually get it to DO anything.
Have fun!
Offline
Oh crap... just found out how to work the thing... on the Ubuntu forum....
Offline
Offline
F1, F2, & F3 bring up config dialogs.
Offline
@tomk i'm using that branch because that one will be merged into the official one. when i've started to use that build, the official branch had a problem at make install. maybe now the problem is fixed. i'm trying right now.
edit: still having problems with it. are you sure is building fine?
libtool: install: warning: remember to run `libtool --finish /usr/lib'
test -z "/usr/include/dbus-c++-1/dbus-c++/" || /bin/mkdir -p "/build/pkg/usr/include/dbus-c++-1/dbus-c++/"
/bin/install -c -m 644 ../include/dbus-c++/dbus.h ../include/dbus-c++/types.h ../include/dbus-c++/connection.h ../include/dbus-c++/property.h ../include/dbus-c++/debug.h ../include/dbus-c++/error.h ../include/dbus-c++/interface.h ../include/dbus-c++/message.h ../include/dbus-c++/dispatcher.h ../include/dbus-c++/object.h ../include/dbus-c++/pendingcall.h ../include/dbus-c++/server.h ../include/dbus-c++/debug.h ../include/dbus-c++/util.h ../include/dbus-c++/refptr_impl.h ../include/dbus-c++/introspection.h ../include/dbus-c++/api.h ../include/dbus-c++/eventloop.h ../include/dbus-c++/eventloop-integration.h ../include/dbus-c++/glib-integration.h '/build/pkg/usr/include/dbus-c++-1/dbus-c++/'
/bin/install: will not overwrite just-created `/build/pkg/usr/include/dbus-c++-1/dbus-c++/debug.h' with `../include/dbus-c++/debug.h'
make[2]: *** [install-lib_includeHEADERS] Error 1
make[2]: Leaving directory `/build/src/dbus-c++-build/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/build/src/dbus-c++-build/src'
make: *** [install-recursive] Error 1
Last edited by wonder (2009-08-25 14:23:47)
Give what you have. To someone, it may be better than you dare to think.
Offline
I got the same error as wonder. Only changed the md5sum of the pkgbuild.
Offline