pkgsrc/chat/xchat/Makefile

57 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.67 2010/06/13 22:43:59 wiz Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME}pl1
PKGREVISION= 4
2008-05-25 22:49:39 +02:00
OWNER= tron@NetBSD.org
COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
CONFLICTS= xchat-gnome-[0-9]*
USE_TOOLS+= msgfmt
USE_PKGLOCALEDIR= YES
GCONF_SCHEMAS= apps_xchat_url_handler.schemas
CONFIGURE_ARGS+= --enable-tcl=no
CONFIGURE_ARGS+= --disable-perl
CONFIGURE_ARGS+= --disable-python
LDFLAGS.IRIX+= -lX11
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.20.0
.include "../../x11/gtk2/buildlink3.mk"
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= YES
2007-05-26 01:08:57 +02:00
.if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
LDFLAGS.Darwin+= -L${PREFIX}/lib -lX11
.else
CONFIGURE_ARGS+= --disable-xlib
.endif
.endif
Update xchat to 2.8.0. Okayed by maintainer. Adds a "cs" locale file. And adds system tray notification support. (Maybe the xchat-systray-integration package is not needed now?) Note I never tested the python plugin (but did build and install). Added two patches direct from xchat's FTP site. Configure with --enable-xft. (Hopefully that is okay with quark on Mac OS). Now depends on gtk2+>=2.10.0. Install a couple documentation files. Use INSTALLATION_DIRS to create the plugins directory. ChangeLog hs: - Updated translations (cs, de, gl, hu). - XChat now requires at least GTK+ 2.10. - Added a system tray icon (aka Notification Area). This is probably the biggest feature addition in this series. Also added a /TRAY command so scripts can manipulate the icon. - Added partial support for numeric 005 token ELIST (min users only). - Brand new channel list window: GtkTreeView, nicer layout, less CPU power when downloading very large list, uses less memory, supports regexp/ patternmatch/substring search and supports downloading LIST with minusers to save time (only on some networks that support ELIST). - Overhauled URL opening on Unix, it now tries xdg-open first, then auto- detects Gnome or KDE to run gnome-open or kfmclient. URLs with quotes should also work now (changed to execv()). - Settings: Warn the user when trying to put the tree on the top/bottom. - Fixed DCC ack reading so it doesn't use MSG_PEEK. - Channel modes are no longer shown in the titlebar if they contain a key. - Added /GUI APPLY command, which does that same as pressing OK in the settings window (e.g use it after /set). Mainly for scripters. - Allow changing the logging folder if the log filename is set to a full path in the settings window (starts with a '/'). - Added 'Your Action' text event. - Separated out /away and /back commands so it's obvious what they'll do. - Changes to /MENU command (See plugin20.html for details): * Now works for popup menus too. * Allows creation of radio menu items. * -p arg can now to be negative to give a position offset from right/bottom. * -i arg to specify an icon file. - Plugin API: * Added event_text to xchat_get_info(). - Perl (Lian Wan Situ) * Fixed hook_command so that it won't override the help message for builtin commands unless a help message was specified. * Perl Win32: Warn the user about trying to load 64-bit ActivePerl.
2007-01-25 22:27:48 +01:00
INSTALLATION_DIRS+= share/doc/xchat lib/xchat/plugins
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xchat/
${INSTALL_DATA} ${WRKSRC}/faq.html ${DESTDIR}${PREFIX}/share/doc/xchat/
Update xchat to 2.8.0. Okayed by maintainer. Adds a "cs" locale file. And adds system tray notification support. (Maybe the xchat-systray-integration package is not needed now?) Note I never tested the python plugin (but did build and install). Added two patches direct from xchat's FTP site. Configure with --enable-xft. (Hopefully that is okay with quark on Mac OS). Now depends on gtk2+>=2.10.0. Install a couple documentation files. Use INSTALLATION_DIRS to create the plugins directory. ChangeLog hs: - Updated translations (cs, de, gl, hu). - XChat now requires at least GTK+ 2.10. - Added a system tray icon (aka Notification Area). This is probably the biggest feature addition in this series. Also added a /TRAY command so scripts can manipulate the icon. - Added partial support for numeric 005 token ELIST (min users only). - Brand new channel list window: GtkTreeView, nicer layout, less CPU power when downloading very large list, uses less memory, supports regexp/ patternmatch/substring search and supports downloading LIST with minusers to save time (only on some networks that support ELIST). - Overhauled URL opening on Unix, it now tries xdg-open first, then auto- detects Gnome or KDE to run gnome-open or kfmclient. URLs with quotes should also work now (changed to execv()). - Settings: Warn the user when trying to put the tree on the top/bottom. - Fixed DCC ack reading so it doesn't use MSG_PEEK. - Channel modes are no longer shown in the titlebar if they contain a key. - Added /GUI APPLY command, which does that same as pressing OK in the settings window (e.g use it after /set). Mainly for scripters. - Allow changing the logging folder if the log filename is set to a full path in the settings window (starts with a '/'). - Added 'Your Action' text event. - Separated out /away and /back commands so it's obvious what they'll do. - Changes to /MENU command (See plugin20.html for details): * Now works for popup menus too. * Allows creation of radio menu items. * -p arg can now to be negative to give a position offset from right/bottom. * -i arg to specify an icon file. - Plugin API: * Added event_text to xchat_get_info(). - Perl (Lian Wan Situ) * Fixed hook_command so that it won't override the help message for builtin commands unless a help message was specified. * Perl Win32: Warn the user about trying to load 64-bit ActivePerl.
2007-01-25 22:27:48 +01:00
${INSTALL_DATA} ${WRKSRC}/plugins/plugin20.html \
${DESTDIR}${PREFIX}/share/doc/xchat/
.if !empty(PKG_OPTIONS:Mgnome)
${INSTALL_DATA_DIR} ${DESTDIR}${GCONF_SCHEMAS_DIR}
# In case there're ever additional schema files, use ODE loop.
${GCONF_SCHEMAS:@.s.@${INSTALL_DATA} ${WRKSRC}/src/common/dbus/${.s.} \
${DESTDIR}${GCONF_SCHEMAS_DIR}/@}
.endif
.include "../../mk/bsd.pkg.mk"