Package Details: moneymanagerex-1.3.4-branch 1.3.4.Release.r0.d9a9a013-1

Git Clone URL: https://aur.archlinux.org/moneymanagerex-1.3.4-branch.git (read-only, click to copy)
Package Base: moneymanagerex-1.3.4-branch
Description: MoneyManagerEx 1.3.4 with DB v.7
Upstream URL: http://www.moneymanagerex.org/
Keywords: budgeting finance savings
Licenses: GPL
Conflicts: moneymanagerex
Provides: moneymanagerex
Replaces: mmex
Submitter: Fenrihr
Maintainer: Fenrihr
Last Packager: Fenrihr
Votes: 2
Popularity: 0.65
First Submitted: 2020-04-07 03:50
Last Updated: 2020-05-19 14:10

Latest Comments

hansen commented on 2020-05-21 04:48

@Fenrihr, I checked all of the packages in the stable repositories that list wxgtk3 as a dependency. 21 of 22 explicitly reference wx-config-gtk3 in the PKGBUILD with no regard for wx-config. This is a good indicator that one does not have to worry about using wx-config if wxgtk3 is the dependency. ucblogo was the exception, but it has no wx-config reference whatsoever in the PKGBUILD.

Packages Checked: 0ad aegisub audacity boinc codeblocks filezilla hugin kicad mediainfo-gui megaglest moneymanagerex poedit python-wxpython python2-wxpython3 scummvm-tools springlobby ucblogo vbam-wx veracrypt wxmaxima wxsqlite3 xchm

hansen commented on 2020-05-20 02:30

@Fenrihr , would something along the lines of the following work then? Thanks!

wxconfig="$(ls -1 /usr/bin/wx-config* | head -n1)"
if [ -z "$wxconfig" ]; then
   echo "Could not locate wx-config."
   exit 1
fi
cmake -DwxWidgets_CONFIG_EXECUTABLE="$wxconfig" -DCMAKE_BUILD_TYPE=Release ..

Fenrihr commented on 2020-05-19 13:25

@hansen thank you very much for the correction! But your patch only work if the system already has a wx-config-gtk3. My approach was create a symbolic link if wx-config-gtk3 not exists but i will start work in an workaround for both.

hansen commented on 2020-05-18 04:31

Creating the symbolic link in /usr/bin requires running as root. Running as root and creating files outside of the package manager are generally bad practices.

--- PKGBUILD    2020-05-18 00:19:08.617015949 -0400
+++ PKGBUILD    2020-05-18 00:22:13.007024071 -0400
@@ -25,21 +25,17 @@
 prepare() {
     cd "$srcdir/$_gitname"
     mkdir -p "build"
-    # solved "Could NOT find wxWidgets" error caused by broken wxgtk3
-    ln -sf /usr/bin/wx-config{-gtk3,} || true
     git submodule update --init
 }

 build() {
     cd "$srcdir/$_gitname/build"
     export MAKEFLAGS=-j4
-    cmake -DCMAKE_BUILD_TYPE=Release ..
+    cmake -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 -DCMAKE_BUILD_TYPE=Release ..
     cmake --build . --target package
 }

 package() {
     cd "$srcdir/$_gitname/build"
-
     make DESTDIR="${pkgdir}/" install
 }
-