Package Details: awf-gtk2 2.8.0-3

Git Clone URL: https://aur.archlinux.org/awf-gtk2.git (read-only, click to copy)
Package Base: awf-gtk2
Description: Theme preview application for GTK
Upstream URL: https://github.com/luigifab/awf-extended
Licenses: GPL3
Submitter: luigifab
Maintainer: luigifab
Last Packager: luigifab
Votes: 0
Popularity: 0.000000
First Submitted: 2024-02-02 21:42 (UTC)
Last Updated: 2024-02-06 10:25 (UTC)

Latest Comments

glitsj16 commented on 2024-02-08 22:22 (UTC)

https://wiki.archlinux.org/title/Arch_package_guidelines#Architectures seems to advise arch=('any') in such cases.

luigifab commented on 2024-02-08 18:07 (UTC)

I've found several other architectures for Arch (via Repology): i486, i686, pentium4, aarch64, powerpc, powerpc64le, riscv64

Normally this package also works with them, I don't know if I can add them in arch=().

glitsj16 commented on 2024-02-06 12:20 (UTC)

Thanks for all the work. These new widget factories look/function great!

luigifab commented on 2024-02-06 11:13 (UTC)

All done!

luigifab commented on 2024-02-04 17:04 (UTC) (edited on 2024-02-04 18:05 (UTC) by luigifab)

Nice tips! I'm going to update and test mkdir with install -D everywhere. But I will keep sed as is.

I think there are name clashes because awf-git install awf-gtk2 and awf-gtk3.

I thought of this because awf-git is dead, and awf-gtkx literally replaces it.

glitsj16 commented on 2024-02-04 12:27 (UTC) (edited on 2024-02-04 12:28 (UTC) by glitsj16)

Perhaps I can also add "replaces=('awf-git')".

Replaces seems a bit overkill. If there are name clashes with that package, try Conflicts=(awf-git).
Other suggestions.
Both sed's can easily be combined into one invocation in prepare():
sed -i -e 's/ -eq 3/ -eq -1/g' -e 's/ -eq 4/ -eq -1/g' configure.ac

There's also several "mkdir -p foo" lines in the package() function that could be replaced with "install" commands. Examples:
install -Dm 755 src/${pkgname} -t "$pkgdir"/usr/bin
install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/${pkgname}
install -Dm 644 debian/${pkgname}.1 -t "$pkgdir"/usr/share/man/man1

But that's all just up to you :-)

luigifab commented on 2024-02-04 11:57 (UTC) (edited on 2024-02-06 12:26 (UTC) by luigifab)

Perhaps I can also add replaces=('awf-git').

luigifab commented on 2024-02-04 09:54 (UTC)

Wow, my bad, your are so right. I updated all like my other packages for other distros. Thanks!

glitsj16 commented on 2024-02-04 03:37 (UTC) (edited on 2024-02-04 03:38 (UTC) by glitsj16)

Hello. Thanks for bringing these awf-gtkx packages in the AUR. I did have to change the PKGBUILD slightly for the icons though. As-is they end up as awf-gtk2pngpng and awf-gtk2svgsvg respectively (which breaks the .desktop file).

My edit to fix this:

for file in icons///.png; do mv $file ${file/\/awf/\/$pkgname}; done for file in icons///.svg; do mv $file ${file/\/awf/\/$pkgname}; done

Same goes for awf-gtk{3,4} packages...

Cheers!

luigifab commented on 2024-02-02 21:53 (UTC)

Hello, This is my fourth package collection (awf-gtkx) for Arch. Try it and love it. I hope it's a good package.