diff --git a/deskutils/solanum/Makefile b/deskutils/solanum/Makefile index 39d8a28a10c6..50c1947d6df6 100644 --- a/deskutils/solanum/Makefile +++ b/deskutils/solanum/Makefile @@ -1,133 +1,110 @@ PORTNAME= solanum DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 PORTREVISION= 3 CATEGORIES= deskutils MAINTAINER= jbeich@FreeBSD.org COMMENT= Pomodoro timer for the GNOME desktop LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cargo gettext gnome meson pkgconfig python:build shebangfix -USE_GITHUB= nodefault USE_GITLAB= yes USE_GNOME= gtk40 libadwaita USE_GSTREAMER1= bad good vorbis -GH_TUPLE= gtk-rs:gtk3-rs:c58fab4fec1254244f598c4eac7f9310184c5996:gtk3 \ - gtk-rs:gtk4-rs:64d0e1c1344458a065ccf22dcecf105c55b902ca:gtk4 GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World GL_PROJECT= Solanum GL_COMMIT= 3e69272fb31bf18a7aa74ece9d904d445c458274 -GL_TUPLE= https://gitlab.freedesktop.org:gstreamer:gstreamer-rs:0e8b95f1d029530ad3f84a3f08a20d8dfd80a089:gstreamer \ - bilelmoussaoui:libadwaita-rs:b898c11fb6776fc7a9a6b920222fa3173216a80c:libadwaita SHEBANG_FILES= build-aux/meson/postinstall.py MAKE_ENV= ${CARGO_ENV} GLIB_SCHEMAS= org.gnome.Solanum.gschema.xml CARGO_CRATES= aho-corasick-0.7.15 \ anyhow-1.0.35 \ autocfg-1.0.1 \ bitflags-1.2.1 \ cc-1.0.66 \ cfg-if-1.0.0 \ cmake-0.1.45 \ either-1.6.1 \ field-offset-0.3.2 \ freetype-0.7.0 \ freetype-sys-0.13.1 \ futures-channel-0.3.8 \ futures-core-0.3.8 \ futures-executor-0.3.8 \ futures-io-0.3.8 \ futures-task-0.3.8 \ futures-util-0.3.8 \ gettext-rs-0.4.4 \ gettext-sys-0.19.9 \ gtk-macros-0.2.0 \ heck-0.3.1 \ itertools-0.9.0 \ itertools-0.10.0 \ lazy_static-1.4.0 \ libc-0.2.81 \ locale_config-0.2.3 \ memchr-2.3.4 \ memoffset-0.5.6 \ muldiv-1.0.0 \ num-integer-0.1.44 \ num-rational-0.3.2 \ num-traits-0.2.14 \ once_cell-1.5.2 \ paste-1.0.4 \ pin-project-1.0.2 \ pin-project-internal-1.0.2 \ pin-utils-0.1.0 \ pkg-config-0.3.19 \ pretty-hex-0.2.1 \ proc-macro-crate-0.1.5 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.24 \ quote-1.0.7 \ regex-1.4.2 \ regex-syntax-0.6.21 \ rustc_version-0.2.3 \ semver-0.9.0 \ semver-parser-0.7.0 \ serde-1.0.118 \ slab-0.4.2 \ smallvec-1.5.1 \ strum-0.20.0 \ strum_macros-0.20.1 \ syn-1.0.54 \ system-deps-2.0.2 \ thiserror-1.0.22 \ thiserror-impl-1.0.22 \ thread_local-1.0.1 \ toml-0.5.7 \ unicode-segmentation-1.7.1 \ unicode-xid-0.2.1 \ version-compare-0.0.11 \ version_check-0.9.2 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ - winapi-x86_64-pc-windows-gnu-0.4.0 -CARGO_USE_GITHUB= yes -CARGO_USE_GITLAB= yes -CARGO_GIT_SUBDIR= gstreamer:gstreamer-player:gstreamer-player \ - gstreamer:gstreamer:gstreamer \ - gtk3:cairo-rs:cairo \ - gtk3:cairo-sys-rs:cairo/sys \ - gtk3:gdk-pixbuf-sys:gdk-pixbuf/sys \ - gtk3:gdk-pixbuf:gdk-pixbuf \ - gtk3:gio-sys:gio/sys \ - gtk3:gio:gio \ - gtk3:glib-sys:glib/sys \ - gtk3:glib:glib \ - gtk3:gobject-sys:glib/gobject-sys \ - gtk3:graphene-sys:graphene/sys \ - gtk3:graphene:graphene \ - gtk3:pango-sys:pango/sys \ - gtk3:pango:pango \ - gtk4:gdk-sys:gdk4/sys \ - gtk4:gdk:gdk4 \ - gtk4:gtk-sys:gtk4/sys \ - gtk4:gtk:gtk4 \ - libadwaita:libadwaita:libadwaita + winapi-x86_64-pc-windows-gnu-0.4.0 \ + gdk4,gdk4-sys,gsk4,gsk4-sys,gtk4,gtk4-macros,gtk4-sys@git+https://github.com/gtk-rs/gtk4-rs\#64d0e1c1344458a065ccf22dcecf105c55b902ca \ + gstreamer,gstreamer-base,gstreamer-base-sys,gstreamer-player,gstreamer-player-sys,gstreamer-sys,gstreamer-video,gstreamer-video-sys@git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs\#0e8b95f1d029530ad3f84a3f08a20d8dfd80a089 \ + cairo-rs,cairo-sys-rs,gdk-pixbuf,gdk-pixbuf-sys,gio,gio-sys,glib,glib-macros,glib-sys,gobject-sys,graphene-rs,graphene-sys,pango,pango-sys@git+https://github.com/gtk-rs/gtk3-rs\#c58fab4fec1254244f598c4eac7f9310184c5996 \ + libadwaita,libadwaita-sys@git+https://gitlab.gnome.org/bilelmoussaoui/libadwaita-rs\#b898c11fb6776fc7a9a6b920222fa3173216a80c CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no pre-patch: # Chase gtk-rs -> gtk3-rs rename for USES=cargo patching @${GREP} --include='*/Cargo.toml' -lr 'git.*gtk-rs' ${WRKDIR} | ${XARGS} ${REINPLACE_CMD} \ 's,\(gtk-rs\)/gtk-rs,\1/gtk3-rs,' post-patch: # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e '/cargo/s/ --/&verbose&verbose&/' \ ${WRKSRC}/build-aux/cargo.sh .include diff --git a/deskutils/solanum/files/patch-gtk b/deskutils/solanum/files/patch-gtk deleted file mode 100644 index 42aa2f642dca..000000000000 --- a/deskutils/solanum/files/patch-gtk +++ /dev/null @@ -1,310 +0,0 @@ -https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256581 - ---- ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer-base/sys/Cargo.toml.orig 2021-01-25 11:56:55 UTC -+++ ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer-base/sys/Cargo.toml -@@ -3,12 +3,8 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - - [dependencies.gstreamer-sys] - path = "../../gstreamer/sys" ---- ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer-player/sys/Cargo.toml.orig 2021-01-25 11:56:55 UTC -+++ ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer-player/sys/Cargo.toml -@@ -3,12 +3,8 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - - [dependencies.gstreamer-sys] - path = "../../gstreamer/sys" ---- ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer-video/sys/Cargo.toml.orig 2021-01-25 11:56:55 UTC -+++ ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer-video/sys/Cargo.toml -@@ -3,12 +3,8 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - - [dependencies.gstreamer-base-sys] - path = "../../gstreamer-base/sys" ---- ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer/sys/Cargo.toml.orig 2021-01-25 11:56:55 UTC -+++ ../gstreamer-rs-0e8b95f1d029530ad3f84a3f08a20d8dfd80a089/gstreamer/sys/Cargo.toml -@@ -3,12 +3,8 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - - [dev-dependencies] - shell-words = "1.0.0" ---- ../gtk4-rs-64d0e1c1344458a065ccf22dcecf105c55b902ca/gdk4/sys/Cargo.toml.orig 2021-01-25 20:09:24 UTC -+++ ../gtk4-rs-64d0e1c1344458a065ccf22dcecf105c55b902ca/gdk4/sys/Cargo.toml -@@ -3,24 +3,12 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -- --[dependencies.cairo-sys-rs] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gdk-pixbuf-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gio-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.pango-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -+cairo-sys-rs = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gdk-pixbuf-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gio-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+pango-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - - [dev-dependencies] - shell-words = "1.0.0" ---- ../gtk4-rs-64d0e1c1344458a065ccf22dcecf105c55b902ca/gsk4/sys/Cargo.toml.orig 2021-01-25 20:09:24 UTC -+++ ../gtk4-rs-64d0e1c1344458a065ccf22dcecf105c55b902ca/gsk4/sys/Cargo.toml -@@ -3,24 +3,14 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -+cairo-sys-rs = { git = "https://github.com/gtk-rs/gtk3-rs" } -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+graphene-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+pango-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - --[dependencies.cairo-sys-rs] --git = "https://github.com/gtk-rs/gtk3-rs" -- - [dependencies.gdk4-sys] - path = "../../gdk4/sys" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.graphene-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.pango-sys] --git = "https://github.com/gtk-rs/gtk3-rs" - - [dev-dependencies] - shell-words = "1.0.0" ---- ../gtk4-rs-64d0e1c1344458a065ccf22dcecf105c55b902ca/gtk4/sys/Cargo.toml.orig 2021-01-25 20:09:24 UTC -+++ ../gtk4-rs-64d0e1c1344458a065ccf22dcecf105c55b902ca/gtk4/sys/Cargo.toml -@@ -3,33 +3,19 @@ system-deps = "2.0" - - [dependencies] - libc = "0.2" -+cairo-sys-rs = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gdk-pixbuf-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gio-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+graphene-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+pango-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } - --[dependencies.cairo-sys-rs] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gdk-pixbuf-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- - [dependencies.gdk4-sys] - path = "../../gdk4/sys" - --[dependencies.gio-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.graphene-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- - [dependencies.gsk4-sys] - path = "../../gsk4/sys" -- --[dependencies.pango-sys] --git = "https://github.com/gtk-rs/gtk3-rs" - - [dev-dependencies] - shell-words = "1.0.0" ---- ../libadwaita-rs-b898c11fb6776fc7a9a6b920222fa3173216a80c/libadwaita/Cargo.toml.orig 2021-01-15 00:37:53 UTC -+++ ../libadwaita-rs-b898c11fb6776fc7a9a6b920222fa3173216a80c/libadwaita/Cargo.toml -@@ -8,28 +8,15 @@ edition = "2018" - libc = '0.2' - bitflags = '1.2' - lazy_static = '1.4' -+glib = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gio = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gdk-pixbuf = { git = "https://github.com/gtk-rs/gtk3-rs" } -+pango = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gdk = { package = "gdk4", git = "https://github.com/gtk-rs/gtk4-rs" } -+gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs" } -+ - [lib] - name = "libadwaita" -- --[dependencies.glib] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gio] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gdk-pixbuf] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.pango] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gdk] --package = "gdk4" --git = "https://github.com/gtk-rs/gtk4-rs" -- --[dependencies.gtk] --package = "gtk4" --git = "https://github.com/gtk-rs/gtk4-rs" - - [dependencies.ffi] - package = "libadwaita-sys" ---- ../libadwaita-rs-b898c11fb6776fc7a9a6b920222fa3173216a80c/libadwaita/sys/Cargo.toml.orig 2021-01-15 00:37:53 UTC -+++ ../libadwaita-rs-b898c11fb6776fc7a9a6b920222fa3173216a80c/libadwaita/sys/Cargo.toml -@@ -16,29 +16,13 @@ name = "libadwaita_sys" - - [dependencies] - libc = "0.2" -- --[dependencies.gio-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gdk-pixbuf-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.pango-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gtk-sys] --package = "gtk4-sys" --git = "https://github.com/gtk-rs/gtk4-rs" -- --[dependencies.gdk-sys] --package = "gdk4-sys" --git = "https://github.com/gtk-rs/gtk4-rs" -+gio-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gdk-pixbuf-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+pango-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gtk-sys = { package = "gtk4-sys", git = "https://github.com/gtk-rs/gtk4-rs" } -+gdk-sys = { package = "gdk4-sys", git = "https://github.com/gtk-rs/gtk4-rs" } - - [build-dependencies] - system-deps = "2.0" ---- Cargo.toml.orig 2021-02-08 23:38:19 UTC -+++ Cargo.toml -@@ -7,42 +7,17 @@ edition = "2018" - once_cell = "1.4.0" - regex = "1.3.4" - gtk-macros = "0.2.0" -+gtk = { package ="gtk4", git = "https://github.com/gtk-rs/gtk4-rs" } -+gobject-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+glib-sys = { git = "https://github.com/gtk-rs/gtk3-rs" } -+gdk = { package = "gdk4", git = "https://github.com/gtk-rs/gtk4-rs" } -+gio = { git = "https://github.com/gtk-rs/gtk3-rs", features = ["v2_60"] } -+glib = { git = "https://github.com/gtk-rs/gtk3-rs", features = ["v2_60"] } -+gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } -+gstreamer-player = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } -+libadwaita = { git = "https://gitlab.gnome.org/bilelmoussaoui/libadwaita-rs" } -+pango = { git = "https://github.com/gtk-rs/gtk3-rs", features = ["v1_44"] } - --[dependencies.gtk] --git = "https://github.com/gtk-rs/gtk4-rs" --package ="gtk4" -- --[dependencies.gobject-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.glib-sys] --git = "https://github.com/gtk-rs/gtk3-rs" -- --[dependencies.gdk] --git = "https://github.com/gtk-rs/gtk4-rs" --package = "gdk4" -- --[dependencies.gio] --git = "https://github.com/gtk-rs/gtk3-rs" --features = ["v2_60"] -- --[dependencies.glib] --git = "https://github.com/gtk-rs/gtk3-rs" --features = ["v2_60"] -- --[dependencies.gstreamer] --git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -- --[dependencies.gstreamer-player] --git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -- - [dependencies.gettext-rs] - version = "0.4.4" - features = ["gettext-system"] -- --[dependencies.libadwaita] --git = "https://gitlab.gnome.org/bilelmoussaoui/libadwaita-rs" -- --[dependencies.pango] --git = "https://github.com/gtk-rs/gtk3-rs" --features = ["v1_44"]