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

New package: railway-2.2.0 #47993

Closed
wants to merge 1 commit into from
Closed

Conversation

Eloitor
Copy link
Contributor

@Eloitor Eloitor commented Dec 30, 2023

Testing the changes

  • I tested the changes in this PR: NO

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

I get this error, which I do not know how to solve:

error[E0583]: file not found for module `config`

@icp1994
Copy link
Contributor

icp1994 commented Dec 31, 2023

meson is supposed to create that file from config.rs.in using the meson.build file.

@classabbyamp classabbyamp added the new-package This PR adds a new package label Jan 1, 2024
@Eloitor
Copy link
Contributor Author

Eloitor commented Jan 1, 2024

Thanks I was able to build it.

  • Should I change the binary name to railway? It is currently diebahn, but the program is called railway.
  • When I run it I get
$ diebahn
zsh: IOT instruction  diebahn

@chrysos349
Copy link
Contributor

# Template file for 'railway'
pkgname=railway
version=2.2.0
revision=1
build_style=meson
build_helper=rust
hostmakedepends="cargo desktop-file-utils gettext glib-devel
 gtk-update-icon-cache pkg-config"
makedepends="libadwaita-devel rust-std"
short_desc="Travel with all your train information in one place"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/schmiddi-on-mobile/railway"
distfiles="https://gitlab.com/schmiddi-on-mobile/railway/-/archive/${version}/railway-${version}.tar.gz"
checksum=ed28cbfc8c2fa73187f85b2ba941e63226bb2adce8255448e50ff6fcf25333f4

post_patch() {
	if [ "$CROSS_BUILD" ]; then
		vsed -i src/meson.build \
			-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
	fi
}

@Eloitor Eloitor changed the title [WIP] New package: railway-2.2.0 New package: railway-2.2.0 Jan 3, 2024
@Eloitor
Copy link
Contributor Author

Eloitor commented Jan 3, 2024

Thank you!

Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added Stale and removed Stale labels Jun 26, 2024
Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Sep 25, 2024
@github-actions github-actions bot closed this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants