From 96ebd1cc3f869170cfa6089520a8d3a2405ea8d0 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 5 Oct 2024 08:16:35 +0000 Subject: [PATCH] Move railway; ok landry@ --- productivity/Makefile | 1 + x11/gnome/Makefile | 1 - x11/gnome/railway/Makefile | 40 ------------------- x11/gnome/railway/distinfo | 2 - ...vendor_libadwaita_src_auto_about_dialog_rs | 16 -------- x11/gnome/railway/pkg/DESCR | 16 -------- x11/gnome/railway/pkg/PLIST | 36 ----------------- 7 files changed, 1 insertion(+), 111 deletions(-) delete mode 100644 x11/gnome/railway/Makefile delete mode 100644 x11/gnome/railway/distinfo delete mode 100644 x11/gnome/railway/patches/patch-vendor_libadwaita_src_auto_about_dialog_rs delete mode 100644 x11/gnome/railway/pkg/DESCR delete mode 100644 x11/gnome/railway/pkg/PLIST diff --git a/productivity/Makefile b/productivity/Makefile index 41f2cd23c43..e447247c235 100644 --- a/productivity/Makefile +++ b/productivity/Makefile @@ -40,6 +40,7 @@ SUBDIR += qbirthday SUBDIR += radicale SUBDIR += radicale2 + SUBDIR += railway SUBDIR += rednotebook SUBDIR += rubrica2 SUBDIR += siag diff --git a/x11/gnome/Makefile b/x11/gnome/Makefile index 4031677cf09..a1be738b7bd 100644 --- a/x11/gnome/Makefile +++ b/x11/gnome/Makefile @@ -77,7 +77,6 @@ SUBDIR += power-manager SUBDIR += py-atspi SUBDIR += quadrapassel - SUBDIR += railway SUBDIR += seahorse SUBDIR += secrets SUBDIR += session diff --git a/x11/gnome/railway/Makefile b/x11/gnome/railway/Makefile deleted file mode 100644 index 704f9c87d97..00000000000 --- a/x11/gnome/railway/Makefile +++ /dev/null @@ -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 diff --git a/x11/gnome/railway/distinfo b/x11/gnome/railway/distinfo deleted file mode 100644 index f56fd46ccb8..00000000000 --- a/x11/gnome/railway/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gnome/diebahn-2.7.0.tar.xz) = 8WTK6v4hTwsfvEIq2Mpj5iCzhCOfvifTSXJGjDuVorQ= -SIZE (gnome/diebahn-2.7.0.tar.xz) = 28195344 diff --git a/x11/gnome/railway/patches/patch-vendor_libadwaita_src_auto_about_dialog_rs b/x11/gnome/railway/patches/patch-vendor_libadwaita_src_auto_about_dialog_rs deleted file mode 100644 index c5939c4c20a..00000000000 --- a/x11/gnome/railway/patches/patch-vendor_libadwaita_src_auto_about_dialog_rs +++ /dev/null @@ -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 { diff --git a/x11/gnome/railway/pkg/DESCR b/x11/gnome/railway/pkg/DESCR deleted file mode 100644 index 06531002070..00000000000 --- a/x11/gnome/railway/pkg/DESCR +++ /dev/null @@ -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. diff --git a/x11/gnome/railway/pkg/PLIST b/x11/gnome/railway/pkg/PLIST deleted file mode 100644 index 09aa11d2b81..00000000000 --- a/x11/gnome/railway/pkg/PLIST +++ /dev/null @@ -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