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

228 Commits

Author SHA1 Message Date
Michael Vetter
401ebce84e Downgrade sqlite to 3.22.0
Last version in Ubuntu LTS (bionic 18.04).
I think we don't use later functionality. Let's see.

glib version fits.
2020-04-08 20:10:23 +02:00
Michael Vetter
d3a387a0ec Downgrade dependencies
Use g_date_time_format() instead of g_date_time_format_iso8601() to only
rely on glib 2.56.0 which is the latest version in Debian Buster
(current stable).

We also only use basic sqlite functions so 3.27.0 should be fine there
(also the one in Debian buster).

Thanks to @DebXWoody.
2020-04-07 11:10:41 +02:00
Michael Vetter
9aefbdcb53 Require at least glib 2.62.
g_date_time_format_iso8601() is only in glib since 2.62.
2020-04-06 22:42:39 +02:00
Michael Vetter
e61238e9cd Require only sqlite 3.28.0
We don't need newer features and so it runs on Leap 15.1 too.
Let's see what Debian etc. need.
2020-04-06 22:37:05 +02:00
Michael Vetter
8bfb175d03 Start SQLite db module
I plan to save all messages in an SQLite db.
For retrieving information it's nicer than having it in a text file.
We will have more info in there and easier to parse it.

This will also be good for later MAM
(https://github.com/profanity-im/profanity/issues/660).

Regular text files will still be an option for users so that they can
easily grep them and do whatever they like.

Internally Profanity will only use the SQLite db.
2020-04-06 10:50:20 +02:00
William Wennerström
b267b065f5
Add builds.sr.ht CI for OpenBSD
* Add .builds/openbsd.yml for builds.sr.ht
* Update travis-build.sh -> ci-build.sh with OpenBSD case
* Fix libdl check in configure.ac (OpenBSD has libdl built-in)
* Fix some minor issues found when compiling on OpenBSD with GCC (e.g.
  uninitialized variables)
2020-02-17 10:54:15 +01:00
Michael Vetter
17b6cfaf7d Start next development cycle 2020-02-07 21:49:21 +01:00
Michael Vetter
4291281629 Release 0.8.1 2020-02-07 21:47:41 +01:00
Michael Vetter
266aef9338 Start next development cycle 2020-02-03 11:16:28 +01:00
Michael Vetter
94a9de8773 Release 0.8.0 2020-02-03 11:12:17 +01:00
Michael Vetter
6e5c928826 Check for fmod() function
Instead of adding `profanity_LDADD = -lm` to Makefile.am or using
`AC_CHECK_LIB()` in configurea.c I use `AC_SEARCH_LIBS()` in case the
fmod() function is in the libc.

See https://autotools.io/autoconf/finding.html
2019-12-12 14:57:00 +01:00
Michael Vetter
900a0451a7 Adjust tray configure switch to also include clipboard
General GTK.
2019-10-29 15:20:57 +01:00
Marko Zagožen
d3530b755d Include PYTHON_EXTRA_LIBS in libtool config
Fixes compilation when using custom Python installed with pyenv.
2019-10-01 18:13:12 +02:00
Michael Vetter
3ddcfb194a Set version to 0.7.1 2019-09-24 16:35:31 +02:00
Michael Vetter
1ea0e32c82 Set configure to devel 2019-07-31 12:00:58 +02:00
Michael Vetter
abde81d0d9 Release 0.7.0 2019-07-31 10:56:03 +02:00
Michael Vetter
d4892b29c4 Update profanity repo URL
Move from github.com/boothj5/* to github.com/profanity-im/*
2019-05-03 10:51:28 +02:00
Paul Fariello
b2dfdc7509 Add libgcrypt minimum version in configure error log 2019-04-13 00:41:24 +02:00
Paul Fariello
c00ab0351d Look for gcry_md_extract (libgcrypt >= 1.7.0) 2019-04-13 00:35:28 +02:00
Michael Vetter
0dfe61c01c Revert "Set C99 standard in configure"
This reverts commit 7be6158c80.
2019-04-12 15:36:11 +02:00
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