Package Details: pkgbrowser 0.20-1

Git Clone URL: https://aur.archlinux.org/pkgbrowser.git (read-only)
Package Base: pkgbrowser
Description: A utility for browsing pacman databases and the AUR
Upstream URL: https://bitbucket.org/kachelaqa/pkgbrowser
Licenses: GPL2
Submitter: kachelaqa
Maintainer: kachelaqa
Last Packager: kachelaqa
Votes: 207
Popularity: 2.963246
First Submitted: 2011-04-20 18:18
Last Updated: 2016-03-22 20:27

Latest Comments

ackalker commented on 2016-08-20 04:05

@kachelaqa Still doesn't explain why something like pyqt's examples/itemviews/dirview.py has no problems but pkgbrowser does. Could it be that of all pkgbrowser's widgets, only the Packages pane QTreeView has a "styleSheet" property?

EDIT: Yup :-) removing the "styleSheet" property 'fixes' the problem when using QT_QPA_PLATFORMTHEME="qt5ct".

Anyway, I've resolved it (somewhat) by switching from using QT_QPA_PLATFORMTHEME="qt5ct" and setting "gtk2" in qt5ct to using just QT_STYLE_OVERRIDE="gtk2". Why this works is a mystery to me (and qt5ct complains LOUDLY about me using QT_STYLE_OVERRIDE), but anyway, let's savour the great joys of framework API and configuration transitions...

kachelaqa commented on 2016-08-20 03:43

@ackalker. This has got nothing to do with pkgbrowser. It's most likely due to a bug in qt and/or a style plugin.

ackalker commented on 2016-08-20 02:59

Also tested with BlackMATE and ContrastHighInverse themes from mate-themes package: same problem, so it doesn't appear to be a problem with one specific dark theme.
Even tried building pyqt from [testing] to get pyqt5-common,python-pyqt5 5.7-2, then rebuilding(!) and reinstalling pkgbrowser: no dice, same problem. Sigh.

ackalker commented on 2016-08-20 02:15

Using a dark theme (Breeze-Dark), qt5ct and qt5-styleplugins to match GTK+ and QT themes, when I start pkgbrowser:
- the package list pane initially has a white background while everything else is dark as it should be.
- on listing some packages (e.g. clicking "Installed" in filter), the package list text color is black on a dark background: very hard to read.
- with a package listing in place, there's a white vertical bar in front of the column with package names, also the scrollbars are white.

When I open the file designer/window.ui in Qt Designer, I see none of these problems. Also, none of the PyQT examples with QTreeView's in them have any of these problems.

Steps to reproduce (making sure not to complicate things with personal theme configs etc. getting in the way):

- In X, but not running KDE (I'm using SDDM display manager, i3 window manager)
- Have the following packages installed (all official, unless indicated otherwise):

pkgbrowser 0.20-1 (build from AUR)
pacman 5.0.1-4
python 3.5.2-1
python-pyqt5 5.6-1
qt5-styleplugins 5.0.0-1 (build from AUR)
qt5ct 0.25-1
breeze-gtk 5.7.3-1

- In a terminal window, execute the following commands:

$ rm -rf ~/tmp/test; mkdir -p ~/tmp/test
$ env -i HOME=~/tmp/test DISPLAY=:0 XAUTHORITY=~/.Xauthority QT_QPA_PLATFORMTHEME="qt5ct" GTK2_RC_FILES=/usr/share/themes/Breeze-Dark/gtk-2.0/gtkrc qt5ct

- In qt5ct, under Appearance, select "gtk2", dark theme should be visible in Preview pane.
- In qt5ct, click Apply, OK,
- Finally, in a terminal window execute:

$ env -i HOME=~/tmp/test DISPLAY=:0 XAUTHORITY=~/.Xauthority QT_QPA_PLATFORMTHEME="qt5ct" GTK2_RC_FILES=/usr/share/themes/Breeze-Dark/gtk-2.0/gtkrc pkgbrowser

kachelaqa commented on 2016-03-23 17:44

@Thah. See my comment on 2015-02-07 17:57.

Thah commented on 2016-03-23 08:25

The build error below is probably due to /bin/sh being linked to a not-Bash
shell, e.g. Dash; see my comment on 2015-02-07 09:36: Make uses /bin/sh as a
shell which only guaranties POSIX compliance. The makefile uses bash
extension(s). See my previous comment for a workaround/fix.

Version 0.20-1 compiles fine under Dash but 'make install' still needs Bash.

checkbashisms reports possible problems with brace expansions.

kachelaqa commented on 2016-02-16 18:45

@jefbed. I can't reproduce this - it all works fine for me. The problem must at your end. Are you using an aur helper programme?

jefbed commented on 2016-02-16 05:24

pkgbrowser fails to build, error:
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ofast -fomit-frame-pointer -march=native -mfpmath=both -fPIC -I/usr/include/python3.5m -c src/alpm.c -o build/src/alpm.o
Error: No such file or directory: "designer/[^_]*.ui"
Makefile:35: recipe for target 'pyqt' failed
make: *** [pyqt] Error 1
make: *** Waiting for unfinished jobs....
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1,--sort-common,--as-needed,-z,relro -Ofast -fomit-frame-pointer -march=native -mfpmath=both build/src/alpm.o -L/usr/lib -lalpm -lpython3.5m -o /home/abs/aur/pkgbrowser/src/pkgbrowser-0.19.1/pkgbrowser/alpm.cpython-35m-x86_64-linux-gnu.so
rm -vrf build
removed 'build/src/alpm.o'
removed directory 'build/src'
removed directory 'build'
==> ERROR: A failure occurred in build().
Aborting...
:: Installing pkgbrowser package(s)...
:: pkgbrowser package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.
:: failed to build pkgbrowser package(s)

guzzard commented on 2016-02-01 09:53

Package is not out-of-date, but dependencies have to be fixed. 'pacman<4.3' causing issues with pacman 5.0 installed.

dokie80 commented on 2015-11-27 03:26

@kachelaqa : superb! many thanks!

All comments