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

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

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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 Thu Jul 05, 2012 6:05 pm, edited 1 time in total.
Re: How to provide an rpm package for Mageia

Nikolay
MMEX Developer

Posts: 2284
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
readme file included into src package into /setup/linux/rpm/ folder

https://moneymanagerex.svn.sourceforge. ... readme.txt
Re: How to provide an rpm package for Mageia

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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?
Re: How to provide an rpm package for Mageia

Nikolay
MMEX Developer

Posts: 2284
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Just attach here. I'll check it then it will be provided for downloads on sourceforge.net
Re: How to provide an rpm package for Mageia

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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 349 times
Re: How to provide an rpm package for Mageia

Nikolay
MMEX Developer

Posts: 2284
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
I am trying to install this package on Fedora

Failed to obtain authentication.
Re: How to provide an rpm package for Mageia

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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
(40.89 KiB) Downloaded 3536 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
(33.89 KiB) Downloaded 3536 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.
Re: How to provide an rpm package for Mageia

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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.
Re: How to provide an rpm package for Mageia

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
Here are the rpms for Fedora:

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

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
Any comments on my rpms?
Who is online

Users browsing this forum: No registered users and 6 guests

cron