On Tue, 12 May 2020 22:06:03 -0700 Francois Marier <franc...@debian.org> wrote:
> Hi Kentaro,
> 
> I have tried updating the workrave package to version 1.10.44 which includes
> your libayatana-indicator3 patch, however I can't get it to build since I
> run into this error:

At least, it seems that the following patch is required to build:

diff --git a/configure.ac b/configure.ac
index 1a84bf0..0913817 100644
--- a/configure.ac
+++ b/configure.ac
@@ -692,8 +692,8 @@ AS_IF([test "x$with_localinstall" = "xyes"],
     INDICATORDIR="${libdir}/indicators3/7"
     INDICATORICONSDIR="${datadir}/libindicate/icons"
     ,
-    INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4 | sed -e 
's%/$%%'`
-    INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator3-0.4`
+    INDICATORDIR=`$PKG_CONFIG --variable=indicatordir ayatana-indicator3-0.4 | 
sed -e 's%/$%%'`
+    INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir ayatana-indicator3-0.4`
     )
 
 AM_CONDITIONAL(LOCALINSTALL, test "x$with_localinstall" = "xyes")


"libtool:   error: only absolute run-paths are allowed" is caused by
empty $(INDICATORDIR).

if $(INDICATORDIR) is empty, -rpath $(INDICATORDIR)
libworkrave_la-indicator-workrave.lo is treated as -rpath
libworkrave_la-indicator-workrave.lo.

Thus, it should be ayatana-indicator3-0.4 instead of indicator3-0.4.

Reply via email to