1
0
Fork 0

Compare commits

...

4 Commits

Author SHA1 Message Date
cage e9b7a45214 - removed IDN2_NO_ALABEL_ROUNDTRIP from grovel file for libidn2 (see previous commit message). 2021-01-03 20:24:28 +01:00
cage ad10c2517d - removed IDN2_ALABEL_ROUNDTRIP_FAILED from grovel file for libidn2
This value  has been added lately  to the C library  and some system
  (reportedly:  Debian Buster)  ships an  old version  of the  library
  without this enumeration's value.

  I am commenting out the code, preventing grovel to process it for now.
2021-01-03 19:29:16 +01:00
cage 6b52bf6f63 - updated README and FAQ. 2021-01-03 17:55:02 +01:00
cage 85d26f9146 - added switch to disable compiler check at build time. 2021-01-03 17:39:52 +01:00
5 changed files with 95 additions and 14 deletions

View File

@ -50,6 +50,9 @@
- xdg-open;
- your favourite editor (default: nano).
All the dependencies above should be available using the package
manager of your distribution (~apt~, ~yum~ etc).
** Lisp Libraries
- alexandria;
@ -77,6 +80,9 @@
- crypto-shortcuts;
- drakma.
All these libraries will be downloaded, compiled and installed by
the script ~quick_quicklisp.sh~, see below.
** Foreign (C language) library
- libssl (TLS socket)
@ -129,7 +135,13 @@
$ make install
#+END_SRC
7. run the software!
7. take a look the manpage:
#+BEGIN_SRC sh
$ man tinmop
#+END_SRC
8. run the software!
#+BEGIN_SRC sh
$ tinmop
@ -201,6 +213,15 @@
* FAQ
- The ~quick_quicklisp.sh~ script failed and refuse to start again,
what can I do?
If tinmop is the first Common lisp program you have ever installed
installed, try to rename the directory ~$/HOME/quicklisp~ and,
then, restart the script.
If problem persists [[BUGS][contact me]].
- Is tinmop compatible with mastodon servers?
Unfortunately no, the way some API endpoint provide the toots is

View File

@ -88,6 +88,9 @@ Table of Contents
• xdg-open;
• your favourite editor (default: nano).
All the dependencies above should be available using the package
manager of your distribution (`apt', `yum' etc).
3.2 Lisp Libraries
──────────────────
@ -117,6 +120,9 @@ Table of Contents
• crypto-shortcuts;
• drakma.
All these libraries will be downloaded, compiled and installed by the
script `quick_quicklisp.sh', see below.
3.3 Foreign (C language) library
────────────────────────────────
@ -174,7 +180,13 @@ Table of Contents
│ $ make install
└────
7. run the software!
7. take a look the manpage:
┌────
│ $ man tinmop
└────
8. run the software!
┌────
│ $ tinmop
@ -270,6 +282,15 @@ Table of Contents
11 FAQ
══════
• The `quick_quicklisp.sh' script failed and refuse to start again,
what can I do?
If tinmop is the first Common lisp program you have ever installed
installed, try to rename the directory `$/HOME/quicklisp' and, then,
restart the script.
If problem persists [contact me].
• Is tinmop compatible with mastodon servers?
Unfortunately no, the way some API endpoint provide the toots is not
@ -322,6 +343,8 @@ Table of Contents
So, please do not consider the encrypted message secure at all.
[contact me] See section 6
[here] <https://github.com/tootsuite/mastodon/issues/13817>

28
configure vendored
View File

@ -719,6 +719,7 @@ with_gnu_ld
enable_rpath
with_libiconv_prefix
with_libintl_prefix
enable_check_sbcl_version
'
ac_precious_vars='build_alias
host_alias
@ -1366,6 +1367,8 @@ Optional Features:
--disable-dependency-tracking
speeds up one-time build
--disable-rpath do not hardcode runtime library paths
--disable-check-sbcl-version
Disable checks for minimum supported SBCL version
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -6566,11 +6569,28 @@ fi
SBCL_MIN_VERSION="1.5.9";
SBCL_VERSION=`${LISP_COMPILER} --version | ${GAWK} -- '// {print $2}'`
SBCL_VERSION_OK=`echo "$SBCL_VERSION $SBCL_MIN_VERSION" | awk -f compare_version.awk`
if test "$SBCL_VERSION_OK" = "1" ; then
as_fn_error $? "Lisp compiler too old, $SBCL_MIN_VERSION is the oldest supported." "$LINENO" 5
exit 1;
CHECK_COMPILER_VERSION_P="yes"
# Check whether --enable-check-sbcl-version was given.
if test "${enable_check_sbcl_version+set}" = set; then :
enableval=$enable_check_sbcl_version;
fi
if test "$enable_check_sbcl_version" = "yes" || test "$enable_check_sbcl_version" = "" ; then
SBCL_VERSION_OK=`echo "$SBCL_VERSION $SBCL_MIN_VERSION" | awk -f compare_version.awk`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler is too old" >&5
$as_echo_n "checking if the compiler is too old... " >&6; }
if test "$SBCL_VERSION_OK" = "1" ; then
as_fn_error $? "Lisp compiler too old, $SBCL_MIN_VERSION is the oldest supported." "$LINENO" 5
exit 1;
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: version is not too old" >&5
$as_echo "version is not too old" >&6; }
fi
fi
ac_config_files="$ac_config_files Makefile quick_quicklisp.sh po/Makefile.in src/config.lisp.in"

View File

@ -78,11 +78,22 @@ AC_PROG_MKDIR_P
dnl check sbcl version
SBCL_MIN_VERSION="1.5.9";
SBCL_VERSION=`${LISP_COMPILER} --version | ${GAWK} -- '// {print $2}'`
SBCL_VERSION_OK=`echo "$SBCL_VERSION $SBCL_MIN_VERSION" | awk -f compare_version.awk`
if test "$SBCL_VERSION_OK" = "1" ; then
AC_MSG_ERROR([Lisp compiler too old, $SBCL_MIN_VERSION is the oldest supported.])
exit 1;
CHECK_COMPILER_VERSION_P="yes"
AC_ARG_ENABLE([check-sbcl-version], [AS_HELP_STRING([--disable-check-sbcl-version], [Disable checks for minimum supported SBCL version])], [], [])
if test "$enable_check_sbcl_version" = "yes" || test "$enable_check_sbcl_version" = "" ; then
SBCL_VERSION_OK=`echo "$SBCL_VERSION $SBCL_MIN_VERSION" | awk -f compare_version.awk`
AC_MSG_CHECKING([if the compiler is too old])
if test "$SBCL_VERSION_OK" = "1" ; then
AC_MSG_ERROR([Lisp compiler too old, $SBCL_MIN_VERSION is the oldest supported.])
exit 1;
else
AC_MSG_RESULT([version is not too old])
fi
fi
AC_CONFIG_FILES([Makefile quick_quicklisp.sh po/Makefile.in src/config.lisp.in])

View File

@ -30,8 +30,11 @@
((:bidi "IDN2_BIDI"))
((:dot-in-label "IDN2_DOT_IN_LABEL"))
((:invalid-transitional "IDN2_INVALID_TRANSITIONAL"))
((:invalid-nontransitional "IDN2_INVALID_NONTRANSITIONAL"))
((:alabel-roundtrip-failed "IDN2_ALABEL_ROUNDTRIP_FAILED")))
((:invalid-nontransitional "IDN2_INVALID_NONTRANSITIONAL")))
;;; this value does not exists for old version of the library, removing
;;; to allow compilation on old system
;; ((:alabel-roundtrip-failed "IDN2_ALABEL_ROUNDTRIP_FAILED")))
(cenum (flags)
((:nfc-input "IDN2_NFC_INPUT"))
@ -40,5 +43,8 @@
((:nontransitional "IDN2_NONTRANSITIONAL"))
((:allow-unassigned "IDN2_ALLOW_UNASSIGNED"))
((:use-std3-ascii-rules "IDN2_USE_STD3_ASCII_RULES"))
((:no-tr46 "IDN2_NO_TR46"))
((:no-alabel-roundtrip "IDN2_NO_ALABEL_ROUNDTRIP")))
((:no-tr46 "IDN2_NO_TR46")))
;;; this value does not exists for old version of the library, removing
;;; to allow compilation on old system
;; ((:no-alabel-roundtrip "IDN2_NO_ALABEL_ROUNDTRIP")))