How to provide an rpm package for Mageia/Fedora/openSUSE

Money Manager Ex Development related posts
(http://github.moneymanagerex.org/)
jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

How to provide an rpm package for Mageia/Fedora/openSUSE

Post by jtmh »

MMEX v0.9.9.0 is now officially released, and its source code is also available on the MMEX Downloads Web page. That makes me wanna maintain a binary rpm package for the Mageia distro. How can I provide the package for the development team? And is there anything I should notice? Thanks.
Last edited by jtmh on Fri Jul 06, 2012 12:05 am, edited 1 time in total.

Nikolay
MMEX Developer
Posts: 1295
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: How to provide an rpm package for Mageia

Post by Nikolay »

readme file included into src package into /setup/linux/rpm/ folder

https://moneymanagerex.svn.sourceforge. ... readme.txt

jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: How to provide an rpm package for Mageia

Post by jtmh »

Thanks for the quick reply. I'd like to know that when I get the rpm package ready, should I upload it as an attachment with a new reply or by other ways?

Nikolay
MMEX Developer
Posts: 1295
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: How to provide an rpm package for Mageia

Post by Nikolay »

Just attach here. I'll check it then it will be provided for downloads on sourceforge.net

jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: How to provide an rpm package for Mageia

Post by jtmh »

MMEX v0.9.9.0 RPM i586-32bit package for Mageia 2 is attached below. Note that its file extension ".zip" is appended on purpose because the forum doesn't accept a ".rpm" attachment. Please remove ".zip" first before checking it. Upon its installation, the system will also install the following two RPMs:
  1. libwxgtku2.8_0-2.8.12-9.mga2.i586.rpm
  2. wxgtk2.8-2.8.12-9.mga2.i586.rpm
from the Mageia 2 Core i586 repository.
Attachments
mmex-0.9.9.0-1.mga2.i586.rpm.zip
MMEX v0.9.9.0 RPM i586-32bit package for Mageia 2
(2.53 MiB) Downloaded 415 times

Nikolay
MMEX Developer
Posts: 1295
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: How to provide an rpm package for Mageia

Post by Nikolay »

I am trying to install this package on Fedora

Failed to obtain authentication.

jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: How to provide an rpm package for Mageia

Post by jtmh »

Sorry, but I don't understand what you mean by "Failed to obtain authentication." Currently, my package only works (i.e., installs and runs) on Mageia 2 i586 system.

I've tried it on Mageia 1. It installed fine but didn't run. The error message from Konsole:
mmex: relocation error: mmex: symbol _Z23wxHandleFatalExceptionsb, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0 with link time reference

I've also tried it on Fedora 17 i686 Live KDE and Desktop (GNOME) today. For Live KDE, there was an "Installing unsigned software" warning dialog popping up while installation, but I could proceed by answering "Yes."
install warning on fdr17 kde.png
install warning on fdr17 kde.png (40.89 KiB) Viewed 3864 times
However, it aborted with a fatal error upon running:
start error on fdr17 kde.png
(66.07 KiB) Downloaded 3536 times
For Live Desktop, the package installed fine, but aborted with the same fatal error upon running:
start error on fdr17 gnome.png
start error on fdr17 gnome.png (33.89 KiB) Viewed 3864 times
It seems that all the runtime errors are related to incompatible libraries between my system for building the RPM package and the actual systems for running MMEX.

jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: How to provide an rpm package for Mageia

Post by jtmh »

After doing lots of investigations, I've realized that there exist version incompatibility problems with the wxgtk/libpng/... libraries across rpm-based distros, e.g., Fedora, openSUSE, and Mageia. Some are due to different configure options used, e.g., whether wxgtk should be compatible with its version 2.4 or 2.6; some are due to that old version libraries are not installed by default or no longer provided for some new distro versions, e.g., libpng 1.2. Therefore, I've decided to build some rpms against wxgtk static libraries (as noted in INSTALL.txt for mmex) for some main distro versions. Here are the results for openSUSE and Mageia (Due to maximum attachment number is 3, I'll attachment the Fedora rpms in the next reply.):
Note that the files above are given the file extension ".zip" on purpose because the forum doesn't accept ".rpm" attachments. Please remove ".zip" first before checking them. Thanks.

jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: How to provide an rpm package for Mageia

Post by jtmh »

Here are the rpms for Fedora:

jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: How to provide an rpm package for Mageia/Fedora/openSUSE

Post by jtmh »

Any comments on my rpms?

Post Reply