Package Details: hexchat-git 2.16.1.r2.g94efa378-1

Git Clone URL: https://aur.archlinux.org/hexchat-git.git (read-only, click to copy)
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: jvybihal
Last Packager: jvybihal
Votes: 12
Popularity: 0.000000
First Submitted: 2012-07-14 09:24 (UTC)
Last Updated: 2022-03-18 17:25 (UTC)

Latest Comments

TingPing commented on 2018-12-19 19:27 (UTC)

The only dependency I wonder now about is pciutils. Hexchat building docs mention it and they are checked on build. I thought it's required for sysinfo plugin to work, but I tested build without them and plugin still works just fine. Hence pciutils is not included as dependency at all here.

Yes it is required, please re-add it. Removing it still builds but with disabled features: https://github.com/hexchat/hexchat/blob/master/plugins/sysinfo/meson.build#L23-L38

jvybihal commented on 2018-12-19 15:11 (UTC)

I did some deepdiving into what hexchat actually needs, and reverted all that unneccesary changes I made.

The only dependency I wonder now about is pciutils. Hexchat building docs mention it and they are checked on build. I thought it's required for sysinfo plugin to work, but I tested build without them and plugin still works just fine. Hence pciutils is not included as dependency at all here.

Thanks TingPing for stopping me.

jvybihal commented on 2018-12-19 09:49 (UTC)

As noted in commit message, I was just trying to bring it more closer to what the official package looks like. (https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/hexchat)

I had no idea it will bring somewhat heated reaction. My intention is not making the package worse. Thanks for the pointers, I will do my job and inspect dependencies more deeeply and act appropriately.

If there is someone else who feels like they are more competent in maintaining this package, and has the time, I can disown it. I just did not want this to be an orphan, and I made my job little easier by using PKGBUILD style from official package.

TingPing commented on 2018-12-18 15:55 (UTC)

Sorry I noticed you moved iso-codes to optdepends which is probably fine, though I think its overkill personally.

TingPing commented on 2018-12-18 15:52 (UTC)

I have adopted the package and will try to maintain it, because I use it.

Well don't make the package worse...

These deps you added are redundant 'gdk-pixbuf2' 'glib2'

These deps you added are just completely wrong: 'intltool'

You failed to fix the single reason I dropped this: Add 'python-cffi'

'iso-codes' is not a make dep, it is a runtime dep also.

The arch-meson script is dumb and nobody from Arch recommends it AFAIK.

And you just messed with other deps for unknown reasons that are probably wrong or not ideal.

jvybihal commented on 2018-12-17 09:05 (UTC)

I have adopted the package and will try to maintain it, because I use it.

aphirst commented on 2018-12-16 20:20 (UTC)

I think the package "python-cffi" needs to be added as a further (build only?) dependency.

[73/94] Generating python-bindings with a custom command. FAILED: plugins/python/python.c /home/adam/.cache/aurutils/sync/hexchat-git/src/hexchat/plugins/python/generate_plugin.py ../plugins/python/../../src/common/hexchat-plugin.h ../plugins/python/python.py plugins/python/python.c Traceback (most recent call last): File "/home/adam/.cache/aurutils/sync/hexchat-git/src/hexchat/plugins/python/generate_plugin.py", line 4, in <module> import cffi ModuleNotFoundError: No module named 'cffi' [78/94] Compiling C object 'plugins/perl/3d7dfcc@@perl@sha/perl.c.o'. ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

TingPing commented on 2017-08-08 17:28 (UTC)

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

jvybihal commented on 2017-08-08 08:06 (UTC) (edited on 2017-08-08 08:22 (UTC) by jvybihal)

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?

jade1 commented on 2017-07-31 04:36 (UTC)

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

jade1 commented on 2017-07-31 04:17 (UTC)

Build is 100% broken due to switch to Meson.

xsmile commented on 2017-07-27 15:37 (UTC)

HexChat switched to the Meson build system.

TingPing commented on 2016-03-12 03:18 (UTC)

Should be fixed.

CyberShadow commented on 2016-03-12 02:02 (UTC)

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

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

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

jvybihal commented on 2015-05-18 07:27 (UTC)

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.

commented on 2014-04-18 12:28 (UTC)

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

Package now depends on `intltool`.

disastro commented on 2012-10-31 06:32 (UTC)

hexchat.svg file not found