void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

New package: xpaint-3.1.4

Open MIvanchev opened this issue 1 year ago • 21 comments

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-GLIBC)

MIvanchev avatar May 02 '24 11:05 MIvanchev

this works perfectly as far as I can tell

loosefish-scapegrace avatar Jun 14 '24 03:06 loosefish-scapegrace

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Sep 13 '24 01:09 github-actions[bot]

"github-actions[bot]" @.***> wrote:

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

bump

i've installed it and haven't come across any problems

loosefish-scapegrace avatar Sep 13 '24 02:09 loosefish-scapegrace

This seems fine. I crossbuilt it to 7 arches, built just fine. I've installed it and it runs just fine on x86_64-musl (also tested with drawing and saving images).

Minor changes to the license in libXaw3dXft (MIT, X11 instead of just MIT) and the icon file for XPaint is not the same as in most distros (that is fixed in the PKGBUILD for Arch), but other than that, this is just fine.

I have those changes implemented in my templates. Should I just push the changes?

xeroxslayer avatar Sep 26 '24 08:09 xeroxslayer

@xeroxslayer I'll add the missing license info, thank you for the detailed review :raised_hands:. I use the icon directly from the package and this is the usual Void policy. Where are other distros sourcing the icon from?

MIvanchev avatar Sep 26 '24 09:09 MIvanchev

@MIvanchev It's in the root of the source, XPaintIcon.xpm. Arch's template also fetches the modified .desktop file file from GH gist (have no idea why, a simple sed will do for the icon's location), but I just did this.

post_install() {
	vinstall XPaintIcon.xpm 0644 usr/share/pixmaps
	vsed -i ${DESTDIR}/usr/share/applications/${pkgname}.desktop -e 's|Icon=xpaint|Icon=/usr/share/pixmaps/XPaintIcon.xpm|'
}

xeroxslayer avatar Sep 26 '24 10:09 xeroxslayer

@xeroxslayer But why is the default desktop/icon combo problematic?

MIvanchev avatar Sep 26 '24 11:09 MIvanchev

@MIvanchev No, not problematic at all. Just pointing out that most distros don't use that, that's all. In the end, it doesn't matter which icon is used. It's fine like this as well :). It works, that's what's important.

xeroxslayer avatar Sep 26 '24 12:09 xeroxslayer

@xeroxslayer Yes, ok, thank you, I understand. I think Void's policy is to trust the author's decision and I really don't know why any distro would just change the preset icon like that :) I've adjusted the licensing info.

MIvanchev avatar Sep 26 '24 13:09 MIvanchev

Great :). Hope this gets merged soon.

xeroxslayer avatar Sep 26 '24 14:09 xeroxslayer

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Dec 26 '24 01:12 github-actions[bot]

Bump.

MIvanchev avatar Dec 26 '24 09:12 MIvanchev

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Mar 27 '25 02:03 github-actions[bot]

Bump.

MIvanchev avatar Mar 27 '25 14:03 MIvanchev

Will probably need some patching, wchar_t to char, etc.

xeroxslayer avatar Jun 10 '25 08:06 xeroxslayer

It's more complex @xeroxslayer, the library defines something as char but uses it as wchar_t in some cases which is definitely wrong code and we have to think on how to make it right.

MIvanchev avatar Jun 10 '25 08:06 MIvanchev

@MIvanchev Did something get depreciated in GCC 14, how did it pass before?

xeroxslayer avatar Jun 10 '25 11:06 xeroxslayer

Quite possibly @xeroxslayer because it doesn't build on Arch too: https://aur.archlinux.org/packages/xpaint#comment-980695. I'll patch it out just need to think about the best strategy.

MIvanchev avatar Jun 10 '25 12:06 MIvanchev

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Sep 09 '25 02:09 github-actions[bot]

bump.

MIvanchev avatar Sep 12 '25 21:09 MIvanchev