@anonymous_user the gtk-engines requirements have been removed from this package. I've created a new package specifically for using this theme with gtk2.
Search Criteria
Package Details: qogir-gtk-theme 2024.05.22-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/qogir-gtk-theme.git (read-only, click to copy) |
---|---|
Package Base: | qogir-gtk-theme |
Description: | Qogir is a flat Design theme for GTK |
Upstream URL: | https://github.com/vinceliuice/Qogir-theme |
Keywords: | gtk-theme qogir |
Licenses: | GPL3 |
Submitter: | Bitts311 |
Maintainer: | FirstAirBender |
Last Packager: | FirstAirBender |
Votes: | 12 |
Popularity: | 0.000111 |
First Submitted: | 2020-06-10 10:48 (UTC) |
Last Updated: | 2024-05-22 19:54 (UTC) |
Dependencies (8)
- grep (grep-gitAUR, busybox-coreutilsAUR, grep-compatAUR) (make)
- sassc (sassc-gitAUR) (make)
- gtk-engine-murrine (optional) – For GTK2 support
- gtk-engines (optional) – For GTK2 support
- kvantum-theme-qogir-gitAUR (optional) – Matching Kvantum theme
- qogir-icon-themeAUR (qogir-icon-theme-gitAUR) (optional) – Matching icon theme
- tela-icon-themeAUR (tela-icon-theme-kde-accent-gitAUR, tela-icon-theme-gitAUR, tela-icon-theme-binAUR) (optional) – Recommended icon theme
- vimix-cursors (vimix-cursors-gitAUR) (optional) – Matching cursor theme
Required by (0)
Sources (2)
FirstAirBender commented on 2023-03-06 06:32 (UTC)
anonymous_user commented on 2023-02-09 04:05 (UTC)
Would it be possible to have gtk-engine-murrine and gtk-engines be optional dependencies for people who only want to use the GTK3 theme portion?
konrad commented on 2022-07-15 23:09 (UTC)
@FirstAirBender that makes sense, i did not even consider upgrades.
FirstAirBender commented on 2022-07-08 18:28 (UTC)
@konrad it is useful for both installing and upgrading the package. This is due to the fact that the theme is built by an install.sh
script, therefore in order to keep the installed package consistent during upgrades, it makes sense keep the flags consistent as well.
I am however thinking now that it may not be useful to install it as well, but just read it if it exists, otherwise fallback to using the defaults.
konrad commented on 2022-07-08 18:21 (UTC)
By the way, what's the reasoning behind installing /etc/qogir-gtk-theme/options.txt
? Seems like it's only necessary when building.
konrad commented on 2022-07-05 18:27 (UTC) (edited on 2022-07-05 18:27 (UTC) by konrad)
The package fails to build for me because grep
in build()
returns 1 when no lines are matched in options.txt
(when it's empty), and it seems that makepkg does not like that.
Appending "|| echo '--theme all .....'" to the grep command makes it return 0, and then the check for $INSTALL_OPTS in package()
is unncessary.
Here's a patch:
--- PKGBUILD 2022-07-05 20:21:57.446955316 +0200
+++ PKGBUILD.new 2022-07-05 20:21:45.503261000 +0200
@@ -29,7 +29,7 @@
build() {
if [ -f /etc/qogir-gtk-theme/options.txt ]; then
- INSTALL_OPTS="$(/usr/bin/grep --extended-regexp --max-count=1 --line-regexp --invert-match '^\s*$|#.+' /etc/qogir-gtk-theme/options.txt)"
+ INSTALL_OPTS="$(/usr/bin/grep --extended-regexp --max-count=1 --line-regexp --invert-match '^\s*$|#.+' /etc/qogir-gtk-theme/options.txt || echo '--theme all --tweaks image square round --logo arch')"
if [ $? = 0 ]; then
export INSTALL_OPTS
return 0
@@ -41,9 +41,5 @@
cd "$_pkgname-$_pkgver"
install -dm755 "$pkgdir/usr/share/themes"
install -D --mode=644 "$srcdir/options.txt" --target-directory="$pkgdir/etc/qogir-gtk-theme/"
- if [ -z "$INSTALL_OPTS" ]; then
- ./install.sh --theme all --tweaks image square round --logo arch --dest "$pkgdir/usr/share/themes"
- else
- ./install.sh ${INSTALL_OPTS} --dest "$pkgdir/usr/share/themes"
- fi
+ ./install.sh ${INSTALL_OPTS} --dest "$pkgdir/usr/share/themes"
}
timothyqiu commented on 2022-06-27 01:13 (UTC)
There's a typo in "Conflicts" and it should be qogir-gtk-theme-git
I think?
guglovich commented on 2022-06-07 23:05 (UTC)
@bjo I think it's broken for everyone. For xfce4 it doesn't build the package either.
dr460nf1r3 commented on 2022-06-02 12:46 (UTC)
Needs sassc
as makedep.
bjo commented on 2022-05-25 12:03 (UTC)
The MATE variant is broken: https://github.com/vinceliuice/Qogir-theme/issues/229 Is is some install issue?
Pinned Comments
Dwa30v commented on 2021-11-20 19:26 (UTC) (edited on 2021-11-20 19:26 (UTC) by Dwa30v)
@FirstAirBender
I'm using
pacman
, and upgrade withsudo pacman -Syyu
. I did as you suggested, removed the cache entry. I usedpamac
to remove and install. Then, all worked well.Thanks for the help!
$ pamac remove qogir-gtk-theme
$ pamac install qogir-gtk-theme