Skip to content

Vivaldi recipe update needed #448

Open

Description

@tyu1996

Describe the issue
Multiple issues:

  • The download path takes i386 deb package instead of x64, causing the rest of building failed.
  • The post-ingredient script fails to run, giving few "no such file or directory" errors. Suppose the newer build changed the directory structure.

To Reproduce
Steps to reproduce the behavior:

  1. Run pkg2appimage with Vivaldi.yml recipe.
  2. Read the errors.

Activity

  1. tyu1996 commented on Nov 9, 2020

    @tyu1996
    ContributorAuthor

    I've updated the recipe with the following:

    app: Vivaldi
    
    ingredients:
      package: vivaldi-stable
      dist: xenial
      sources:
        - deb http://archive.ubuntu.com/ubuntu/ xenial main universe
      script:
        - wget -c "https://downloads.vivaldi.com/stable/vivaldi-stable_3.4.2066.94-1_amd64.deb"
    
    script:
      - cp opt/vivaldi/product_logo_128.png vivaldi.png
      - cp usr/share/applications/vivaldi-stable.desktop .
      - ( cd usr/bin ; rm vivaldi-stable ; ln -s vivaldi vivaldi-stable )
      - mv -f opt/vivaldi/* usr/bin/ && rm -r opt/
    

    Few changes here

    1. Hard-code the Vivaldi x64 .deb URL (Make sure it's downloading the x64 build)
    2. Change the Ubuntu version to xenial (The old trusty have missing dependencies)
    3. Rewrite few post-ingredients scripts

    What is solved
    The AppImage can be packaged without errors. The Vivaldi AppImage ran successfully.

    What does not work
    The Vivaldi cannot connect to internet connection. From the terminal it rendered the message:

    [102627:102632:1109/224550.267459:ERROR:nss_util.cc(166)] Error initializing NSS with a persistent database (sql:/home/brian/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
    [102627:102632:1109/224550.267876:ERROR:nss_util.cc(124)] Error initializing NSS without a persistent database: NSS error code: -5925
    [102627:102632:1109/224550.267931:FATAL:nss_util.cc(126)] nss_error=-5925, os_error=0
    [102456:102456:1109/224550.455480:ERROR:network_service_instance_impl.cc(286)] Network service crashed, restarting service.
    

    Helps needed

    1. Rewrite the wget URL to make it download the x64 deb correctly. (I'm no CLI expert to do this)
    2. Fix the cannot connect to internet issue.
  2. faveoled commented on Jan 2, 2024

    @faveoled

    Tried to rebase on focal but still fails:

    /tmp/.mount_Vivald15eCRU/usr/bin//vivaldi: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_memdup2
    

    Manifest:

    app: Vivaldi
    
    ingredients:
      package: vivaldi-stable
      dist: focal
      sources:
        - deb https://ftp.psnc.pl/linux/ubuntu/ focal main universe
      script:
        - wget -c "https://downloads.vivaldi.com/stable/vivaldi-stable_6.5.3206.48-1_amd64.deb"
    
    script:
      - cp opt/vivaldi/product_logo_128.png vivaldi.png
      - cp usr/share/applications/vivaldi-stable.desktop .
      - sed -i -e 's|^Exec=.*|Exec=vivaldi %U|g' vivaldi-stable.desktop
      - mv -f opt/vivaldi/* usr/bin/ && rm -r opt/
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions