summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2026-02-12 00:19:01 +0100
committerSlávek Banko <slavek.banko@axis.cz>2026-02-12 08:29:40 +0100
commit5812b4fabbdae0a2d3f91b4db4752735578378ae (patch)
treec5641b3f4b71a85e6d248f37ded6b4d31aebf458 /debian
parent6fabe0508858da141967fea90bc2abdabd1fdb07 (diff)
downloadtde-packaging-master.tar.gz
tde-packaging-master.zip
DEB libcarddav: Fix empty and misnamed package for time64 variant.HEADmaster
This completes the changes related to renaming the libarddav package to libcardav0 in #537. For time64 variant the package got incorrect name libcarddav00t64 and was empty. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/_base/dependencies/libcarddav/debian/rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/_base/dependencies/libcarddav/debian/rules b/debian/_base/dependencies/libcarddav/debian/rules
index da07780af..6dc35900d 100755
--- a/debian/_base/dependencies/libcarddav/debian/rules
+++ b/debian/_base/dependencies/libcarddav/debian/rules
@@ -5,7 +5,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
DEB_TIME64_API = $(shell echo | cc $(dpkg-buildflags --get CPPFLAGS) -dM -E -x c++ - | grep -q "_TIME_BITS 64" && echo true || false)
ifeq ($(DEB_TIME64_API),true)
-DEB_TIME64_SUFFIX = 0t64
+DEB_TIME64_SUFFIX = t64
else
DEB_TIME64_SUFFIX =
endif
@@ -31,11 +31,11 @@ post-patches::
ifeq ($(DEB_TIME64_API),true)
# update library package name for TIME64 ABI
ls -d debian/* | \
- grep -E "/libcarddav\." | \
+ grep -E "/libcarddav0\." | \
grep -v "\.t64$$" | \
while read a; do \
[ -d $$a ] || [ -f $$a.t64 ] || \
- (cp -a $$a debian/libcarddav$(DEB_TIME64_SUFFIX).$${a##*.} && mv $$a $$a.t64); \
+ (cp -a $$a debian/libcarddav0$(DEB_TIME64_SUFFIX).$${a##*.} && mv $$a $$a.t64); \
done
[ -f debian/control.t64 ] || \
sed -i.t64 \
@@ -57,7 +57,7 @@ ifeq ($(DEB_TIME64_API),true)
mv $$a $${a%.t64}; \
done
ls -d debian/* | \
- grep -E "/libcarddav$(DEB_TIME64_SUFFIX)\." | \
+ grep -E "/libcarddav0$(DEB_TIME64_SUFFIX)\." | \
xargs -r rm
[ -f debian/control.t64 ] || \
sed -i.t64 \