Package Details: wxwidgets-gtk2 3.2.8-1

Git Clone URL: https://aur.archlinux.org/wxwidgets-gtk2.git (read-only, click to copy)
Package Base: wxwidgets-gtk2
Description: GTK+2 implementation of wxWidgets API for GUI
Upstream URL: https://wxwidgets.org
Licenses: custom:wxWindows
Conflicts: wxgtk, wxgtk2
Provides: wxgtk, wxgtk2, wxwidgets
Submitter: petronny
Maintainer: petronny
Last Packager: petronny
Votes: 8
Popularity: 0.014605
First Submitted: 2022-07-18 12:03 (UTC)
Last Updated: 2025-05-28 11:14 (UTC)

Required by (63)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Kepsz commented on 2025-06-15 17:38 (UTC)

Please add the patch below... This package is in conflict with the other wxwidget packages.

actionless commented on 2025-05-28 11:54 (UTC)

wxwidgets-gtk2: /usr/share/locale/af/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
...
wxwidgets-gtk2: /usr/share/locale/zh_TW/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)

patch:

diff --git a/PKGBUILD b/PKGBUILD
index 30b36b0..e7515bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,7 +36,7 @@ package_wxwidgets-gtk2() {
   provides=(wxgtk wxgtk2 wxwidgets)

   DESTDIR="$pkgdir" cmake --install build-gtk2
-  rm -r "$pkgdir"/usr/{include,lib/cmake,lib/libwx_base*,bin/wxrc*}
+  rm -r "$pkgdir"/usr/{include,lib/cmake,lib/libwx_base*,bin/wxrc*,share/locale/*/LC_MESSAGES/wxstd*}
   mv "$pkgdir"/usr/bin/wx-config{,-gtk2} # Conflicts with wx-gtk3

   install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE

serxxx commented on 2025-05-27 21:00 (UTC)

@trinitronx if 3.2.8 is out, then this package should be flagged as out-of-date, shouldn't it?

trinitronx commented on 2025-05-24 06:34 (UTC)

I can confirm that 3.2.6-1 is affected by CMake version deprecation when building with cmake > 4.0.1-1 (currently 4.0.2-1).

==> Starting build()...
CMake Error at CMakeLists.txt:10 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

(using cmake 4.0.1-1)

It's the same as this issue tracked & already fixed upstream -> wxWidgets/wxWidgets#25253. (Fixed in wxWidgets/wxWidgets@bff7c317af)

I can also confirm that updating to 3.2.8 resolves the CMake build errors.

However, when trying to install the built package I get a conflicting files error for some translation locale files shared by wxwidgets-common:

error: failed to commit transaction (conflicting files)
wxwidgets-gtk2: /usr/share/locale/af/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/an/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ar/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ca/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ca@valencia/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/co/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/cs/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/da/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/de/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/el/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/es/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
[...SNIP...]
wxwidgets-gtk2: /usr/share/locale/pl/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/pt/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/pt_BR/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ro/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ru/LC_MESSAGES/wxstd-3.2.mo

Feel free to test my updated PKGBUILD demo here.

eniac commented on 2025-05-12 12:15 (UTC)

Thanks Fubukimaru, I can confirm it works with 3.2.8

Fubukimaru commented on 2025-05-11 19:29 (UTC)

If you change the version of the package to 3.2.8 it works. It's a problem regarding the version requirement of CmakeList

eniac commented on 2025-04-16 13:22 (UTC) (edited on 2025-04-16 16:05 (UTC) by eniac)

I'm upgrading 3.2.4-1 -> 3.2.6-1 and I see this:

==> Starting build()...
CMake Error at CMakeLists.txt:10 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

(using cmake 4.0.1-1)

sulthankarimov commented on 2024-01-02 16:32 (UTC)

okay @FabioLolix i'll try it

FabioLolix commented on 2024-01-02 16:23 (UTC)

@sulthankarimov

  • every time you have error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directory for build from source programs you have to rebuild it