messenger-gtk

Gtk+3 graphical user interfaces for GNUnet Messenger
Log | Files | Refs | Submodules | README | LICENSE

commit ec87b2c03b000ae8a3516c82255e15a3d41c315d
parent 605da456e1de0f44ac2927ac1ba54de0388dc977
Author: TheJackiMonster <thejackimonster@gmail.com>
Date:   Fri, 10 Feb 2023 15:20:26 +0100

Update version and information for the 0.8.0 release

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>

Diffstat:
MChangeLog | 8++++++++
Msnap/snapcraft.yaml | 37++++++++++---------------------------
Msrc/application.h | 2+-
Msrc/ui/messenger.c | 18++++++++++++++++++
4 files changed, 37 insertions(+), 28 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,11 @@ +## Version 0.8.0 +* Fixes multiple segmentation faults and crashes +* Fixes issues regarding changes in header usage from GNUnet 0.19.0 +* Replaces build system finally with Meson increasing platform support +* Dependency on zbar gets replaced with more stable GStreamer pipelines +* Videos and audio files can be played with an embedded media viewer +* Improve general software availability via snap and flatpak packaging + ## Version 0.7.0 * The version iteration will be inherited by cadet-gtk as logical successor. > More information here: https://gitlab.com/gnunet-messenger/cadet-gtk/-/issues/10 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: messenger-gtk -version: 0.7.0 +version: 0.8.0 title: GNUnet Messenger summary: A GTK based GUI for the Messenger service of GNUnet. description: | @@ -90,7 +90,7 @@ parts: - libmicrohttpd12 - libgnutls-dane0 - libunbound8 - source: http://ftpmirror.gnu.org/gnunet/gnunet-0.18.1.tar.gz + source: http://ftpmirror.gnu.org/gnunet/gnunet-0.19.3.tar.gz plugin: autotools autotools-configure-parameters: - --prefix=/usr @@ -100,20 +100,11 @@ parts: build-packages: - build-essential - libc6-dev - source: http://ftpmirror.gnu.org/gnunet/libgnunetchat-0.1.1.tar.gz - plugin: autotools - autotools-configure-parameters: + - check + source: http://ftpmirror.gnu.org/gnunet/libgnunetchat-0.1.3.tar.xz + plugin: meson + meson-parameters: - --prefix=/usr - override-build: | - mkdir -p snap_fix - for f in $(ls $SNAPCRAFT_STAGE/usr/lib | grep libgnunet.*\.la); do - mv $SNAPCRAFT_STAGE/usr/lib/$f snap_fix/$f - done - snapcraftctl build - for f in $(ls snap_fix); do - mv snap_fix/$f $SNAPCRAFT_STAGE/usr/lib/$f - done - rm -r snap_fix messenger-gtk: after: [ gnunet, libgnunetchat ] build-packages: @@ -148,14 +139,7 @@ parts: - libglu1-mesa - freeglut3 - libltdl7 - source: http://ftpmirror.gnu.org/gnunet/messenger-gtk-0.7.0.tar.gz - plugin: make - override-build: | - export LD_LIBRARY_PATH="$SNAPCRAFT_STAGE/usr/lib" - make release - mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/bin" - mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/scalable/apps" - mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/applications" - mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/appdata" - export INSTALL_DIR="$SNAPCRAFT_PART_INSTALL/usr/" - make install -\ No newline at end of file + source: http://ftpmirror.gnu.org/gnunet/messenger-gtk-0.8.0.tar.xz + plugin: meson + meson-parameters: + - --prefix=/usr diff --git a/src/application.h b/src/application.h @@ -56,7 +56,7 @@ "A GTK based GUI for the Messenger service of GNUnet." #define MESSENGER_APPLICATION_TITLE "Messenger" #define MESSENGER_APPLICATION_SUBTITLE "GNUnet" -#define MESSENGER_APPLICATION_VERSION "0.7.0" +#define MESSENGER_APPLICATION_VERSION "0.8.0" typedef enum MESSENGER_ApplicationSignal { diff --git a/src/ui/messenger.c b/src/ui/messenger.c @@ -373,6 +373,14 @@ ui_messenger_init(MESSENGER_Application *app, gtk_builder_get_object(handle->builder, "title_bar") ); + GtkLabel* application_name_label = GTK_LABEL( + gtk_builder_get_object(handle->builder, "application-name-label") + ); + + GtkLabel* application_version_label = GTK_LABEL( + gtk_builder_get_object(handle->builder, "application-version-label") + ); + hdy_header_bar_set_title( handle->title_bar, MESSENGER_APPLICATION_TITLE @@ -383,6 +391,16 @@ ui_messenger_init(MESSENGER_Application *app, MESSENGER_APPLICATION_SUBTITLE ); + gtk_label_set_text( + application_name_label, + MESSENGER_APPLICATION_APPNAME + ); + + gtk_label_set_text( + application_version_label, + MESSENGER_APPLICATION_VERSION + ); + g_object_bind_property( handle->leaflet_chat, "folded",