Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-21-2018, 10:10 AM
#1
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
dockapp needs headers for audacious, what to install for dev for audacious?
dockapp wmauda for controlling Audacious is crying about not having devel headers for Audacious. I swapped out the dbus to see if that would work, knowing I'd be running into another snag, which is this,
Code:
#include <dbus-1.0/dbus/dbus.h>
//#include <audacious/dbus.h>
#include <audacious/audctrl.h>
eliminated the dbus.h waaa ( still not knowing if that will completely work or not) because I am now getting the waaaa about audacious/audctrl.h not being there, is there a substitute or what do I have to install to get that as it is program specific headers.
Code:
wmauda.c:31:31: fatal error: audacious/audctrl.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'wmauda.o' failed
make: *** [wmauda.o] Error 1
03-21-2018, 06:50 PM
#2
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,244
That's part not of audaucious, but of libaudclient , which you can get from SlackBuilds.org.
1 members found this post helpful.
03-21-2018, 07:03 PM
#3
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
Original Poster
Quote:
Originally Posted by
dugan
That's part not of audaucious, but of libaudclient , which you can get from SlackBuilds.org.
thanks, that'll prob install it better then that source I was having issues with off of git.
now it looks like something must be old, Using a slackbuild.
Code:
$ sudo ./wmauda.SlackBuild
wmauda-0.9/
wmauda-0.9/dock-master.xpm
wmauda-0.9/Makefile
wmauda-0.9/AUTHORS
wmauda-0.9/README
wmauda-0.9/wmauda.c
wmauda-0.9/wmauda.1
wmauda-0.9/COPYING
wmauda-0.9/wmauda.xpm
cc -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/local/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o wmauda.o wmauda.c
cc -o wmauda wmauda.o -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/local/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -laudcore -laudclient -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: wmauda.o: undefined reference to symbol 'dbus_g_proxy_new_for_name'
/usr/lib64/libdbus-glib-1.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'wmauda' failed
make: *** [wmauda] Error 1
using it's source and it's make
Code:
$ make
cc -o wmauda wmauda.o -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/local/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -laudcore -laudclient -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: wmauda.o: undefined reference to symbol 'dbus_g_proxy_new_for_name'
/usr/lib64/libdbus-glib-1.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'wmauda' failed
make: *** [wmauda] Error 1
I'll try to deal with it later. Don't feel like messing with it at the moment.
03-22-2018, 04:15 AM
#4
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
Hello,
You need the patch below (modified version of
this patch from archlinux):
Code:
diff -up src/wmauda-0.9/Makefile.orig src/wmauda-0.9/Makefile
--- src/wmauda-0.9/Makefile.orig 2012-03-26 16:27:20.000000000 -0600
+++ src/wmauda-0.9/Makefile 2014-05-11 11:55:17.000000000 -0600
@@ -7,12 +7,15 @@ INSTALL_DIR := $(PREFIX)/bin
PIXMAP_DIR := $(PREFIX)/share/pixmaps
MANPAGE_DIR := $(PREFIX)/share/man/man1
-CFLAGS += $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags) -DPIXMAP_DIR="\"$(PIXMAP_DIR)\""
-LIBS := $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs) $(shell pkg-config dbus-1 --libs)
+CFLAGS += $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags) -DPIXMAP_DIR="\"$(PIXMAP_DIR)\""
+LIBS := $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs) $(shell pkg-config dbus-1 --libs)
CFLAGS += $(shell pkg-config gtk+-2.0 --cflags)
LIBS += $(shell pkg-config gtk+-2.0 --libs)
+CFLAGS += $(shell pkg-config dbus-glib-1 --cflags)
+LIBS += $(shell pkg-config dbus-glib-1 --libs) -lX11
+
OBJS = wmauda.o
HEADERS = dock-master.xpm
Code:
$ patch -i wmauda.patch
patching file Makefile
$ make PREFIX=/usr install
cc -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o wmauda.o wmauda.c
cc -o wmauda wmauda.o -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -laudcore -laudclient -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lX11
install -d /usr/bin
install -d /usr/share/pixmaps
install -d /usr/share/man/man1
install -m 0755 wmauda /usr/bin
install -m 0644 wmauda.xpm /usr/share/pixmaps
install -m 0644 wmauda.1 /usr/share/man/man1
--
SeB
Last edited by phenixia2003; 03-22-2018 at 04:21 AM .
1 members found this post helpful.
03-22-2018, 09:56 AM
#5
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
Original Poster
haha
Code:
userx@slackwhere101:~/slackbuilds/wmauda/wmauda-0.9
$ patch -i wmauda.patch
patching file Makefile
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 7 with fuzz 2.
what the ... does that last line mean?
ya knowwwwww it might be a copy paste thing.
Last edited by BW-userx; 03-22-2018 at 10:23 AM .
03-22-2018, 10:21 AM
#6
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
Hello,
I have the same trouble when I copy/paste the patch in emacs, but not with geany. Don't understand why... Anyway, I should have attached the patch. Here it is :
wmauda.patch.txt
--
SeB
1 members found this post helpful.
03-22-2018, 10:46 AM
#7
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
Original Poster
Quote:
Originally Posted by
phenixia2003
Hello,
I have the same trouble when I copy/paste the patch in emacs, but not with geany. Don't understand why... Anyway, I should have attached the patch. Here it is :
Attachment 27249
--
SeB
thanks, I used Kwrite this that time, in lue of geany, anyways,
Code:
diff -up src/wmauda-0.9/Makefile.orig src/wmauda-0.9/Makefile
that is the path to the makefile, and it is not in a directory called src/wmauda-0.9 I have no experience with patch files, it gave the same issues then changing that path to to what it is now,
Code:
diff -up wmauda-0.9/Makefile.orig wmauda-0.9/Makefile
--- wmauda-0.9/Makefile.orig 2012-03-26 16:27:20.000000000 -0600
+++ wmauda-0.9/Makefile 2014-05-11 11:55:17.000000000 -0600
@@ -7,12 +7,15 @@ INSTALL_DIR := $(PREFIX)/bin
PIXMAP_DIR := $(PREFIX)/share/pixmaps
MANPAGE_DIR := $(PREFIX)/share/man/man1
-CFLAGS += $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags) -DPIXMAP_DIR="\"$(PIXMAP_DIR)\""
-LIBS := $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs) $(shell pkg-config dbus-1 --libs)
+CFLAGS += $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags) -DPIXMAP_DIR="\"$(PIXMAP_DIR)\""
+LIBS := $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs) $(shell pkg-config dbus-1 --libs)
CFLAGS += $(shell pkg-config gtk+-2.0 --cflags)
LIBS += $(shell pkg-config gtk+-2.0 --libs)
+CFLAGS += $(shell pkg-config dbus-glib-1 --cflags)
+LIBS += $(shell pkg-config dbus-glib-1 --libs) -lX11
+
OBJS = wmauda.o
HEADERS = dock-master.xpm
results
Code:
$ patch -i wmauda.patch
patching file Makefile
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
userx@slackwhere101:~/slackbuilds/wmauda/wmauda-0.9
03-22-2018, 11:06 AM
#8
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
Hello,
I have no trouble with the patch attached to my previous post (named wmauda.patch.txt). You should try it :
Code:
$ tar xf ~/Downloads/wmauda-0.9.tar.gz
$ cd wmauda-0.9/
$ patch -i ~/Downloads/wmauda.patch.txt
patching file Makefile
$ make PREFIX=/usr install
cc -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o wmauda.o wmauda.c
cc -o wmauda wmauda.o -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -laudcore -laudclient -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lX11
install -d /usr/bin
install -d /usr/share/pixmaps
install -d /usr/share/man/man1
install -m 0755 wmauda /usr/bin
install -m 0644 wmauda.xpm /usr/share/pixmaps
install -m 0644 wmauda.1 /usr/share/man/man1
--
SeB
1 members found this post helpful.
03-22-2018, 11:33 AM
#9
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
Original Poster
Quote:
Originally Posted by
phenixia2003
Hello,
I have no trouble with the patch attached to my previous post (named wmauda.patch.txt). You should try it :
Code:
$ tar xf ~/Downloads/wmauda-0.9.tar.gz
$ cd wmauda-0.9/
$ patch -i ~/Downloads/wmauda.patch.txt
patching file Makefile
$ make PREFIX=/usr install
cc -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o wmauda.o wmauda.c
cc -o wmauda wmauda.o -g -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DPIXMAP_DIR="\"/usr/share/pixmaps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -laudcore -laudclient -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lX11
install -d /usr/bin
install -d /usr/share/pixmaps
install -d /usr/share/man/man1
install -m 0755 wmauda /usr/bin
install -m 0644 wmauda.xpm /usr/share/pixmaps
install -m 0644 wmauda.1 /usr/share/man/man1
--
SeB
I did, I've give it another shot, I put it inside of the dir where the makefile is at.
mode:update info:
Code:
userx@slackwhere101:~/slackbuilds/wmauda/wmauda-0.9
$ patch -i ~/slackbuilds/wmauda.patch.txt
patching file Makefile
Reversed (or previously applied) patch detected! Assume -R? [n] -R
Apply anyway? [n] Y
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Makefile.rej
OK, marking solved. thanks!
Last edited by BW-userx; 03-22-2018 at 11:37 AM .
All times are GMT -5. The time now is 09:18 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News