Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux AUR package #18

Open
Fabillotic opened this issue Jul 25, 2023 · 17 comments
Open

Arch Linux AUR package #18

Fabillotic opened this issue Jul 25, 2023 · 17 comments

Comments

@Fabillotic
Copy link
Contributor

Fabillotic commented Jul 25, 2023

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

@nik012003
Copy link
Owner

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

@RoryNesbitt
Copy link

RoryNesbitt commented Jul 25, 2023

@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

@Fabillotic
Copy link
Contributor Author

Fabillotic commented Jul 25, 2023

@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"
}

@RoryNesbitt
Copy link

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

@Fabillotic
Copy link
Contributor Author

Seems like an issue with cargo needing to download dependencies

@RoryNesbitt
Copy link

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

@Fabillotic
Copy link
Contributor Author

should now work with ripdrag 0.2.1-2

@RoryNesbitt
Copy link

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

@pbosab
Copy link

pbosab commented Jul 26, 2023

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

@nik012003
Copy link
Owner

nik012003 commented Jul 26, 2023 via email

@nik012003
Copy link
Owner

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

@pbosab
Copy link

pbosab commented Jul 26, 2023

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.

@Fabillotic
Copy link
Contributor Author

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

@Fabillotic
Copy link
Contributor Author

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
Copy link
Contributor Author

@pbosab thank's for the advice

@Deshdeepak1
Copy link

Please provide a pre- compiled binary.

@Fabillotic
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants