Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692658 - dev-libs/libofx-0.9.14: dtd and dcl files are installed in the wrong directory
Summary: dev-libs/libofx-0.9.14: dtd and dcl files are installed in the wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
: 692762 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-21 01:53 UTC by Alexandre Ferreira
Modified: 2019-08-24 01:00 UTC (History)
1 user (show)

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


Attachments
ebuild patch (libofx-0.9.14-ebuild.patch,472 bytes, patch)
2019-08-21 01:56 UTC, Alexandre Ferreira
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ferreira 2019-08-21 01:53:33 UTC
libofx installl dtd and dcl files on the doc directory instead of /usr/share/libofx and fails to import ofx files with the error "find_dtd():Unable to find the DTD file"

Reproducible: Always

Steps to Reproduce:
1.Using kmymoney
2.Import an ofx file
3.
Actual Results:  
"find_dtd():Unable to find the DTD file" message is printed on the console

Expected Results:  
ofx file imported correctly
Comment 1 Alexandre Ferreira 2019-08-21 01:56:50 UTC
Created attachment 587726 [details, diff]
ebuild patch

This patch changes the src_prepare the first entry correctly changes the docs but the second one even though is called doc, installs the dtd, dcl files on the correct directory.
Comment 2 Larry the Git Cow gentoo-dev 2019-08-22 12:53:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0231aa5f2343d2daa97a350f847e6cd7f603b28

commit d0231aa5f2343d2daa97a350f847e6cd7f603b28
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2019-08-22 08:16:09 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-08-22 12:52:46 +0000

    dev-libs/libofx: fix RDEPEND on libxmlpp
    
            * Moves dependency on dev-cpp/libxmlpp:2.6 from DEPEND to RDEPEND
            * Add BDEPEND
            * Remove 'touch INSTALL' in src_prepare and patch Makefile.am instead
            * Don't install static lib if USE flag is not set
            * Adds patch from Alexandre Ferreira on b.g.o to install DTD correctly
    
    Thanks to Alexandre Ferreira for the fix on DTD and DCL files.
    
    Suggested-by: Alexandre Ferreira <alexandref75@gmail.com>
    Closes: https://bugs.gentoo.org/692658
    Closes: https://bugs.gentoo.org/692664
    Package-Manager: Portage-2.3.72, Repoman-2.3.17
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/12758
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...0001-Makefile.am-remove-INSTALL-from-docs.patch | 28 ++++++++++
 dev-libs/libofx/libofx-0.9.14-r1.ebuild            | 63 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-08-24 01:00:57 UTC
*** Bug 692762 has been marked as a duplicate of this bug. ***