Bug 32827 - awf-gtk: a theme preview application for GTK. NEW PKG REQUEST
Summary: awf-gtk: a theme preview application for GTK. NEW PKG REQUEST
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://github.com/luigifab/awf-extended
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-10 13:25 CET by luigifab
Modified: 2024-02-26 20:21 CET (History)
0 users

See Also:
Source RPM: https://download.opensuse.org/repositories/home:/luigifab/Mageia_Cauldron/src/
CVE:
Status comment:


Attachments
awf-gtk demo (121.81 KB, image/png)
2024-02-10 13:27 CET, luigifab
Details
awf-gtk2 test (71.19 KB, image/png)
2024-02-11 12:56 CET, luigifab
Details

Description luigifab 2024-02-10 13:25:38 CET
Same as 32817, but for another package.
I'd like to push it into Mageia and become its maintainer.

SPEC file: https://build.opensuse.org/package/view_file/home:luigifab/mageia-test3/awf-gtk2.spec

There are 3 spec files for 3 packages: awf-gtk2 awf-gtk3 awf-gtk4.
so that each version is independent,
only sed commands differ.

I'm unsure about these dependencies name:
BuildRequires: gtk2-devel
Requires:      gtk2
BuildRequires: gtk3-devel
Requires:      gtk+3
BuildRequires: gtk4-devel
Requires:      gtk4

---

A widget factory is a theme preview application for GTK. It displays the various widget types provided by GTK in a single window allowing to see the visual effect of the applied theme.
Comment 1 luigifab 2024-02-10 13:27:55 CET
Created attachment 14358 [details]
awf-gtk demo

Demo of awf-gtk2, awf-gtk3, awf-gtk4 with Mageia 9 Xfce.
Yes, there is a bug with gtk2 toolbar (only in Mageia for now), it's new.
Comment 2 luigifab 2024-02-11 12:56:24 CET
Created attachment 14367 [details]
awf-gtk2 test

I tried to fix the gtk2 bug...

When I remove icons from toolbar, it's ok.
But by adding only: gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (icon1), "gtk-open");
The bug occurs.

And... I saw an image!
This is the toolbar text.
Not sure how to disable it.
But I can add: gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_ICONS);

I'll think about it for the next release.
Comment 3 Lewis Smith 2024-02-11 21:11:44 CET
Thank you once again for offering to introduce & - very important - support this application, which looks handy for GTK GUI development.

I am unsure about the need for the GTK2 version; I think we have dropped use and support of GTK2.

Assigning as usual for new package requests.

Severity: normal => enhancement
Assignee: bugsquad => pkg-bugs
Summary: Review request for awf-gtk => awf-gtk: a theme preview application for GTK. NEW PKG REQUEST
Component: RPM Packages => New RPM package request

Comment 4 luigifab 2024-02-26 20:21:32 CET
Without the GTK 2 version, an important aspect of the program will be missing: the impossibility of copying a GTK 2 theme to GTK 3 / 4.

Until the removal or update of GIMP, GTK 2 is still here!

Note You need to log in before you can comment on or make changes to this bug.