(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)))