https://bugs.freedesktop.org/show_bug.cgi?id=58052

Christian Lohmaier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #20 from Christian Lohmaier <[email protected]> ---
(In reply to comment #18)
> 
> the upstream RPMs at least only have dependencies on 2 or 3 libraries;
> i can only speculate why that is but it's likely
> that the reason is that the packages need to be installable on _every_
> weird linux distro and the package names and/or location of the files
> on file system are different between different distros.

And actually it doesn't really require anything else... So because they are
universal, they don't have a long list of dependencies.

> ... looking at the setup_native/scripts/fake-db.spec there is this list:

That one is meant to install LibreOffice in a separate rpm-db, i.e. installing
using rpm completely bypassing the system, so indeed this is the list of
LibreOffice's dependencies as listed in the RPMs (assuming someone still runs
that script that makes use of it/assuming it is maintained)

> so apparently gnomevfs is already there, probably could add the orbit thing
> as well;

The dependencies of the actual packages are defined in
setup_native/source/packinfo/packinfo_office.txt - for the gnome-integration
package they are listed in the helper-script

instsetoo_native/inc_openoffice/unix/find-requires-gnome.sh

(kind of misleading name, as it doesn't "find" any requires, it just echoes a
hardcoded list)

the find-requires-gnome.sh together with find-requires-x11.sh contain all
external dependencies defined in the packages.

> this fake-db is used with the user-install script so that could be
> used for testing the new dependencies at least for RPM (i'm asssuming DEBs
> have the same dependencies as RPMs).

Yes, debs have the same dependencies, but not sure whether deb has a concept of
installing packages to a non-system package-database.

But you won't be able to use the install-script to verify the dependencies,
since vmiklos added nodeps to the commands, nullifying the effect and point of
the fake-db.rpm (getting rid of --nodeps switch was the only reason to create
that) - probably he didn't understand the concept/there was a different bug he
was facing...

http://cgit.freedesktop.org/libreoffice/core/commit/?id=f8b5e1cb1e2a0b294b7c967a8e040e11d2da74f7

##############################
tl;dr
if you want to add new dependencies (whether it makes sense or not from a
technical POV is another question) add it to 
instsetoo_native/inc_openoffice/unix/find-requires-gnome.sh that is used by
setup_native/source/packinfo/packinfo_office.txt

if you want to check what external dependencies there are, you need to query
the created rpms or look at the packinfo files, as the user-installscript
bypasses the fake-db rpm due to the above commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to