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

Money Manager Ex Development related posts for both Android and Desktop

Moderator: Renato

Post Reply
jtmh
New 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
Developer
Posts: 1535
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 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
Developer
Posts: 1535
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 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 652 times
Nikolay
Developer
Posts: 1535
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 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 8871 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 8871 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 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 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 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?
Nikolay
Developer
Posts: 1535
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/Fedora/openSUSE

Post by Nikolay »

Many thanks for you effort.

packages now available for download here:
http://sourceforge.net/projects/moneyma ... 200.9.9.0/
and
http://www.codelathe.com/mmex/mmex_download.php
User avatar
phira
Super User
Posts: 56
Joined: Sat Dec 03, 2011 7:53 am
Are you a spam bot?: No
Location: Tournai, Belgium
Contact:

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

Post by phira »

hello every one

I come from ubuntu to suze 12.3

I tried to install your package and it give me this error message:
unknown error blabla bla
[PK_TMP_DIR|dir:///var/tmp/TmpDir.ViFvFt] Repository already exists.

As I am very knew with opensuze, it may be a mistake on my side but I don't know what to do with this

can you help?
Finance administrator for a non profit association ( Plumes et Calames ASBL )
Nikolay
Developer
Posts: 1535
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/Fedora/openSUSE

Post by Nikolay »

it seems rpm package for Suse not the same for RedHut or Mageia.

sorry I have no ideas.

PS I don't know any reasons to change Ubuntu to Suse.
IMHO deb based distro more popula that others.
If you Linux advanced user try Arch Linux or Gentoo or Slackware
User avatar
phira
Super User
Posts: 56
Joined: Sat Dec 03, 2011 7:53 am
Are you a spam bot?: No
Location: Tournai, Belgium
Contact:

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

Post by phira »

thanks for the answer

ubuntu to suse or anything else: more or less: philosophical reasons ( begin to be too commercial and hand to hand with google and amazon)
but ok, let's go back to ubuntu if I have no choice.
Finance administrator for a non profit association ( Plumes et Calames ASBL )
Nikolay
Developer
Posts: 1535
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/Fedora/openSUSE

Post by Nikolay »

Did you try to create a rpm package already by yourself?

http://sourceforge.net/p/moneymanagerex ... readme.txt
User avatar
phira
Super User
Posts: 56
Joined: Sat Dec 03, 2011 7:53 am
Are you a spam bot?: No
Location: Tournai, Belgium
Contact:

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

Post by phira »

I would like so, but mmex does not work In cannot find the correct dependancies.
-------------------------------------------------------------------------------------------------------------------
never mind: I roll back to ubuntu: MMEX is more important for me than the OS
------------------------------------------------------------------------------------------------------------------
Finance administrator for a non profit association ( Plumes et Calames ASBL )
Post Reply