[MacPorts] #24433: kmymoney : updated port file + starter .app

MacPorts noreply at macports.org
Tue Apr 13 17:18:51 PDT 2010


#24433: kmymoney : updated port file + starter .app
------------------------------------+---------------------------------------
  Reporter:  MK-MacPorts@…          |       Owner:  macports-tickets@…                   
      Type:  update                 |      Status:  reopened                             
  Priority:  Normal                 |   Milestone:                                       
 Component:  ports                  |     Version:                                       
Resolution:                         |    Keywords:  haspatch maintainer                  
      Port:  kmymoney               |  
------------------------------------+---------------------------------------

Comment(by takanori@…):

 Hi Marko,

 Your final version looks OK except only 3 points.

 1) I had to convert the encoding of the apple script from larin1 to utf8,
 since it failed to compile on my Mac due to the following error:

 {{{
 --->  Staging kmymoney into destroot
 Error: Target org.macports.destroot returned: shell command "osacompile -o
 /opt/local/var/macports/build/_Users_takanori_Sources_macports-
 trunk_dports_kde_kmymoney/work/destroot/Applications/MacPorts/KMyMoney.app
 /opt/local/var/macports/build/_Users_takanori_Sources_macports-
 trunk_dports_kde_kmymoney/work/kmymoney2-1.0.4/main.applescript" returned
 error 1
 Command output: /opt/local/var/macports/build
 /_Users_takanori_Sources_macports-
 trunk_dports_kde_kmymoney/work/kmymoney2-1.0.4/main.applescript:69: error:
 Expected expression but found unknown token. (-2741)

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}

 2) The icon file should be downloaded on demand since it is a bit large.

 3) ${prefix}/bin/kmymoney should be called via login shell like the
 following. Without this change, I couldn't call kmm_banking plugin from
 KMyMoney.app.

 {{{
 from:
     do shell script "__PREFIX__/bin/kmymoney > /dev/null 2>&1"
 to:
     do shell script "$SHELL -l -c __PREFIX__/bin/kmymoney > /dev/null
 2>&1"
 }}}


 I fixed these problems in kmymoney_1.0.4_1_takanori.diff so could you
 please test it?
 If there is no problem, I'll commit it later.

 Thanks.

-- 
Ticket URL: <http://trac.macports.org/ticket/24433#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list