ripdrag icon indicating copy to clipboard operation
ripdrag copied to clipboard

Arch Linux AUR package

Open Fabillotic opened this issue 2 years ago • 17 comments

I submitted ripdrag as an AUR package and plan on maintaining it in the future.

If anybody has recommendations on how to improve the PKGBUILD please notify me! :)

https://aur.archlinux.org/packages/ripdrag-git

edit: changed to new url

Fabillotic avatar Jul 25 '23 14:07 Fabillotic

Thank you! I added it to the readme 👍 I will leave this issue open in order for other people to help with packaging on arch

nik012003 avatar Jul 25 '23 15:07 nik012003

@Fabillotic the aur package fails to install at the build stage, but if you remove --frozen from the cargo command it will work. I don't know if --frozen is otherwise useful but removing it worked for me

RoryNesbitt avatar Jul 25 '23 16:07 RoryNesbitt

@RoryNesbitt that's weird... Does it work when adding this function to the PKGBUILD?

prepare() {
    cd "$pkgname-$pkgver"
    export RUSTUP_TOOLCHAIN=stable
    cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}

Fabillotic avatar Jul 25 '23 16:07 Fabillotic

Now that it's been installed the regular PKGBUILD works. I'll update later when I'm on my laptop

RoryNesbitt avatar Jul 25 '23 16:07 RoryNesbitt

Seems like an issue with cargo needing to download dependencies

Fabillotic avatar Jul 25 '23 16:07 Fabillotic

yes, I don't have the exact error now but it was to do with installing clap as a dependency

RoryNesbitt avatar Jul 25 '23 16:07 RoryNesbitt

should now work with ripdrag 0.2.1-2

Fabillotic avatar Jul 25 '23 16:07 Fabillotic

tried now that I'm on my laptop and yeah, installed without issue

RoryNesbitt avatar Jul 25 '23 18:07 RoryNesbitt

should now work with ripdrag 0.2.1-2

you should remove ripdrag -V from

check() {
	cd "$pkgname-$pkgver"
	./target/release/ripdrag -V
}

otherwise you cannot update it if not in a graphical environment.

==> Starting check()...

(ripdrag:6189): Gdk-WARNING **: 10:36:42.854: No such backend: *

(ripdrag:6189): Gtk-WARNING **: 10:36:42.854: Failed to open display
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: ripdrag-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ripdrag - exit status 4

@nik012003 issue? or to-do?


$ ripdrag --help

(ripdrag:13276): Gdk-WARNING **: 10:43:05.957: No such backend: *

(ripdrag:13276): Gtk-WARNING **: 10:43:05.957: Failed to open display

pbosab avatar Jul 26 '23 08:07 pbosab

Oops, my bad. Should be an easy fix. Will fix ASAP.

On July 26, 2023 10:47:12 AM GMT+02:00, Marco @.***> wrote:

should now work with ripdrag 0.2.1-2

you should remove ripdrag -V from

check() {
  cd "$pkgname-$pkgver"
  ./target/release/ripdrag -V
}

otherwise you cannot update it if not in a graphical environment.

==> Starting check()...

(ripdrag:6189): Gdk-WARNING **: 10:36:42.854: No such backend: *

(ripdrag:6189): Gtk-WARNING **: 10:36:42.854: Failed to open display
==> ERROR: A failure occurred in check().
   Aborting...
-> error making: ripdrag-exit status 4
-> Failed to install the following packages. Manual intervention is required:
ripdrag - exit status 4

@nik012003 issue? or to-do?


$ ripdrag --help

(ripdrag:13276): Gdk-WARNING **: 10:43:05.957: No such backend: *

(ripdrag:13276): Gtk-WARNING **: 10:43:05.957: Failed to open display

-- Reply to this email directly or view it on GitHub: https://github.com/nik012003/ripdrag/issues/18#issuecomment-1651252178 You are receiving this because you were mentioned.

Message ID: @.***>

nik012003 avatar Jul 26 '23 10:07 nik012003

should now work with ripdrag 0.2.1-2

you should remove ripdrag -V from

check() {
	cd "$pkgname-$pkgver"
	./target/release/ripdrag -V
}

otherwise you cannot update it if not in a graphical environment.

==> Starting check()...

(ripdrag:6189): Gdk-WARNING **: 10:36:42.854: No such backend: *

(ripdrag:6189): Gtk-WARNING **: 10:36:42.854: Failed to open display
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: ripdrag-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ripdrag - exit status 4

@nik012003 issue? or to-do?


$ ripdrag --help

(ripdrag:13276): Gdk-WARNING **: 10:43:05.957: No such backend: *

(ripdrag:13276): Gtk-WARNING **: 10:43:05.957: Failed to open display

Thanks, fixed in v0.3.2

nik012003 avatar Jul 26 '23 10:07 nik012003

Thanks, fixed in v0.3.2

That was fast, thanks.

@Fabillotic so going back to my first reply: removing the ripdrag -V is not needed anymore... anyway i'm not a developer, but i think it's better to make a -git pkgbuild instead of one based on releases in an early development stage, or u'll end up editing it everytime and getting marked out of date everyday.

pbosab avatar Jul 26 '23 11:07 pbosab

Updated to v0.3.2, looking to make -git tracking package instead

Fabillotic avatar Jul 26 '23 11:07 Fabillotic

Important update

The new AUR package is now ripdrag-git instead of ripdrag

I have made a request to merge the old package into the new one. As the name implies, ripdrag-git will now track this Github repository.

Fabillotic avatar Jul 26 '23 12:07 Fabillotic

@pbosab thank's for the advice

Fabillotic avatar Jul 26 '23 12:07 Fabillotic

Please provide a pre- compiled binary.

Deshdeepak1 avatar Sep 07 '23 11:09 Deshdeepak1

Please provide a pre- compiled binary.

Sorry but I agree with @pbosab on this way of packaging. A -git tracking package is more appropriate at this stage of development. It also shouldn't be an issue building the package although it may take some time. If you have any issues building the package, please let me know.

Fabillotic avatar Sep 07 '23 14:09 Fabillotic