TiZ-HugLife / xfce4-dockbarx-plugin

A plugin that embeds DockbarX into Xfce4-panel
MIT License
70 stars 14 forks source link

Not Installable on Xubuntu 16.10 #24

Closed ghost closed 8 years ago

ghost commented 8 years ago

I can't install this via the PPA for Dockbarx OR manually because I can't get all the dependencies.

TiZ-HugLife commented 8 years ago

Need more info in order to help you. Which dependencies are you unable to get?

ghost commented 8 years ago

This is the output I get in my terminal:

"Setting top to : /home/reece/Downloads/xfce4-dockbarx-plugin-master Setting out to : /home/reece/Downloads/xfce4-dockbarx-plugin-master/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, 32, 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 : not found"

Basically two of the packages are way more up to date in Ubuntu 16.10 than the ones required to build this, and as far as I can tell (even looking through Synaptic) I can't downgrade that far back.

TiZ-HugLife commented 8 years ago

It sounds like you don't have the -dev package for xfce4-panel, and you probably don't have the -dev package for xfconf either. sudo apt-get install xfce4-panel-dev libxfconf0-dev. These packages are the headers that any C program using the base package needs to compile.

ghost commented 8 years ago

"Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package libxfconf0-dev"

The other package (xfce4-panel-dev) installed fine.

TiZ-HugLife commented 8 years ago

My bad: the package is libxfconf-0-dev.

ghost commented 8 years ago

So with all these installed, I compiled the plugin and it seemed to work. However after adding it to my XFCE panel I'm left with a blank line... Dockbar itself won't run either, leading me to believe it's a problem with that package?

(I'm a noob by the way, hopefully this explanation is good enough)

TiZ-HugLife commented 8 years ago

It's likely that one of DBX's dependencies is missing. Did you install it manually too? Anyways, you can run dockx in a terminal to see what its output is. If it works fine there, then instead run xfce4-panel -q to quit the current instance of xfce4-panel and then xfce4-panel to start a new one that will log to the terminal.

ghost commented 8 years ago

Yeah I installed that manually too.

dockx in terminal returns: "Traceback (most recent call last): File "/usr/bin/dockx", line 30, in import dockbarx.dockbar File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 28, in import cairowidgets File "/usr/local/lib/python2.7/dist-packages/dockbarx/cairowidgets.py", line 29, in from common import Globals, connect, disconnect File "/usr/local/lib/python2.7/dist-packages/dockbarx/common.py", line 22, in import gconf ImportError: No module named gconf"

TiZ-HugLife commented 8 years ago

DockbarX uses the python bindings for gconf. Install the python-gconf package. It will probably pull a few GNOME dependencies, but it can't be helped; they never migrated off of gconf.

ghost commented 8 years ago

That did it!! It's all working properly now, thank you so much!

TiZ-HugLife commented 8 years ago

Glad I could help. :)