denesb / xfce4-i3-workspaces-plugin

A workspaces plugin for xfce4 and the i3 window manager.
GNU General Public License v3.0
122 stars 19 forks source link

Can't build on xubuntu [ libxfce4panel-1.0 dependency] #59

Open joksim opened 4 years ago

joksim commented 4 years ago

Can not build on xubuntu 20.04 using autogen.sh. The output:

checking for libxfce4panel-1.0 >= 4.8.0... not found
*** The required package libxfce4panel-1.0 was not found on your system.
*** Please install libxfce4panel-1.0 (atleast version 4.8.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

the library is not in the ubuntu repos, and the corresponding library (v. 2.* ) is installed:

apt search libxfce4panel
Sorting... Done
Full Text Search... Done
libxfce4panel-2.0-4/focal,now 4.14.3-1 amd64 [installed,automatic]
  Xfce4 panel library (GTK3 variant)

libxfce4panel-2.0-dev/focal,now 4.14.3-1 amd64 [installed]
  Xfce4 panel library (development files for GTK3 variant)
jordan-da commented 4 years ago
apt install xfce4-panel-dev

but it doesn't matter because the very next thing you need is i3ipc-glib and that dude won't build because of:

i3ipc-glib/Makefile.am:71: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL

...and I grow suspicions that this whole journey is really a recruitment tool for some secret society and you pass if you get this plugin to build in ubuntu 20. I just hope they have cookies...

hypergig commented 4 years ago

I got i3ipc-glib to build!

sudo apt install gtk-doc-tools libglib2.0-dev-bin gobject-introspection libjson-glib-dev 

Notice the gobject-introspection package is in there.

EDIT: and i was able to build it all the way through, I needed to

sudo apt install xfce4-dev-tools libgtk2.0-dev libxfce4ui-1-dev xfce4-panel-dev

(sorry for commenting with two accounts, accidentally used my company account before)

joksim commented 4 years ago

Thanks, I'll try it...

Sleepful commented 4 years ago

+1 to everything in this thread I had to build i3ipc-glib and xfce4-i3-workspaces-plugin from source on focal xubuntu

wattahay commented 3 years ago

Here is an updated guide for Ubuntu 20.10: https://feeblenerd.blogspot.com/2020/12/ubuntu-2010-i3-workspaces-plugin.html