Package Details: hexchat-git 2.14.2.r25.g308838da-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: jvybihal
Last Packager: jvybihal
Votes: 11
Popularity: 0.000005
First Submitted: 2012-07-14 09:24
Last Updated: 2019-11-05 09:26

Latest Comments

1 2 Next › Last »

TingPing commented on 2018-12-19 19:27

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

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

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

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

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

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

aphirst commented on 2018-12-16 20:20

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

@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