diff options
Diffstat (limited to 'net-irc/hexchat')
-rw-r--r-- | net-irc/hexchat/Manifest | 10 | ||||
-rw-r--r-- | net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch | 25 | ||||
-rw-r--r-- | net-irc/hexchat/files/hexchat-2.12.4-configure.ac.patch | 319 | ||||
-rw-r--r-- | net-irc/hexchat/files/hexchat-2.12.4-libressl.patch | 29 | ||||
-rw-r--r-- | net-irc/hexchat/hexchat-2.12.4-r1.ebuild | 147 | ||||
-rw-r--r-- | net-irc/hexchat/hexchat-2.12.4-r2.ebuild | 132 | ||||
-rw-r--r-- | net-irc/hexchat/hexchat-9999.ebuild | 141 | ||||
-rw-r--r-- | net-irc/hexchat/metadata.xml | 39 |
8 files changed, 842 insertions, 0 deletions
diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest new file mode 100644 index 000000000000..ccd5af6b201b --- /dev/null +++ b/net-irc/hexchat/Manifest @@ -0,0 +1,10 @@ +AUX hexchat-2.12.2-configure.ac-remove-werror.patch 871 SHA256 7a76f946020d973176541df8a4862f954b6b029884586cf409154ff69e242ac0 SHA512 4dd945fc4957697f5c4932e7057a6bf9a39319e1189801a84819f8f6a31198c562127606961120538f0a7161362c535bf634c16d73f1913c76ee4466250e30b8 WHIRLPOOL a8a0fda05cfa82ca007491b6a72d167efa77e81c5084ca69cc989bf32140106d77efd5cabcad8eb38c013fd775c3afb94299350e20baf854ecccf8e1b586367e +AUX hexchat-2.12.4-configure.ac.patch 9671 SHA256 593ebe79fafb6248a52904ce7cec63804aa26a880448b62737145886bb8dba7c SHA512 2fcac82d4074cc79f4e6c779664cae1a47287b78ba827187d8d669e6c522f7c3aeedabd4cac9172476971aa49e7ed6927078073b7b4828d5df6363bc0d8a2062 WHIRLPOOL 94b03832fd66d4a0adc173df2b5ec78f9b7e96cffa29d863f66500a61175b388b705e2e279fdc8af3ce341473f6862a7112935c4abfd3681c8c4a9efadce274e +AUX hexchat-2.12.4-libressl.patch 1040 SHA256 b52baf0efa7c3861b1113eada525888c18e74709850b0711ff6c052521dac941 SHA512 a309ce5e0bb25aa6c88c62bb5a5e1758e49d431cd51ef8186f29ac3c09af544ff75fd043ef8d9217c2779fb1c76fa27d392d9f7e9165a5772e401345bddce1ca WHIRLPOOL 6115f9a8ca00e402a7de3337cd6dddbe0666d329b0ee8ca4d3a7f40d5cc252d1daf717edf0108122f2400f1310d1b4e8d74cae4f5fd6c907ae40d895b30a787b +DIST hexchat-2.12.4.tar.xz 1451468 SHA256 fa35913158bbc7d0d99de79371b6df3e8d21802f1d2c7c92f0e5db694acf2c3a SHA512 48d30c23973a19efc7a8e6d00a3e9675e8556a6fa9da046175b3d87bdab0bebbc6caf58970d654e270421d0d49c2cd9f498b425b7e3a49dd81670dc4825fca40 WHIRLPOOL f0e48900c9cf048ad6238338630788197865bf649d4d373a3905b7dffd0076cbdeffc6bd14602fdb5924f6da5bb422739cde7f05b844482735157bb0ba39e712 +EBUILD hexchat-2.12.4-r1.ebuild 3609 SHA256 e868dbc3866b42c08b78e4571b86e9f7208ac0291d54c71afd01db2384513587 SHA512 84c8fb88e9cfe25ac42f255c5fd1dd73d096ebb6e1f50ccd0bcff394b5c3f90791cf2d8841ae1ae2192422f0658d0825c01cee8a83a8583c590ddafaa6365c87 WHIRLPOOL 9ab5c092e9e7c47eb93440ee3f74e967465737cfd42afece5d3bba50751cb83bb32b5f5b952b5dd381598dac9474dc506c92790efc97e22d4e79ff9ca0056bcc +EBUILD hexchat-2.12.4-r2.ebuild 3404 SHA256 f6fbf6b0bedb095a9863f123636205118b9f8202b06fdc605c8493ad244b7093 SHA512 92c224e7c90640a7eee2400454243c9e611b30f28bb215b73d3f7880f30db5798f1f7ccb4ddf701dfa11cc959abd542d55c22f9149ae5bab8a08d6f9cb84acdf WHIRLPOOL 679202a34d4bc4538ca16383abba6311e8c9ab46a1b75ea1b9b275894acf1b50c8579233370c25633271dcd2abe3252972f201bd03c53be6b92c65b2c1369c8d +EBUILD hexchat-9999.ebuild 3469 SHA256 023ac8b913bbadfc7a270a809e765ac3ab5630744b84840b75e0f8e99e5b9f12 SHA512 bb51a41dbcf9a57a5d4d4e2a7c39810861c5771f156560fd63767912237efbd5871b2701c8174c27626696b4260e31f1f6c38e941f4390fc811f6a7e6b93f1ea WHIRLPOOL 8b5aa068b5deb72eae548f81d8be182bd122e629731b712b1ea307ebe6d8ad17335d8af9cc3e4792611cad337dfdbd55b67a494b444f1e3269e8411a987a7121 +MISC ChangeLog 7065 SHA256 f44baa4294aa8f828e05aa34bf54e679d02e05ab34e629abdef61d2d6c2be011 SHA512 b6b1628858abe6bf190f63e831faba135346479237c4530e2b40e626bd1025fcadf51a18027b06a432781f597e24efbfe03c448e50d9dcb20de1421a1bb05f3c WHIRLPOOL c83c926926e6045c67b99f1ab5be16a648585d3b8049ccb344ef695e01e6b5ee8f1501490844b6c8beadb615867ba8c372f648f8dacd0d16f651eab9a6b8acde +MISC ChangeLog-2015 16206 SHA256 18f0b6e3cfb0e6ca5c04a0b4875f2307839e463da8631351e05d2b3ce4ac1ef5 SHA512 4f601eacf06925821de26451d9891f346c492526489386a05491a48c59170bad3751281ae04b2ff1dd0ea98e1abced03c5f47a6c3e4f7e5052e1394be61eecaf WHIRLPOOL 2e5741a3a2667eebea20be4f683867767e262415279a3cdbb0f1d2e6bbf3ad0d435897773d9d8850bfb36984fd4d38cdc15cb0e8d142338c72ab731d110729e9 +MISC metadata.xml 1389 SHA256 badcb7464a7d73a10ff8cd60a1b6d82435ec96efc94af5b8429e0d77e3a59245 SHA512 64ce08c2a4a3a786276bbadbb0a59be1e365bc72cacd42a18ee1e64ce546c4c55f4fb4f2c11dd3425a26c9654880f8b0254667456974270bc8c37d85d50f5c36 WHIRLPOOL 01e564fb956f83bce6923cd68280c3f9a05dbf572506f2269334668d198dd8640cb9535e3831e9fc3cfc1ae13020b629fbcff2e45475471eb698c3b56754d451 diff --git a/net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch b/net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch new file mode 100644 index 000000000000..7798d81c740d --- /dev/null +++ b/net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch @@ -0,0 +1,25 @@ +The option -Werror=missing-include-dirs causes the build to fail if +non-exsistent directories are added via -I. Removing the rest of the -Werror* +flags to ensure no new bugs get created because a -Werror flag stopped the +build. + +--- hexchat-2.12.2/configure.ac.old 2016-10-15 13:40:30.585210113 -0700 ++++ hexchat-2.12.2/configure.ac 2016-10-15 13:40:44.937008119 -0700 +@@ -634,17 +634,10 @@ AX_APPEND_COMPILE_FLAGS([\ + -Wno-unused-parameter \ + -Wno-sign-compare \ + -Wno-pointer-sign \ + -Wno-missing-field-initializers \ + -Wno-unused-result \ +- -Werror=format-security \ +- -Werror=init-self \ +- -Werror=declaration-after-statement \ +- -Werror=missing-include-dirs \ +- -Werror=date-time \ +- -Werror=implicit-function-declaration \ +- -Werror=pointer-arith \ + ]) + + AS_IF([test "$stack_protector" = "yes"], [ + AX_APPEND_COMPILE_FLAGS([ \ + -fstack-protector-strong \ diff --git a/net-irc/hexchat/files/hexchat-2.12.4-configure.ac.patch b/net-irc/hexchat/files/hexchat-2.12.4-configure.ac.patch new file mode 100644 index 000000000000..c4288d2761d2 --- /dev/null +++ b/net-irc/hexchat/files/hexchat-2.12.4-configure.ac.patch @@ -0,0 +1,319 @@ +--- hexchat-2.12.4/data/pkgconfig/Makefile.am ++++ hexchat-2.12.4/data/pkgconfig/Makefile.am +@@ -1,4 +1,7 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + pkgcfgdir = $(pkgconfigdir) + pkgcfg_DATA = hexchat-plugin.pc + + EXTRA_DIST = hexchat-plugin.pc.in +--- hexchat-2.12.4/data/Makefile.am ++++ hexchat-2.12.4/data/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + SUBDIRS = + + if DO_PLUGIN + SUBDIRS += pkgconfig + endif +--- hexchat-2.12.4/data/misc/Makefile.am ++++ hexchat-2.12.4/data/misc/Makefile.am +@@ -1,5 +1,7 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ + + appdatadir = $(datadir)/appdata + appdata_in_files = + + if DO_GTK +--- hexchat-2.12.4/data/icons/Makefile.am ++++ hexchat-2.12.4/data/icons/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + icon_DATA = hexchat.png + icondir = $(datadir)/icons/hicolor/48x48/apps + + hicolor_DATA = hexchat.svg + hicolordir = $(datadir)/icons/hicolor/scalable/apps +--- hexchat-2.12.4/data/man/Makefile.am ++++ hexchat-2.12.4/data/man/Makefile.am +@@ -1,3 +1,6 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + man_MANS = hexchat.1 + + EXTRA_DIST = hexchat.1.in +--- hexchat-2.12.4/Makefile.am ++++ hexchat-2.12.4/Makefile.am +@@ -1,6 +1,8 @@ + ## Process this file with automake to produce Makefile.in ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ + + ACLOCAL_AMFLAGS = -I m4 + + SUBDIRS = po src plugins data + +--- hexchat-2.12.4/configure.ac ++++ hexchat-2.12.4/configure.ac +@@ -621,23 +621,23 @@ AX_APPEND_COMPILE_FLAGS([\ + -Werror=declaration-after-statement \ + -Werror=missing-include-dirs \ + -Werror=date-time \ + -Werror=implicit-function-declaration \ + -Werror=pointer-arith \ +-]) ++], hexchat_def_CFLAGS) + + AS_IF([test "$stack_protector" = "yes"], [ + AX_APPEND_COMPILE_FLAGS([ \ + -fstack-protector-strong \ +- ]) ++ ], [hexchat_def_CFLAGS]) + ]) + + AX_APPEND_LINK_FLAGS([ \ + -pie \ + -Wl,-z,relro \ + -Wl,-z,now \ +-]) ++], [hexchat_def_LDFLAGS]) + + dnl ********************************************************************* + dnl ** FUNCTIONS/LIBS/CFLAGS ******************************************** + dnl ********************************************************************* + +@@ -687,10 +687,12 @@ dnl freebsd needs this + LIBS="$LIBS $INTLLIBS" + + GUI_LIBS="$GUI_LIBS $COMMON_LIBS" + + dnl make these visible to all Makefiles ++AC_SUBST(hexchat_def_CFLAGS) ++AC_SUBST(hexchat_def_LDFLAGS) + AC_SUBST(GUI_LIBS) + AC_SUBST(GUI_CFLAGS) + AC_SUBST(COMMON_LIBS) + AC_SUBST(COMMON_CFLAGS) + AC_SUBST(PERL_CFLAGS) +--- hexchat-2.12.4/src/common/Makefile.am ++++ hexchat-2.12.4/src/common/Makefile.am +@@ -1,6 +1,8 @@ + ## Process this file with automake to produce Makefile.in ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ + + include $(top_srcdir)/m4/clang-analyze.am + + noinst_LIBRARIES = libhexchatcommon.a + +@@ -62,11 +64,11 @@ noinst_PROGRAMS = make-te + + libhexchatcommon_a_SOURCES = cfgfiles.c chanopt.c ctcp.c dcc.c hexchat.c \ + history.c ignore.c inbound.c marshal.c modes.c network.c notify.c \ + outbound.c plugin.c plugin-identd.c plugin-timer.c proto-irc.c server.c servlist.c \ + $(ssl_c) text.c tree.c url.c userlist.c util.c +-libhexchatcommon_a_CFLAGS = $(LIBPROXY_CFLAGS) ++libhexchatcommon_a_CFLAGS = $(LIBPROXY_CFLAGS) $(hexchat_def_CFLAGS) + + textenums.h: textevents.h + + textevents.h: $(srcdir)/textevents.in make-te + $(AM_V_GEN) ./make-te < $< > $@ 2> textenums.h +--- hexchat-2.12.4/src/common/dbus/Makefile.am ++++ hexchat-2.12.4/src/common/dbus/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + noinst_LIBRARIES = libhexchatdbus.a + libhexchatdbus_a_SOURCES = \ + dbus-plugin.c \ + dbus-plugin.h \ + dbus-client.c \ +--- hexchat-2.12.4/src/Makefile.am ++++ hexchat-2.12.4/src/Makefile.am +@@ -1,6 +1,8 @@ + ## Process this file with automake to produce Makefile.in ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ + + EXTRA_DIST = version-script + + if DO_TEXT + text_fe = fe-text +--- hexchat-2.12.4/src/fe-text/Makefile.am ++++ hexchat-2.12.4/src/fe-text/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + localedir = $(datadir)/locale + + bin_PROGRAMS = hexchat-text + + AM_CPPFLAGS = $(COMMON_CFLAGS) -DLOCALEDIR=\"$(localedir)\" +--- hexchat-2.12.4/src/fe-gtk/Makefile.am ++++ hexchat-2.12.4/src/fe-gtk/Makefile.am +@@ -1,5 +1,7 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ + + include $(top_srcdir)/m4/clang-analyze.am + + localedir = $(datadir)/locale + +@@ -31,11 +33,11 @@ endif + if USE_LIBNOTIFY + notify_c = notifications/notification-libnotify.c + else + if HAVE_GTK_MAC + notify_c = notifications/notification-osx.m +-hexchat_LDFLAGS = -framework Foundation ++hexchat_LDFLAGS = -framework Foundation @hexchat_def_LDFLAGS@ + else + notify_c = notifications/notification-dummy.c + endif + endif + +--- hexchat-2.12.4/src/htm/Makefile.am ++++ hexchat-2.12.4/src/htm/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + theme_SCRIPTS = thememan.exe thememan + themedir = $(bindir) + + mdtool_verbose = $(mdtool_verbose_$(V)) + mdtool_verbose_ = $(mdtool_verbose_$(AM_DEFAULT_VERBOSITY)) +--- hexchat-2.12.4/plugins/fishlim/Makefile.am ++++ hexchat-2.12.4/plugins/fishlim/Makefile.am +@@ -1,10 +1,13 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + EXTRA_DIST = LICENSE fish.h irc.h keystore.h plugin_hexchat.h dh1080.h + + libdir = $(hexchatlibdir) + + lib_LTLIBRARIES = fishlim.la + fishlim_la_SOURCES = fish.c irc.c keystore.c plugin_hexchat.c dh1080.c +-fishlim_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module ++fishlim_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module @hexchat_def_LDFLAGS@ + fishlim_la_LIBADD = $(GLIB_LIBS) $(OPENSSL_LIBS) + fishlim_la_CPPFLAGS = -I$(top_srcdir)/src/common +-fishlim_la_CFLAGS = $(GLIB_CFLAGS) $(OPENSSL_CFLAGS) ++fishlim_la_CFLAGS = $(GLIB_CFLAGS) $(OPENSSL_CFLAGS) @hexchat_def_CFLAGS@ +--- hexchat-2.12.4/plugins/Makefile.am ++++ hexchat-2.12.4/plugins/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + if DO_LUA + lua = lua + endif + + if DO_PYTHON +--- hexchat-2.12.4/plugins/lua/Makefile.am ++++ hexchat-2.12.4/plugins/lua/Makefile.am +@@ -1,9 +1,12 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + libdir = $(hexchatlibdir) + + lib_LTLIBRARIES = lua.la + lua_la_SOURCES = lua.c +-lua_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module ++lua_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module @hexchat_def_LDFLAGS@ + lua_la_LIBADD = $(LUA_LIBS) $(GLIB_LIBS) + lua_la_CPPFLAGS = -I$(top_srcdir)/src/common +-lua_la_CFLAGS = $(GLIB_CFLAGS) $(LUA_CFLAGS) ++lua_la_CFLAGS = $(GLIB_CFLAGS) $(LUA_CFLAGS) @hexchat_def_CFLAGS@ + +--- hexchat-2.12.4/plugins/sysinfo/Makefile.am ++++ hexchat-2.12.4/plugins/sysinfo/Makefile.am +@@ -1,5 +1,8 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + libdir = $(hexchatlibdir) + + sources = sysinfo.c format.c shared/df.c + + if PLATFORM_OSX +@@ -10,8 +13,8 @@ endif + + EXTRA_DIST = osx unix win32 shared format.h sysinfo.h sysinfo-backend.h + + lib_LTLIBRARIES = sysinfo.la + sysinfo_la_SOURCES = $(sources) +-sysinfo_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module ++sysinfo_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module @hexchat_def_LDFLAGS@ + sysinfo_la_LIBADD = $(LIBPCI_LIBS) $(GLIB_LIBS) + AM_CPPFLAGS = -I$(top_srcdir)/src/common -I$(srcdir)/shared $(LIBPCI_CFLAGS) $(GLIB_CFLAGS) +--- hexchat-2.12.4/plugins/python/Makefile.am ++++ hexchat-2.12.4/plugins/python/Makefile.am +@@ -1,9 +1,12 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + libdir = $(hexchatlibdir) + + lib_LTLIBRARIES = python.la + python_la_SOURCES = python.c + python_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module +-python_la_LIBADD = $(PYTHON_LIBS) $(GLIB_LIBS) ++python_la_LIBADD = $(PYTHON_LIBS) $(GLIB_LIBS) @hexchat_def_LDFLAGS@ + python_la_CPPFLAGS = -I$(top_srcdir)/src/common $(PYTHON_CPPFLAGS) +-python_la_CFLAGS = $(GLIB_CFLAGS) ++python_la_CFLAGS = $(GLIB_CFLAGS) @hexchat_def_CFLAGS@ + +--- hexchat-2.12.4/plugins/checksum/Makefile.am ++++ hexchat-2.12.4/plugins/checksum/Makefile.am +@@ -1,8 +1,11 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ ++ + libdir = $(hexchatlibdir) + + lib_LTLIBRARIES = checksum.la + checksum_la_SOURCES = checksum.c +-checksum_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module ++checksum_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module @hexchat_def_LDFLAGS@ + checksum_la_LIBADD = $(GLIB_LIBS) + checksum_la_CPPFLAGS = -I$(top_srcdir)/src/common +-checksum_la_CFLAGS = $(GLIB_CFLAGS) ++checksum_la_CFLAGS = $(GLIB_CFLAGS) @hexchat_def_CFLAGS@ +--- hexchat-2.12.4/plugins/perl/Makefile.am ++++ hexchat-2.12.4/plugins/perl/Makefile.am +@@ -1,17 +1,19 @@ ++AM_CFLAGS = @hexchat_def_CFLAGS@ ++AM_LDFLAGS = @hexchat_def_LDFLAGS@ + + EXTRA_DIST=generate_header lib/HexChat.pm lib/Xchat.pm lib/HexChat/Embed.pm lib/HexChat/List/Network.pm \ + lib/HexChat/List/Network/Entry.pm lib/HexChat/List/Network/AutoJoin.pm lib/IRC.pm + + libdir = $(hexchatlibdir) + + lib_LTLIBRARIES = perl.la + perl_la_SOURCES = perl.c +-perl_la_LDFLAGS = $(PERL_LDFLAGS) $(PLUGIN_LDFLAGS) -module ++perl_la_LDFLAGS = $(PERL_LDFLAGS) $(PLUGIN_LDFLAGS) -module @hexchat_def_LDFLAGS@ + perl_la_LIBADD = $(GLIB_LIBS) + perl_la_CPPFLAGS = -I$(top_srcdir)/src/common +-perl_la_CFLAGS = $(PERL_CFLAGS) $(GLIB_CFLAGS) ++perl_la_CFLAGS = $(PERL_CFLAGS) $(GLIB_CFLAGS) @hexchat_def_CFLAGS@ + + BUILT_SOURCES = hexchat.pm.h irc.pm.h + CLEANFILES = $(BUILT_SOURCES) + + hexchat.pm.h irc.pm.h: lib/HexChat.pm lib/Xchat.pm lib/HexChat/Embed.pm \ diff --git a/net-irc/hexchat/files/hexchat-2.12.4-libressl.patch b/net-irc/hexchat/files/hexchat-2.12.4-libressl.patch new file mode 100644 index 000000000000..3b3adc09dd55 --- /dev/null +++ b/net-irc/hexchat/files/hexchat-2.12.4-libressl.patch @@ -0,0 +1,29 @@ +# diff -pU5 hexchat-2.12.4/src/common/ssl.c.old hexchat-2.12.4/src/common/ssl.c +--- hexchat-2.12.4/src/common/ssl.c ++++ hexchat-2.12.4/src/common/ssl.c +@@ -174,11 +174,11 @@ _SSL_get_cert_info (struct cert_info *ce + key = X509_get_X509_PUBKEY(peer_cert); + if (!X509_PUBKEY_get0_param(NULL, NULL, 0, &algor, key)) + return 1; + + alg = OBJ_obj2nid (algor->algorithm); +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined LIBRESSL_VERSION_NUMBER + sign_alg = OBJ_obj2nid (peer_cert->sig_alg->algorithm); + #else + sign_alg = X509_get_signature_nid (peer_cert); + #endif + ASN1_TIME_snprintf (notBefore, sizeof (notBefore), +@@ -304,11 +304,11 @@ _SSL_socket (SSL_CTX *ctx, int sd) + /* FATAL */ + __SSL_critical_error ("SSL_new"); + + SSL_set_fd (ssl, sd); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined LIBRESSL_VERSION_NUMBER + method = ctx->method; + #else + method = SSL_CTX_get_ssl_method (ctx); + #endif + if (method == SSLv23_client_method()) diff --git a/net-irc/hexchat/hexchat-2.12.4-r1.ebuild b/net-irc/hexchat/hexchat-2.12.4-r1.ebuild new file mode 100644 index 000000000000..cf092fcf3545 --- /dev/null +++ b/net-irc/hexchat/hexchat-2.12.4-r1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit autotools fdo-mime gnome2-utils mono-env python-single-r1 + +DESCRIPTION="Graphical IRC client based on XChat" +HOMEPAGE="https://hexchat.github.io/" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://dl.hexchat.net/${PN}/${P}.tar.xz" + KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux" +fi + +LICENSE="GPL-2 plugin-fishlim? ( MIT )" +SLOT="0" +IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua nls perl plugin-checksum plugin-fishlim plugin-sysinfo python spell ssl theme-manager" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="dev-libs/glib:2 + dbus? ( sys-apps/dbus ) + gtk? ( x11-libs/gtk+:2 ) + libcanberra? ( media-libs/libcanberra ) + libproxy? ( net-libs/libproxy ) + libnotify? ( x11-libs/libnotify ) + lua? ( dev-lang/lua:= ) + nls? ( virtual/libintl ) + perl? ( dev-lang/perl ) + plugin-sysinfo? ( sys-apps/pciutils ) + python? ( ${PYTHON_DEPS} ) + spell? ( app-text/iso-codes ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + theme-manager? ( + || ( + ( dev-lang/mono[minimal] dev-dotnet/libgdiplus ) + dev-lang/mono[-minimal] + ) + )" + +RDEPEND="${COMMON_DEPEND} + spell? ( app-text/enchant )" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + virtual/pkgconfig + dev-util/intltool + sys-devel/autoconf-archive + theme-manager? ( dev-util/monodevelop )" + +PATCHES=( + "${FILESDIR}/hexchat-2.12.2-configure.ac-remove-werror.patch" + "${FILESDIR}/hexchat-2.12.4-libressl.patch" +) + +src_prepare() { + default + eautoreconf +} + +pkg_setup() { + use python && python-single-r1_pkg_setup + if use theme-manager ; then + mono-env_pkg_setup + export XDG_CACHE_HOME="${T}/.cache" + fi +} + +src_configure() { + econf \ + --enable-plugin \ + $(use_enable nls) \ + $(use_enable ssl openssl) \ + $(use_enable gtk gtkfe) \ + $(use_enable !gtk textfe) \ + $(use_enable python python "${EPYTHON}") \ + $(use_enable perl) \ + $(use_enable plugin-checksum checksum) \ + $(use_enable plugin-fishlim fishlim) \ + $(use_enable plugin-sysinfo sysinfo) \ + $(use_enable dbus) \ + $(use_enable lua) \ + $(use_enable libnotify) \ + $(use_enable libcanberra) \ + $(use_enable libproxy) \ + $(use_enable spell isocodes) \ + $(use_enable debug) \ + $(use_with theme-manager) +} + +src_install() { + emake DESTDIR="${D}" \ + UPDATE_ICON_CACHE=true \ + UPDATE_MIME_DATABASE=true \ + UPDATE_DESKTOP_DATABASE=true \ + install + dodoc readme.md + find "${D}" -name '*.la' -delete || die +} + +pkg_preinst() { + if use gtk ; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use gtk ; then + gnome2_icon_cache_update + else + 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 + + if use theme-manager ; then + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + elog "Themes are available at:" + elog " https://hexchat.github.io/themes.html" + fi + + elog + elog "optional dependencies:" + elog " media-sound/sox (sound playback if you don't have libcanberra" + elog " enabled)" + elog " x11-plugins/hexchat-javascript (javascript support)" + elog " x11-themes/sound-theme-freedesktop (default BEEP sound," + elog " needs libcanberra enabled)" +} + +pkg_postrm() { + if use gtk ; then + gnome2_icon_cache_update + fi + + if use theme-manager ; then + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + fi +} diff --git a/net-irc/hexchat/hexchat-2.12.4-r2.ebuild b/net-irc/hexchat/hexchat-2.12.4-r2.ebuild new file mode 100644 index 000000000000..842eac30186a --- /dev/null +++ b/net-irc/hexchat/hexchat-2.12.4-r2.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit autotools fdo-mime flag-o-matic gnome2-utils python-single-r1 + +DESCRIPTION="Graphical IRC client based on XChat" +HOMEPAGE="https://hexchat.github.io/" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://dl.hexchat.net/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +fi + +LICENSE="GPL-2 plugin-fishlim? ( MIT )" +SLOT="0" +IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua nls perl plugin-checksum plugin-fishlim plugin-sysinfo python spell ssl" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="dev-libs/glib:2 + dbus? ( sys-apps/dbus ) + gtk? ( x11-libs/gtk+:2 ) + libcanberra? ( media-libs/libcanberra ) + libproxy? ( net-libs/libproxy ) + libnotify? ( x11-libs/libnotify ) + lua? ( dev-lang/lua:= ) + nls? ( virtual/libintl ) + perl? ( dev-lang/perl ) + plugin-sysinfo? ( sys-apps/pciutils ) + python? ( ${PYTHON_DEPS} ) + spell? ( app-text/iso-codes ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" + +RDEPEND="${COMMON_DEPEND} + spell? ( app-text/enchant )" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + virtual/pkgconfig + dev-util/intltool + sys-devel/autoconf-archive" + +PATCHES=( + "${FILESDIR}/hexchat-2.12.4-configure.ac.patch" + "${FILESDIR}/hexchat-2.12.4-libressl.patch" +) + +src_prepare() { + default + eautoreconf +} + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + append-cflags \ + $(test-flags-CC -Wno-error=format-security) \ + $(test-flags-CC -Wno-error=init-self) \ + $(test-flags-CC -Wno-error=declaration-after-statement) \ + $(test-flags-CC -Wno-error=missing-include-dirs) \ + $(test-flags-CC -Wno-error=date-time) \ + $(test-flags-CC -Wno-error=implicit-function-declaration) \ + $(test-flags-CC -Wno-error=pointer-arith) + + econf \ + --enable-plugin \ + $(use_enable nls) \ + $(use_enable ssl openssl) \ + $(use_enable gtk gtkfe) \ + $(use_enable !gtk textfe) \ + $(use_enable python python "${EPYTHON}") \ + $(use_enable perl) \ + $(use_enable plugin-checksum checksum) \ + $(use_enable plugin-fishlim fishlim) \ + $(use_enable plugin-sysinfo sysinfo) \ + $(use_enable dbus) \ + $(use_enable lua) \ + $(use_enable libnotify) \ + $(use_enable libcanberra) \ + $(use_enable libproxy) \ + $(use_enable spell isocodes) \ + $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" \ + UPDATE_ICON_CACHE=true \ + UPDATE_MIME_DATABASE=true \ + UPDATE_DESKTOP_DATABASE=true \ + install + dodoc readme.md + find "${D}" -name '*.la' -delete || die +} + +pkg_preinst() { + if use gtk ; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use gtk ; then + gnome2_icon_cache_update + else + 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 + + elog + elog "optional dependencies:" + elog " media-sound/sox (sound playback if you don't have libcanberra" + elog " enabled)" + elog " x11-plugins/hexchat-javascript (javascript support)" + elog " x11-themes/sound-theme-freedesktop (default BEEP sound," + elog " needs libcanberra enabled)" +} + +pkg_postrm() { + if use gtk ; then + gnome2_icon_cache_update + fi +} diff --git a/net-irc/hexchat/hexchat-9999.ebuild b/net-irc/hexchat/hexchat-9999.ebuild new file mode 100644 index 000000000000..de60cb5fd53b --- /dev/null +++ b/net-irc/hexchat/hexchat-9999.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit autotools fdo-mime gnome2-utils mono-env python-single-r1 + +DESCRIPTION="Graphical IRC client based on XChat" +HOMEPAGE="https://hexchat.github.io/" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://dl.hexchat.net/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +fi + +LICENSE="GPL-2 plugin-fishlim? ( MIT )" +SLOT="0" +IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua nls perl plugin-checksum plugin-fishlim plugin-sysinfo python spell ssl theme-manager" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="dev-libs/glib:2 + dbus? ( sys-apps/dbus ) + gtk? ( x11-libs/gtk+:2 ) + libcanberra? ( media-libs/libcanberra ) + libproxy? ( net-libs/libproxy ) + libnotify? ( x11-libs/libnotify ) + lua? ( dev-lang/lua:= ) + nls? ( virtual/libintl ) + perl? ( dev-lang/perl ) + plugin-sysinfo? ( sys-apps/pciutils ) + python? ( ${PYTHON_DEPS} ) + spell? ( app-text/iso-codes ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + theme-manager? ( + || ( + ( dev-lang/mono[minimal] dev-dotnet/libgdiplus ) + dev-lang/mono[-minimal] + ) + )" + +RDEPEND="${COMMON_DEPEND} + spell? ( app-text/enchant )" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + virtual/pkgconfig + dev-util/intltool + theme-manager? ( dev-util/monodevelop )" + +src_prepare() { + default + eautoreconf +} + +pkg_setup() { + use python && python-single-r1_pkg_setup + if use theme-manager ; then + mono-env_pkg_setup + export XDG_CACHE_HOME="${T}/.cache" + fi +} + +src_configure() { + econf \ + --enable-plugin \ + $(use_enable nls) \ + $(use_enable ssl openssl) \ + $(use_enable gtk gtkfe) \ + $(use_enable !gtk textfe) \ + $(use_enable python python "${EPYTHON}") \ + $(use_enable perl) \ + $(use_enable plugin-checksum checksum) \ + $(use_enable plugin-fishlim fishlim) \ + $(use_enable plugin-sysinfo sysinfo) \ + $(use_enable dbus) \ + $(use_enable lua) \ + $(use_enable libnotify) \ + $(use_enable libcanberra) \ + $(use_enable libproxy) \ + $(use_enable spell isocodes) \ + $(use_enable debug) \ + $(use_with theme-manager) +} + +src_install() { + emake DESTDIR="${D}" \ + UPDATE_ICON_CACHE=true \ + UPDATE_MIME_DATABASE=true \ + UPDATE_DESKTOP_DATABASE=true \ + install + dodoc readme.md + find "${D}" -name '*.la' -delete || die +} + +pkg_preinst() { + if use gtk ; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use gtk ; then + gnome2_icon_cache_update + else + 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 + + if use theme-manager ; then + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + elog "Themes are available at:" + elog " https://hexchat.github.io/themes.html" + fi + + elog + elog "optional dependencies:" + elog " media-sound/sox (sound playback if you don't have libcanberra" + elog " enabled)" + elog " x11-plugins/hexchat-javascript (javascript support)" + elog " x11-themes/sound-theme-freedesktop (default BEEP sound," + elog " needs libcanberra enabled)" +} + +pkg_postrm() { + if use gtk ; then + gnome2_icon_cache_update + fi + + if use theme-manager ; then + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + fi +} diff --git a/net-irc/hexchat/metadata.xml b/net-irc/hexchat/metadata.xml new file mode 100644 index 000000000000..b9355556df11 --- /dev/null +++ b/net-irc/hexchat/metadata.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>anthonyryan1@gmail.com</email> + <name>Anthony Ryan</name> + <description>Proxied maintainer</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + <description>Proxy maintainer for Nicholas and Anthony</description> + </maintainer> + <use> + <flag name="libcanberra">Enable sound event support using + <pkg>media-libs/libcanberra</pkg></flag> + <flag name="libproxy">Enable proxy support.</flag> + <flag name="plugin-checksum">Build Checksum plugin + (needs plugins)</flag> + <flag name="plugin-fishlim">Build FiSHLiM plugin (needs plugins + )</flag> + <flag name="plugin-sysinfo">Build SysInfo plugin (needs plugins) + </flag> + <flag name="theme-manager">Build the theme manager (mono)</flag> + </use> + <upstream> + <maintainer status="active"> + <email>tingping@tingping.se</email> + <name>TingPing</name> + </maintainer> + <bugs-to>https://github.com/hexchat/hexchat/issues</bugs-to> + <doc lang="en">http://hexchat.readthedocs.org/en/latest</doc> + <remote-id type="github">hexchat/hexchat</remote-id> + </upstream> +</pkgmetadata> |