jurt-soffice-location
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 4 May 2025 05:34:39 +0000 (07:34 +0200)
committerRene Engelhard <rene@debian.org>
Sun, 4 May 2025 05:34:39 +0000 (07:34 +0200)
commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408
Author:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
AuthorDate: Tue Jun 7 11:52:37 2011 +0200
Commit:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
CommitDate: Tue Jun 7 11:52:37 2011 +0200

    on debian-based systems, we know where our soffice binary is

Gbp-Pq: Name jurt-soffice-location.diff

ridljar/com/sun/star/lib/util/NativeLibraryLoader.java

index eb5c6af34e90f4d50e217fd01fc821469a206db6..241e33f890e0f48715501167485ecc81f9b9ec9d 100644 (file)
@@ -123,6 +123,8 @@ public final class NativeLibraryLoader {
                 }
             }
         }
+        if (name.equals("soffice"))
+            return new File("/usr/lib/libreoffice/program/soffice");
         return null;
     }