The perl-launch launcher: Fix Perl applications in the snap runtime

This launcher ships the perl-launch launcher to your snap, which fixes the Perl applications in the snap runtime environment.

Prerequisites

This launcher depends on The debian-multiarch-triplet-provider-launch launcher: Enable DEBIAN_MULTIARCH_TRIPLET-like environment variable in the snap runtime, refer to the topic to integrate it into the snapcraft recipe.

How to use

Merge the following part definition:

parts:
  # The perl-launch launcher: Fix Perl applications in the snap runtime
  # https://forum.snapcraft.io/t/the-perl-launch-launcher-fix-perl-applications-in-the-snap-runtime/11736
  perl-launch:
    source: https://github.com/Lin-Buo-Ren/perl-launch.git
    source-tag: v1.0.0
    plugin: dump
    stage:
      - bin/perl-launch

then add bin/perl-launch to the command chain to launch the application:

apps:
  _app_name_:
    adapter: full
    command: bin/_app_executable_
    command-chain:
      - bin/debian-multiarch-triplet-provider-launch
      - bin/perl-launch

Implementation

https://github.com/Lin-Buo-Ren/perl-launch-snap

Snaps that use this launcher

T.B.A.

@admins I can no longer edit this post, please set it as a wiki. Thanks in advance!

Not sure why you lost edit permissions - but the page is now a wiki. Thanks!

1 Like

Apparently the author can’t edit their own posts after a certain period :wink: Thanks a bunch!

1 Like