Package Details: moneymanagerex 1.8.0-10

Git Clone URL: https://aur.archlinux.org/moneymanagerex.git (read-only, click to copy)
Package Base: moneymanagerex
Description: MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest tagged version.
Upstream URL: http://www.moneymanagerex.org/
Licenses: GPL
Conflicts: moneymanagerex-git
Provides: moneymanagerex
Replaces: mmex
Submitter: MartinX3
Maintainer: MartinX3
Last Packager: MartinX3
Votes: 3
Popularity: 0.000023
First Submitted: 2022-07-21 14:32 (UTC)
Last Updated: 2024-10-20 10:52 (UTC)

Dependencies (16)

Required by (0)

Sources (12)

Latest Comments

1 2 3 4 Next › Last »

MartinX3 commented on 2024-10-01 09:42 (UTC)

@ccorn Thank you for your tips & work!

I've added the cherry-pick -n and git submodules optimizations.

But I think the vim modeline is too specific for a single editor. I as example use nano, IntelliJ and mousepad.

ccorn commented on 2024-09-29 20:10 (UTC)

  1. To improve source caching, I have added all current subrepos to the source array and configured git accordingly.
  2. git chery-pick creates commits which needs user data which is why the git config user... are there. But we can just skip the commit step using option -n. Much simpler.
  3. For my (and perhaps other people's) sanity, I have added a vim modeline.

Here is the diff:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,19 +13,50 @@ optdepends=('cups: for printing support')
 replaces=('mmex')
 provides=('moneymanagerex')
 conflicts=('moneymanagerex-git')
-source=(git+https://github.com/moneymanagerex/moneymanagerex.git#tag=v${pkgver})
-sha512sums=('SKIP')
+source=(git+https://github.com/moneymanagerex/moneymanagerex.git#tag=v${pkgver}
+        git+https://github.com/FVANCOP/ChartNew.js
+        git+https://github.com/moneymanagerex/LuaGlue.git
+        git+https://github.com/apexcharts/apexcharts.js.git
+        git+https://github.com/moneymanagerex/html-template.git
+        git+https://github.com/fmtlib/fmt
+        git+https://github.com/lua/lua.git
+        git+https://github.com/Tencent/rapidjson
+        git+https://github.com/utelle/wxsqlite3.git
+        git+https://github.com/moneymanagerex/database
+        git+https://github.com/moneymanagerex/general-reports
+        git+https://github.com/moneymanagerex/themes.git)
+sha512sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')

 prepare() {
   cd "${srcdir}"/moneymanagerex
-  
-  git submodule update --init --recursive
-  
+  git submodule init
+  git config submodule.3rd/ChartNew.js.url "$srcdir/ChartNew.js"
+  git config submodule.3rd/LuaGlue.url "$srcdir/LuaGlue"
+  git config submodule.3rd/apexcharts.js.url "$srcdir/apexcharts.js"
+  git config submodule.3rd/cgitemplate.url "$srcdir/html-template"
+  git config submodule.3rd/fmt.url "$srcdir/fmt"
+  git config submodule.3rd/lua.url "$srcdir/lua"
+  git config submodule.3rd/rapidjson.url "$srcdir/rapidjson"
+  git config submodule.3rd/wxsqlite3.url "$srcdir/wxsqlite3"
+  git config submodule.database.url "$srcdir/database"
+  git config submodule.general-reports.url "$srcdir/general-reports"
+  git config submodule.themes.url "$srcdir/themes"
+  git -c protocol.file.allow=always submodule update
+
   # Fix https://github.com/moneymanagerex/moneymanagerex/issues/6693
-  git config user.email "you@example.com"
-  git config user.name "Your Name"
-  git cherry-pick df127e7e995f4746b101a79e92927b2460907ab4
-  git cherry-pick bb98eab92d95b7315d27f4e59ae59b50587106d8
+  git cherry-pick -n df127e7e995f4746b101a79e92927b2460907ab4
+  git cherry-pick -n bb98eab92d95b7315d27f4e59ae59b50587106d8
 }

 build() {
@@ -44,3 +75,4 @@ package() {

   make DESTDIR="${pkgdir}" install
 }
+# vim: ts=2:sw=2:expandtab

lacsnarga commented on 2024-09-20 18:20 (UTC)

@MartinX3 still not working I couldn't figure out the problem. I modified my CMakeLists.txt etc. Same error.

MartinX3 commented on 2024-09-19 19:33 (UTC)

CMake Error at 3rd/CMakeLists.txt:25 (add_library):
add_library cannot create target "RapidJSON" because an imported target
with the same name already exists.

Maybe it helps to manually delete your downloaded code repo. Because I rebuild it without problems now.

lacsnarga commented on 2024-09-19 16:33 (UTC)

I can't install this version or git version on Arch, X11 system. Changing to Wayland didn't work. Here's my makepkg output: https://rentry.co/g89g5ks5

jeancf commented on 2024-07-27 09:53 (UTC)

@nasko I ran into the same issue today. It seems to be related to Wayland. When I boot into X11, mmex does not crash. Not a fix but a workaround at least...

nasko commented on 2024-06-26 16:22 (UTC)

Thanks @MartinX3 - this was very helpful.

I compiled WxWidgets with the --disable-debug flag, but unfortunately this didn't resolve the issue - I'm still seeing this error as soon as I start typing in the Amount field of the New transaction window.

I've commented on the original upstream ticket with details on the specific steps that I performed, in case anyone is interested: https://github.com/moneymanagerex/moneymanagerex/issues/6387#issuecomment-2192099982

It's weird that I'm the only one complaining about this issue, considering that its manifested on my two laptops, and on both of them I haven't installed any custom built packages - so far I was just regularly updating my packages using yay and accepting defaults for all prompts. I'd think that there would be more users affected by this, but then again - who knows.

MartinX3 commented on 2024-06-26 10:05 (UTC) (edited on 2024-06-26 10:05 (UTC) by MartinX3)

@nasko I hope this will help you
https://wiki.archlinux.org/title/Arch_User_Repository

The packages in the brackets are the alternative usable packages if you don't want to use the main dependency packages.

nasko commented on 2024-06-25 18:34 (UTC)

To be honest, I'm quite confused - there are so many wxwidgets packages, that it's really hard for me to figure which depends on which:

  • moneymanagerex's declared dependencies are: wxwidgets-gtk3 (wxwidgets-gtk3-git AUR, wxwidgets-gtk3-light AUR). I don't quite understand if both of these packages are required
  • wxwidgets-common is said to be a dependency for wxwidgets-gtk3
  • When I look for an AUR package wxwidgets-common, I can find several, but none of them are at the version that I have - wxwidgets-common 3.2.5-1: https://imgur.com/a/V5SQSn8
  • I have two packages, which I'm not quite clear on which of them needs to be compiled without debug symbols in order to mitigate the moneymanagerex known bug that I reported earlier - wxwidgets-common 3.2.5-1 and wxwidgets-gtk3 3.2.5-1

nasko commented on 2024-06-25 14:00 (UTC)

@MartinX3, seeing as I currently have two wxwidgets packages, do I need to first purge both, prior to compiling wxwidgets myself excluding the debug symbols?

Sorry, I'm not quite well versed with managing package dependencies, save for what the yay program handles on its own when I install a package using yay <packagename>

$ pacman -Q | grep wxwidgets
wxwidgets-common 3.2.5-1
wxwidgets-gtk3 3.2.5-1