Sun Feb 15 17:41:24 2015 UTC ()
Imported chat/hexchat 2.10.2 from pkgsrc-wip
HexChat is an IRC client based on XChat, but unlike XChat it's completely
free for both Windows and Unix-like systems. Since XChat is open source, it's
perfectly legal. HexChat was originally called XChat-WDK which in turn was a
successor of freakschat.
(khorben)
diff -r0 -r1.1 pkgsrc/chat/hexchat/DESCR
diff -r0 -r1.1 pkgsrc/chat/hexchat/Makefile
diff -r0 -r1.1 pkgsrc/chat/hexchat/PLIST
diff -r0 -r1.1 pkgsrc/chat/hexchat/distinfo
diff -r0 -r1.1 pkgsrc/chat/hexchat/options.mk
diff -r0 -r1.1 pkgsrc/chat/hexchat/patches/patch-osx_launcher.sh
diff -r0 -r1.1 pkgsrc/chat/hexchat/patches/patch-plugins_sysinfo_parse.c
diff -r0 -r1.1 pkgsrc/chat/hexchat/patches/patch-plugins_sysinfo_pci.c
diff -r0 -r1.1 pkgsrc/chat/hexchat/patches/patch-plugins_sysinfo_pci.h
HexChat is an IRC client based on XChat, but unlike XChat it's completely
free for both Windows and Unix-like systems. Since XChat is open source, it's
perfectly legal. HexChat was originally called XChat-WDK which in turn was a
successor of freakschat.
# $NetBSD: Makefile,v 1.1 2015/02/15 17:41:24 khorben Exp $
DISTNAME= hexchat-2.10.2
CATEGORIES= chat
MASTER_SITES= http://dl.hexchat.net/hexchat/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hexchat.github.io/
COMMENT= IRC client based on XChat
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= bison gmake intltool msgfmt msgmerge pkg-config xgettext
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= share/pkgconfig/hexchat-plugin.pc.in
.include "options.mk"
CONFIGURE_ARGS+= --enable-textfe
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-xlib
.else
.include "../../x11/libX11/buildlink3.mk"
.endif
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.endif
.include "../../textproc/iso-codes/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2015/02/15 17:41:24 khorben Exp $
${PLIST.gtk2}bin/hexchat
bin/hexchat-text
include/hexchat-plugin.h
lib/hexchat/plugins/checksum.la
lib/hexchat/plugins/doat.la
lib/hexchat/plugins/fishlim.la
${PLIST.perl}lib/hexchat/plugins/perl.la
${PLIST.python}lib/hexchat/plugins/python.la
${PLIST.libpci}lib/hexchat/plugins/sysinfo.la
lib/pkgconfig/hexchat-plugin.pc
man/man1/hexchat.1
${PLIST.gtk2}share/appdata/hexchat.appdata.xml
${PLIST.gtk2}share/applications/hexchat.desktop
${PLIST.dbus}share/dbus-1/services/org.hexchat.service.service
${PLIST.gtk2}share/icons/hicolor/48x48/apps/hexchat.png
${PLIST.gtk2}share/icons/hicolor/scalable/apps/hexchat.svg
share/locale/af/LC_MESSAGES/hexchat.mo
share/locale/am/LC_MESSAGES/hexchat.mo
share/locale/ast/LC_MESSAGES/hexchat.mo
share/locale/az/LC_MESSAGES/hexchat.mo
share/locale/be/LC_MESSAGES/hexchat.mo
share/locale/bg/LC_MESSAGES/hexchat.mo
share/locale/ca/LC_MESSAGES/hexchat.mo
share/locale/cs/LC_MESSAGES/hexchat.mo
share/locale/da/LC_MESSAGES/hexchat.mo
share/locale/de/LC_MESSAGES/hexchat.mo
share/locale/el/LC_MESSAGES/hexchat.mo
share/locale/en_GB/LC_MESSAGES/hexchat.mo
share/locale/es/LC_MESSAGES/hexchat.mo
share/locale/et/LC_MESSAGES/hexchat.mo
share/locale/eu/LC_MESSAGES/hexchat.mo
share/locale/fi/LC_MESSAGES/hexchat.mo
share/locale/fr/LC_MESSAGES/hexchat.mo
share/locale/gl/LC_MESSAGES/hexchat.mo
share/locale/gu/LC_MESSAGES/hexchat.mo
share/locale/hi/LC_MESSAGES/hexchat.mo
share/locale/hu/LC_MESSAGES/hexchat.mo
share/locale/id/LC_MESSAGES/hexchat.mo
share/locale/it/LC_MESSAGES/hexchat.mo
share/locale/ja_JP/LC_MESSAGES/hexchat.mo
share/locale/kn/LC_MESSAGES/hexchat.mo
share/locale/ko/LC_MESSAGES/hexchat.mo
share/locale/lt/LC_MESSAGES/hexchat.mo
share/locale/lv/LC_MESSAGES/hexchat.mo
share/locale/mk/LC_MESSAGES/hexchat.mo
share/locale/ml/LC_MESSAGES/hexchat.mo
share/locale/ms/LC_MESSAGES/hexchat.mo
share/locale/nb/LC_MESSAGES/hexchat.mo
share/locale/nl/LC_MESSAGES/hexchat.mo
share/locale/no/LC_MESSAGES/hexchat.mo
share/locale/pa/LC_MESSAGES/hexchat.mo
share/locale/pl/LC_MESSAGES/hexchat.mo
share/locale/pt/LC_MESSAGES/hexchat.mo
share/locale/pt_BR/LC_MESSAGES/hexchat.mo
share/locale/ru/LC_MESSAGES/hexchat.mo
share/locale/rw/LC_MESSAGES/hexchat.mo
share/locale/sk/LC_MESSAGES/hexchat.mo
share/locale/sl/LC_MESSAGES/hexchat.mo
share/locale/sq/LC_MESSAGES/hexchat.mo
share/locale/sr/LC_MESSAGES/hexchat.mo
share/locale/sr@latin/LC_MESSAGES/hexchat.mo
share/locale/sv/LC_MESSAGES/hexchat.mo
share/locale/th/LC_MESSAGES/hexchat.mo
share/locale/tr/LC_MESSAGES/hexchat.mo
share/locale/uk/LC_MESSAGES/hexchat.mo
share/locale/vi/LC_MESSAGES/hexchat.mo
share/locale/wa/LC_MESSAGES/hexchat.mo
share/locale/zh_CN/LC_MESSAGES/hexchat.mo
share/locale/zh_TW/LC_MESSAGES/hexchat.mo
$NetBSD: distinfo,v 1.1 2015/02/15 17:41:24 khorben Exp $
SHA1 (hexchat-2.10.2.tar.xz) = 3ce831cde92f2f9999a217523d124e5b4cd08333
RMD160 (hexchat-2.10.2.tar.xz) = a37ae7451afa0d93446dba22c38d00d02bc49a6b
Size (hexchat-2.10.2.tar.xz) = 1529732 bytes
SHA1 (patch-osx_launcher.sh) = 7493430921809182898aca2ebb8fd1f493dbd9d3
SHA1 (patch-plugins_sysinfo_parse.c) = f27c7a14e61210e512e433e833e33d6603b49525
SHA1 (patch-plugins_sysinfo_pci.c) = ddea8c85640eae7d05fee4a6cff42b368f462b9f
SHA1 (patch-plugins_sysinfo_pci.h) = 681239a5bf99e7c4d896d3fb1f885b3c6c8d1d7d
# $NetBSD: options.mk,v 1.1 2015/02/15 17:41:24 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hexchat
PKG_SUPPORTED_OPTIONS= dbus gtk2 inet6 libcanberra libnotify libpci libproxy
PKG_SUPPORTED_OPTIONS+= ntlm openssl perl python tests themes xft2
PKG_SUGGESTED_OPTIONS+= gtk2 inet6 libproxy libsexy openssl xft2
PLIST_VARS+= dbus gtk2 libpci perl python
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
PLIST.dbus= yes
.else
CONFIGURE_ARGS+= --disable-dbus
.endif
.if !empty(PKG_OPTIONS:Mgtk2)
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
PLIST.gtk2= yes
.else
CONFIGURE_ARGS+= --disable-gtkfe --disable-gtktest
.endif
.if empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mlibcanberra)
.include "../../audio/libcanberra/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-libcanberra
.endif
.if !empty(PKG_OPTIONS:Mlibnotify)
.include "../../sysutils/libnotify/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-libnotify
.endif
.if !empty(PKG_OPTIONS:Mlibpci)
.include "../../sysutils/pciutils/buildlink3.mk"
.if ${OPSYS} == "NetBSD"
LIBS+= -lpciutils
.else
LIBS+= -lpci
.endif
PLIST.libpci= yes
.endif
.if !empty(PKG_OPTIONS:Mlibproxy)
.include "../../www/libproxy/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-libproxy
.endif
.if !empty(PKG_OPTIONS:Mntlm)
.include "../../devel/libntlm/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ntlm=yes
.else
CONFIGURE_ARGS+= --enable-ntlm=no
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
.include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --enable-openssl=no
.endif
.if !empty(PKG_OPTIONS:Mperl)
.include "../../lang/perl5/buildlink3.mk"
USE_TOOLS+= perl
PLIST.perl= yes
.else
CONFIGURE_ARGS+= --disable-perl
.endif
.if !empty(PKG_OPTIONS:Mpython)
.include "../../lang/python/pyversion.mk"
PLIST.python= yes
.else
CONFIGURE_ARGS+= --enable-python=no
.endif
.if !empty(PKG_OPTIONS:Mlibsexy)
.include "../../devel/libsexy/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mtests)
CONFIGURE_ARGS+= --enable-glibtest
.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+= --enable-gtktest
.endif
.else
CONFIGURE_ARGS+= --disable-glibtest --disable-gtktest
.endif
.if !empty(PKG_OPTIONS:Mthemes)
#BROKEN= The themes option does not build at the moment.
.include "../../devel/monodevelop/buildlink3.mk"
CONFIGURE_ARGS+= --with-theme-manager=on
.endif
.if !empty(PKG_OPTIONS:Mxft2)
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.endif
$NetBSD: patch-osx_launcher.sh,v 1.1 2015/02/15 17:41:24 khorben Exp $
Fix portability failure.
--- osx/launcher.sh.orig 2014-06-01 16:11:26.000000000 +0000
+++ osx/launcher.sh
@@ -64,7 +64,7 @@ if test "$APPLELANGUAGES"; then
fi
#This is a special case, because often the original strings are in US
#English and there is no translation file.
- if test "x$L" == "xen_US"; then
+ if test "x$L" = "xen_US"; then
export LANG=$L
break
fi
@@ -74,7 +74,7 @@ if test "$APPLELANGUAGES"; then
break
fi
#Same thing, but checking for any english variant.
- if test "x${L:0:2}" == "xen"; then
+ if test "x${L:0:2}" = "xen"; then
export LANG=$L
break
fi;
@@ -114,16 +114,16 @@ if test -n $LANG; then
#If the language code matches the applelocale, then that's the message
#locale; otherwise, if it's longer than two characters, then it's
#probably a good message locale and we'll go with it.
- if test $LANG == ${APPLELOCALE:0:5} -o $LANG != ${LANG:0:2}; then
+ if test $LANG = ${APPLELOCALE:0:5} -o $LANG != ${LANG:0:2}; then
export LC_MESSAGES=$LANG
#Next try if the Applelocale is longer than 2 chars and the language
#bit matches $LANG
- elif test $LANG == ${APPLELOCALE:0:2} -a $APPLELOCALE > ${APPLELOCALE:0:2}; then
+ elif test $LANG = ${APPLELOCALE:0:2} -a $APPLELOCALE > ${APPLELOCALE:0:2}; then
export LC_MESSAGES=${APPLELOCALE:0:5}
#Fail. Get a list of the locales in $PREFIX/share/locale that match
#our two letter language code and pick the first one, special casing
#english to set en_US
- elif test $LANG == "en"; then
+ elif test $LANG = "en"; then
export LC_MESSAGES="en_US"
else
LOC=`find $PREFIX/share/locale -name $LANG???`
$NetBSD: patch-plugins_sysinfo_parse.c,v 1.1 2015/02/15 17:41:24 khorben Exp $
Fix header location for pkgsrc.
--- plugins/sysinfo/parse.c.orig 2014-06-01 16:11:26.000000000 +0000
+++ plugins/sysinfo/parse.c
@@ -28,7 +28,7 @@
#include <time.h>
#include <dirent.h>
#include <sys/types.h>
-#include <pci/header.h>
+#include <pciutils/header.h>
#include "pci.h"
#include "match.h"
$NetBSD: patch-plugins_sysinfo_pci.c,v 1.1 2015/02/15 17:41:24 khorben Exp $
Fix header location for pkgsrc.
--- plugins/sysinfo/pci.c.orig 2014-06-01 16:11:26.000000000 +0000
+++ plugins/sysinfo/pci.c
@@ -24,7 +24,7 @@
#include <string.h>
#include <ctype.h>
#include <unistd.h>
-#include <pci/pci.h>
+#include <pciutils/pci.h>
#include "xsys.h"
static struct pci_filter filter; /* Device filter */
$NetBSD: patch-plugins_sysinfo_pci.h,v 1.1 2015/02/15 17:41:24 khorben Exp $
Fix header location for pkgsrc.
--- plugins/sysinfo/pci.h.orig 2014-06-01 16:11:26.000000000 +0000
+++ plugins/sysinfo/pci.h
@@ -21,7 +21,7 @@
#ifndef _PCI_H_
#define _PCI_H_
-#include <pci/pci.h>
+#include <pciutils/pci.h>
void pci_find_fullname(char *fullname, char *vendor, char *device);
int pci_find_by_class(u16 *class, char *vendor, char *device);