Keruspe / GPaste

Clipboard management system
BSD 2-Clause "Simplified" License
756 stars 54 forks source link

Updates for GNOME 43 #403

Closed jtojnar closed 1 year ago

jtojnar commented 1 year ago

Want to run GPaste with GNOME 43.beta.

Keruspe commented 1 year ago

Thanks a lot, will give it a look asap

MrTomRod commented 1 year ago

I managed to build this on Fedora 37, and it works!

git clone https://github.com/jtojnar/GPaste.git && cd GPaste
git checkout gnome-43
mkdir builddir && cd builddir
meson ..
ninja
sudo ninja install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Dependencies:

sudo dnf install gettext-devel libtool gobject-introspection vala-devel gtk2-devel gtk3-devel gtk3 gobject-introspection-devel mutter mutter-devel gjs gjs-devel glib glib2 glibc libappstream-glib docbook-utils gettext-devel glib-devel gobject-introspection-devel gperf gtk-doc gtk3-devel json-glib-devel libarchive-devel libsoup-devel libstemmer-devel libuuid-devel libyaml-devel meson rpm-devel appstream appstream-devel libappstream-glib libappstream-glib-devel appstream-qt-devel gcr-devel gtk4-devel libadwaita-devel
jtojnar commented 1 year ago

@Keruspe GNOME 43.rc was released over the weekend and the final release is coming on September 17. Ideally, we would release a new GPaste version by then.

Keruspe commented 1 year ago

@jtojnar Yes, sorry it's taking this long, I'm missing a gnome43 testing env right now.

I also have a lot of other changes that sadly still won't make it for this release :(

Keruspe commented 1 year ago

Changes LGTM though, thanks, let's get this in already

Keruspe commented 1 year ago

Sorry for the delay, I reverted the gcr bump as it won't go stable this cycle, will bring it back soon though. 43.0 is now released (alongside other releases for older gnome versions), 43.1 will probably follow, hopefully early October

jtojnar commented 1 year ago

@Keruspe would you accept a patch for a meson option to support both? We and other “progressive” distros are already targetting gcr 4?

Keruspe commented 1 year ago

Sure, and I'd make sure to include that in 43.1

jtojnar commented 1 year ago

Okay, will try to open a PR later. By the way, did you notice any performance drop after updating to GNOME 43? I am suspecting GLib 2.74.0 bump made the app unusable with a larger history (https://github.com/Keruspe/GPaste/issues/408), though I still need to rebuild against an older GLib version to know for sure.

jtojnar commented 1 year ago

Okay, opened https://github.com/Keruspe/GPaste/pull/409.

Keruspe commented 1 year ago

Okay, will try to open a PR later. By the way, did you notice any performance drop after updating to GNOME 43? I am suspecting GLib 2.74.0 bump made the app unusable with a larger history (#408), though I still need to rebuild against an older GLib version to know for sure.

Haven't fully switched yet but seems related with the search feature, I have ideas to probably fix that