Commit Graph

81 Commits

Author SHA1 Message Date
Arnavion 599b9b0379 configure.ac: Actually check the CFLAGS and LDFLAGS returned by ExtUtils::Embed before deciding to compile the Perl plugin.
- openSUSE has ExtUtils::Embed, EXTERN.h and perl.so in the base perl package.
- Fedora has ExtUtils::Embed in a separate perl-devel package.
- Mageia has ExtUtils::Embed in the base perl package but EXTERN.h in a separate perl-devel package. Without this package, the compiler complains about the missing header.
- Debian has ExtUtils::Embed and EXTERN.h in the base perl package but perl.so in a separate libperl-dev package. Without this package, gcc compiles successfully but complains at link-time about -lperl (ExtUtils::Embed returns '-lperl' in ldopts but it's not actually installed).

configure.ac already requires ExtUtil::Embed to enable perl. To handle the case of Mageia and Debian, this change uses AC_TRY_LINK to verify that the flags returned by ExtUtils::Embed can actually be used to compile before deciding to enable the perl plugin.
2014-01-13 18:27:32 -08:00
TingPing a87b61c73f Build system improvements
- Use AM_GLIB_GNU_GLIB and IT_PROG_INTLTOOL
- Use gnome-autogen.sh
- Move language list to own file
- Delete generated config.rpath file
2014-01-13 14:27:36 -05:00
Eustachy Kapusta 2ea1a992b1 Fix Turkish translation & update language list 2014-01-11 23:54:16 +01:00
TingPing 04f34feb26 Fix configure output when python disabled 2013-10-10 00:39:36 -04:00
TingPing 301e5d260d More improvements to libsexy
- Add option for showing attributes in input
- Improve attribute parsing
- Fix detecting iso-codes on unix
- Improve getting default langs from $LANG
- Fix warnings
2013-10-03 16:23:46 -04:00
TingPing f6dd61cb02 Update to gtkspell3's iso code lookup
This no longer requires libxml
so now there is no reason for this to be optional
2013-10-03 16:23:46 -04:00
TingPing eb93130cd3 Remove gtkspell support 2013-10-03 16:23:46 -04:00
TingPing 1f84c507a0 Reorganize files and migrate images to gresource 2013-09-29 02:24:06 -04:00
TingPing 449553ffb0 Replace xtext's transparency with full window transparency
Xtext's transparency barely worked on windows, didn't work on any modern
linux wm and used fake transparency.
This uses gtk's built in window opacity that works on more systems and
is real transparency.
Text area only transparency may return with a transition to cairo, if it
works on Windows.
2013-09-27 17:40:05 -04:00
TingPing ef73a89139 Remove XFT, SHM, and MMX 2013-09-26 22:31:14 -04:00
TingPing 6f013e807c Remove whats left of gconf 2013-09-26 03:06:01 -04:00
TingPing a71849db3f Bump Version to 2.9.6 2013-09-11 18:18:19 -04:00
hasufell 08fd4f2dd7 BUILD: use thememan.in instead of Makefile echo 2013-08-28 14:30:57 +02:00
hasufell ce5653d75c BUILD: add --with-theme-manager configure option 2013-08-28 14:30:57 +02:00
hasufell d13046614e BUILD: use a blacklist rather than a whitelist for python versions 2013-08-27 10:59:03 +02:00
hasufell 0c4e343b46 STYLE: tabs, not whitespaces 2013-08-27 00:18:08 +02:00
hasufell e6394cafe2 BUILD: consistently use PKG_CONFIG 2013-08-27 00:09:35 +02:00
hasufell fabc5bf4b7 STYLE: add missing comma 2013-08-26 23:45:51 +02:00
hasufell d6dacbe955 BUILD: use pkg-config to detect python 2013-08-26 23:00:47 +02:00
TingPing bdc814a4a4 Merge pull request #677 from hasufell/master
CONFIGURE: add "--enable-minimal-flags"
2013-08-02 23:25:40 -07:00
TingPing ac06b74b18 Use system's libsexy by default
It will still fallback to static
2013-07-26 15:03:59 -04:00
hasufell e63ec01089 MAKE: backwards compat for old libtool 2013-07-12 14:17:30 +02:00
hasufell 19d4356484 CONFIGURE: add "--enable-minimal-flags"
This will turn off automagic adding of flags that might be unwanted
such as "-g" or "-pipe".
2013-07-11 12:36:14 +02:00
TingPing 3ffae231de Fix building with static spell 2013-06-15 21:52:04 -03:00
TingPing e68635b8e4 Add configure patch from gentoo 2013-06-15 17:26:10 -03:00
Arnav Singh e1ce1c90f7 configure.ac: Use pkg-config's CFLAGS for libxml2 instead of guessing our own. 2013-06-01 13:46:33 -07:00
Berke Viktor 9327a5c71f Reduce GLib requirement 2013-05-12 06:16:26 +02:00
Berke Viktor de819e12bf g_slist_copy_deep() requires GLib 2.34 2013-05-12 05:55:14 +02:00
Berke Viktor af03fa3c7c Fix connect commands 2013-05-11 20:06:22 +02:00
Berke Viktor 712eb5428e GtkComboBoxText requires GTK+ 2.24, dump code for older versions 2013-05-11 13:06:25 +02:00
TingPing dba9c42473 stop using gconf 2013-05-08 23:41:52 -04:00
hasufell 607e5a567c CONFIGURE: fix undefined reference to `g_type_init'
These two assignments have no place here and will overwrite the
previous COMMON_LIBS="$COMMON_LIBS -lgmodule-2.0 -lgobject-2.0".
This can lead to build failure during linking stage depending on
the chosen configure options.
2013-05-09 01:48:10 +02:00
TingPing ffa1ea7358 Add python3 plugin 2013-05-03 20:26:58 -04:00
Christoph J. Thompson 5b8567919d Install a pkgconfig .pc file. This allows external plugins to find
where the header file is located, where Hexchat expects to find
plugins so it can load them at startup and which version of
Hexchat is installed. The path where pkgconfig files are stored
is determined by a macro available in newer versions of pkgconfig
which can be overridden by the --with-pkgconfig= configure switch.
However, if this macro is unavailable (older versions of
pkgconfig) then m4ifdef will make it fallback to simply use
${libdir}/pkgconfig (which is the default).

	modified:   configure.ac
	modified:   share/Makefile.am
	new file:   share/pkgconfig/Makefile.am
	new file:   share/pkgconfig/hexchat-plugin.pc.in
2013-04-28 16:48:32 +02:00
Christoph J. Thompson 77cad8e716 Don't hardcode "plugins" as the subdirectory for plugins in many
places.

	modified:   config-win32.h
	modified:   configure.ac
	modified:   plugins/checksum/Makefile.am
	modified:   plugins/doat/Makefile.am
	modified:   plugins/fishlim/Makefile.am
	modified:   plugins/perl/Makefile.am
	modified:   plugins/python/Makefile.am
	modified:   plugins/sysinfo/Makefile.am
	modified:   plugins/xdcc/Makefile.am
	modified:   src/common/plugin.c
	modified:   src/fe-text/fe-text.c
2013-04-28 16:42:48 +02:00
TingPing bb878848f7 Use regular canberra not gtk 2013-04-27 20:28:39 -04:00
TingPing 7e3c8c461e Escape all the things 2013-04-27 20:38:39 -03:00
TingPing 78e39bfb1c use libcanberra for beeps 2013-04-27 18:05:05 -04:00
Berke Viktor 6001ceff9f Get rid of bundled beep 2013-04-27 23:00:18 +02:00
RichardHitt ba1dfabf11 Fix Ubuntu build warnings by using gcc flag -Wno-unused-result 2013-04-22 11:22:04 -07:00
TingPing 3fbea449b5 g_file requires gio 2013-04-17 05:45:51 -03:00
TingPing 02cdc57eb5 Install sound file on unix
for #542
2013-04-17 03:45:41 -04:00
Berke Viktor 9272eb4325 G_FILE_COPY_TARGET_DEFAULT_PERMS requires GLib 2.20+ 2013-04-14 11:00:01 +02:00
Berke Viktor 2d3d4db16b Nuke last Tcl and SASL remnants 2013-04-13 04:27:10 +03:00
Berke Viktor faf4575e9a Enable cast checks 2013-04-02 23:58:43 -07:00
TingPing 8b72d53dcc Merge pull request #496 from bviktor/toplevel-includes
Only include top level includes from GTK+, GLib and GDK-PixBuf Closes #486
2013-04-02 22:39:17 -07:00
Berke Viktor 14b089ef90 Set up CFLAGS on Unix too 2013-04-02 22:35:42 -07:00
Berke Viktor b5fef8d0e2 gtk_show_uri() requires GTK+ 2.14 2013-04-03 06:49:57 +02:00
TingPing 7317535c28 Fix textfe with dbus disabled 2013-04-02 09:06:47 -03:00
Berke Viktor 408a29d66a Version bump 2013-04-02 03:07:55 +02:00