Package Details: hexchat-git 2.12.4.r45.gc6f3fbd1-1

Git Clone URL: https://aur.archlinux.org/hexchat-git.git (read-only)
Package Base: hexchat-git
Description: A GTK+ based IRC client
Upstream URL: https://hexchat.github.io
Keywords: IRC
Licenses: GPL
Conflicts: hexchat, hexchat-lua-git
Provides: hexchat
Replaces: hexchat-lua-git
Submitter: TingPing
Maintainer: TingPing
Last Packager: TingPing
Votes: 10
Popularity: 0.077402
First Submitted: 2012-07-14 09:24
Last Updated: 2017-08-06 14:53

Latest Comments

TingPing commented on 2017-08-08 17:28

@jvybihal You can change the build command to include `-Dwith-python=python2`

jvybihal commented on 2017-08-08 08:06

Guys, build with meson works, thanks for that. However, I have a question, how do I build now with python2 support? In current build python2 plugins do not work.


edit: Got it.

build() {
cd "$_gitname"
sed -i 's/python3/python2/g' meson_options.txt
rm -rf _build
meson _build --prefix=/usr --buildtype=plain
ninja -C _build
}

@TingPing could you please add something like this, commented out, to the PKGBUILD, for us, depending on python2 plugins?

the_lf commented on 2017-07-31 04:36

I fixed this package. Patch for git apply:

---
.gitignore | 4 ++++
PKGBUILD | 23 ++++++++---------------
2 files changed, 12 insertions(+), 15 deletions(-)
create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cb25b3f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+hexchat/
+pkg/
+src/
+*.pkg*
diff --git a/PKGBUILD b/PKGBUILD
index afb9ace..32b7dae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: TingPing tingping@tingping.se

pkgname=hexchat-git
-pkgver=2.12.0.r1295.g823ef32
+pkgver=v2.12.4.r72.gc6f3fbd1
pkgrel=1
pkgdesc='A GTK+ based IRC client'
arch=('i686' 'x86_64' 'armv6h')
@@ -9,9 +9,9 @@ url='https://hexchat.github.io'
license=('GPL')
options=('!libtool')
depends=('gtk2' 'openssl' 'dbus-glib' 'luajit'
- 'libcanberra' 'libnotify' 'libproxy'
+ 'libcanberra' 'libnotify' 'libproxy'
'hicolor-icon-theme' 'desktop-file-utils' 'sound-theme-freedesktop' 'iso-codes')
-makedepends=('intltool' 'git' 'perl' 'python' 'autoconf-archive')
+makedepends=('intltool' 'git' 'perl' 'python' 'autoconf-archive' 'meson')
optdepends=('enchant: for spell check'
'perl: for perl plugin'
'python: for python plugin')
@@ -22,18 +22,10 @@ source=('git://github.com/hexchat/hexchat.git')
md5sums=('SKIP')
_gitname='hexchat'

-prepare() {
- cd "$_gitname"
-
- # Needed for pkgver()
- aclocal
-}
-
pkgver() {
cd "$_gitname"

- # Development releases don't get tags, so pull it from configure.ac
- _ver=`autoconf -t 'AC_INIT:$2'`
+ _ver=`git describe --tags $(git rev-list --tags --max-count=1)`
_rev=`git describe | sed 's/^v[^-]*-/r/; s/-/./'`
echo "$_ver.$_rev"
}
@@ -41,11 +33,12 @@ pkgver() {
build() {
cd "$srcdir/$_gitname"

- ./autogen.sh --prefix=/usr --enable-textfe --enable-python=python3 --disable-debug
- make -s
+ meson --prefix /usr --buildtype=plain builddir
+ ninja -v -C builddir
+ ninja -C builddir test
}

package() {
cd "$srcdir/$_gitname"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C builddir install
}
--
2.13.3

the_lf commented on 2017-07-31 04:17

Build is 100% broken due to switch to Meson.

xsmile commented on 2017-07-27 15:37

HexChat switched to the Meson build system.

TingPing commented on 2016-03-12 03:18

Should be fixed.

CyberShadow commented on 2016-03-12 02:02

configure.ac:18: error: macro AX_APPEND_COMPILE_FLAGS is not defined. Is autoconf-archive installed?
configure.ac:16: HEX_CHECK_MACRO is expanded from...
configure.ac:18: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:

autoconf-archive is installed.

It looks like getting the version via autoconf -t was broken by this commit:

https://github.com/hexchat/hexchat/commit/98b0186feb75112307b0f020d604651dc006dbbc

SoniEx2 commented on 2015-07-17 01:45

> is it possible to enable python2 AND python3 support together?

It is but it requires the use of dlmopen() (which would also fix some bugs) which nobody knows how to use properly.

TingPing commented on 2015-05-18 09:15

>is it possible to enable python2 AND python3 support together?

Nope.

jvybihal commented on 2015-05-18 07:27

Maybe a stupid question, but is it possible to enable python2 AND python3 support together? I am using a plugin, that is python2 only, fishcrypt to be specific (https://github.com/fladd/py-fishcrypt), but I would also like to take advantage of python3 scripts.

Anonymous comment on 2014-04-18 12:28

--enable-python needs to specify python3.4, not just python3, or else the plugin doesn't build.

nperry commented on 2014-01-19 11:14

Package now depends on `intltool`.

disastro commented on 2012-10-31 06:32

hexchat.svg file not found