Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-04-28 18:41:27

jt1122
Member
Registered: 2021-03-26
Posts: 245

Compiling indicator plugin

Hi,

I'm trying to compile xfce4-indicator-plugin but getting the error message:
checking for indicator3-0.4 >= 12.10.1... not found
*** The required package indicator3-0.4 was not found on your system.
*** Please install indicator3-0.4 (atleast version 12.10.1) 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.

This is in spite of installing all the packages in debian/control.

I'd appreciate suggestions how to resolve this.

Thanks

Offline

#2 2021-04-28 20:30:44

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Compiling indicator plugin

jt1122 wrote:

I'm trying to compile xfce4-indicator-plugin but getting the error message:
checking for indicator3-0.4 >= 12.10.1... not found
*** The required package indicator3-0.4 was not found on your system.
*** Please install indicator3-0.4 (atleast version 12.10.1) 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.

libindicator3-dev?

This is in spite of installing all the packages in debian/control.

Aren't those install dependencies - not build dependencies?

Which distro and distro version are you compiling for?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-04-29 11:09:40

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: Compiling indicator plugin

libindicator3-dev?

There doesn't seem to be a package as such.
The closet result I get from apt file search libindicator3 is
libayatana-appindicator3-1: /usr/lib/x86_64-linux-gnu/libayatana-appindicator3.so.1

Which distro and distro version are you compiling for?

Sparky rolling (=Debian testing).

Thanks

Offline

#4 2021-04-29 14:30:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Compiling indicator plugin

Looks like debian patches the source so that it can build (using libayatana-indicator3). You can view the patch here (in the debian/patches directory).

Buildlog is here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2021-04-29 18:23:08

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: Compiling indicator plugin

ToZ wrote:

Looks like debian patches the source so that it can build (using libayatana-indicator3). You can view the patch here (in the debian/patches directory).

Buildlog is here.

Thanks.

I've applied the patch: quilt push -a

Running configure again still gives the same error:
checking for indicator3-0.4 >= 12.10.1... not found
*** The required package indicator3-0.4 was not found on your system.
*** Please install indicator3-0.4 (atleast version 12.10.1) 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.

Any suggestions?.

Cheers

Offline

#6 2021-04-29 21:22:24

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Compiling indicator plugin

There is something definitely wrong with the debian build system/packages there. You might want to create a bug report in the debian system for this.

Grabbing the git version seems to work though:

git clone https://gitlab.xfce.org/panel-plugins/xfce4-indicator-plugin.git
cd xfce4-indicator-plugin
patch -p1 < /path/to/01_ayatana.patch

...note there will be an error here - it can't find configure.ac to patch - you need to specify the file configure.ac.in instead. Then:

./autogen.sh --prefix=/usr --libdir=/lib/$(uname -m)-linux-gnu
make
sudo make install

Out of curiosity, why are you trying to compile when its available in the repositories?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2021-04-30 12:32:23

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: Compiling indicator plugin

ToZ wrote:

There is something definitely wrong...

Thanks. It's been an interesting experiment trying to compile this but it's a fragile setup.

You're right - I just grabbed the deb package.

BTW: workrave (keyboard typing breaks app) doesn't display any timer in the xfce panel. Would you know why?.

Cheers

Offline

#8 2021-04-30 15:30:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Compiling indicator plugin

jt1122 wrote:

BTW: workrave (keyboard typing breaks app) doesn't display any timer in the xfce panel. Would you know why?.

Disable the system tray icon in it's preferences and add the workrave plugin to the panel.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 551.79 KiB (Peak: 569.07 KiB) ]