Commit Graph

95 Commits

Author SHA1 Message Date
hasufell
5914cd9e62 configure: Improve python logic
- add checks for python3.4
- only warn once for failure to find a version
- only run pkg-config call if the .pc file was actually found
- make unsupported python version non-fatal

Closes #1006
Closes #989
2014-06-27 19:43:40 -04:00
TingPing
3e3939b3f0 Fix autotools warning 2014-06-27 19:43:39 -04:00
TingPing
8578a9d52d Always use GModule for plugin support
Also cleans up some dead code
2014-06-02 05:38:13 -04:00
TingPing
9b9ca27987 Bump version to 2.10.0 2014-06-01 13:07:12 -04:00
TingPing
6cf54d6515 Remove some hardcoded version numbers
- man page
- makebundle.sh
2014-06-01 11:40:48 -04:00
TingPing
f35ae03a66 Build with GTK_DISABLE_DEPRECATED 2014-02-14 16:31:08 -05:00
TingPing
a1f01aca0f osx: generate plist file 2014-01-30 02:13:42 -05:00
TingPing
83bf77f4d0 More autotools cleanup
- Don't build msproxy if unused
- Add resources to cleanfiles
- Remove old extra_dist from plugins
2014-01-30 02:01:42 -05:00
TingPing
e962039f83 configure: Don't error when python not found 2014-01-28 16:19:06 -05:00
TingPing
eb90f076bb configiure: Fix testing compiler flags on anything other than gcc 2014-01-16 00:32:52 -05:00
TingPing
c2c705a945 configure: add missing result message 2014-01-16 00:20:44 -05:00
TingPing
6f6070b8c8 configure: Don't build python or perl plugin when plugins are disabled 2014-01-16 00:12:06 -05:00
TingPing
37d92dd69c Check for gio during configure 2014-01-15 13:20:15 -05:00
TingPing
7b0acb2b44 Build with gtk-mac-integration
- Use HexChat logo for dock icon
- Use appmenu (not finished)
2014-01-14 22:14:27 -05:00
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