[kmymoney4] [Bug 380075] Missing online build system for windows releases
Ralf Habacker
bugzilla_noreply at kde.org
Tue May 23 11:44:17 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=380075
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
Building windows releases of kmymoney has been added to the opensuse build
service currently located as a personal obs project at
https://build.opensuse.org/project/show/home:rhabacker:branches:windows:mingw:win32:kmymoney.
The project currently creates windows setup installers and portable binary
releases including language support (see
https://build.opensuse.org/package/show/home:rhabacker:branches:windows:mingw:win32:kmymoney/mingw32-kmymoney-installer).
For details how this works see [1]
Because obs mainly supports building rpms the installer and portable packages
are contained in a rpm file.
For making releases a script (maintainer/release-windows-windows) has been
added to kmymoney git repo. A release contains the portable 7z file and setup
installer, the source tarball as 7z file and a 7z file containing debug
symbols. The script prepares releasing to sourceforge (files need to be
uploaded to sf manual) or KDE download mirror (it uploads binaries to
upload.kde.org and opens a ticket for file releasing).
Binary packages could be fetched directly by downloading the files starting
with 'mingw32-kmymoney-installer*' and 'mingw32-kmymoney-portable*' from
http://download.opensuse.org/repositories/home:/rhabacker:/branches:/windows:/mingw:/win32:/kmymoney/openSUSE_Leap_42.2/noarch/
or
http://download.opensuse.org/repositories/home:/rhabacker:/branches:/windows:/mingw:/win32:/kmymoney/openSUSE_Leap_42.1/noarch/
and extracted with 7zip (http://www.7-zip.org/).
Technical details
-----------------
[1] The kmymoney package are directly build from the kde git repo (see
https://build.opensuse.org/package/view_file/home:rhabacker:branches:windows:mingw:win32:kmymoney/mingw32-kmymoney/_service?expand=1).
Updating this file with a git tag or commit id or branch restarts a new
rebuild. This creates a new source tarball in the package (for example
_service:recompress:tar_scm:kmymoney-4.8.1.d29f4a2.tar.xz) which is used for
building. The version mentioned in this filename then needs to be inserted as
version into
https://build.opensuse.org/package/view_file/home:rhabacker:branches:windows:mingw:win32:kmymoney/mingw32-kmymoney-installer/mingw32-kmymoney-installer.spec?expand=1
to match the installers version (I did not found a way yet to automate this).
After the kmymoney package has been build, the mingw32-kmymoney-installer
package installs mingw32-kmymoney with all required dependencies from which the
the installers are created with the help of Cmake, nsis and 7z.
Notes:
- The currently available release looks already very good except the kBanking
plugin, which crashes on several locations inside gwenhywfar and aqbanking and
may be excluded from the current release.
- I'm not sure which additional packages are also required to be released along
with kmymoney - any hints welcome
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list