GNU bug report logs -
#40208
[PATCH] gnu: xchat: Add new pkg XChat IRC Client
Previous Next
Reported by: R Veera Kumar <vkor <at> vkten.in>
Date: Tue, 24 Mar 2020 09:35:02 UTC
Severity: normal
Tags: patch, wontfix
Done: Gábor Boskovits <boskovits <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40208 in the body.
You can then email your comments to 40208 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#40208
; Package
guix-patches
.
(Tue, 24 Mar 2020 09:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
R Veera Kumar <vkor <at> vkten.in>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 24 Mar 2020 09:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Add the XChat IRC client for Guix.
As per IRC Chat in #guix drakonis, brendyyn objected to inclusion of this
in guix. They said xchat is old, unmaintained software and no new release
since 2010. Hexchat is new maintained version. Debian 10 stills pkgs it.
Gabor Boskovits told me send in it as wontfix and be put in issue tracker.
Regards,
Veera
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40208
; Package
guix-patches
.
(Tue, 24 Mar 2020 10:22:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 40208 <at> debbugs.gnu.org (full text, mbox):
Add XChat IRC client for X
Signed-off-by: R Veera Kumar <vkor <at> vkten.in>
---
.../xchat-2.8.8-configure-with-gmodule.patch | 29 +++++++++++
.../xchat-2.8.8-glib-single-include.patch | 47 ++++++++++++++++++
gnu/packages/xchat.scm | 49 +++++++++++++++++++
3 files changed, 125 insertions(+)
create mode 100644 gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch
create mode 100644 gnu/packages/patches/xchat-2.8.8-glib-single-include.patch
create mode 100644 gnu/packages/xchat.scm
diff --git a/gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch b/gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch
new file mode 100644
index 0000000000..ee8c347089
--- /dev/null
+++ b/gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch
@@ -0,0 +1,29 @@
+Description: Don't strip -lgmodule-2.0 from RDYNAMIC_LIBS
+Author: R Veera Kumar <vkor <at> vkten.in>
+
+---
+diff -uN a/configure b/configure
+--- a/configure 2020-03-22 07:31:13.869314485 +0530
++++ b/configure 2020-03-22 07:33:25.295563550 +0530
+@@ -18010,7 +18010,7 @@
+ fi
+
+
+- RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
++ RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs`"
+ LIBS="$LIBS $RDYNAMIC_FLAGS"
+ if test "$LD" = ""; then
+ VS="`ld --help | grep version-script 2> /dev/null`"
+diff -uN a/configure.in b/configure.in
+--- a/configure.in 2020-03-22 07:26:51.872539516 +0530
++++ b/configure.in 2020-03-22 07:32:28.192334665 +0530
+@@ -445,8 +445,7 @@
+ if test "$have_dl" = yes; then
+ AC_DEFINE(USE_PLUGIN)
+ AC_PATH_PROG(pkgconfigpath, pkg-config)
+- dnl we just need the -Wl,--export-dynamic, but not -lgmodule-2.0
+- RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
++ RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs`"
+ LIBS="$LIBS $RDYNAMIC_FLAGS"
+ if test "$LD" = ""; then
+ VS="`ld --help | grep version-script 2> /dev/null`"
diff --git a/gnu/packages/patches/xchat-2.8.8-glib-single-include.patch b/gnu/packages/patches/xchat-2.8.8-glib-single-include.patch
new file mode 100644
index 0000000000..e19b3b22e1
--- /dev/null
+++ b/gnu/packages/patches/xchat-2.8.8-glib-single-include.patch
@@ -0,0 +1,47 @@
+--- a/src/common/servlist.c
++++ b/src/common/servlist.c
+@@ -24,7 +24,7 @@
+ #include <unistd.h>
+
+ #include "xchat.h"
+-#include <glib/ghash.h>
++#include <glib.h>
+
+ #include "cfgfiles.h"
+ #include "fe.h"
+--- a/src/common/text.c
++++ b/src/common/text.c
+@@ -28,7 +28,7 @@
+ #include <sys/mman.h>
+
+ #include "xchat.h"
+-#include <glib/ghash.h>
++#include <glib.h>
+ #include "cfgfiles.h"
+ #include "chanopt.h"
+ #include "plugin.h"
+--- a/src/common/util.c
++++ b/src/common/util.c
+@@ -39,7 +39,7 @@
+ #include <errno.h>
+ #include "xchat.h"
+ #include "xchatc.h"
+-#include <glib/gmarkup.h>
++#include <glib.h>
+ #include <ctype.h>
+ #include "util.h"
+ #include "../../config.h"
+--- a/src/common/xchat.h
++++ b/src/common/xchat.h
+@@ -1,10 +1,6 @@
+ #include "../../config.h"
+
+-#include <glib/gslist.h>
+-#include <glib/glist.h>
+-#include <glib/gutils.h>
+-#include <glib/giochannel.h>
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include <time.h> /* need time_t */
+
+ #ifndef XCHAT_H
diff --git a/gnu/packages/xchat.scm b/gnu/packages/xchat.scm
new file mode 100644
index 0000000000..551a8e3ca5
--- /dev/null
+++ b/gnu/packages/xchat.scm
@@ -0,0 +1,49 @@
+(define-module (gnu packages xchat)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages pkg-config))
+
+(define-public xchat
+ (package
+ (name "xchat")
+ (version "2.8.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://xchat.org/files/source/2.8/xchat-"
+ version ".tar.xz"))
+ (sha256
+ (base32 "02riy26ssnvqkbzvlc2lihdwfjh02j6fvl5xbmzy2xjmggcazdrp"))
+ (patches
+ (search-patches
+ "xchat-2.8.8-configure-with-gmodule.patch"
+ "xchat-2.8.8-glib-single-include.patch"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libpng" ,libpng)
+ ("pango" ,pango)
+ ("glib" ,glib)
+ ("atk" , atk)
+ ("gtk+" ,gtk+-2)))
+ (arguments
+ `(#:configure-flags
+ (list
+ "--enable-plugin"
+ "--disable-nls"
+ "--disable-python"
+ "--disable-perl")
+ #:tests? #f))
+ (home-page "http://xchat.org/")
+ (synopsis "Graphical IRC client for X")
+ (description
+ "XChat is a fully-featured graphical IRC client using the GTK+ toolkit.
+It supports multiple server/channel windows, dialog windows and a plugin API.")
+ (license license:gpl2)))
--
2.25.1
Added tag(s) wontfix.
Request was from
Gábor Boskovits <boskovits <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Mar 2020 02:36:49 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
40208 <at> debbugs.gnu.org and R Veera Kumar <vkor <at> vkten.in>
Request was from
Gábor Boskovits <boskovits <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Mar 2020 02:36:49 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40208
; Package
guix-patches
.
(Mon, 30 Mar 2020 02:36:55 GMT)
Full text and
rfc822 format available.
Message #15 received at 40208-done <at> debbugs.gnu.org (full text, mbox):
---------- Forwarded message ---------
Feladó: Gábor Boskovits <boskovits <at> gmail.com>
Date: 2020. márc. 29., V, 14:30
Subject: Closing XChat won't fix
To: <40208-done <at> debbugs.gnu.org>
First of all, thanks for this patch.
As the patch is for inclusion unmaintained software with several known
bugs, this will not be merged.
Nevertheless keeping it in the tracker will help others not to run
into this again.
As this is a working recipe I would vouch for it as a valid and
completed contribution.
Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 27 Apr 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.