Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bd692399ba71dca288376f1c5a7ca350c444dcb9)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bd692399ba71dca288376f1c5a7ca350c444dcb9)
  • Date: Sun, 9 Apr 2017 02:57:43 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

chat-irc/hexchat/CONFIGURE | 4 +++-
chat-irc/hexchat/HISTORY | 6 ++++++
chat-irc/hexchat/PRE_BUILD | 4 ++++
chat-irc/hexchat/no-mono.patch | 28 ++++++++++++++++++++++++++++
4 files changed, 41 insertions(+), 1 deletion(-)

New commits:
commit bd692399ba71dca288376f1c5a7ca350c444dcb9
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

hexchat: added optional patch to drop monospace font forcing

diff --git a/chat-irc/hexchat/CONFIGURE b/chat-irc/hexchat/CONFIGURE
index cd4bb39..31c0e9d 100755
--- a/chat-irc/hexchat/CONFIGURE
+++ b/chat-irc/hexchat/CONFIGURE
@@ -39,4 +39,6 @@ else
list_add HEXCHAT_OPTS '--disable-doat' &&
list_add HEXCHAT_OPTS '--disable-fishlim' &&
list_add HEXCHAT_OPTS '--disable-sysinfo'
-fi
+fi &&
+
+config_query HEXCHAT_NO_MONO "Apply patch to prevent from forcing monospace
fonts (useful for pixel font users)?" n
diff --git a/chat-irc/hexchat/HISTORY b/chat-irc/hexchat/HISTORY
index 5885deb..43a61ca 100644
--- a/chat-irc/hexchat/HISTORY
+++ b/chat-irc/hexchat/HISTORY
@@ -1,3 +1,9 @@
+2017-04-08 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFIGURE: added no mono option
+ * PRE_BUILD: apply patch
+ * no-mono.patch: added, to drop optional forcing of monospace fonts
+ for channel mode buttons
+
2016-12-30 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.12.4
* DEPENDS: added autoconf-archive
diff --git a/chat-irc/hexchat/PRE_BUILD b/chat-irc/hexchat/PRE_BUILD
index 8209ed0..69b6cee 100755
--- a/chat-irc/hexchat/PRE_BUILD
+++ b/chat-irc/hexchat/PRE_BUILD
@@ -5,4 +5,8 @@ if is_depends_enabled $SPELL $(get_spell_provider $SPELL SSL)
&& [[ $(get_spell_
patch -p0 < "$SPELL_DIRECTORY/libressl.patch"
fi &&

+if [[ $HEXCHAT_NO_MONO == y ]]; then
+ patch -p0 < "$SPELL_DIRECTORY/no-mono.patch"
+fi &&
+
autoreconf -fi
diff --git a/chat-irc/hexchat/no-mono.patch b/chat-irc/hexchat/no-mono.patch
new file mode 100644
index 0000000..9f13417
--- /dev/null
+++ b/chat-irc/hexchat/no-mono.patch
@@ -0,0 +1,28 @@
+Addresses: https://github.com/hexchat/hexchat/issues/1990
+--- src/fe-gtk/maingui.c.orig 2016-11-11 19:20:35.000000000 -0500
++++ src/fe-gtk/maingui.c 2017-04-08 22:52:19.421637506 -0400
+@@ -1965,17 +1965,16 @@
+ static GtkWidget *
+ mg_create_flagbutton (char *tip, GtkWidget *box, char *face)
+ {
+- GtkWidget *btn, *lbl;
+- char label_markup[16];
++ GtkWidget *btn, *lbl_tst;
++ GtkRequisition req;
+
+- g_snprintf (label_markup, sizeof(label_markup), "<tt>%s</tt>", face);
+- lbl = gtk_label_new (NULL);
+- gtk_label_set_markup (GTK_LABEL(lbl), label_markup);
++ lbl_tst = gtk_label_new("W");
++ gtk_widget_size_request(lbl_tst, &req);
++ gtk_widget_destroy (lbl_tst);
+
+- btn = gtk_toggle_button_new ();
+- gtk_widget_set_size_request (btn, -1, 0);
++ btn = gtk_toggle_button_new_with_label (face);
++ gtk_widget_set_size_request (btn, req.width + 10, 0);
+ gtk_widget_set_tooltip_text (btn, tip);
+- gtk_container_add (GTK_CONTAINER(btn), lbl);
+
+ gtk_box_pack_start (GTK_BOX (box), btn, 0, 0, 0);
+ g_signal_connect (G_OBJECT (btn), "toggled",



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bd692399ba71dca288376f1c5a7ca350c444dcb9), Vlad Glagolev, 04/08/2017

Archive powered by MHonArc 2.6.24.

Top of Page