libstaroffice: pulled patch from libreoffice

This commit is contained in:
Tim Biermann 2023-01-28 13:13:17 +01:00
parent 8220c8df6e
commit 1159a910ab
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 23 additions and 7 deletions

View File

@ -11,9 +11,9 @@ drwxr-xr-x root/root usr/include/libstaroffice-0.0/libstaroffice/
-rw-r--r-- root/root usr/include/libstaroffice-0.0/libstaroffice/STOFFDocument.hxx
-rw-r--r-- root/root usr/include/libstaroffice-0.0/libstaroffice/libstaroffice.hxx
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libstaroffice-0.0-lo.so.0 -> libstaroffice-0.0-lo.so.0.0.7
-rwxr-xr-x root/root usr/lib/libstaroffice-0.0-lo.so.0.0.7
-rwxr-xr-x root/root usr/lib/libstaroffice-0.0.la
lrwxrwxrwx root/root usr/lib/libstaroffice-0.0.so -> libstaroffice-0.0.so.0.0.7
lrwxrwxrwx root/root usr/lib/libstaroffice-0.0.so.0 -> libstaroffice-0.0.so.0.0.7
-rwxr-xr-x root/root usr/lib/libstaroffice-0.0.so.0.0.7
lrwxrwxrwx root/root usr/lib/libstaroffice-0.0.so -> libstaroffice-0.0-lo.so.0.0.7
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libstaroffice-0.0.pc

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35gcDF72ihv7gsKJM6/0wt14vedfB01bjZlHVL3z0iKx1O2olGPBU5G4oL4MTGdote/qZpbECuZCFyYb6zgk4Qw=
SHA256 (Pkgfile) = d05837064ae474856215f4ce71cb1b9fc1221962f9bc2fa5c66d82a297906de8
SHA256 (.footprint) = 41ecbae55137bec9da8bb13216e3e7bf337057634eedaba087c5b3d9c3729e3e
RWSagIOpLGJF37toYkb7uR1S8eBmzM2O3b/tCtyUrvsCrnVAB7enhTwrm1C5c/NezQB4+GB7B7NH752QRxn2GgQgPgnsQ34TNQA=
SHA256 (Pkgfile) = 6e0f1295eb092c57b134df50805437e45bc4181dd881b7df1560bb4a09a8ba17
SHA256 (.footprint) = dd394d998561b8948a466593c2ac91602fda892217305411eb57d136c14a9df6
SHA256 (libstaroffice-0.0.7.tar.xz) = f94fb0ad8216f97127bedef163a45886b43c62deac5e5b0f5e628e234220c8db
SHA256 (libstaroffice-bundled-soname.patch.0) = 6ccbb13924733c05d4cd44bb1f6668b824baf0fad74de9dd3618053b1a689266

View File

@ -6,10 +6,14 @@
name=libstaroffice
version=0.0.7
release=1
source=(https://github.com/fosnola/$name/releases/download/$version/$name-$version.tar.xz)
source=(https://github.com/fosnola/$name/releases/download/$version/$name-$version.tar.xz
libstaroffice-bundled-soname.patch.0)
build() {
cd $name-$version
patch -Np0 -i $SRC/libstaroffice-bundled-soname.patch.0
./configure --prefix=/usr \
--without-docs
make

View File

@ -0,0 +1,11 @@
--- src/lib/Makefile.in.orig 2015-08-07 14:04:47.646611627 +0200
+++ src/lib/Makefile.in 2015-08-07 14:25:49.888589996 +0200
@@ -418,7 +418,7 @@
AM_CXXFLAGS = -I$(top_srcdir)/inc $(REVENGE_CFLAGS) $(DEBUG_CXXFLAGS) $(ZLIB_CFLAGS) -DBUILD_STAROFFICE=1
libstaroffice_@STAROFFICE_MAJOR_VERSION@_@STAROFFICE_MINOR_VERSION@_la_LIBADD = $(REVENGE_LIBS) $(ZLIB_LIBS) @LIBSTAROFFICE_WIN32_RESOURCE@
libstaroffice_@STAROFFICE_MAJOR_VERSION@_@STAROFFICE_MINOR_VERSION@_la_DEPENDENCIES = @LIBSTAROFFICE_WIN32_RESOURCE@
-libstaroffice_@STAROFFICE_MAJOR_VERSION@_@STAROFFICE_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic -no-undefined
+libstaroffice_@STAROFFICE_MAJOR_VERSION@_@STAROFFICE_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic -no-undefined -release lo
libstaroffice_@STAROFFICE_MAJOR_VERSION@_@STAROFFICE_MINOR_VERSION@_la_SOURCES = \
SDAParser.cxx \
SDAParser.hxx \