You are not logged in.

#1 2022-06-03 11:21:33

pizza_rat
Member
Registered: 2022-06-03
Posts: 2

Need help troubleshooting xfce4-wmdock-plugin package on AUR

I was trying to get the xfce4-wmdock-plugin installed today. First I tried compiling it from the archive on the xfce website directly, but ./configure gives me:

checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfcegui4-1.0 >= 4.3.90.2... not found
*** The required package libxfcegui4-1.0 was not found on your system.
*** Please install libxfcegui4-1.0 (atleast version 4.3.90.2) 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.

So I checked the AUR, and it's there. The patch there addresses that issue, but ultimately the same thing happens:

checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-1 >= 4.3.90.2... not found
*** The required package libxfce4ui-1 was not found on your system.
*** Please install libxfce4ui-1 (atleast version 4.3.90.2) 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.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: xfce4-wmdock-plugin

I tried saving the PKGbuild and the patch and editing them myself to point to libxfce4ui (or libxfce4ui-4.16.1-1) from the official repos and the best I managed was getting a hunk error on prepare instead. Would anybody be able to lend me a hand? I'm completely new to this kind of thing. Alternatively suggesting something else that serves the same purpose is fine too, as I'm aware this thing is quite old, being archived on xfce's website. I just wanted to be able to use these dockapps in my current setup rather than switching to wmaker. I did try flipse which is also on the aur, but it looks rather flat , not having that tiled look to it that the apps have natively in wmaker, and this xfce-plugin SEEMS to emulate that a little better, at least from screenshots I saw.

Last edited by pizza_rat (2022-06-03 11:32:18)

Offline

#2 2022-06-03 12:22:36

metak
Member
Registered: 2009-09-27
Posts: 198

Re: Need help troubleshooting xfce4-wmdock-plugin package on AUR

Maybe you should try this more up-to-date fork? Here's a quick pkgbuild file I threw together.

# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Viktor Semykin <thesame.ml@gmail.com>

pkgname=xfce4-wmdock-plugin-git
pkgver=r24.g7fe7b0b
pkgrel=1
pkgdesc='XFCE4 Panel plugin as a compatibility layer for running WindowMaker dockapps on the XFCE desktop.'
arch=('x86_64')
url='https://github.com/maurerpe/xfce4-wmdock-plugin'
license=('GPL2')
depends=('libxfce4ui' 'libxfce4util' 'libwnck' 'xfce4-panel')
makedepends=('git' 'xfce4-dev-tools')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+${url}.git")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${pkgname%-*}"
  ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc \
    --disable-debug
  make
}

package() {
  cd "${pkgname%-*}"
  make DESTDIR="$pkgdir/" install
}

Offline

#3 2022-06-03 22:00:28

pizza_rat
Member
Registered: 2022-06-03
Posts: 2

Re: Need help troubleshooting xfce4-wmdock-plugin package on AUR

Welp, that works, thank you. I feel silly for not checking if anybody had forked it. Installs without issue, though I'm having issues figuring out how to actually use it, as it's not appearing in the XFCE panel "add items" menu. Do I have to do something more than just run makepkg in the same directory as the PKGBUILD?

Edit: it looks like the files didn't get put where they should be, ie /usr/lib/xfce4/panel/plugins and /usr/share/xfce4/panel/plugins
What did I do wrong?

Edit edit: First time using makepkg, didn't know I needed to add -i after it, so I wasn't actually installing it. Oops. Works now, thanks!

Last edited by pizza_rat (2022-06-03 22:48:04)

Offline

Board footer

Powered by FluxBB