Package Details: fbpanel 7.0-2

Git Clone URL: https://aur.archlinux.org/fbpanel.git (read-only, click to copy)
Package Base: fbpanel
Description: NetWM compliant desktop panel
Upstream URL: https://github.com/aanatoly/fbpanel
Licenses: GPL
Submitter: Barthalion
Maintainer: E5ten
Last Packager: Barthalion
Votes: 4
Popularity: 0.000000
First Submitted: 2018-01-06 13:40 (UTC)
Last Updated: 2018-01-06 13:40 (UTC)

Required by (0)

Sources (1)

Latest Comments

lnx commented on 2022-06-28 15:13 (UTC) (edited on 2022-06-28 15:23 (UTC) by lnx)

the package can't be compiled successfully due to two things:
1.deprecated gtk2 functions

/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]

2.unused definition for struct _plugin_instance *stam; in src/fbpanel-7.0/panel/plugin.h, due to that linker generates error:

/usr/bin/ld: plugin.o:(.bss+0x0): multiple definition of `stam'; panel.o:(.bss+0x20): first defined here

here is dirty hack: add these two lines to the PKGBUILD section prepare after a line cd "$srcdir/$pkgname-$pkgver":

sed -i 's/\-Werror//' .config/rules.mk
sed -i 's/struct\ \_plugin_instance \*stam\;//' panel/plugin.h

the first line changes compiler flags to not generate error if deprecated functions are used.
Second line removes unused definition which confuses linker.
good luck!

P.S. the same solution is for fbpanel-git

lacsaP commented on 2020-07-17 10:40 (UTC)

Hi, I've the same error when I'm trying to build the package. a track to overcome this compilation problem ? regards, lacsaP.

Ralf_Mardorf commented on 2020-05-15 21:49 (UTC) (edited on 2020-05-15 22:29 (UTC) by Ralf_Mardorf)

Hi, on my machine the version obviously from 2017 still works, at least with the features I'm using.

$ grep fbpanel /var/log/pacman.log | grep upgraded | tail -1
[2017-09-06 20:34] [ALPM] upgraded fbpanel (7.0-1 -> 7.0-2)

My apologies, I was mistaken, you cannot install this version per downgrade. It seems to get it from my packages cache. You might need to use the Historical Archive. Take a look at this. You could install it by running pacman. You don't need to (re)move a package from cache, I needed to do it, to be able to download the package and the signature.

$ sudo mv -i /var/cache/pacman/pkg/fbpanel-7.0-2-x86_64.pkg.tar.xz /usr/src/ 
$ sudo pacman -U https://archive.org/download/archlinux_pkg_fbpanel/fbpanel-7.0-2-x86_64.pkg.tar.xz
[snip]

Please, refrain from commenting an issue, when using an AUR helper and consider to post the output of makepkg as code instead of text. However, I can confirm the issue.

$ sudo pacman -Syu
[snip]
$ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/fbpanel.tar.gz && tar xf fbpanel.tar.gz && cd fbpanel && makepkg -s
==> Making package: fbpanel 7.0-2 (Fri 15 May 2020 23:34:15 CEST)
[snip]
 CC     plugins/mem/mem.o
make[1]: *** [../.config/rules.mk:276: fbpanel] Error 1
make: *** [.config/rules.mk:46: panel] Error 2
make: *** Waiting for unfinished jobs....
 CC     plugins/mem2/mem2.o
[snip]

saleem commented on 2020-05-15 20:12 (UTC)

While trying to build fbpanel with trizen I am getting error

$ trizen -S fbpanel :: Pulling AUR changes: fbpanel


:: Content of /tmp/trizen-saleem/fbpanel/PKGBUILD
$Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
Maintainer: Sergej Pupykin pupykin.s+arch@gmail.com
Maintainer: Jeff Mickey jeff@archlinux.org
Contributor: Torin Daniel torindan@gmail.com
Contributor: Diep Pham Van imeo@favadi.com

pkgname=fbpanel pkgver=7.0 pkgrel=2 pkgdesc="NetWM compliant desktop panel" arch=('x86_64') url="https://github.com/aanatoly/fbpanel" depends=('gtk2') makedepends=('python2') license=('GPL') source=("$pkgname-$pkgver.tar.gz::https://github.com/aanatoly/fbpanel/archive/$pkgver.tar.gz") md5sums=('8a15ac4e0f23a72b9d6be5151df712e5')

prepare() { cd "$srcdir/$pkgname-$pkgver" sed -i 's|python|python2|' configure .config/{repl.py,help,tar.py} }

build() { cd "$srcdir/$pkgname-$pkgver" ./configure --libexecdir /usr/lib/fbpanel --prefix /usr --mandir /usr/share/man/man1 make }

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

=>> Edit fbpanel/PKGBUILD? [y/N]: n

Repository : AUR Name : fbpanel Version : 7.0-2 Maintainer : E5ten URL : https://github.com/aanatoly/fbpanel AUR URL : https://aur.archlinux.org/packages.php?ID=475721 License : GPL Votes : 4 Popularity : 0.0015% Installed : No Out Of Date : No Depends On : gtk2 Make Deps : python2 Check Deps : None Optional Deps : None Provides : None Conflicts With : None Replaces : None Package Base : fbpanel Last Update : Sat Jan 6 18:40:27 2018 Description : NetWM compliant desktop panel

==> Making package: fbpanel 7.0-2 (Sat 16 May 2020 01:10:27 AM PKT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found fbpanel-7.0.tar.gz ==> Validating source files with md5sums... fbpanel-7.0.tar.gz ... Passed ==> Extracting sources... -> Extracting fbpanel-7.0.tar.gz with bsdtar ==> Starting prepare()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Created config.mk Created config.h Configuration: Sound plugin: yes CC panel/bg.o CC panel/ev.o CC panel/gconf.o CC panel/gconf_panel.o CC panel/gconf_plugins.o CC panel/gtkbar.o CC panel/gtkbgbox.o CC panel/misc.o CC panel/panel.o CC panel/plugin.o CC panel/run.o CC panel/xconf.o BIN panel/fbpanel make[1]: [../.config/rules.mk:276: fbpanel] Error 1 make: [.config/rules.mk:46: panel] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build fbpanel - makepkg exited with code: 4 =>> Try again? [y/N]:

How to fix this ?

haawda commented on 2018-01-26 02:06 (UTC)

I think there was a bigger cleanup of orphaned ommunity packages

Ralf_Mardorf commented on 2018-01-07 22:56 (UTC)

Hi, just out of curiosity, why moved the package from community to AUR?