1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

308 Commits

Author SHA1 Message Date
Michael Vetter
7be6158c80 Set C99 standard in configure
We already use uint_32 from stdint.h which AFAIK is C99.
I seem to remember there is more C99 in the code. Let's explicitly
define it here.

Also fixes build for https://github.com/boothj5/profanity/pull/1053
2019-04-12 12:18:51 +02:00
Paul Fariello
f9b2fdc7db OMEMO should be written uppercase 2019-04-10 17:24:56 +02:00
Paul Fariello
edbc15fa2b Don't build OMEMO by default 2019-04-10 17:23:46 +02:00
Paul Fariello
97c661271b Add support for libsignal-protocol-c 2.3.2 2019-04-10 17:12:31 +02:00
Paul Fariello
605e06411c Get rid of libsodium 2019-04-10 16:31:45 +02:00
Paul Fariello
0fb27dc496 Add OMEMO message encryption and decryption 2019-04-10 16:03:50 +02:00
Paul Fariello
2602cbf785 Move OMEMO initialization to profanity intialization
Also store identity keys into account
2019-04-10 15:37:22 +02:00
Paul Fariello
bfbc8edcad Add crypto backend for signal-protocol 2019-04-08 11:50:12 +02:00
Paul Fariello
4a5b672f95 Link against libsignal-protocol-c 2019-04-08 11:50:12 +02:00
Michael Vetter
7ca97e467e Set status to development 2019-02-18 14:11:19 +01:00
Michael Vetter
cc753d2a29 Release 0.6.0 RC1 2019-01-22 11:38:40 +01:00
Dmitry Podgorny
671849c711 autotools: use pkgconfig for libotr 2018-11-01 13:41:58 +02:00
Michael Vetter
bb87122af9
Merge pull request #1011 from jubalh/sha1
Get rid of p_sha1 dependency
2018-09-19 11:45:19 +02:00
Michael Vetter
eec7d34eab Require libmesode/libstrophe >= 0.9.2
The sha1 function `xmpp_sha1_digest()` from libmesode/libstrophe, that we now use instead of `p_sha1_hash() which depended on another third party sha1 lib is only avilable in version >= 0.9.2.
2018-09-13 21:03:33 +02:00
Dmitry Podgorny
b367c848d4 configure.ac: add proper check for gio-2.0
PR #999 adds call of g_object_unref() which requires libgobject-2.0.
The library is dependency of gio-2.0 and the problem is that current
configure.ac simply adds -lgio-2.0 without dependencies.

As fix, use pkg-config module.
2018-09-06 19:54:29 +03:00
Rafael Sadowski
8fd77ea19b autoconf adjustments for OpenBSD
In OpenBSD we have two readline libs. On the one hand we have an old
version in the base OS and on the other hand we have an new one in the
ports tree. profanity needs the new one and should pick up the right
one. readline from ports tree is prefixed as ereadline.

Note:
Original patch by Rafael Sadowski.
Cleaned up by jubalh with heavy help of pasis.
2018-08-13 17:18:19 +02:00
James Booth
97edebadcb Update Glib dependency to 2.40 2017-03-25 02:07:27 +00:00
James Booth
f683a704ad Update version to 0.6.0 development 2016-09-22 21:02:34 +01:00
James Booth
751d9624c3 Set to development version 0.5.1 2016-09-16 00:03:23 +01:00
James Booth
6d274ba846 Release 0.5.0 2016-09-15 22:53:43 +01:00
Dmitry Podgorny
af53ca8f6c configure.ac: remove outdated xml parser info 2016-09-08 11:44:06 +03:00
James Booth
56c0c533e3 Disable C plugins on Cygwin 2016-09-08 00:36:11 +01:00
James Booth
c908f37a23 Fail configure when no pthread support 2016-09-05 22:00:16 +01:00
James Booth
27a842d1cf Include python plugins by default in build 2016-07-24 01:34:02 +01:00
James Booth
7d742f704f Fix prof module init for python3 2016-07-18 01:27:23 +01:00
James Booth
ace2715cf7 Added PYTHON3 define 2016-07-14 00:00:46 +01:00
Dmytro Podgornyi
7d857fc30e Fix libcurl check in configure.ac for OS X
OS X contains libcurl without a pkg-config file and ./configure
reports error. Add AC_CHECK_LIB in order to find libcurl properly.

Also remove manual adding -lncurses and -lcurl to LIBS, because
AC_CHECK_LIB does this job.
2016-05-21 16:07:40 +03:00
James Booth
559b1608cf Only set CC to PTHREAD_CC when value present 2016-04-27 23:02:22 +01:00
James Booth
94f0550c51 Allow --disable-icons 2016-04-27 22:49:20 +01:00
James Booth
4ca6296fb7 Fix OSX compile 2016-04-26 23:50:56 +02:00
James Booth
9d263d7c83 Fixed cygwin compile 2016-04-26 23:50:55 +02:00
James Booth
261bbd3fc0 Removed only add -lgio-2.0 manually on OSX 2016-04-26 23:50:55 +02:00
Dominik Heidler
1b0ce852bb Implement XEP-0363: HTTP File Upload 2016-04-26 23:50:55 +02:00
James Booth
697db019d5 Merge remote-tracking branch 'Dav1d23/master'
Conflicts:
	Makefile.am
	install-all.sh
2016-04-11 00:23:36 +01:00
James Booth
31369e2e55 Added comment for AX_PREFIX_CONFIG_H 2016-03-31 21:19:34 +01:00
James Booth
9b177a9e01 Removed #AX_PREFIX_CONFIG_H 2016-03-31 21:05:02 +01:00
David
1e60d17d7c libgtk is now optional
Having the lib is no more needed.
2016-03-30 23:21:41 +02:00
Dmitry Podgorny
5278572fec autotools: Disable python-plugins by default
Profanity doesn't build with Python-3.5. This patch temporary disables
python api unless user enable it explicitly.
2016-03-24 00:36:07 +02:00
David
098d84ef73 Merge branch 'tray_icon' into HEAD
Let's thanks Aline <linuxine@gmail.com> for the icons.

Enjoy!
2016-03-12 17:37:46 +01:00
David
718a708b93 Use a folder to add icons
NOTE: it is not working in this release, I have to get how to retrieve
icons from folder.
2016-03-07 22:26:48 +01:00
David
dc0c3cc699 Introduce Tray Icon for Profanity
Add tray icon for profanity based on Gtk StatusIcon.
Different icon is displayed in case the user has unread messages.
2016-03-06 19:10:46 +01:00
James Booth
2c7a4e4843 Added workaround for http://bugs.python.org/issue3588 2016-03-02 23:00:47 +00:00
James Booth
7cf8f47fa6 Moved python flags to LIBS in configure.ac 2016-02-28 21:14:10 +00:00
James Booth
0fc0b3eeec Added python plugins code 2016-02-24 00:31:55 +00:00
James Booth
41fe8c22b1 Added C plugin code from plugins branch 2016-02-14 22:28:55 +00:00
James Booth
e8ae73c71e Updated version to 0.5.0 dev 2015-12-02 00:27:29 +00:00
James Booth
6e28df66e8 Use libstrophe/libmesode uuid generator 2015-10-12 23:37:11 +01:00
James Booth
2b88e2f1bf Check for libmesode, fall back to libstrophe 2015-09-21 21:40:04 +01:00
James Booth
14edbe1770 Set development version 2015-09-20 18:48:43 +01:00
James Booth
60acf6f05b Release 0.4.7 2015-09-20 16:46:29 +01:00
James Booth
c5a04de9fb Added libexpect check for functional tests 2015-07-20 23:28:23 +01:00
James Booth
252c7c2e06 Only run functional tests when libstabber available 2015-07-03 15:14:34 +01:00
Dmitry Podgorny
c47688f37c autotools: Don't link profanity with libstabber 2015-06-23 22:33:51 +00:00
James Booth
2d3537515d Added AC_SYS_LARGEFILE to configure.ac 2015-06-23 20:37:42 +01:00
James Booth
24ebb51254 Use AM_CPPFLAGS for gpgme-config --cflags 2015-06-22 20:35:46 +01:00
James Booth
f81873824b Use gpgme-config 2015-06-22 20:08:22 +01:00
James Booth
54df2101be Tidied gpgme check 2015-06-22 18:48:00 +01:00
James Booth
2c8b598d3f Merge remote-tracking branch 'pasis/configure-cleanup' 2015-06-21 23:32:03 +01:00
Dmitry Podgorny
1dba341da8 autotools: Avoid copy-paste in configure.ac 2015-06-21 21:29:20 +00:00
James Booth
9aff8abd2e Merge branch 'master' into openpgp
Conflicts:
	.travis.yml
2015-06-05 23:02:56 +01:00
James Booth
ae4e07ad87 Show notice message only when stabber not found 2015-06-05 22:54:10 +01:00
James Booth
2c5b44421e Added initial stabber test 2015-05-17 22:05:43 +01:00
James Booth
7e4b756e44 Merge branch 'master' into pgp 2015-04-11 23:38:44 +01:00
James Booth
a2ccd89646 Autogenerate room name with UUID for /join with no args 2015-04-11 23:37:52 +01:00
James Booth
2490c3ed20 Added pgp key list command 2015-03-22 00:12:14 +00:00
James Booth
f0ffceefdd Added freebsd check for libnotify 2015-03-15 15:30:16 +00:00
James Booth
e361ea6922 Added conditional OSX check for readline 2015-03-08 18:47:01 +00:00
James Booth
2e493112bb Merge branch 'master' into readline 2015-03-08 18:12:50 +00:00
James Booth
0dee898c01 Set version to 0.4.7 development 2015-03-04 00:45:42 +00:00
James Booth
f80689dd35 Set version to 0.4.6 2015-03-03 22:22:28 +00:00
James Booth
f80f79e0b5 Added configure conditions for OSX brew installed readline 2015-02-03 22:04:30 +00:00
James Booth
82ddbf332d Added OSX readline keyseq bindings 2015-02-03 21:38:48 +00:00
James Booth
5954c0d2fe Readline osx compatibility 2015-02-02 21:27:58 +00:00
James Booth
2cdbfc7eb7 Added gnu readline 2015-01-27 22:13:09 +00:00
James Booth
0f8873b887 Set version to 0.4.6 development 2014-11-07 01:14:20 +00:00
James Booth
8120c9ebb0 Set version to 0.4.5 2014-11-07 00:17:40 +00:00
James Booth
5235b1f149 Fixed PLATFORM check in configure.ac 2014-10-30 23:42:08 +00:00
Fabian Freyer
2c361644d6 autotools: FreeBSD Support
Added libresolv and openssl checks for freebsd
Added libstrophe pkg-config dependency
2014-10-29 14:15:11 +01:00
Fabian Freyer
35127321c9 m4 support 2014-10-08 02:35:47 +02:00
James Booth
f983438e97 Fixed check for wget_wch to not rely on header
As per pasis suggestion at #421
2014-09-07 23:54:31 +01:00
Dmitry Podgorny
790f9173af autotools: use public API to check libstrophe
parser_new is not exported by libstrophe anymore.
2014-09-07 14:39:08 +03:00
James Booth
24c6c47ff6 Set version to 0.4.5 development 2014-08-24 22:36:34 +01:00
James Booth
8bc46773b2 Set version to 0.4.4 release 2014-08-24 22:30:40 +01:00
James Booth
3cae02080d Revert "Removed libstrophe dependencies as no longer statically linking"
This reverts commit 7f0fd06d0b.

issue #408
2014-08-24 22:11:31 +01:00
James Booth
7f0fd06d0b Removed libstrophe dependencies as no longer statically linking 2014-08-13 20:47:56 +01:00
James Booth
5d86e57cf9 Set to 0.4.4 development 2014-08-09 23:47:23 +01:00
James Booth
bd1539b1a6 Set status to release 2014-08-09 23:12:21 +01:00
James Booth
edac38784d Removed AC_FUNC_MALLOC 2014-08-09 21:04:36 +01:00
James Booth
996817d67f Changed version to 0.4.3dev 2014-07-17 00:08:57 +01:00
James Booth
575b6acdd2 Use public domain SHA1 code, remove libgcrypt dependency 2014-06-01 22:42:10 +01:00
James Booth
3c5a73d29e Use libgcrypt instead of libgnutls for SHA1 hashing 2014-05-21 20:35:01 +01:00
James Booth
1f88ca5032 Set version to 0.5.0 development 2014-05-19 21:48:18 +01:00
James Booth
6e23004196 Set status to release 2014-05-19 21:46:42 +01:00
James Booth
e10ea1be4e Fixed OTR dependency when library not present, changed version to 0.4.2 2014-05-19 20:41:19 +01:00
James Booth
3fb5649ccc Set version to 0.5.0 development 2014-05-18 16:29:58 +01:00
James Booth
f5a1cb717d Set status to 0.4.1 release 2014-05-18 16:28:37 +01:00
James Booth
7adf345358 Set status to 0.5.0 dev 2014-05-18 02:11:39 +01:00
James Booth
e467e91302 Set status to release 2014-05-18 02:09:02 +01:00
James Booth
acdda9a82c Changed version to 0.4.1dev for patch release 2014-05-11 01:35:45 +01:00
James Booth
59e9083224 Fixed gnutls dependency for ubuntu 2014-05-01 22:29:06 +01:00
James Booth
524b1f2383 Changed to use gnutls instead of openssl for sha1 hashing 2014-05-01 22:18:04 +01:00
Dmitry Podgorny
aa6e2284fc config/theme: search for system-wide themes
Search for system-wide themes (usually /usr/share/profanity/themes) if
not found in user's home directory.

Not tested yet.
2014-04-09 21:42:14 +03:00
Dmitry Podgorny
3ceb9b0d1d autotools: install themes during 'make install'
Default path for themes is ${pkgdatadir}/themes that usualy equals to
/usr/share/profanity/themes. This patch also introduces new option
--with-themes[=PATH] that specifies installation path. This option can
be used for cancel of installation at all: --without-themes.

References: issue #323
2014-04-08 00:51:57 +03:00
James Booth
47632bd3ee Set version to 0.5.0 development 2014-03-29 18:55:35 +00:00
James Booth
45cf45b218 Set status to release 2014-03-29 17:12:12 +00:00
James Booth
72c35553fd Split ncurses and curl LIB additions 2014-03-09 00:04:39 +00:00
James Booth
7fa9ecc76d Uncomment ncurses check 2014-03-09 00:02:34 +00:00
James Booth
768df4d736 Ncurses include libs before wget_wch check 2014-03-08 23:57:50 +00:00
James Booth
2b3d645147 Added other osx build options 2014-03-08 23:38:30 +00:00
James Booth
2c976d3523 Commented ncurses wget_wch test 2014-03-08 22:32:54 +00:00
James Booth
d683c49b6c Revert "Set package status to brew for osx"
This reverts commit 8ae6f52f10.
2014-03-06 21:38:26 +00:00
James Booth
db39450734 Revert "Do not perform AC_FUNC_MALLOC on OSX"
This reverts commit e7b6d068a0.
2014-03-06 21:37:47 +00:00
James Booth
bc8a871ad9 Revert "Ncurses fixes for brew"
This reverts commit ca0a1e4d9d.
2014-03-06 21:37:46 +00:00
James Booth
1588106e91 Revert "More ncurses fixes for brew"
This reverts commit 5817b07ee3.
2014-03-06 21:37:40 +00:00
James Booth
5817b07ee3 More ncurses fixes for brew 2014-03-06 21:32:36 +00:00
James Booth
ca0a1e4d9d Ncurses fixes for brew 2014-03-06 21:21:54 +00:00
James Booth
e7b6d068a0 Do not perform AC_FUNC_MALLOC on OSX 2014-03-06 20:51:22 +00:00
James Booth
8ae6f52f10 Set package status to brew for osx 2014-03-06 20:48:44 +00:00
James Booth
c51cc954d8 Moved platform check in configure.ac 2014-03-06 20:45:35 +00:00
James Booth
702600d300 Merge branch 'master' into opensuse 2014-03-05 00:15:20 +00:00
James Booth
d68c594150 Merge branch 'osx-notify' 2014-03-05 00:11:50 +00:00
James Booth
4d00f788e9 Fixed spelling mistake in configure.ac 2014-03-05 00:11:18 +00:00
James Booth
b5171cb054 Added configure checks to enable desktop notifications on OSX 2014-03-04 22:59:09 +00:00
James Booth
5b734156a5 Changes to get install-all.sh working on fresh opensuse VM 2014-02-25 22:50:25 +00:00
James Booth
4cb302abda Ignore deprecated warnings
To enable native (non brew) compile on Max OS X
2014-02-12 20:52:27 +00:00
James Booth
fa89e2aa62 Check for libotr version 2014-02-09 00:32:11 +00:00
James Booth
50afe7366e Use AC_SEARCH_LIBS for otr 2014-02-08 23:29:42 +00:00
James Booth
7e4b1b1dea Added libotr back to configure by default
Renamed to BUILD_OTR3
2014-02-08 23:07:51 +00:00
James Booth
42300fdc18 Added AC_CHECK_LIB fallback for brew 2014-02-02 17:59:22 +00:00
James Booth
96af960995 Disable OTR support by default until 4.0.0 is supported.
enable with: ./configure --enable-otr
2014-01-28 22:40:01 +00:00
James Booth
3f73cb7732 Fixed configure.ac for --disable-otr 2014-01-16 22:55:30 +00:00
James Booth
264fc55aa2 Added conditionals to makefile for otr support 2014-01-12 02:15:16 +00:00
James Booth
4e97c1e460 Merge branch 'master' into otr 2014-01-12 01:25:35 +00:00
Jasper van Bourgognie
f1bd350567 Check for res_query, then for __res_query in libresolv 2014-01-09 21:39:01 +01:00
James Booth
e504c030a6 Merge branch 'master' into otr
Conflicts:
	configure.ac
2014-01-03 17:54:51 +00:00
Dmitry Podgorny
0cdbfecb35 configure.ac: added check for expat without pkg-config
and some refactoring
2014-01-02 22:18:42 +02:00
Dmitry Podgorny
c7551b50c3 configure.ac: removed autoconf version check
autoconf-2.63 works well
2014-01-02 19:19:19 +02:00
James Booth
170af88c0d Merge branch 'master' into otr
Conflicts:
	Makefile.am
2014-01-02 01:57:05 +00:00
Dmitry Podgorny
249e60e07d configure.ac: glib must be at least 2.26
Profanity uses GDateTime structure that appeared in glib-2.26.
2014-01-01 22:37:55 +02:00
Dmitry Podgorny
2519e450e3 configure.ac: added check for wget_wch support 2013-12-31 01:39:21 +02:00
James Booth
8840457e19 Merge remote-tracking branch 'louiecaulfield/master' 2013-12-29 15:41:22 +00:00
Dmitry Podgorny
dcccfacb68 autotools: refactored configure.ac
This patch implements request #269.
2013-12-29 01:27:15 +02:00
Jasper van Bourgognie
7272f42c97 configure.ac: use ncursesw if it's there, but continue if only ncurses is found 2013-12-27 22:05:33 +01:00
Jasper van Bourgognie
8f26b3bbf9 configure.ac: Check for ncurses instead of ncursesw 2013-12-27 20:52:42 +01:00
James Booth
2470f642c7 Merge branch 'master' into otr
Conflicts:
	src/command/command.c
2013-12-15 17:19:01 +00:00
James Booth
7f7973f9a7 Moved common tests to cmocka 2013-12-14 16:07:57 +00:00
James Booth
bd1c139429 Added libotr 2013-11-08 00:17:02 +00:00
James Booth
d782b00711 Added git branch and revision to development builds 2013-09-17 00:59:37 +01:00
James Booth
b1768f942c Set status to 0.4.0 development 2013-08-11 18:42:54 +01:00
James Booth
520d2129ea Set status to release 2013-08-11 17:06:08 +01:00