trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] kmymoney - kmymoneytitlelabel.png is missing from TDE source (causing 'install' FBFS)

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 18 Feb 2014 17:34:57 -0600
On 02/18/2014 04:29 PM, David C. Rankin wrote:
> On 02/18/2014 04:16 PM, E. Liddell wrote:
>> On Tue, 18 Feb 2014 15:30:14 -0600
>> "David C. Rankin" <drankinatty@...> wrote:
>>
>>> All,
>>>
>>>   Working further with kmymoney, I have run across a build failure due to a
>>> missing icon: kmymoneytitlelabel.png. [...]
>>>
>>>   Does anyone have a patch/substitute for this icon? 
>>
>> The file still exists in the application's repository on SourceForge:
>> http://kmymoney2.cvs.sourceforge.net/viewvc/kmymoney2/kmymoney2/kmymoney2/widgets/kmymoneytitlelabel.png
>>
>> E. Liddell
>>
> 
> That's just bizarre. It exists in the sourceforge source, it is listed as being
> removed in the sourceforge changelog in 2011, and it is missing from the TDE git
> tree -- Go Figure -- Glad to know the rest of the world runs like a well oiled
> machine :)
> 
> How do you square that with the changelog?
> 
> 2011-05-21 06:32  conet
> 
> 	* kmymoney/widgets/CMakeLists.txt,
> 	  kmymoney/widgets/kmymoneytitlelabel.png: Remove unused file.
> 
> http://kmymoney2.sourceforge.net/ChangeLog-4.5.95.txt
> 
> I just copied the icon back to the proper kmymoney2/widgets directory in my
> sources and the build completes fine. We need to make sure it gets put back in
> the TDE kmymoney source...
> 

I can confirm a successful build/install of kmymoney with every option except
sqlite3 with the following:

depends=('tde-tdebase' 'libofx')

  [ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh       # or tqt3.sh
  [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh   # or tde.sh

  ## test for html2ps and set enabe/disable pdf-docs
  if test -x "/usr/bin/html2ps"; then
    enable_pdfdocs='--enable-pdf-docs'
  else
    enable_pdfdocs='--disable-pdf-docs'
  fi

  ## replace kmymoneytitlelabel.png missing in TDE git tree
  cd ${srcdir}/${pkgname#*-}
  cp -a ${srcdir}/kmymoneytitlelabel.png kmymoney2/widgets/

  ## Generate config files and update with autoreconf (as needed)
  cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
  cp /usr/share/libtool/config/ltmain.sh ./admin
  make -f admin/Makefile.common

  ./configure \
    --prefix=${TDEDIR} \
    --with-qmake=${QTDIR}/bin/tqmake \
    --with-qt-dir=${QTDIR} \
    --with-qt-includes=${QTDIR}/include \
    --with-qt-libraries=${QTDIR}/lib \
    --with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
    --with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
    --sysconfdir=${TDEDIR}/etc \
    --localstatedir=/var \
    --disable-dependency-tracking \
    --disable-gcc-hidden-visibility \
    $enable_pdfdocs \
    --pdfdir=${TDEDIR}/share/doc \
    --psdir=${TDEDIR}/share/doc \
    --htmldir=${TDEDIR}/share/doc \
    --enable-new-ldflags \
    --enable-rpath \
    --enable-ofxplugin \
    --enable-ofxbanking \
    --enable-qtdesigner \
    --disable-sqlite3 \
    --enable-qtdesigner \
    --disable-debug \
    --disable-final \
    --enable-closure

  make $NUMJOBS # VERBOSE=1

Other than sqlite3, the only other build failure I can detect is that any wanted
documentation except for the TDE help system files will need to be manually
installed during packaging. For example:

kmymoney/doc/en/kmymoney-user.pdf
kmymoney/developer-doc/phb/kmymoney-phb.pdf

These docs are created but never installed by the automake files.

-- 
David C. Rankin, J.D.,P.E.