From: bage@debian.org   
      
   Control: tags -1 patch   
      
   Please find a debdiff attached that includes a fix for this as well as   
   the latest git change. I am uploading it as NMU.   
      
   diff -Nru hexchat-otr-0.2.2/debian/changelog hexchat-otr-0.2.2/debian/changelog   
   --- hexchat-otr-0.2.2/debian/changelog 2020-08-12 10:33:18.000000000 +0200   
   +++ hexchat-otr-0.2.2/debian/changelog 2026-02-09 16:13:41.000000000 +0100   
   @@ -1,3 +1,13 @@   
   +hexchat-otr (0.2.2-3.1) unstable; urgency=medium   
   +   
   + * Non-maintainer upload.   
   + * Move gcrypt detection to pkgconf (Closes: #1076888).   
   +   
   + [ Petter Reinholdtsen ]   
   + * Updated Standards-Version from 4.5.0 to 4.6.0.   
   +   
   + -- Bastian Germann Mon, 09 Feb 2026 16:13:41 +0100   
   +   
    hexchat-otr (0.2.2-3) unstable; urgency=medium   
      
    * Updated debhelper compat level from 9 to 12.   
   diff -Nru hexchat-otr-0.2.2/debian/control hexchat-otr-0.2.2/debian/control   
   --- hexchat-otr-0.2.2/debian/control 2020-08-12 10:11:31.000000000 +0200   
   +++ hexchat-otr-0.2.2/debian/control 2026-02-09 15:53:03.000000000 +0100   
   @@ -10,7 +10,7 @@   
    , pkg-config   
    , libglib2.0-dev   
    , autoconf-archive   
   -Standards-Version: 4.5.0   
   +Standards-Version: 4.6.0   
    Homepage: https://github.com/TingPing/hexchat-otr   
    Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/hexchat-otr.git   
    Vcs-Git: https://salsa.debian.org/pkg-privacy-team/hexchat-otr.git   
   diff -Nru hexchat-otr-0.2.2/debian/patches/2000-gcrypt-detection.patch   
   hexchat-otr-0.2.2/debian/patches/2000-gcrypt-detection.patch   
   --- hexchat-otr-0.2.2/debian/patches/2000-gcrypt-detection.patch 1970-01-01   
   01:00:00.000000000 +0100   
   +++ hexchat-otr-0.2.2/debian/patches/2000-gcrypt-detection.patch 2026-02-09   
   16:12:02.000000000 +0100   
   @@ -0,0 +1,42 @@   
   +From: Bastian Germann    
   +Forwarded: not-needed   
   +Date: Mon, 9 Feb 2026 16:10:59 +0100   
   +Subject: Move gcrypt detection to pkgconf   
   +   
   +With libgcrypt20 1.11.0~beta450-1, libgcrypt-config was dropped.   
   +Replace it with a pkgconf-based library detection.   
   +   
   +Upstream has moved to meson, so this is not upstreamable.   
   +---   
   +--- a/configure.ac   
   ++++ b/configure.ac   
   +@@ -7,7 +7,6 @@ AC_CONFIG_AUX_DIR([build-aux])   
   + AC_PROG_CC   
   + AC_PROG_CC_C99   
   + AC_PROG_INSTALL   
   +-AC_PATH_PROG([GCRYPT_CONFIG], [libgcrypt-config], [no])   
   +   
   + AM_INIT_AUTOMAKE([1.11 silent-rules tar-pax dist-xz no-dist-gzip   
   subdir-objects no-define foreign -Wall])   
   + AM_SILENT_RULES([yes])   
   +@@ -20,20 +19,10 @@ LT_PREREQ([2.2.0])   
   + LT_INIT   
   +   
   + PKG_PROG_PKG_CONFIG([0.28])   
   ++PKG_CHECK_MODULES([GCRYPT], [libgcrypt])   
   + PKG_CHECK_MODULES([GLIB], [glib-2.0])   
   + PKG_CHECK_MODULES([OTR], [libotr >= 4.0.0])   
   +   
   +-AC_MSG_CHECKING([for GCRYPT])   
   +-AS_IF([test "$GCRYPT_CONFIG" = "no"], [   
   +- AC_MSG_ERROR([no])   
   +-], [   
   +- GCRYPT_CFLAGS="`$GCRYPT_CONFIG --cflags`"   
   +- GCRYPT_LIBS="`$GCRYPT_CONFIG --libs`"   
   +- AC_SUBST([GCRYPT_CFLAGS])   
   +- AC_SUBST([GCRYPT_LIBS])   
   +- AC_MSG_RESULT([yes])   
   +-])   
   +-   
   + AC_MSG_CHECKING([for hexchat's plugin path])   
   + AS_IF([$PKG_CONFIG hexchat-plugin --exists], [   
   + hexchatlibdir="`$PKG_CONFIG --variable=hexchatlibdir hexchat-plugin`"   
   diff -Nru hexchat-otr-0.2.2/debian/patches/series hexchat-otr-0.   
   .2/debian/patches/series   
   --- hexchat-otr-0.2.2/debian/patches/series 2020-08-12 10:17:28.000000000 +0200   
   +++ hexchat-otr-0.2.2/debian/patches/series 2026-02-09 16:12:46.000000000 +0100   
   @@ -1,2 +1,3 @@   
    0010-enum-lvls.patch   
    1000-prototypes.patch   
   +2000-gcrypt-detection.patch   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|