Package Details: rx 0.5.2-2

Git Clone URL: https://aur.archlinux.org/rx.git (read-only, click to copy)
Package Base: rx
Description: A modern and extensible pixel editor implemented in rust.
Upstream URL: https://rx.cloudhead.io/
Licenses: GPL3
Submitter: Almindor
Maintainer: Almindor
Last Packager: Almindor
Votes: 4
Popularity: 0.000121
First Submitted: 2019-08-25 15:52 (UTC)
Last Updated: 2021-08-20 18:44 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

willemw commented on 2021-08-20 19:11 (UTC)

You can get rid of the "cd" lines, if you want, by adding "--manifest-path=$pkgname-$pkgver/Cargo.toml" to the cargo lines. And change to 'install -Dm755 -t "$pkgdir/usr/bin" "target/release/rx' in package().

Almindor commented on 2021-08-20 18:44 (UTC)

Updated with suggestions, thanks.

willemw commented on 2021-08-20 18:32 (UTC)

Upstream URL is now https://rx.cloudhead.io/

willemw commented on 2021-08-20 18:30 (UTC)

Replace 'libx11' with 'libxcursor' and 'xorg-xinput' to build successfully.

Some improvement suggestions: replace 'rust' with 'cargo' and use prepare() and build() from https://wiki.archlinux.org/title/Rust_package_guidelines (and add the necessary "cd" lines). Remove mkdir in package(). Maybe remove 'i686'.

Almindor commented on 2021-08-20 17:57 (UTC)

Updated to v0.5.2 with libx11 and cmake dependency fixes.

willemw commented on 2021-08-20 17:48 (UTC)

cmake is missing from .SRCINFO:

==> Missing dependencies:
  -> cmake
==> ERROR: Could not resolve all dependencies.

cafce25 commented on 2021-04-15 07:52 (UTC) (edited on 2021-04-15 07:53 (UTC) by cafce25)

The compilation depends on libx11 but it's missing in makedepends.

diff --git a/PKGBUILD b/PKGBUILD
index 3e61f28..44e7cb1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc='A modern and extensible pixel editor implemented in rust.'
 arch=(i686 x86_64)
 url='http://cloudhead.io/rx/'
 license=('GPL3')
-makedepends=('clang' 'rust' 'cmake')
+makedepends=('clang' 'rust' 'cmake' 'libx11')
 source=("https://github.com/cloudhead/rx/archive/v${pkgver}.tar.gz")
 sha256sums=('aa7786b000d10d9e3675c9d6505541fbf310c090f3b7215998e1208beda6df55')

Almindor commented on 2020-01-17 22:55 (UTC)

Updated to latest, removing the +stable since Arch's rust install doesn't seem to support it.

Almindor commented on 2020-01-02 15:38 (UTC)

@f0rdprefect which cargo version do you have? cargo --version and rustc --version ?

It builds and works fine for mine, but I'm on latest via rustup.

f0rdprefect commented on 2020-01-02 15:20 (UTC) (edited on 2020-01-02 15:21 (UTC) by f0rdprefect)

provided PKGBUILD does not work ==> retried with +stable removed form the cargo command. Builds and installs, but does not run:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:378:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.