1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

286 Commits

Author SHA1 Message Date
Michael Vetter
28bdbf8ea1 Bump libstrophe requirement to 0.9.3
legacy auth (ac410445af) requires
libstrophe 0.9.3 because of XMPP_CONN_FLAG_LEGACY_AUTH.
2020-06-05 19:37:53 +02:00
Michael Vetter
8c9aee22e8 Correctly check for 'expect'
The expect library doesnt export 'main'. But it exports (and we use)
exp_expectl.
2020-06-04 12:29:49 +02:00
Michael Vetter
98c38dc6d6
Merge pull request #1351 from toogley/master
Use always c99
2020-06-04 11:28:24 +02:00
Michael Vetter
0071bbb4be
Merge pull request #1349 from profanity-im/autotools
configure.ac: add additional check for libstrophe
2020-06-03 15:15:10 +02:00
Michael Vetter
42eb9ba63d Include mesode.h in libmesode test case
Regards https://github.com/profanity-im/profanity/issues/1334
2020-06-03 14:31:41 +02:00
toogley
26cda6b5e6
use always c99; fixes "universal character names" error msg
without this, i receive this error on openbsd 6.7:

src/event/server_events.c:1477:19: error: universal character names are only valid in C++ and C99
src/event/server_events.c:1478:19: error: universal character names are only valid in C++ and C99
gmake[1]: *** [Makefile:1925: src/event/server_events.o] Error 1
gmake[1]: Leaving directory '/home/toogley/profanity'
gmake: *** [Makefile:1212: all] Error 2
2020-06-02 15:30:55 +00:00
Dmitry Podgorny
75bb00368f configure.ac: add additional check for libstrophe
After the library is found by pkg-config, try to build a simple program
to check the installation. The motivation of this check is that the
chance that users manually install libstrophe/libmesode is higher than
for other libs.

Fixes #1334.
2020-05-31 20:02:48 +03:00
DebXWoody
cf78fac508
Fix: configure sqlite 2020-05-30 19:39:12 +02:00
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
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