SHA256
1
0
forked from pool/hollywood

Accepting request 905612 from home:jonapap

- Add libexec_fix.patch
  * Seems without this patch, this package is unusable. On my machine, it tried to access some executables under /usr/lib, while they are installed under /usr/libexc. Maybe it's related to UsrMerge?

OBS-URL: https://build.opensuse.org/request/show/905612
OBS-URL: https://build.opensuse.org/package/show/utilities/hollywood?expand=0&rev=22
This commit is contained in:
Sebastian Wagner 2021-07-11 07:45:14 +00:00 committed by Git OBS Bridge
parent 47a2e702eb
commit c15834e631
3 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 11 01:51:19 UTC 2021 - Jonathan Papineau <jonathan@jpapineau.ca>
- Add libexec_fix.patch
-------------------------------------------------------------------
Fri May 8 06:18:53 UTC 2020 - Stefan Seyfried <seife+obs@b1-systems.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package hollywood
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,14 +26,15 @@ License: Apache-2.0 AND CC0-1.0
Group: Amusements/Toys/Other
URL: https://launchpad.net/hollywood
Source: https://launchpad.net/hollywood/trunk/%{version}/+download/hollywood_%{version}.orig.tar.gz#/%{name}-%{version}.tar.gz
Recommends: byobu
Patch0: libexec_fix.patch
Recommends: apg
Recommends: bmon
Recommends: byobu
# in debian: bsdmainutils
Recommends: util-linux
Recommends: coreutils
Recommends: ccze
Recommends: cmatrix
Recommends: coreutils
Recommends: htop
Recommends: jp2a
Recommends: mlocate
@ -85,6 +86,7 @@ and statistics, like any good computer screen on Wall Street.
%prep
%setup -q
%patch0 -p0
%build

13
libexec_fix.patch Normal file
View File

@ -0,0 +1,13 @@
Index: bin/hollywood
===================================================================
--- bin/hollywood.orig
+++ bin/hollywood
@@ -43,7 +43,7 @@ spin_up() {
done
}
-WIDGET_DIR="$(dirname $0)/../lib/$PKG"
+WIDGET_DIR="$(dirname $0)/../libexec/$PKG"
SPLITS=$(ls "$WIDGET_DIR" | wc -l)
DELAY=10
while [ ! -z "$1" ]; do