On 2/9/07, Rene Engelhard <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthias B. wrote:
> When I build OOo I get the debs for OOo itself, but
> openoffice.org-debian-menus is not built. How do I get this to be
> built? Calling dmake in sysui/desktop/debian doesn't work.

It is only built with the right options set.

That's why I need to do the following in debian/rules for the official
Debian package (we base on -debian-menus' contents)

        # DPKG is only set on with-EPM build what we don't do and the menu 
stuff        # is only built wenn DPKG is set.. Same with PKGFORMAT.
        cd $(SOURCE_TREE)/sysui; \
                . $(CURDIR)/$(SOURCE_TREE)/*.sh; \
                PATH=$(BUILD_PATH) DPKG="dpkg" PKGFORMAT="deb" 
NO_PKG_MANGLE=go-away \
                ../solenv/bin/build.pl && ../solenv/bin/deliver.pl

Unless you build on Debian (and build with EPM) DPKG is not set and
PKGFORMAT does most probably not contain deb either. Set them and it should
work when you run "build" in sysui.

Well, since I build on Debian I thought package format "native" would
be the same as "deb" (since deb is the native format for Debian) and
in fact the "native" build does produce Debian packages for everything
but the ooo-debian-menus. However, passing --with-package-format=deb
fixed my problem. Now debian-menus.deb is built alongside the other
debs. I don't even need to set DPKG or to manually call build.pl.
Thanks for pointing me in the right direction, though.

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to