From 42947deef5242b3586c82130808c3d19bd254480 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Tue, 14 Feb 2023 07:20:47 -0500 Subject: [PATCH] libreoffice-bin: fix broken symlink in footprint --- REPO | 10 +++++++--- libreoffice-bin/.footprint | 2 +- libreoffice-bin/.signature | 6 +++--- libreoffice-bin/Pkgfile | 2 ++ 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/REPO b/REPO index 831d050..713d6be 100644 --- a/REPO +++ b/REPO @@ -35,6 +35,7 @@ d:sfwbar d:sundials d:recode d:zathura-pdf-poppler +d:emptty d:libfreeimage-lite d:libfixposix d:qscintilla-qt5 @@ -190,6 +191,9 @@ f:e1cf1c12ed92637910cf5b565c97070c:recode/.footprint f:39680318d83f51fa90fd16fa4ed05154:zathura-pdf-poppler/.signature f:13d8d971c19328457beb3c9af2788a94:zathura-pdf-poppler/Pkgfile f:3961411333908c5200c5ba74f8240798:zathura-pdf-poppler/.footprint +f:c5adfbffd878580ae052730148c4a2be:emptty/emptty.service +f:8a5298fd1dc79186866611db6be19704:emptty/Pkgfile +f:8b0c7c910b04aaf36a69139fe46d284e:emptty/.footprint f:0cc425d03faffdcc793b0af7ec749893:libfreeimage-lite/.signature f:c4a660d93a260478a5f4d246be1c260d:libfreeimage-lite/Pkgfile f:55654b9c5c4042bbd1ca6d158629d37a:libfreeimage-lite/.footprint @@ -240,9 +244,9 @@ f:69f0af978af475763423ee7333e0a6d4:wezterm/wezterm.lua f:26b47749281fadfec410db73b389c21a:wezterm/.signature f:46efa506b93ddffbd1c480c041518ae9:wezterm/Pkgfile f:1d592352de4fc7bf9f9be410dfaa5619:wezterm/.footprint -f:2e02f730f66eddb603174312b9c3cc29:libreoffice-bin/.signature -f:709204a0627535e45b49d1af4ef84b7c:libreoffice-bin/Pkgfile -f:d65576ef244e808233fd4696d790439a:libreoffice-bin/.footprint +f:4b843fb193a1b093821f65901f788ed7:libreoffice-bin/.signature +f:cb2da55f3826d8f983b1c7ba403ac8f4:libreoffice-bin/Pkgfile +f:8e8c2595ab3613f699ffbe1c4f2855e1:libreoffice-bin/.footprint f:6d00fd89381a70485b2d777c863d50e3:qrupdate/r33-complex-real.patch f:bfe7fbd983f027324d35232f9ee3957a:qrupdate/.signature f:c694ab87078e117980534457a9e0d47d:qrupdate/Pkgfile diff --git a/libreoffice-bin/.footprint b/libreoffice-bin/.footprint index a56a0e6..c9bf3c6 100644 --- a/libreoffice-bin/.footprint +++ b/libreoffice-bin/.footprint @@ -2,7 +2,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/bin/ -lrwxrwxrwx root/root usr/bin/libreoffice7.4 -> /opt/libreoffice7.4/program/soffice +lrwxrwxrwx root/root usr/bin/libreoffice7.4 -> ../lib/libreoffice7.4/program/soffice drwxr-xr-x root/root usr/lib/libreoffice7.4/ drwxr-xr-x root/root usr/lib/libreoffice7.4/share/ drwxr-xr-x root/root usr/lib/libreoffice7.4/presets/ diff --git a/libreoffice-bin/.signature b/libreoffice-bin/.signature index f174883..e1c2119 100644 --- a/libreoffice-bin/.signature +++ b/libreoffice-bin/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/32mkp8Nv5wDHmzgXPpMh1ofJMTxS0ZZT1z61MWx2bBoCu7InguUToaqCX2XZacPexdZyo/V+fIuZiM0LJrhAk= -SHA256 (Pkgfile) = 666f891ed1da1c7c01827ac7acecdab4bc6953578fc380dbc5d982752a4ce99c -SHA256 (.footprint) = d6b510bcdf40eeb24e0edcefdab4b315442e243a20485f59a0f7684b3d36a05e +RWSagIOpLGJF3+Zrs/2ORt6W+0eqMJ9FOUM4JCGqCUPYNCkUrERtGbi6Gw2xdImo485dauT/ExN9raPXBd719dvWw7l+dyuc1Q8= +SHA256 (Pkgfile) = dda30b8580791c93432ceb76783b76c112f0d0189c6465ac336a00aea8c70b71 +SHA256 (.footprint) = 5821394f4fd31a4c5713bdf1ad410648ca7cabf88abde2b4c098cd0d86ec99a0 SHA256 (LibreOffice_7.4.5_Linux_x86-64_rpm.tar.gz) = 6cdfe2a6dafbbb872484eb12d10cffbb49f34f61fd2a4642d2207c38b41c562f diff --git a/libreoffice-bin/Pkgfile b/libreoffice-bin/Pkgfile index 2223ac0..acc3a34 100644 --- a/libreoffice-bin/Pkgfile +++ b/libreoffice-bin/Pkgfile @@ -32,6 +32,8 @@ build() { mv "$PKG/opt" "$PKG/usr/lib" find "$PKG" -type d -perm 700 -exec chmod 755 {} + + rm -f "$PKG/usr/bin/libreoffice7.4" + ln -s ../lib/libreoffice7.4/program/soffice libreoffice7.4 rm -f "$PKG"/usr/share/applications/*.desktop cd "$PKG"/usr/share/applications for APP in ../../lib/libreoffice7.4/share/xdg/*.desktop; do