Snapping rx pixel editor

RX pixel editor

2 Likes

I took a look at this a while back, and it previously used to build, but now doesn’t. Here’s the yaml.

name: rx
base: core18 
version: "0.2.0"
summary: Modern pixel editor implemented in rust 
description: |
  `rx` is an extensible, modern and minimalist pixel editor implemented
  in rust. It's designed to have as little UI as possible, and instead
  takes inspiration from vi's modal nature and command mode.

grade: stable
confinement: strict

apps:
  rx:
    environment:
      LD_LIBRARY_PATH: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio:$LD_LIBRARY_PATH"
      LC_ALL: "C.UTF-8"
    command: rx
    plugs:
      - network
      - network-bind
      - pulseaudio
      - x11
      - opengl
      - desktop
      - desktop-legacy

parts:
  rx:
    plugin: rust
    source: https://github.com/cloudhead/rx.git
    source-tag: "v0.2.0"
    rust-channel: nightly
    rust-features: ["vulkan"]
    build-packages:
      - cmake
      - libx11-dev
      - libxrandr-dev
      - libxinerama-dev
      - libxcursor-dev
      - libxi-dev
      - pkg-config
    stage-packages:
      - libx11-6
      - libxcb1

I filed an issue upstream to track it, in case someone with rust skills wants to take a look.

1 Like