KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • handbook for deb packages

    10 answers - 323 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    I maintain a src package with a debian subdir (created according the help
    files, but don't ask me how I did that again). The probrem is that the
    handbook comes in So howto instruct
    it to go to instead?
    Koos

    >Visit #unsub to unsubscribe <<
  • No.1 | | 950 bytes | |

    Sunday 10 Jul 2005 18:25, Koos Vriezen wrote:
    Hi,

    I maintain a src package with a debian subdir (created according the help
    files, but don't ask me how I did that again). The probrem is that the
    handbook comes in So howto instruct
    it to go to instead?

    In your admin/acinlude.m4.in file, in the function
    AC_DEFUN([KDE_SET_DEFAULT_PATHS], change

    if test -z "$kde_htmldir"; then
    kde_htmldir='\${datadir}/doc/HTML'
    fi

    to

    if test -z "$kde_htmldir"; then
    if test -f /etc/debian_version; then
    if dpkg -s kdelibs4 | grep Status | grep not-installed 2>&1 >/dev/null;
    then
    kde_htmldir='\${prefix}/share/doc/HTML';
    else
    kde_htmldir='\${prefix}/share/doc/kde/HTML'
    fi
    else
    kde_htmldir='\${prefix}/share/doc/HTML'
    fi
    fi


    >Visit #unsub to unsubscribe <<
  • No.2 | | 980 bytes | |

    David Saxton wrote:
    In your admin/acinlude.m4.in file, in the function
    AC_DEFUN([KDE_SET_DEFAULT_PATHS], change

    if test -z "$kde_htmldir"; then
    kde_htmldir='\${datadir}/doc/HTML'
    fi

    to

    if test -z "$kde_htmldir"; then
    if test -f /etc/debian_version; then
    if dpkg -s kdelibs4 | grep Status | grep not-installed 2>&1 >/dev/null;
    then
    kde_htmldir='\${prefix}/share/doc/HTML';
    else
    kde_htmldir='\${prefix}/share/doc/kde/HTML'
    fi
    else
    kde_htmldir='\${prefix}/share/doc/HTML'
    fi
    fi

    that works for building the package. So now I have it installed
    correctly, however the handbook says it can't find the file requested
    when pressing F1 (but doesn't say which path :( ).
    So this is not the complete solution, ie. the appl. still passes the old
    default?

    Koos

    >Visit #unsub to unsubscribe <<
  • No.3 | | 695 bytes | |

    Sun, Jul 10, 2005 at 08:36:59PM +0200, Koos Vriezen wrote:
    that works for building the package. So now I have it installed
    correctly, however the handbook says it can't find the file requested
    when pressing F1 (but doesn't say which path :( ).
    So this is not the complete solution, ie. the appl. still passes the old
    default?

    Ah comparing with another package, the problem is now that it installs
    / and it should be
    / (uncompressed).

    I have `$ cat debian/kmplayer-doc.install`
    *

    for the doc files. Howto tell dpkg to not compress the docbook?

    Koos

    >Visit #unsub to unsubscribe <<
  • No.4 | | 827 bytes | |

    Sunday 10 July 2005 20.46, Koos Vriezen wrote:
    Sun, Jul 10, 2005 at 08:36:59PM +0200, Koos Vriezen wrote:
    that works for building the package. So now I have it installed
    correctly, however the handbook says it can't find the file requested
    when pressing F1 (but doesn't say which path :( ).
    So this is not the complete solution, ie. the appl. still passes the old
    default?

    Ah comparing with another package, the problem is now that it installs
    / and it should be
    / (uncompressed).

    I have `$ cat debian/kmplayer-doc.install`
    *

    for the doc files. Howto tell dpkg to not compress the docbook?

    Unknown, but it should (they all should) in fact be installing an
    index.cache.bz2 and an index.docbook, and using the index.cache.bz2 in
    khelpcenter.

    Regards,
  • No.5 | | 469 bytes | |

    Sunday 10 Jul 2005 18:25, Koos Vriezen wrote:
    I maintain a src package with a debian subdir (created according the help
    files, but don't ask me how I did that again). The probrem is that the
    handbook comes in So howto instruct
    it to go to instead?

    I've done just that to create Debian packages for KAlarm in its standalone
    version. Download the source from the address below and look in its debian
    directory.

    Cheers,
    David.
  • No.6 | | 722 bytes | |

    David Jarvie wrote:
    I've done just that to create Debian packages for KAlarm in its standalone
    version. Download the source from the address below and look in its
    debian directory

    What should I see, nothing that points to compressed docbook or not.

    I've retried to build everything with admin from 3.3 branch but that
    doesn't change anything.
    Seems that debian/sarge has all docbooks for kde uncompressed, eg see

    for kmix's.
    Like mentioned helpcenter shipped with debian/sarge reports an error
    when there is no index.docbook (and ignores the index.docbook.gz one)

    Koos

    >Visit #unsub to unsubscribe <<
  • No.7 | | 897 bytes | |

    Sunday 10 Jul 2005 21:39, Koos Vriezen wrote:
    David Jarvie wrote:
    I've done just that to create Debian packages for KAlarm in its
    standalone version. Download the source from the address below and look
    in its debian directory

    What should I see, nothing that points to compressed docbook or not.

    I've retried to build everything with admin from 3.3 branch but that
    doesn't change anything.
    Seems that debian/sarge has all docbooks for kde uncompressed, eg see

    for kmix's.
    Like mentioned helpcenter shipped with debian/sarge reports an error
    when there is no index.docbook (and ignores the index.docbook.gz one)

    Why not use an uncompressed docbook from the start? It will get compressed
    when you compress the package for distribution, so I don't see any advantage
    in having it compressed before you package the app.
  • No.8 | | 759 bytes | |

    David Jarvie wrote:
    Why not use an uncompressed docbook from the start? It will get compressed
    when you compress the package for distribution, so I don't see any advantage
    in having it compressed before you package the app.

    Yeah well, that was my question. Why and how does it get compressed and
    how to prevent it. Note, I'm not making the deb files manually, they are
    created by the scripts and the docbook ends up compressed.

    I feel a bit silly I asked this, should have figured this out myself.
    Just though, as probably more people build for sarge, this is already
    figured out by others, saving me time to do this.

    Koos

    >Visit #unsub to unsubscribe <<
  • No.9 | | 819 bytes | |

    Sunday 10 Jul 2005 22:07, Koos Vriezen wrote:
    David Jarvie wrote:
    Why not use an uncompressed docbook from the start? It will get
    compressed when you compress the package for distribution, so I don't see
    any advantage in having it compressed before you package the app.

    Yeah well, that was my question. Why and how does it get compressed and
    how to prevent it. Note, I'm not making the deb files manually, they are
    created by the scripts and the docbook ends up compressed.

    I feel a bit silly I asked this, should have figured this out myself.
    Just though, as probably more people build for sarge, this is already
    figured out by others, saving me time to do this.

    The docbook doesn't get compressed in the KAlarm package. Try looking at its
    configuration.
  • No.10 | | 394 bytes | |

    David Jarvie wrote:
    The docbook doesn't get compressed in the KAlarm package. Try looking at
    its configuration.

    Although mine is quite different, its a generated one, it did help
    indeed, thanks.
    FWIW, I had a dh_compress line in it, adding -Xindex.docbook did the
    trick.

    Koos

    >Visit #unsub to unsubscribe <<

Re: handbook for deb packages


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "KDE"

EMSDN.COM