diff -pruN 0.8.0-2/debian/changelog 0.8.0-3/debian/changelog
--- 0.8.0-2/debian/changelog	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/changelog	2023-05-21 22:31:32.000000000 +0000
@@ -1,3 +1,27 @@
+libitl (0.8.0-3) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Set debhelper-compat version in Build-Depends.
+  * Update Vcs-* headers to use salsa repository.
+  * Remove obsolete field Contact from debian/upstream/metadata (already present
+    in machine-readable debian/copyright).
+  * Apply multi-arch hints.
+    + libitl-dev, libitl0: Add Multi-Arch: same.
+
+  [ أحمد المحمودي (Ahmed El-Mahmoudy) ]
+  * d/watch: update watch file
+  * d/control:
+    + Update to debhelper-compat 13
+    + Update to standards-version 4.6.2
+    + Add Rules-Requires-Root: no
+  * d/u/metadata: remove Homepage field
+  * Add c99-fix.diff patch to fix C99 compatability
+  * d/libitl0.symbols: add Build-Depends-Package
+
+ -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>  Mon, 22 May 2023 00:31:32 +0200
+
 libitl (0.8.0-2) unstable; urgency=medium
 
   * build_shared.diff patch: fixed library version
@@ -82,7 +106,7 @@ libitl (0.7.0-1) unstable; urgency=low
   * debian/rules:
     + Use quilt patch system.
     + Replace dh_clean -k with dh_prep
-  * Added 01_Makefile.in.diff patch to replace $(LD) with $(CC), since "-Wl," 
+  * Added 01_Makefile.in.diff patch to replace $(LD) with $(CC), since "-Wl,"
     is passed to it.
   * debian/copyright: converted to machine-readable format.
   * debian/libitl-dev.install: Remove pkg-config & *.la entries.
@@ -97,10 +121,9 @@ libitl (0.6.4-1) unstable; urgency=low
     #298794).
 
  -- Thamer Mahmoud <thamer@newkuwait.org>  Thu, 17 Mar 2005 01:29:43 +0300
-	
+
 libitl (0.6.3-1) unstable; urgency=low
 
   * Initial Release.
 
  -- Thamer Mahmoud <thamer@newkuwait.org>  Wed,  8 Dec 2004 10:05:07 +0300
-
diff -pruN 0.8.0-2/debian/compat 0.8.0-3/debian/compat
--- 0.8.0-2/debian/compat	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/compat	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-10
diff -pruN 0.8.0-2/debian/control 0.8.0-3/debian/control
--- 0.8.0-2/debian/control	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/control	2023-05-21 22:31:32.000000000 +0000
@@ -3,16 +3,18 @@ Section: libs
 Priority: optional
 Maintainer: Debian Islamic Maintainers <debian-islamic-maintainers@lists.alioth.debian.org>
 Uploaders: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
-Build-Depends: debhelper (>= 10), cmake
-Standards-Version: 4.1.1
-Homepage: http://www.arabeyes.org/project.php?proj=ITL
-Vcs-Git: https://anonscm.debian.org/git/debian-islamic/packages/libitl.git
-Vcs-Browser: https://anonscm.debian.org/git/debian-islamic/packages/libitl.git
+Build-Depends: debhelper-compat (= 13), cmake
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Homepage: https://github.com/arabeyes-org/ITL
+Vcs-Git: https://salsa.debian.org/islamic-team/libitl.git
+Vcs-Browser: https://salsa.debian.org/islamic-team/libitl
 
 Package: libitl-dev
 Section: libdevel
 Architecture: any
 Depends: libitl0 (= ${binary:Version}), ${misc:Depends}
+Multi-Arch: same
 Description: Islamic tools & libraries project - development files
  This library allows applications to convert between Hijri/Gregorian
  dates and compute Muslim prayer times and Qibla direction based on
@@ -27,6 +29,7 @@ Package: libitl0
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
 Description: Islamic tools & libraries project - shared library
  This library allows applications to convert between Hijri/Gregorian
  dates and compute Muslim prayer times and Qibla direction based on
diff -pruN 0.8.0-2/debian/copyright 0.8.0-3/debian/copyright
--- 0.8.0-2/debian/copyright	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/copyright	2023-05-21 22:31:32.000000000 +0000
@@ -1,7 +1,7 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: libitl
 Upstream-Contact: Arabeyes <developer@arabeyes.org>
-Source: http://www.arabeyes.org/project.php?proj=ITL
+Source: https://github.com/arabeyes-org/ITL
 
 
 Files: *
diff -pruN 0.8.0-2/debian/gitlab-ci.yml 0.8.0-3/debian/gitlab-ci.yml
--- 0.8.0-2/debian/gitlab-ci.yml	1970-01-01 00:00:00.000000000 +0000
+++ 0.8.0-3/debian/gitlab-ci.yml	2023-05-21 22:31:32.000000000 +0000
@@ -0,0 +1,6 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+
+variables:
+ RELEASE: 'unstable'
diff -pruN 0.8.0-2/debian/libitl0.symbols 0.8.0-3/debian/libitl0.symbols
--- 0.8.0-2/debian/libitl0.symbols	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/libitl0.symbols	2023-05-21 22:31:32.000000000 +0000
@@ -1,4 +1,5 @@
 libitl.so.0 libitl0 #MINVER#
+* Build-Depends-Package: libitl-dev
  B0@Base 0.7.0
  B1@Base 0.7.0
  COEFF@Base 0.7.0
diff -pruN 0.8.0-2/debian/patches/c99-fix.diff 0.8.0-3/debian/patches/c99-fix.diff
--- 0.8.0-2/debian/patches/c99-fix.diff	1970-01-01 00:00:00.000000000 +0000
+++ 0.8.0-3/debian/patches/c99-fix.diff	2023-05-21 22:31:32.000000000 +0000
@@ -0,0 +1,35 @@
+Description: Fix C99 compatibility issue
+Origin: https://github.com/arabeyes-org/ITL/commit/b902a81f58a4d5fe598be1b1932144128ccc5194
+Author: DJ Delorie <dj@redhat.com>
+
+diff --git a/hijri/hijri.c b/hijri/hijri.c
+index 2ad7492..f3ca907 100644
+--- a/hijri/hijri.c
++++ b/hijri/hijri.c
+@@ -96,6 +96,10 @@ char *h_month_short[13] = {"skip",
+ 			   "Ram", "Sha", "Qid", "Hij"};
+ 
+ 
++/* Forward declarations for C99 compatibility.  */
++int g_absolute(int day, int month, int year);
++int g_numdays(int month, int year);
++
+ /* Store-off any events for passed-in date */
+ int
+ get_events(char ***addr_event,
+diff --git a/hijri/umm_alqura.c b/hijri/umm_alqura.c
+index 085518e..42583a3 100644
+--- a/hijri/umm_alqura.c
++++ b/hijri/umm_alqura.c
+@@ -68,6 +68,11 @@ double ip(double x);
+ int mod(double x, double y);
+ int IsValid(int yh, int mh, int dh);
+ 
++int fill_datestruct(sDate *fdate, int weekday, int frm_month_num,
++		    int to_month_num, char *frm_day[], char *frm_day_short[],
++		    char *frm_month[], char *frm_month_short[], char *to_day[],
++		    char *to_day_short[], char *to_month[],
++		    char *to_month_short[], sEvent *farr_table, int farr_size);
+ 
+ /****************************************************************************/
+ /* Name:    Hsub2G                                                          */
diff -pruN 0.8.0-2/debian/patches/series 0.8.0-3/debian/patches/series
--- 0.8.0-2/debian/patches/series	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/patches/series	2023-05-21 22:31:32.000000000 +0000
@@ -1,2 +1,3 @@
 fix_install_paths.diff
 build_shared.diff
+c99-fix.diff
diff -pruN 0.8.0-2/debian/rules 0.8.0-3/debian/rules
--- 0.8.0-2/debian/rules	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/rules	2023-05-21 22:31:32.000000000 +0000
@@ -3,4 +3,3 @@
 
 %:
 	dh $@
-
diff -pruN 0.8.0-2/debian/tests/build 0.8.0-3/debian/tests/build
--- 0.8.0-2/debian/tests/build	1970-01-01 00:00:00.000000000 +0000
+++ 0.8.0-3/debian/tests/build	2023-05-21 22:31:32.000000000 +0000
@@ -0,0 +1,26 @@
+#!/bin/sh
+# autopkgtest check: Build and run a program against ITL, to verify that the
+# headers and pkg-config file are installed correctly
+
+set -e
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+cat <<EOF > itltest.c
+#include <itl/prayer.h>
+
+int main(int argc, char **argv)
+{
+  Method m;
+  getMethod(0, &m);
+  return 0;
+}
+EOF
+
+gcc -o itltest itltest.c  -litl -lm
+#gcc -o itltest itltest.c `pkg-config --cflags --libs itl`
+echo "build: OK"
+[ -x itltest ]
+./itltest
+echo "run: OK"
diff -pruN 0.8.0-2/debian/tests/control 0.8.0-3/debian/tests/control
--- 0.8.0-2/debian/tests/control	1970-01-01 00:00:00.000000000 +0000
+++ 0.8.0-3/debian/tests/control	2023-05-21 22:31:32.000000000 +0000
@@ -0,0 +1,2 @@
+Tests: build
+Depends: libitl-dev, build-essential
diff -pruN 0.8.0-2/debian/upstream/metadata 0.8.0-3/debian/upstream/metadata
--- 0.8.0-2/debian/upstream/metadata	1970-01-01 00:00:00.000000000 +0000
+++ 0.8.0-3/debian/upstream/metadata	2023-05-21 22:31:32.000000000 +0000
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/arabeyes-org/ITL/issues
+Bug-Submit: https://github.com/arabeyes-org/ITL/issues/new
+Repository: https://github.com/arabeyes-org/ITL.git
+Repository-Browse: https://github.com/arabeyes-org/ITL
diff -pruN 0.8.0-2/debian/watch 0.8.0-3/debian/watch
--- 0.8.0-2/debian/watch	2017-10-27 15:12:00.000000000 +0000
+++ 0.8.0-3/debian/watch	2023-05-21 22:31:32.000000000 +0000
@@ -1,4 +1,3 @@
-version=3
-
-opts=filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/libitl-$1\.tar\.gz/ \
-  https://github.com/arabeyes-org/ITL/releases .*?v?(\d[\d\.]*)\.tar\.gz
+version=4
+https://github.com/arabeyes-org/ITL/tags \
+   (?:.*?/)?v?([\d.]*)@ARCHIVE_EXT@
