Slackware64 14.2 : Xfce how to compile DockbarX & xfce4-dockbarx-plugin ?
SlackwareThis 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.
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.
But nobody has answered me at least "it is not possible"
Well "not possible" I doubt it, because there is access to the source code, but not in what order should be compiled or that with arguments compile every necessary dependency
If nobody have idea,please told me, i just simply migrate to devuan or manjaro openrc, or another distribution i can use this software.
Its the most ease, but i like to much Slackware64 14.2 , well i will go to trying Plasma5 under Slackware 64 14.2 before considerate migrate.
I don't like distributions with SystemD like :
ArchLinux
Manjaro
Debian
Ubuntu
Fedora
etc . . .
SystemD had damaged my hardware on 7 diferents machines. i don't know why systemd ever try to burn something, especially the BIOS.
i love distributions with OpenRC or another. like
Linux From Scratch
Gentoo
Slackware
Manjaro OpenRC
Devuan
Leenux
MX Linux
Puppy Linux
Simplicity Linux
GoboLinux [i love the structure of folders of this]
etc . . .
It can sometimes be difficult to convert package names from other distros to Slackware, but I tend to have better luck using Arch's lists rather than Ubuntu/Debian's. Having said that, here's what I found:
Code:
hicolor-icon-theme -> Included in 14.2 (hicolor-icon-theme)
pygtk -> Included in 14.2 (pygtk)
python2-dbus -> Included in 14.2 (dbus-python)
python2-gconf -> gnome-python2-gconf
python2-keybinder2 -> python-keybinder
python2-numpy (python2-numpy-mkl, python2-numpy-openblas) -> numpy
python2-pillow -> Included in 14.2 (python-pillow)
python2-six -> six
python2-wnck -> Included in 14.2 (libwnck)
python2-xdg -> pyxdg
python2-xlib (python2-xlib-svn -> python-xlib
avant-window-navigator (avant-window-navigator-git) (optional) – AWN DockBarX Plugin -> avant-window-navigator
cardapio-bzr (optional) – required to run menu applet for dockx (standalone dock) -> Not currently available on 14.2 or SBo
compiz-fusion-plugins-main (compiz-fusion-plugins-main-git) (optional) – opacify plugin -> compiz-plugins-main
dockmanager (optional) – dockmanager plugins -> Not currently available on 14.2 or SBo
xfce4-dockbarx-plugin (xfce4-dockbarx-plugin-git) (optional) – Xfce4 Panel Plugin -> Not currently available on 14.2 or SBo
zeitgeist (optional) – recently used file list -> Not currently available on 14.2 or SBo
Looking over that, you should be able to fulfill all required packages, just some of the optional ones are not currently available in Slackware or on SBo. I don't know how important that functionality is for you. Then, obviously, there is no SlackBuild for DockbarX, so you'd either need to create your own (which I'd suggest submitting to SBo if it works) or install it manually.
but the problem is when i try to build the xfce4 plugin
Code:
[ inukaze | 29-01-2018 | 04:56 ]
[~]$ git clone https://github.com/TiZ-EX1/xfce4-dockbarx-plugin ; cd xfce4-dockbarx-plugin
Cloning into 'xfce4-dockbarx-plugin'...
remote: Counting objects: 226, done.
remote: Total 226 (delta 0), reused 0 (delta 0), pack-reused 226
Receiving objects: 100% (226/226), 181.57 KiB | 197.00 KiB/s, done.
Resolving deltas: 100% (129/129), done.
[ inukaze | 29-01-2018 | 04:56 ]
[xfce4-dockbarx-plugin]$ ./waf configure --prefix=/usr
Setting top to : /home/inukaze/xfce4-dockbarx-plugin
Setting out to : /home/inukaze/xfce4-dockbarx-plugin/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for program valac-0.8 : not found
Checking for program valac : /usr/bin/valac
Checking for valac version >= (0, 8, 0) : (0, 8, 1)
Checking for program dockx : /usr/bin/dockx
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'glib-2.0' >= 2.10 : yes
Checking for 'gtk+-2.0' >= 2.16 : yes
Checking for 'libxfce4panel-1.0' >= 4.8 : yes
Checking for 'libxfconf-0' >= 4.8 : yes
'configure' finished successfully (0.142s)
[ inukaze | 29-01-2018 | 04:56 ]
[xfce4-dockbarx-plugin]$ ./waf build
Waf: Entering directory `/home/inukaze/xfce4-dockbarx-plugin/build'
[1/5] valac: src/dockbarx.vala src/preferences.vala -> build/src/dockbarx.c build/src/preferences.c
[2/5] subst: data/dockbarx.desktop.in -> build/data/dockbarx.desktop
preferences.vala:76.9-76.55: error: Too few arguments, method `Gtk.Box.pack_start' does not take 3 arguments
preferences.vala:77.9-77.52: error: Too few arguments, method `Gtk.Box.pack_start' does not take 3 arguments
preferences.vala:105.9-105.51: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:106.9-106.42: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:107.9-107.41: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:109.36-109.67: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:110.9-110.39: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:111.9-111.39: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:112.9-112.39: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:113.9-113.36: error: Too few arguments, method `Gtk.Box.pack_start' does not take 1 arguments
preferences.vala:114.20-114.24: error: The name `Stock' does not exist in the context of `PrefDialog.new'
dockbarx.vala:59.9-59.21: warning: unhandled error `Xfconf.Error'
Waf: Leaving directory `/home/inukaze/xfce4-dockbarx-plugin/build'
Build failed
-> task failed (exit status 1):
{task 140037499503952: valac dockbarx.vala,preferences.vala -> dockbarx.c,preferences.c}
''
[ inukaze | 29-01-2018 | 05:05 ]
[xfce4-dockbarx-plugin]$ dockx
Traceback (most recent call last):
File "/usr/bin/dockx", line 31, in <module>
import wnck
ImportError: No module named wnck
[ inukaze | 29-01-2018 | 05:05 ]
[xfce4-dockbarx-plugin]$ dockbarx_factory
Traceback (most recent call last):
File "/usr/bin/dockbarx_factory", line 30, in <module>
import gnomeapplet
ImportError: No module named gnomeapplet
and because of that for me result impossible to put dockbarx inside xfce4-panel.
1 - i recommend you install the "slpkg" package manager, and activate the repository slonly, and update the slpkg database with the follow command line :
Code:
su -c 'slpkg update' root
2 - Install the follow package for solve dependencies using this command line :
cd /tmp
git clone https://github.com/M7S/dockbarx/
cd dockbarx/
su -c "python setup.py build" root
su -c "python setup.py install" root
For determine which anothers dependencies must be solved, i suggest someone install Slackware 64 14.2 in raw with Xfce desktop without KDE4, install slpkg manually, update it, and try this method. to find the anothers dependencies must be solved for dockbarx works .
4 - For Xfce4 users the Panel Plugin :
Code:
cd /tmp
git clone https://github.com/HugLifeTiZ/xfce4-dockbarx-plugin
cd xfce4-dockbarx-plugin
./waf configure --prefix=/usr
./waf build
su -c "./waf install ; ldconfig" root
su -c "ln -s /usr/lib/xfce4/panel/plugins/libdockbarx.so /usr/lib64/xfce4/panel/plugins/libdockbarx.so ; ldconfig" root
killall -9 xfdesktop xfce4-panel thunar Thunar
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.