0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

enve を Ubuntu22.04で動かす

Last updated at Posted at 2023-06-24

enve は 2D アニメーションツール。

簡単なセルアニメーションをさくっと作る。

当初は LibreOffice Impress で作ったスライドショーを録画しようと思ったけれど、モーションパスに等速直線運動ができない感じだったり、ノイズが画面に乗ったりするのでやめて、こちらを試すことにした。

https://ubunlog.com/ja/enve-2d-generador-animaciones/
こちらによると、flatpak と AppImage がある。

まずは AppImageを使ってみた。

ダウンロード

こちらよりダウンロード
https://github.com/MaurycyLiebner/enve/releases/continuous-linux/

実行権をつけて

$ chmod +x enve-d919d4d-9_25_22-x86_64.AppImage 

実行しようとしたらエラー

$ ./enve-d919d4d-9_25_22-x86_64.AppImage 
enve: /tmp/.mount_enve-dgcJmKw/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
enve: /tmp/.mount_enve-dgcJmKw/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
enve: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_module_open_full

AppImage の作り変え

ここを見ると、

まず appimagetool をダウンロードします。

$ wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage

appimagetool を実行可能にします

$ chmod +x appimagetool-x86_64.AppImage

enve の AppImage を解凍します。

$ ./enve-d919d4d-9_25_22-x86_64.AppImage  --appimage-extract 

エラーの出ている libmodule-2.0.so.0 を削除

$ rm -f squashfs-root/usr/lib/libgmodule-2.0.so.0

再パックします。

$ ./appimagetool-x86_64.AppImage squashfs-root enve-d919d4d-9_25_22-x86_64-patched.AppImage

新たに作成したAppImageを実行してみます。

$ ./enve-d919d4d-9_25_22-x86_64-patched.AppImage

image.png
動きました

flatpak 版

$ sudo apt install flatpak
$ flatpak --version
Flatpak 1.12.7
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/nanbuwks/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
$ flatpak install --user https://flathub.org/repo/appstream/io.github.maurycyliebner.enve.flatpakref

何回か問い合わせが出てきますがここでは全部[Y]としました。

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/nanbuwks/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

The remote 'flathub', referred to by 'io.github.maurycyliebner.enve' at location https://dl.flathub.org/repo/ contains additional applications.
Should the remote be kept for future installations? [Y/n]: Y
Required runtime for io.github.maurycyliebner.enve/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15) found in remote flathub
Do you want to install it? [Y/n]: Y
Info: org.kde.Platform//5.15 is end-of-life, with reason:
   We strongly recommend moving to the latest stable version of the Plaform and SDK
Info: org.freedesktop.Platform.GL.default//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

io.github.maurycyliebner.enve permissions:
    ipc                   pulseaudio       x11      dri      file access [1]
    dbus access [2]

    [1] /tmp, home, xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar, org.freedesktop.Flatpak


        ID                                                  Branch Op Remote  Download
 1. [✓] io.github.maurycyliebner.enve.Locale                stable i  flathub  17.3 kB / 306.2 kB
 2. [✓] org.freedesktop.Platform.GL.default                 20.08  i  flathub 106.4 MB / 106.4 MB
 3. [✓] org.freedesktop.Platform.openh264                   2.0    i  flathub   1.5 MB / 1.5 MB
 4. [✓] org.gtk.Gtk3theme.Yaru                              3.22   i  flathub 136.7 kB / 191.5 kB
 5. [✓] org.kde.Platform.Locale                             5.15   i  flathub   1.9 MB / 341.5 MB
 6. [✓] org.kde.PlatformTheme.QGnomePlatform                5.15   i  flathub   9.7 MB / 9.7 MB
 7. [✓] org.kde.PlatformTheme.QtSNI                         5.15   i  flathub   1.3 MB / 1.3 MB
 8. [✓] org.kde.WaylandDecoration.QGnomePlatform-decoration 5.15   i  flathub   5.9 MB / 10.2 MB
 9. [✓] org.kde.Platform                                    5.15   i  flathub 411.0 MB / 373.5 MB
10. [✓] io.github.maurycyliebner.enve                       stable i  flathub  89.6 MB / 92.9 MB

Installing 10/10… ████████████████████ 100%  7.5 MB/s  00:00
Note that '/home/nanbuwks/.local/share/flatpak/exports/share' is not in the search path
        ID                                                  Branch Op Remote  Download
 1. [✓] io.github.maurycyliebner.enve.Locale                stable i  flathub  17.3 kB / 306.2 kB
 2. [✓] org.freedesktop.Platform.GL.default                 20.08  i  flathub 106.4 MB / 106.4 MB
 3. [✓] org.freedesktop.Platform.openh264                   2.0    i  flathub   1.5 MB / 1.5 MB
 4. [✓] org.gtk.Gtk3theme.Yaru                              3.22   i  flathub 136.7 kB / 191.5 kB
 5. [✓] org.kde.Platform.Locale                             5.15   i  flathub   1.9 MB / 341.5 MB
 6. [✓] org.kde.PlatformTheme.QGnomePlatform                5.15   i  flathub   9.7 MB / 9.7 MB
 7. [✓] org.kde.PlatformTheme.QtSNI                         5.15   i  flathub   1.3 MB / 1.3 MB
 8. [✓] org.kde.WaylandDecoration.QGnomePlatform-decoration 5.15   i  flathub   5.9 MB / 10.2 MB
 9. [✓] org.kde.Platform                                    5.15   i  flathub 411.0 MB / 373.5 MB
10. [✓] io.github.maurycyliebner.enve                       stable i  flathub  89.6 MB / 92.9 MB

Installation complete.

実行してみます。

$ flatpak run io.github.maurycyliebner.enve

動きました。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?