2014/1/26 Nigel Taylor <njtay...@asterisk.demon.co.uk>:
> On 01/23/14 20:41, Vadim Zhukov wrote:
>> 2014/1/23 Nigel Taylor <njtay...@asterisk.demon.co.uk>:
>>> On 01/22/14 18:21, Vadim Zhukov wrote:
>>>> Hello all.
>>>>
>>>> Given that there is a lot of things changed in KDE land, and that
>>>> there could be some issues with importing stuff named similarily to
>>>> KDE3 ones, I postpone importing stuff like Digikam for post-5.5 times.
>>>>
>>>> Here is a port of KMyMoney, very nice KDE4 app that I use every week.
>>>> It depends on libalkimia, port for which is also included. It's
>>>> heavily tested on i386 and behaves well. Okay to import?
>>>>
>>>> --
>>>>   WBR,
>>>>   Vadim Zhukov
>>>>
>>>
>>>
>>> Finance::Quote - this works if present...
>>>
>>>
>>> Executing /usr/local/share/apps/kmymoney/misc/financequote.pl yahoo_europe 
>>> XXX.L...
>>> Symbol found: XXX.L
>>> Price found: 10.56 (10.56)
>>> Date found: Thu Jan 23 2014
>>> Price for XXX.L updated (id E000001)
>>>
>>> This the updated version of p5-Finance-Quote, current version may not work.
>>
>> Yes, the versions we currently have in ports do not work. But this is
>> purely optional. it's worth to note this possibility in readme file,
>> though; I've created one.
>>
>>> kmymoney is configured to use kcalc by default - not included at runtime.
>>
>> Good point. Added an RDEP for kcalc.
>>
>>> kmymoney excludes Online Banking... Checking PLIST found it missing
>>>
>>> Recreated PLIST which changed....
>>>
>>> $ diff -u PLIST{.orig,}
>>> --- PLIST.orig  Wed Jan 22 18:13:02 2014
>>> +++ PLIST       Thu Jan 23 13:47:08 2014
>>> @@ -76,6 +76,7 @@
>>>  lib/kde4/kcm_kmm_printcheck.so
>>>  lib/kde4/kmm_csvimport.so
>>>  lib/kde4/kmm_icalendarexport.so
>>> +lib/kde4/kmm_kbanking.so
>>>  lib/kde4/kmm_ofximport.so
>>>  lib/kde4/kmm_printcheck.so
>>>  lib/kde4/kmm_reconciliationreport.so
>>> @@ -90,6 +91,8 @@
>>>  share/apps/kmm_csvimport/kmm_csvimport.rc
>>>  share/apps/kmm_icalendarexport/
>>>  share/apps/kmm_icalendarexport/kmm_icalendarexport.rc
>>> +share/apps/kmm_kbanking/
>>> +share/apps/kmm_kbanking/kmm_kbanking.rc
>>>  share/apps/kmm_ofximport/
>>>  share/apps/kmm_ofximport/kmm_ofximport.rc
>>>  share/apps/kmm_printcheck/
>>> @@ -1408,6 +1411,7 @@
>>>  share/kde4/services/kcm_kmm_printcheck.desktop
>>>  share/kde4/services/kmm_csvimport.desktop
>>>  share/kde4/services/kmm_icalendarexport.desktop
>>> +share/kde4/services/kmm_kbanking.desktop
>>>  share/kde4/services/kmm_ofximport.desktop
>>>  share/kde4/services/kmm_printcheck.desktop
>>>  share/kde4/services/kmm_reconciliationreport.desktop
>>>
>>>
>>> $ make lib-depends-check
>>>
>>> kmymoney-4.6.4(productivity/kmymoney):
>>> Missing: aqbanking.0 from aqbanking-5.0.25 
>>> (/usr/local/lib/kde4/kmm_kbanking.so)
>>> Missing: gwengui-qt4.0 from gwenhywfar-4.3.3p0 
>>> (/usr/local/lib/kde4/kmm_kbanking.so)
>>> Missing: gwenhywfar.0 from gwenhywfar-4.3.3p0 
>>> (/usr/local/lib/kde4/kmm_kbanking.so)
>>> WANTLIB += aqbanking gwengui-qt4 gwenhywfar
>>> Scanning: ok
>>> *** Error 1 in /usr/ports/mystuff/productivity/kmymoney 
>>> (/usr/ports/infrastructure/mk/bsd.port.mk:2208 'lib-depends-check')
>>>
>>> Also need to adjust WANTLIB / LIB_DEPENDS.
>>
>> Bah. :( Moved between KBanking back and forth, and finally forgot to
>> update plist. :( Fixed, thanks!
>>
>>> encryption doesn't work - never asks for the passphrase...
>>>
>>> The problem here is gpg, it needs gnupg-2.xx.xx which includes gpg-agent, 
>>> and
>>> gpg-agent has to be running as a daemon, currently gpg-1.xx.xx can be 
>>> installed
>>> by default, kdepimslib / gpgme. kmymoney requires gnupg-2 at runtime, and 
>>> gpg-agent
>>> daemon must be running. Only get a terminal prompt for the passphrase from 
>>> gpg-agent,
>>> all rather messy. Maybe better if encryption was disabled until it just 
>>> works.
>>
>> I've added a run-time dependency on KGpg, too - the other way a list
>> of keys will be empty without any further notification. KMyMoney warns
>> the first time you try to use encryption that this is not a
>> well-tested feature, so I do not see the need to disable it completely
>> because this will mean additional patching. I've added a note about
>> the status of encryption feature to README, too.
>>
>> I've never used either encryption or stocks feature. :( The updated
>> port is attached.
>>
>>> Help - get message can't launch kdehelpcentre4, there is a khelpcentre4.
>>
>> kdehelpcentre4???
>>
>> But it fails here, too. Not related to KMyMoney, though. Probably
>> found the issue, building the kdelibs now for test. Thank you a lot
>> for noticing this.
>>
>> --
>>   WBR,
>>   Vadim Zhukov
>>
>
> Didn't notice you attached an update, until recently.
>
> Builds ok, Tried fixed the help, encryption I will avoid using.
>
> Other issues
> I see a lot of output if run from a terminal, some are wrong says samba
> is not present - when samba is installed. Not using / running samba but
> is installed, might just be the message, could be the way it's installed.
>
> kmymoney(1970) KSambaSharePrivate::isSambaInstalled: Samba is not installed!
>
> $ ls -l /etc/samba
> total 20
> -rw-r--r--  1 root  wheel  9680 Jan 26 00:22 smb.conf
> $ smbstatus
>
> Samba version 3.6.15
> PID     Username      Group         Machine
> -------------------------------------------------------------------
>
> Service      pid     machine       Connected at
> -------------------------------------------------------
>
> /var/spool/samba/locking.tdb not initialised
> This is normal if an SMB client has never connected to your server.
>
>
> Can't find samba in kmymoney, must be some other part of kde4.
>
> kdelibs - kio ksambashare.cpp
>
> bool KSambaSharePrivate::isSambaInstalled()
> 71 {
> 72  if (QFile::exists("/usr/sbin/smbd")
> 73  || QFile::exists("/usr/local/sbin/smbd")) {
> 74  return true;
> 75  }
> 76
> 77  kDebug() << "Samba is not installed!";
> 78
> 79  return false;
> 80 }
>
> That not where smbd is located try /usr/local/libexec/smbd

Nice investigation, thanks! I've added a patch to kdelibs that
respects LOCALBASE.

> This is ok... /etc/samba/smb.conf is used.
>
> static const char * const DefaultSambaConfigFilePathList[] =
> 42 {
> 43  "/etc/samba/smb.conf",
> 44  "/etc/smb.conf",
> 45  "/usr/local/etc/smb.conf",
> 46  "/usr/local/samba/lib/smb.conf",
> 47  "/usr/samba/lib/smb.conf",
> 48  "/usr/lib/smb.conf",
> 49  "/usr/local/lib/smb.conf"
> 50 };
>
>
>
> This is has been quick tests running on the build machine. Just pkg_add
> kmymoney
>
>
> Tried installing on laptop but hit kde3/kde4 issues, laptop is still
> running with kde3 installed.

You can have both kdelibs and kde-runtime installed simultaneously.
Unfortunately, kde-baseapps (4.x) and kdebase (3.x) conflict and this
won't be fixed for our 5.5 release at least - too much work.

> Ok, like rest of kde4 might have to fix the odd issues, as far as tested
> works.

--
  WBR,
  Vadim Zhukov

Reply via email to