Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294010 - New package: app-office/kmymoney
Summary: New package: app-office/kmymoney
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/projects/kmymo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 04:21 UTC by Elias Probst
Modified: 2010-01-08 16:54 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kmymoney-9999.ebuild (kmymoney-9999.ebuild,370 bytes, text/plain)
2009-12-08 20:49 UTC, Ryan
Details
build.log (qt3support failure) (build.log,102.58 KB, text/plain)
2009-12-28 13:52 UTC, Elias Probst
Details
kmymoney-3.95.0.ebuild (kmymoney-3.95.0.ebuild,822 bytes, text/plain)
2010-01-07 19:56 UTC, Samuli Suominen (RETIRED)
Details
new 3.95.0 ebuild with added "quotes" useflag to pull in dev-perl/Finance-Quote (kmymoney-3.95.0.ebuild,865 bytes, text/plain)
2010-01-08 15:53 UTC, Soren Harward
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2009-11-22 04:21:50 UTC
I'd like to see an ebuild for the KDE4 port of kmymoney which is near to a beta release in the kde-testing overlay.

It resides in trunk/playground/office/kmymoney.

Thanks a lot!

Elias P.
Comment 1 Ryan 2009-12-08 20:49:35 UTC
Created attachment 212494 [details]
kmymoney-9999.ebuild

Here is the ebuild I use, ripped it from the skrooge in kde-testing. It works, but it defiantly isn't right. Basically there was nothing to do in the way of the ebuild to get the basic functionality work.

Let it be known. I started this at about 10 am and I tried to compile it 5 different teams, each time svn update would break the build until this last time. This repo is very active and will not always compile
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-12-28 12:26:17 UTC
http://sourceforge.net/projects/kmymoney2/

3.95.0 is out, the current -9999 ebuild in the overlay seems to be missing libxmlpp and glibmm deps and KDE_LINGUAS handling as well
Comment 3 Elias Probst 2009-12-28 13:52:58 UTC
Created attachment 214387 [details]
build.log (qt3support failure)

(In reply to comment #2)
> http://sourceforge.net/projects/kmymoney2/
> 
> 3.95.0 is out, the current -9999 ebuild in the overlay seems to be missing
> libxmlpp and glibmm deps and KDE_LINGUAS handling as well
> 
Furthermore it seems there are some trouble related to qt3support. Although I have USE="qt3support" and x11-libs/qt-qt3support-4.6.0 installed, the build fails (see attached build.log).

emerge --info:
Portage 2.2_rc61 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-gentoo x86_64)         
=================================================================                                            
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-2.0.1            
Timestamp of tree: Mon, 28 Dec 2009 12:45:03 +0000                                                           
ccache version 2.4 [enabled]                                                                                 
app-shells/bash:     4.0_p35                                                                                 
dev-java/java-config: 2.1.9-r1                                                                               
dev-lang/python:     2.6.4                                                                                   
dev-util/ccache:     2.4-r7                                                                                  
dev-util/cmake:      2.6.4-r3                                                                                
sys-apps/baselayout: 2.0.1                                                                                   
sys-apps/openrc:     0.6.0                                                                                   
sys-apps/sandbox:    2.2                                                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                                                           
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1                                            
sys-devel/binutils:  2.18-r3                                                                                 
sys-devel/gcc-config: 1.4.1                                                                                  
sys-devel/libtool:   2.2.6b                                                                                  
virtual/os-headers:  2.6.29                                                                                  
ACCEPT_KEYWORDS="amd64"                                                                                      
ACCEPT_LICENSE="* -@EULA dlj-1.1"                                                                            
CBUILD="x86_64-pc-linux-gnu"                                                                                 
CFLAGS="-march=nocona -O2 -pipe"                                                                             
CHOST="x86_64-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                              
CXXFLAGS="-march=nocona -O2 -pipe"                                                                                                                                                           
DISTDIR="/usr/portage/distfiles"                                                                                                                                                             
EMERGE_DEFAULT_OPTS="--jobs=1 --keep-going"                                                                                                                                                  
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"       
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"                                                          
LANG="de_DE.utf8"                                                                                                                                                                            
LC_ALL="C"                                                                                                                                                                                   
LDFLAGS="-Wl,--as-needed"                                                                                                                                                                    
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-experimental /usr/local/portage/layman/java-overlay /usr/local/portage/layman/gnome /usr/local/portage/layman/kde-testing /usr/local/portage/layman/x11 /usr/local/portage/layman/dev-zero"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audiofile avahi bash-completion berkdb bluetooth bzip2 cairo cdparanoia cli cracklib crypt css cups cxx dbus dri dts dvd encode exif fam fastcgi ffmpeg flac fortran gcj gdbm gs hal hdri iconv imagemagick inotify ipv6 java java6 jpeg jpeg2k kde kipi kms lame lcms mad matroska mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plasma png policykit pppd python qt qt3support qt4 rdesktop readline reflection rss ruby samba semantic-desktop session spell spl sqlite sse sse2 ssl startup-notification svg sysfs taglib tcpd theora tiff truetype unicode usb vcd vim-syntax vnc vorbis wmf x264 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Myk Taylor 2010-01-04 00:54:50 UTC
I would like to add that I could not get kmymoney-9999 (or 3.95, for that matter) to compile with <libofx-0.9.0.  It would give me type resolution errors on the libofx classes.  Looking in the code, there are many preprocessor directives that check for >=libofx-0.9.0, and it seems that kmymoney just disables functionality if the libofx version is too old.

I suggest that we replace the line
  ofx? ( >=dev-libs/libofx-0.8.2 )
in the COMMONDEPEND variable with
  ofx? ( >=dev-libs/libofx-0.9.0 )
Comment 5 Elias Probst 2010-01-04 08:08:28 UTC
I'd like to correct the statements I made in comment#3
This isn't related to qt3support at all - it is related to kde3support being available or not.

The strange thing: I have the kde3support libraries on my system:
/usr/lib64/libkde3support.so
/usr/lib64/libkde3support.so.4
/usr/lib64/libkde3support.so.4.3.0

So is this a Gentoo specific issue in the way we use CMake etc? Or is it an upstream issue?
Comment 6 JonBoy 2010-01-07 08:24:54 UTC
It appears kmymoney requires kdepimlibs.

I use xfce and don't have much kde infrastructure installed. CMake failed with
errors:
CMake Error at CMakeLists.txt:43 (find_package):
  Could not find module FindQGpgme.cmake or a configuration file for package
  QGpgme

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57
(MESSAGE):
  Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)

Adding 
   DEPEND=">=kde-base/kdepimlibs-4.3.3"
pulled the necessary in.  

Installed and appears to be working now.

Thanks
Jon
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-01-07 19:56:21 UTC
Created attachment 215580 [details]
kmymoney-3.95.0.ebuild

kmymoney-3.95.0.ebuild, if I enable -DUSE_QT_DESIGNER=ON like in the overlay -9999 one, it fails quite early, but if I remove it it almost finishes:

[ 85%] ../../../lib/libkmm_ofximport_dialogs.a(konlinebankingsetupwizard.o): In function `KOnlineBankingSetupWizard':                                                                    
/var/tmp/portage/app-office/kmymoney-3.95.0/work/kmymoney-3.95.0/kmymoney/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp:84: undefined reference to `K3ListViewSearchLineWidget::K3ListViewSearchLineWidget(K3ListView*, QWidget*)'                                                                                                                                      
/var/tmp/portage/app-office/kmymoney-3.95.0/work/kmymoney-3.95.0/kmymoney/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp:90: undefined reference to `K3ListViewItem::K3ListViewItem(Q3ListView*, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&)'                                        
/var/tmp/portage/app-office/kmymoney-3.95.0/work/kmymoney-3.95.0/kmymoney/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp:84: undefined reference to `K3ListViewSearchLineWidget::K3ListViewSearchLineWidget(K3ListView*, QWidget*)'                                                                                                                                      
/var/tmp/portage/app-office/kmymoney-3.95.0/work/kmymoney-3.95.0/kmymoney/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp:90: undefined reference to `K3ListViewItem::K3ListViewItem(Q3ListView*, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&)'                                        
../../../lib/libkmm_ofximport_dialogs.a(konlinebankingsetupwizard.o): In function `Ui_KOnlineBankingSetupDecl::setupUi(Q3Wizard*)':                                                      
/var/tmp/portage/app-office/kmymoney-3.95.0/work/kmymoney-3.95.0_build/kmymoney/plugins/ofximport/dialogs/ui_konlinebankingsetupdecl.h:130: undefined reference to `K3ListView::K3ListView(QWidget*)'                                                                                                                                                                             
/var/tmp/portage/app-office/kmymoney-3.95.0/work/kmymoney-3.95.0_build/kmymoney/plugins/ofximport/dialogs/ui_konlinebankingsetupdecl.h:219: undefined reference to `K3ActiveLabel::K3ActiveLabel(QWidget*)'                                                                                    
collect2: ld returned 1 exit status

I've googled a bit and found;

http://mail.kde.org/pipermail/kmymoney-devel/2009-December/000547.html
Comment 8 Matija "hook" Šuklje 2010-01-08 09:56:33 UTC
Some info on qt3 and AqBanking support on the main dev's blog:
http://soliverez.com.ar/drupal/node/147
Comment 9 Elias Probst 2010-01-08 10:15:03 UTC
The issue reported by me in comment#3 is now fixed in SVN. It finally builds using USE="hbci".

Regards, Elias P.
Comment 10 Soren Harward 2010-01-08 15:28:33 UTC
I just built successfully using Suominen's 3.95.0 ebuild.  I'm on amd64, using kde-4.3.3.  I had no USE flags enabled for kmymoney.
Comment 11 Soren Harward 2010-01-08 15:53:52 UTC
Created attachment 215667 [details]
new 3.95.0 ebuild with added "quotes" useflag to pull in dev-perl/Finance-Quote

Added a "quotes" useflag (same as is in gnucash) to the 3.95.0 ebuild which adds a runtime dependency on dev-perl/Finance-Quote, which allows automatic updates of securities prices.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-01-08 16:54:24 UTC
3.95.0 in portage, closing