#24 kchmviewer --without-kde installs locale files in /

open
nobody
None
5
2007-03-16
2006-11-06
Volkov Peter
No

We have a bug report[1]. kchmviewer if configured
without kde installs icon into /crystalsvg/ instead of
/usr/share/crystalsvg/.

BWT. What can you suggest as a propper fix for the
problem?

Reference:
[1] http://bugs.gentoo.org/show_bug.cgi?id=129225

Discussion

  • Volkov Peter
    Volkov Peter
    2006-12-07

    Logged In: YES
    user_id=1018208
    Originator: YES

    Small update. This problem was partially fixed in 2.7. Now kchmviewer installs icons in /usr/share instead of /usr/share/icons.

     
  • Volkov Peter
    Volkov Peter
    2007-03-16

    • summary: kchmviewer --without-kde installs icon in /crystalsvg/. --> kchmviewer --without-kde installs locale files in /
     
  • Volkov Peter
    Volkov Peter
    2007-03-16

    Logged In: YES
    user_id=1018208
    Originator: YES

    Thank you for the fix incorporated in kchmviewer-3.0. But the fix is not complete. Currently kchmviewer install locale files in /. Attached patch should fix the problem. Seems that it could be broken with confcache but AFAIK confcache itself is now broken and is not actively maintained, so I think we can drop it for now.

    Also, please, could you keep the contents of admin directory in tarball? The reason is that without this files it's impossible to regenerate build system files, like configure script and etc... TIA.

    Well. I did not manage to upload patch. So here it is:
    --- ./configure.in.in.orig 2007-03-13 07:18:01.000000000 +0300
    +++ ./configure.in.in 2007-03-16 10:48:43.000000000 +0300
    @@ -44,7 +44,8 @@
    if test "x$with_kde" != "xyes"; then
    include_ARTS_FALSE="yes"
    AC_PREFIX_DEFAULT(${prefix:-/usr/local})
    - kde_icondir="/usr/share/icons"
    + KDE_SET_DEFAULT_PATHS($1)
    + eval "$kde_cv_all_paths"
    fi

    AM_CONDITIONAL([AMC_USE_KDE], [test "x$with_kde" = "xyes"])

    And I'll mail it you...

     
  • Volkov Peter
    Volkov Peter
    2007-03-16

    Logged In: YES
    user_id=1018208
    Originator: YES

    Oops. That was wrong patch. Here is the right one.
    File Added: kchmviewer-3.0-qt-only-path-fix.diff