diff --git a/Makefile.am b/Makefile.am index 901951c..d50d5af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,17 +80,6 @@ $(CONF_PATH_FILE): echo "(alexandria:define-constant +catalog-dir+" >> $(CONF_PATH_FILE); echo -e "\""$(localedir)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - echo "(alexandria:define-constant +text-domain+" >> $(CONF_PATH_FILE); - echo -e "\""$(PACKAGE)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - - echo "(alexandria:define-constant +program-name+" >> $(CONF_PATH_FILE); - echo -e "\""$(PACKAGE)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - - echo "(alexandria:define-constant +program-version+" >> $(CONF_PATH_FILE); - echo -e "\""$(VERSION)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - - echo "(alexandria:define-constant +issue-tracker+" >> $(CONF_PATH_FILE); - echo -e "\""$(PACKAGE_BUGREPORT)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); cat $(CONF_PATH_FILE).in | sed "\/^;;.*$\/d" >> $(CONF_PATH_FILE); dist-hook: diff --git a/Makefile.in b/Makefile.in index aef3271..fb5ada7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1075,17 +1075,6 @@ $(CONF_PATH_FILE): echo "(alexandria:define-constant +catalog-dir+" >> $(CONF_PATH_FILE); echo -e "\""$(localedir)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - echo "(alexandria:define-constant +text-domain+" >> $(CONF_PATH_FILE); - echo -e "\""$(PACKAGE)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - - echo "(alexandria:define-constant +program-name+" >> $(CONF_PATH_FILE); - echo -e "\""$(PACKAGE)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - - echo "(alexandria:define-constant +program-version+" >> $(CONF_PATH_FILE); - echo -e "\""$(VERSION)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); - - echo "(alexandria:define-constant +issue-tracker+" >> $(CONF_PATH_FILE); - echo -e "\""$(PACKAGE_BUGREPORT)"\" :test #'string=)\n" >> $(CONF_PATH_FILE); cat $(CONF_PATH_FILE).in | sed "\/^;;.*$\/d" >> $(CONF_PATH_FILE); dist-hook: diff --git a/configure b/configure index f817f2f..10ac00e 100755 --- a/configure +++ b/configure @@ -614,7 +614,7 @@ PACKAGE_TARNAME='tinmop' PACKAGE_VERSION='0.9.9.141' PACKAGE_STRING='tinmop 0.9.9.141' PACKAGE_BUGREPORT='https://notabug.org/cage/tinmop/' -PACKAGE_URL='' +PACKAGE_URL='https://www.autistici.org/interzona/tinmop.html' gt_needs= ac_subst_vars='am__EXEEXT_FALSE @@ -1429,6 +1429,7 @@ Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . +tinmop home page: . _ACEOF ac_status=$? fi @@ -8437,7 +8438,8 @@ $config_files Configuration commands: $config_commands -Report bugs to ." +Report bugs to . +tinmop home page: ." _ACEOF ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` diff --git a/configure.ac b/configure.ac index 54c1a08..fdf9b3e 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program. dnl If not, see [[http://www.gnu.org/licenses/][http://www.gnu.org/licenses/]]. -AC_INIT([tinmop],[0.9.9.141],[https://notabug.org/cage/tinmop/],[tinmop]) +AC_INIT([tinmop],[0.9.9.141],[https://notabug.org/cage/tinmop/],[tinmop],[https://www.autistici.org/interzona/tinmop.html]) AM_INIT_AUTOMAKE([-Wall foreign]) diff --git a/src/api-client.lisp b/src/api-client.lisp index 717a223..7defcd8 100644 --- a/src/api-client.lisp +++ b/src/api-client.lisp @@ -180,6 +180,7 @@ authorizations was performed with success." Returns nil if the user did not provided a server in the configuration file" (when (text-utils:string-not-empty-p (swconf:config-server-name)) (make-instance 'api-client + :website +package-url+ :base (make-base-slot) :name +program-name+))) diff --git a/src/config.lisp.in.in b/src/config.lisp.in.in index b6569b0..615535b 100644 --- a/src/config.lisp.in.in +++ b/src/config.lisp.in.in @@ -13,15 +13,26 @@ ;; along with this program. ;; If not, see [[http://www.gnu.org/licenses/][http://www.gnu.org/licenses/]]. -(alexandria:define-constant +openssl-bin+ "@OPENSSL@" :test #'string=) +(alexandria:define-constant +text-domain+ "@PACKAGE@" :test #'string=) -(alexandria:define-constant +xdg-open-bin+ "@XDG_OPEN@" :test #'string=) +(alexandria:define-constant +program-name+ "@PACKAGE@" :test #'string=) -(alexandria:define-constant +unzip-bin+ "@UNZIP@" :test #'string=) +(alexandria:define-constant +program-version+ "@VERSION@" :test #'string=) -(alexandria:define-constant +man-bin+ "@MAN@" :test #'string=) +(alexandria:define-constant +issue-tracker+ "@PACKAGE_BUGREPORT@" :test #'string=) -(alexandria:define-constant +montage-bin+ "@MONTAGE@" :test #'string=) +(alexandria:define-constant +package-url+ "@PACKAGE_URL@" :test #'string=) + + +(alexandria:define-constant +openssl-bin+ "@OPENSSL@" :test #'string=) + +(alexandria:define-constant +xdg-open-bin+ "@XDG_OPEN@" :test #'string=) + +(alexandria:define-constant +unzip-bin+ "@UNZIP@" :test #'string=) + +(alexandria:define-constant +man-bin+ "@MAN@" :test #'string=) + +(alexandria:define-constant +montage-bin+ "@MONTAGE@" :test #'string=) (eval-when (:compile-toplevel :load-toplevel :execute) diff --git a/src/package.lisp b/src/package.lisp index 061c61d..b16e5c0 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -32,6 +32,7 @@ :+program-name+ :+program-version+ :+issue-tracker+ + :+package-url+ :+openssl-bin+ :+xdg-open-bin+ :+unzip-bin+