LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-26-2017, 10:43 PM   #1
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 268

Rep: Reputation: 25
Question Slackware64 14.2 : Xfce how to compile DockbarX & xfce4-dockbarx-plugin ?


Hi there. i want to know if someone have a tutorial about i can compile the dependencies for dockbarx, xfce4-dockbarx-plugin.

Under Slackware64 14.2, i had ask on the GitHub
https://github.com/M7S/dockbarx/issues/45

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.
 
Old 06-27-2017, 02:05 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Installing it on Ubuntu or Arch as indicated on GitHub is probably the easiest way to be able to use it.

I can't find any link to an installation on Slackware, so if you really want it there, I'm afraid that you be on your own.

Last edited by Didier Spaier; 06-27-2017 at 09:28 AM.
 
Old 06-27-2017, 09:42 PM   #3
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 268

Original Poster
Rep: Reputation: 25
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 . . .

Last edited by inukaze; 06-27-2017 at 10:35 PM.
 
Old 06-28-2017, 07:51 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by inukaze View Post
SystemD had damaged my hardware on 7 diferents machines. i don't know why systemd ever try to burn something, especially the BIOS.
This is not systemd's fault, see for instance this article.

Having used a search engine to find out the root cause of the issue would probably have preserved 6 out of your 7 machines...
 
Old 06-30-2017, 06:55 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
2 members found this post helpful.
Old 01-29-2018, 01:10 AM   #6
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 268

Original Poster
Rep: Reputation: 25
The Devuan dependencies are this

Here i told you the devuan packages are need for use dockbar + xfce4-dockbarx-plugin

Code:
git 
gcc 
valac 
libgtk2.0-dev
xfce4-panel-dev
libxfconf-0-dev
python-gtk2
python-dbus
python-gconf
python-xdg
python-wnck
python-xlib
python-keybinder
The rest are simple
Code:
git clone https://github.com/M7S/dockbarx ; cd dockbarx
su -c "./setup.py install" root ; cd ..

git clone https://github.com/TiZ-EX1/xfce4-dockbarx-plugin
cd xfce4-dockbarx-plugin/
./waf configure --prefix=/usr
./waf build
su -c "./waf install ; ldconfig" root
killall -9 xfce4-panel xfdesktop
Just wait the system reload, and now you can use dockbarx + xfce4 panel plugin

i know some package don't had a package from SlackBuild or repository like SlackOnly (slonly) like :

Install, configure, compile and install valac :

Code:
cd $HOME ; wget -c https://download.gnome.org/sources/v...-0.8.1.tar.bz2
tar xfvj vala-0.8.1.tar.bz2 ; cd vala-0.8.1
./configure --prefix=/usr --libdir=/lib64 ; make
su -c "make install" root
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.

Last edited by inukaze; 01-29-2018 at 03:06 AM.
 
Old 09-15-2020, 02:32 AM   #7
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 268

Original Poster
Rep: Reputation: 25
Talking [SOLVED] - Resuming the Solution

After 3 years i can compile it. you can find the complete theme
in -> https://github.com/M7S/dockbarx/issues/45

Resuming for Slackware(64) 14.2 users :

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 :
Code:
su -c 'echo -ne "y\n" | slpkg -s slonly gnome-python-desktop gnome-python2-gconf python-xlib python-keybinder ; ldconfig' root
3 - Using git download clone of dockbarx
Code:
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
Screenshots :
https://user-images.githubuserconten...507bf5fd20.png

https://user-images.githubuserconten...419fc3f7a2.png

Last edited by inukaze; 09-15-2020 at 02:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dockbarx is not auto starting .Alex Linux - Newbie 2 04-16-2012 07:18 AM
LXer: DockBarX Applet 0.43 Released With Helpers, Media Buttons LXer Syndicated Linux News 0 02-07-2011 02:20 PM
LXer: DockBarX 0.41 Released With Redesigned Window Previews And Menu (Looks Amazing!) LXer Syndicated Linux News 0 12-09-2010 04:30 AM
LXer: DockBarX 0.39.1 Finally Works With Avant Window Navigator 0.4.1, Ads New Previe LXer Syndicated Linux News 0 06-04-2010 01:40 PM
LXer: Use NameBar And DockBarX To Optimize Your Screen Real Estate [Ubuntu] LXer Syndicated Linux News 0 11-15-2009 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration