diff options
author | Ben de Groot <yngwin@gentoo.org> | 2012-08-25 14:34:49 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2012-08-25 14:34:49 +0000 |
commit | f0575f6b1d21ea7fe48d5e774cc26892dda0941e (patch) | |
tree | 423de1c8dc4b3764c2e698c428b81656308fd886 /net-irc/hexchat | |
parent | added ~ppc-macos (bug #432692) (diff) | |
download | historical-f0575f6b1d21ea7fe48d5e774cc26892dda0941e.tar.gz historical-f0575f6b1d21ea7fe48d5e774cc26892dda0941e.tar.bz2 historical-f0575f6b1d21ea7fe48d5e774cc26892dda0941e.zip |
Initial commit. User submitted ebuild from bug #428296.
Package-Manager: portage-2.2.0_alpha122/cvs/Linux x86_64
Diffstat (limited to 'net-irc/hexchat')
-rw-r--r-- | net-irc/hexchat/ChangeLog | 10 | ||||
-rw-r--r-- | net-irc/hexchat/Manifest | 6 | ||||
-rw-r--r-- | net-irc/hexchat/files/hexchat-2.8.8-cflags.patch | 17 | ||||
-rw-r--r-- | net-irc/hexchat/files/hexchat-2.9.1-input-box.patch | 31 | ||||
-rw-r--r-- | net-irc/hexchat/hexchat-2.9.1.ebuild | 96 | ||||
-rw-r--r-- | net-irc/hexchat/metadata.xml | 13 |
6 files changed, 173 insertions, 0 deletions
diff --git a/net-irc/hexchat/ChangeLog b/net-irc/hexchat/ChangeLog new file mode 100644 index 000000000000..20c19c32d792 --- /dev/null +++ b/net-irc/hexchat/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-irc/hexchat +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.1 2012/08/25 14:34:49 yngwin Exp $ + +*hexchat-2.9.1 (25 Aug 2012) + + 25 Aug 2012; Ben de Groot <yngwin@gentoo.org> + +files/hexchat-2.8.8-cflags.patch, +files/hexchat-2.9.1-input-box.patch, + +hexchat-2.9.1.ebuild, +metadata.xml: + Initial commit. User submitted ebuild from bug #428296. diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest new file mode 100644 index 000000000000..cdb449aeacf9 --- /dev/null +++ b/net-irc/hexchat/Manifest @@ -0,0 +1,6 @@ +AUX hexchat-2.8.8-cflags.patch 474 SHA256 283e5f9203a527f3e8e3439112a2b4bf729511f5580ef1e6abed8f72a9488fec SHA512 ffb9a39b675ae592952eff7636af67287932aff9b9e597d56a72c920d710f70d50668a33d1c0fd7af375a080df290d4bf110ed80ad84119a62ae3aeadbb1c54a WHIRLPOOL 690f6059cd39b7e0d8c1840ba9c1d3d77ca6bdd551a3b50aa076957519e172a525161c5e3634c9f8f26aa19c7ad5c745d232419181db3c8e41f864e0853923d2 +AUX hexchat-2.9.1-input-box.patch 1084 SHA256 eccf4a35b64fb429c171e5c77e62dae9ac5d58c1a7bc50e97d7c68fd0913fcaa SHA512 bedbbc7362d119b6b2064d0016447423621573502c19364a1539a1b682294c334d24eab12e806cd5339f4c30b979a5d6cf7b605f855028051f40277e5e654901 WHIRLPOOL 5d8e3f088391b18bfa57e2062c161f85b1bdf9edf0f53847bb12da60e97d876c29022a9f1e2f9c58fc952d6a1143dbeb8abc2efbf2d9c6b2b7ed2e1701cdea69 +DIST hexchat-2.9.1.tar.xz 1640100 SHA256 0d924ff439bbe3ffdd531a1b909564f7ca19736b416ff625fdd5342f0ff8b270 SHA512 147d91a2ff9aa95fd55a7389eb00a4a24420cef99df8a0a4addd1d536707ea27307ba60fab03d4aaab7b780e2a12ccd2f2a327fd3af96549922b2ff78beb86b3 WHIRLPOOL 51fa606d174db80f540b0228873d2ff30d79df95de14c9d4430124cb0207c96e7a7ab4f5479c55f6ef6adb45868eb93779a03a237d6bfb09012d07e72cca26b0 +EBUILD hexchat-2.9.1.ebuild 2489 SHA256 b8942833a25c1a585f3baed152ed46e9386e4cd2426bc97e7dd1287e2c1a1eb3 SHA512 493b5278bf079a2a11ec4b1ee9588994354322b085a0eaa07b8a3c819e5d125e0b153b273777bcbe86d5035a60e0f99a11f35a81e318703bceb78e63c7c137b7 WHIRLPOOL 87a22eaa3acf3c4a07fc1deb95d25387d12e3e58439a6b66a29ffc94722dec53664eb333c424aa35fe351566b10fa3e3d3f2789065eb98b31f0bc1afee805b46 +MISC ChangeLog 454 SHA256 dfb2f960bcaf58388bf10bd090b6b6b77d74593fa504043d1e4bf1249550c6a3 SHA512 badaae41f486a9b665c8bf22d6ad9152dbdbda17254d2a20725eb0c662196ae27a85acccf91e0ea72fe166d6becf83ad4df142585adc01d84cd76b831ba74563 WHIRLPOOL d69dc4459110e12b12240907d92667eff19105d5b4000c14217932bcc1bfb3bd69d9d93d81f94bfb63e164eaa7decb0869eac09722883f5dc50e37974cce2207 +MISC metadata.xml 438 SHA256 06b398662e704e255a6e566618d77ebdd1cf088794073029574529f2ff45d791 SHA512 a6e606be11006a2a11c7cbb89175f1ddbd658d1b5d078f1199c06896531aeda4954f29cb1b805487036cad826266b39e11170a10d43d462147e1d5a9cf027c3d WHIRLPOOL 3ccd2d603d65da372b438afe62fd48ffcac820f039c1dca047da502a335083f6b805dfa845960c5f44b54c00e71036cb85a7ce060b52ad9606dbd1821d684e26 diff --git a/net-irc/hexchat/files/hexchat-2.8.8-cflags.patch b/net-irc/hexchat/files/hexchat-2.8.8-cflags.patch new file mode 100644 index 000000000000..a220ce6d5948 --- /dev/null +++ b/net-irc/hexchat/files/hexchat-2.8.8-cflags.patch @@ -0,0 +1,17 @@ +--- configure.in ++++ configure.in +@@ -771,14 +771,6 @@ + if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then + CFLAGS="$CFLAGS -Wall" + fi +- if test "$system" = "Linux" -o "$system" = "FreeBSD"; then +- if test -z "`echo "$CFLAGS" | grep "\-pipe" 2> /dev/null`" ; then +- CFLAGS="$CFLAGS -pipe" +- fi +- fi +- if test -z "`echo "$CFLAGS" | grep "\-g " 2> /dev/null`" ; then +- CFLAGS="$CFLAGS -g" +- fi + fi + + dnl does this compiler support -Wno-pointer-sign ? diff --git a/net-irc/hexchat/files/hexchat-2.9.1-input-box.patch b/net-irc/hexchat/files/hexchat-2.9.1-input-box.patch new file mode 100644 index 000000000000..e4bb2d5380a2 --- /dev/null +++ b/net-irc/hexchat/files/hexchat-2.9.1-input-box.patch @@ -0,0 +1,31 @@ +--- src/fe-gtk/maingui.c.old 2012-07-27 19:42:13.883027123 +0200 ++++ src/fe-gtk/maingui.c 2012-07-27 19:43:28.269021617 +0200 +@@ -2802,7 +2802,7 @@ + static void + mg_create_entry (session *sess, GtkWidget *box) + { +- GtkWidget *hbox, *but, *entry; ++ GtkWidget *hbox, *but, *entry, *mybox; + #ifdef USE_GTKSPELL + GtkWidget *sw; + #endif +@@ -2823,7 +2823,7 @@ + + #ifdef USE_GTKSPELL + gui->input_box = entry = gtk_text_view_new (); +- gtk_widget_set_size_request (entry, 0, 1); ++ gtk_widget_set_size_request (entry, 0, -1); + gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (entry), GTK_WRAP_NONE); + gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (entry), FALSE); + if (prefs.gui_input_spell) +@@ -2836,7 +2836,9 @@ + GTK_POLICY_NEVER, + GTK_POLICY_NEVER); + gtk_container_add (GTK_CONTAINER (sw), entry); +- gtk_container_add (GTK_CONTAINER (hbox), sw); ++ mybox = gtk_vbox_new(FALSE, 0); ++ gtk_box_pack_start (GTK_BOX (mybox), sw, 1, 0, 0); ++ gtk_box_pack_start (GTK_BOX (hbox), mybox, 1, 1, 0); + #else + #ifdef USE_LIBSEXY + gui->input_box = entry = sexy_spell_entry_new (); diff --git a/net-irc/hexchat/hexchat-2.9.1.ebuild b/net-irc/hexchat/hexchat-2.9.1.ebuild new file mode 100644 index 000000000000..bab2cad36afb --- /dev/null +++ b/net-irc/hexchat/hexchat-2.9.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-2.9.1.ebuild,v 1.1 2012/08/25 14:34:49 yngwin Exp $ + +EAPI=4 + +inherit eutils gnome2 versionator + +DESCRIPTION="Graphical IRC client based on XChat" +SRC_URI="https://github.com/downloads/hexchat/hexchat/${P}.tar.xz" +HOMEPAGE="http://www.hexchat.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus fastscroll +gtk ipv6 libnotify mmx nls ntlm perl python spell ssl tcl" + +RDEPEND=">=dev-libs/glib-2.6.0:2 + x11-libs/pango + !<net-irc/xchat-gnome-0.9 + dbus? ( >=dev-libs/dbus-glib-0.71 ) + gtk? ( >=x11-libs/gtk+-2.10.0:2 ) + libnotify? ( x11-libs/libnotify ) + ntlm? ( net-libs/libntlm ) + perl? ( >=dev-lang/perl-5.8.0 ) + python? ( =dev-lang/python-2* ) + tcl? ( dev-lang/tcl ) + spell? ( app-text/gtkspell:2 ) + ssl? ( >=dev-libs/openssl-0.9.6d )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +pkg_setup() { + # Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org> + if [[ ${ARCH} = sparc ]] ; then + replace-flags "-O[3-9]" "-O2" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.9.1-input-box.patch \ + "${FILESDIR}"/${PN}-2.8.8-cflags.patch + + # use $libdir/hexchat/plugins as the plugin directory + if [[ $(get_libdir) != "lib" ]] ; then + sed -e 's:${prefix}/lib/hexchat:${libdir}/hexchat:' \ + -i configure.in || die 'sed failed' + fi + + # QA: remove deprecated line from desktop file + sed -e '/Encoding=UTF-8/d' -i ${PN}.desktop || die 'sed failed' + + ./autogen.sh +} + +src_configure() { + econf --enable-shm \ + $(use_enable dbus) \ + $(use_enable ipv6) \ + $(use_enable mmx) \ + $(use_enable nls) \ + $(use_enable ntlm) \ + $(use_enable perl) \ + $(use_enable python) \ + $(use_enable spell spell gtkspell) \ + $(use_enable ssl openssl) \ + $(use_enable tcl) \ + $(use_enable gtk gtkfe) \ + $(use_enable !gtk textfe) \ + $(use_enable fastscroll xft) +} + +src_install() { + default + prune_libtool_files --all + + # install plugin development header + insinto /usr/include/hexchat + doins src/common/xchat-plugin.h + + dodoc ChangeLog README* + + # remove useless desktop entry when gtk USE flag is unset + if ! use gtk ; then + rm "${ED}"/usr/share/applications -rf + fi +} + +pkg_postinst() { + if use !gtk ; then + elog "You have disabled the gtk USE flag. This means you don't have" + elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"." + fi + gnome2_icon_cache_update +} diff --git a/net-irc/hexchat/metadata.xml b/net-irc/hexchat/metadata.xml new file mode 100644 index 000000000000..de6fbd8c3f8a --- /dev/null +++ b/net-irc/hexchat/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>god@politeia.in</email> + </maintainer> + <use> + <flag name='fastscroll'>Make scrolling of large text buffers faster by + circumventing some of pango's overhead</flag> + <flag name='ntlm'>Enable NTLM authentication</flag> + </use> +</pkgmetadata> |