mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Move railway; ok landry@
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
SUBDIR += qbirthday
|
||||
SUBDIR += radicale
|
||||
SUBDIR += radicale2
|
||||
SUBDIR += railway
|
||||
SUBDIR += rednotebook
|
||||
SUBDIR += rubrica2
|
||||
SUBDIR += siag
|
||||
|
||||
@@ -77,7 +77,6 @@
|
||||
SUBDIR += power-manager
|
||||
SUBDIR += py-atspi
|
||||
SUBDIR += quadrapassel
|
||||
SUBDIR += railway
|
||||
SUBDIR += seahorse
|
||||
SUBDIR += secrets
|
||||
SUBDIR += session
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
COMMENT= look up travel information for many different railways
|
||||
|
||||
GNOME_PROJECT= railway
|
||||
GNOME_VERSION= 2.7.0
|
||||
DISTFILES= diebahn-${GNOME_VERSION}${EXTRACT_SUFX}{download}
|
||||
WRKDIST= ${WRKDIR}/diebahn-${GNOME_VERSION}
|
||||
SITES= https://gitlab.com/schmiddi-on-mobile/railway/-/package_files/139774320/
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= devel/meson \
|
||||
lang/rust \
|
||||
x11/gnome
|
||||
|
||||
MODGNOME_TOOLS= desktop-file-utils \
|
||||
gtk-update-icon-cache
|
||||
|
||||
LIB_DEPENDS= x11/gnome/libadwaita
|
||||
|
||||
WANTLIB += ${MODRUST_WANTLIB} adwaita-1 gio-2.0 glib-2.0 gobject-2.0
|
||||
WANTLIB += gtk-4 intl m pango-1.0
|
||||
|
||||
# don't rebuild the gettext crate
|
||||
MAKE_ENV= GETTEXT_DIR=${LOCALBASE} \
|
||||
CARGO_BUILD_JOBS=${MAKE_JOBS}
|
||||
|
||||
pre-configure:
|
||||
mkdir -p ${WRKBUILD}/.cargo
|
||||
sed -e 's,directory = .*",directory = "${WRKSRC}/vendor",g' \
|
||||
${WRKSRC}/.cargo/config \
|
||||
>${WRKBUILD}/.cargo/config ${}
|
||||
# patched crate
|
||||
sed -i 's/"files":{[^}]*}/"files":{}/' \
|
||||
${WRKSRC}/vendor/libadwaita/.cargo-checksum.json
|
||||
|
||||
post-install:
|
||||
ln -sf ${TRUEPREFIX}/bin/diebahn ${PREFIX}/bin/railway
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (gnome/diebahn-2.7.0.tar.xz) = 8WTK6v4hTwsfvEIq2Mpj5iCzhCOfvifTSXJGjDuVorQ=
|
||||
SIZE (gnome/diebahn-2.7.0.tar.xz) = 28195344
|
||||
@@ -1,16 +0,0 @@
|
||||
https://gitlab.gnome.org/World/Rust/libadwaita-rs/-/commit/dc129df76c859c3565146d177d426fb5e2a7c8ba
|
||||
|
||||
Index: vendor/libadwaita/src/auto/about_dialog.rs
|
||||
--- vendor/libadwaita/src/auto/about_dialog.rs.orig
|
||||
+++ vendor/libadwaita/src/auto/about_dialog.rs
|
||||
@@ -27,8 +27,8 @@ impl AboutDialog {
|
||||
unsafe { Dialog::from_glib_none(ffi::adw_about_dialog_new()).unsafe_cast() }
|
||||
}
|
||||
|
||||
- #[cfg(target_os = "linux")]
|
||||
- #[cfg_attr(docsrs, doc(cfg(target_os = "linux")))]
|
||||
+ #[cfg(not(target_env = "msvc"))]
|
||||
+ #[cfg_attr(docsrs, doc(cfg(not(target_env = "msvc"))))]
|
||||
#[doc(alias = "adw_about_dialog_new_from_appdata")]
|
||||
#[doc(alias = "new_from_appdata")]
|
||||
pub fn from_appdata(resource_path: &str, release_notes_version: Option<&str>) -> AboutDialog {
|
||||
@@ -1,16 +0,0 @@
|
||||
Railway lets you look up travel information for many different railways,
|
||||
all without needing to navigate through different websites.
|
||||
|
||||
Features:
|
||||
* Search for journeys
|
||||
* View the details of a journey including departure, arrivals, delays, platforms
|
||||
* Adaptive for small screens
|
||||
* Bookmark a search or a journey
|
||||
* Show more information like prices
|
||||
* Many different search profiles, e.g
|
||||
* DB
|
||||
* BB
|
||||
* BART
|
||||
* ... (many more). For a full list of supported profiles, see
|
||||
https://gitlab.com/schmiddi-on-mobile/railway-backend#profiles which is
|
||||
used to query the application data.
|
||||
@@ -1,36 +0,0 @@
|
||||
@bin bin/diebahn
|
||||
bin/railway
|
||||
share/applications/de.schmidhuberj.DieBahn.desktop
|
||||
share/diebahn/
|
||||
share/diebahn/resources.gresource
|
||||
share/glib-2.0/schemas/de.schmidhuberj.DieBahn.gschema.xml
|
||||
share/icons/hicolor/scalable/apps/de.schmidhuberj.DieBahn.svg
|
||||
share/icons/hicolor/symbolic/apps/de.schmidhuberj.DieBahn-symbolic.svg
|
||||
share/locale/ar/LC_MESSAGES/diebahn.mo
|
||||
share/locale/bg/LC_MESSAGES/diebahn.mo
|
||||
share/locale/da/LC_MESSAGES/diebahn.mo
|
||||
share/locale/de/LC_MESSAGES/diebahn.mo
|
||||
share/locale/es/LC_MESSAGES/diebahn.mo
|
||||
share/locale/fi/LC_MESSAGES/diebahn.mo
|
||||
share/locale/fr/LC_MESSAGES/diebahn.mo
|
||||
share/locale/hi/LC_MESSAGES/diebahn.mo
|
||||
share/locale/hr/LC_MESSAGES/diebahn.mo
|
||||
share/locale/hu/LC_MESSAGES/diebahn.mo
|
||||
share/locale/it/LC_MESSAGES/diebahn.mo
|
||||
share/locale/ja/LC_MESSAGES/diebahn.mo
|
||||
share/locale/ko/LC_MESSAGES/diebahn.mo
|
||||
share/locale/nl/LC_MESSAGES/diebahn.mo
|
||||
share/locale/oc/LC_MESSAGES/diebahn.mo
|
||||
share/locale/pl/LC_MESSAGES/diebahn.mo
|
||||
share/locale/pt/LC_MESSAGES/diebahn.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/diebahn.mo
|
||||
share/locale/ro/LC_MESSAGES/diebahn.mo
|
||||
share/locale/ru/LC_MESSAGES/diebahn.mo
|
||||
share/locale/sv/LC_MESSAGES/diebahn.mo
|
||||
share/locale/tr/LC_MESSAGES/diebahn.mo
|
||||
share/locale/uk/LC_MESSAGES/diebahn.mo
|
||||
share/metainfo/de.schmidhuberj.DieBahn.metainfo.xml
|
||||
share/metainfo/resources.gresource.xml
|
||||
@tag glib-compile-schemas
|
||||
@tag update-desktop-database
|
||||
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
||||
Reference in New Issue
Block a user