[packman] vivaldi for SLE 12
Aliaksei Padvalski
avvissu at yandex.ru
Mon Jul 11 11:32:01 CEST 2016
Thank you for reporting.
Fixed.
11.07.2016, 10:57, "Frank Steiner" <fsteiner-mail1 at bio.ifi.lmu.de>:
> Aliaksei Padvalski wrote
>
>> Done
>
> Thanks a lot! There seems to be a problen in the start script, though.
> /usr/bin/vivaldi in the packman package contains:
>
> # Find libffmpeg.so with additional codecs.
> CHR_CODECS_CH=""
> if [ -d $CHR_CODECS_CH ]; then
> CHR_CODECS_VER=""
> if [[ "$CHR_CODECS_VER" =~ "51.0.2704" ]] || [[ "$CHR_CODECS_VER" =~ "50.0.2661" ]] ||
> [[ "$CHR_CODECS_VER" =~ "49.0.2623" ]]; then
> FFMPEG_LD_LIBRARY_PATH=":$CHR_CODECS_CH"
> fi
> else
> FFMPEG_LD_LIBRARY_PATH=":$HERE/lib"
> fi
>
> The first two lines will lead to
>
> if [ -d ]; then
>
> and that will success in bash and evaluate the "then" branch (which again
> makes no sense due to CHR_CODECS_VER=""). Thus, FFMPEG_LD_LIBRARY_PATH
> will be empty and= vivaldi aborts with
> /usr/bin/vivaldi: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
>
> The original /usr/bin/vivaldi in the rpm from the vivaldi webpage
> has the following code:
>
> # Find libffmpeg.so with additional codecs.
> CHR_CODECS_CH="/usr/lib64/chromium/lib"
> if [ -d $CHR_CODECS_CH ]; then
> CHR_CODECS_VER="51.0.2704.103"
> if [[ "$CHR_CODECS_VER" =~ "51.0.2704" ]] || [[ "$CHR_CODECS_VER" =~ "50.0.2661" ]] || [[ "$CHR_CODECS_VER" =~ "49.0.2623" ]]; then
> FFMPEG_LD_LIBRARY_PATH=":$CHR_CODECS_CH"
> fi
> else
> FFMPEG_LD_LIBRARY_PATH=":$HERE/lib"
> fi
>
> And that will either load the chromium lib, if chromium is installed,
> or point to the version in /usr/lib64/vivaldi/lib/
>
> Similar with flash:
> if [ -f "/usr/lib64/chromium/PepperFlash/libpepflashplayer.so" ]; then
> FLASH_PATH="/usr/lib64/chromium/PepperFlash/libpepflashplayer.so"
>
> in the original script,
>
> if [ -f "" ]; then
> FLASH_PATH=""
>
> in the packman version. Some variable replacement seems to fail during build.
>
> cu,
> Frank
>
> --
> Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
> Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
> LMU, Amalienstr. 17 Phone: +49 89 2180-4049
> 80333 Muenchen, Germany Fax: +49 89 2180-99-4049
> * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
More information about the Packman
mailing list