From 706f9bca82d463f6f1bd17d5dc609807e4a1e8a9 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sat, 2 Sep 2017 17:52:25 -0400 Subject: python: Rewrite with CFFI --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 9d2ae05b..17e73795 100644 --- a/meson.build +++ b/meson.build @@ -49,6 +49,10 @@ config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_34') config_h.set('HAVE_MEMRCHR', cc.has_function('memrchr')) config_h.set('HAVE_STRINGS_H', cc.has_header('strings.h')) +config_h.set_quoted('HEXCHATLIBDIR', + join_paths(get_option('prefix'), get_option('libdir'), 'hexchat/plugins') +) + if libssl_dep.found() config_h.set('HAVE_X509_GET_SIGNATURE_NID', cc.has_function('X509_get_signature_nid', dependencies: libssl_dep) -- cgit 1.4.1 From eeada79a64b7188f2f820cd45328cf2daa20f9e2 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 20 Dec 2019 22:24:30 -0800 Subject: build: Fix some meson warnings --- meson.build | 2 -- src/fe-gtk/meson.build | 9 +++------ 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 17e73795..2c849482 100644 --- a/meson.build +++ b/meson.build @@ -91,8 +91,6 @@ endif global_cflags = [] test_cflags = [ - '-pipe', - '-fPIE', '-funsigned-char', '-Wno-conversion', '-Wno-pointer-sign', diff --git a/src/fe-gtk/meson.build b/src/fe-gtk/meson.build index f11580bb..1fe741ee 100644 --- a/src/fe-gtk/meson.build +++ b/src/fe-gtk/meson.build @@ -39,13 +39,9 @@ if gtk_dep.get_pkgconfig_variable('target') == 'x11' hexchat_gtk_deps += dependency('x11') endif -hexchat_gtk_cflags = [ - '-fPIE' -] +hexchat_gtk_cflags = [] -hexchat_gtk_ldflags = [ - '-pie' -] +hexchat_gtk_ldflags = [] if get_option('with-libnotify') hexchat_gtk_sources += 'notifications/notification-libnotify.c' @@ -89,6 +85,7 @@ executable('hexchat', dependencies: hexchat_gtk_deps, c_args: hexchat_gtk_cflags, link_args: hexchat_gtk_ldflags, + pie: true, install: true, gui_app: true, ) -- cgit 1.4.1 From bfd6eea98f16a5f2bcea19e01cc372ea576b7db0 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 20 Dec 2019 22:38:06 -0800 Subject: Bump version to 2.14.3 --- data/misc/io.github.Hexchat.appdata.xml.in | 13 +++++++++++++ meson.build | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/data/misc/io.github.Hexchat.appdata.xml.in b/data/misc/io.github.Hexchat.appdata.xml.in index 97eec2f7..06319527 100644 --- a/data/misc/io.github.Hexchat.appdata.xml.in +++ b/data/misc/io.github.Hexchat.appdata.xml.in @@ -26,6 +26,19 @@ hexchat.desktop + + +

This is a bug-fix release:

+
    +
  • Fix various incorrect parsing of IRC messages relating to trailing parameters
  • +
  • Fix SASL negotiation combined with multi-line cap
  • +
  • Fix input box theming with Yaru theme
  • +
  • python: Work around Python 3.7 regression causing crash on unload
  • +
  • sysinfo: Add support for /etc/os-release
  • +
  • sysinfo: Ignore irrelevant mounts when calculating storage size
  • +
+
+

This is a minor release:

diff --git a/meson.build b/meson.build index 2c849482..645e685e 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('hexchat', 'c', - version: '2.14.2', + version: '2.14.3', meson_version: '>= 0.40.0', default_options: [ 'c_std=gnu89', -- cgit 1.4.1 From c2cdf0d2a1296eaa75d99246628277a8180bb2ce Mon Sep 17 00:00:00 2001 From: delthas Date: Sun, 19 Apr 2020 23:59:26 +0200 Subject: win32: Disable ASLR for Windows debug builds GDB is usually able to debug executables with ASLR by temporarily disabling ASLR when running that executable. This is only supported on Linux. On Windows, GDB cannot debug ASLR executables. This removes the dynamicbase linker flag on Windows for debug builds in order to be able to debug that executable later. Hardening an executable with ASLR is important for release builds, but for debug builds being able to debug is much more important. --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 645e685e..9b33574b 100644 --- a/meson.build +++ b/meson.build @@ -134,9 +134,11 @@ test_ldflags = [ '-Wl,-z,relro', '-Wl,-z,now', # mingw - '-Wl,--dynamicbase', '-Wl,--nxcompat', ] +if not (host_machine.system() == 'windows' and get_option('debug')) + test_ldflags += '-Wl,--dynamicbase' +endif foreach ldflag : test_ldflags if meson.version().version_compare('>= 0.46.0') has_arg = cc.has_link_argument(ldflag) -- cgit 1.4.1