diff -Nru libtext-bidi-perl-2.12/debian/changelog libtext-bidi-perl-2.12/debian/changelog --- libtext-bidi-perl-2.12/debian/changelog 2017-07-26 19:53:08.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/changelog 2018-07-30 07:20:14.000000000 +0000 @@ -1,8 +1,27 @@ -libtext-bidi-perl (2.12-1build1) artful; urgency=medium +libtext-bidi-perl (2.12-2) unstable; urgency=medium - * No-change rebuild for perl 5.26.0. + * Team upload. - -- Matthias Klose Wed, 26 Jul 2017 19:53:08 +0000 + [ Damyan Ivanov ] + * change Priority from 'extra' to 'optional' + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * Add debian/clean to make sure generated files are removed and swig is + called again during build. The files are taken from the swig-clean + target in Makefile.PL which doesn't get called without a Makefile. + * Add patch from CPAN#RT to build with fribidi >= 1.0. (Closes: #904740) + * debian/rules: use /usr/share/dpkg/architecture.mk instead of calling + dpkg-architecture. + * Update years of packaging copyright. + * Use HTTPS for unicode.org URLs. Thanks to duck. + * Build-depend on libfribidi-dev (>= 1.0). + * Declare compliance with Debian Policy 4.1.5. + * Bump debhelper compatibility level to 10. + + -- gregor herrmann Mon, 30 Jul 2018 09:20:14 +0200 libtext-bidi-perl (2.12-1) unstable; urgency=medium diff -Nru libtext-bidi-perl-2.12/debian/clean libtext-bidi-perl-2.12/debian/clean --- libtext-bidi-perl-2.12/debian/clean 1970-01-01 00:00:00.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/clean 2018-07-30 07:20:14.000000000 +0000 @@ -0,0 +1,3 @@ +# cf. swig-clean target in Makefile.PL +private.c +lib/Text/Bidi/private.pm diff -Nru libtext-bidi-perl-2.12/debian/compat libtext-bidi-perl-2.12/debian/compat --- libtext-bidi-perl-2.12/debian/compat 2016-10-31 20:26:03.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/compat 2018-07-30 07:20:14.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru libtext-bidi-perl-2.12/debian/control libtext-bidi-perl-2.12/debian/control --- libtext-bidi-perl-2.12/debian/control 2016-10-31 20:26:03.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/control 2018-07-30 07:20:14.000000000 +0000 @@ -4,15 +4,15 @@ أحمد المحمودي (Ahmed El-Mahmoudy) Section: perl Testsuite: autopkgtest-pkg-perl -Priority: extra -Build-Depends: debhelper (>= 9.20120312), - libfribidi-dev, - swig, +Priority: optional +Build-Depends: debhelper (>= 10), + libextutils-pkgconfig-perl, + libfribidi-dev (>= 1.0), libtest-pod-perl, - libextutils-pkgconfig-perl -Standards-Version: 3.9.8 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtext-bidi-perl.git -Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libtext-bidi-perl.git + swig +Standards-Version: 4.1.5 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtext-bidi-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtext-bidi-perl.git Homepage: https://metacpan.org/release/Text-Bidi Package: libtext-bidi-perl diff -Nru libtext-bidi-perl-2.12/debian/copyright libtext-bidi-perl-2.12/debian/copyright --- libtext-bidi-perl-2.12/debian/copyright 2016-10-31 20:26:03.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/copyright 2018-07-30 07:20:14.000000000 +0000 @@ -13,7 +13,7 @@ Files: debian/* Copyright: 2007, 2008, Lior Kaplan - 2008-2016, gregor herrmann + 2008-2018, gregor herrmann 2010, 2013, أحمد المحمودي (Ahmed El-Mahmoudy) License: Artistic or GPL-1+ @@ -35,14 +35,14 @@ License: Unicode Unicode Data Files include all data files under the - directories http://www.unicode.org/Public/, - http://www.unicode.org/reports/, and - http://www.unicode.org/cldr/data/. Unicode Data Files do not include + directories https://www.unicode.org/Public/, + https://www.unicode.org/reports/, and + https://www.unicode.org/cldr/data/. Unicode Data Files do not include PDF online code charts under the directory - http://www.unicode.org/Public/. Software includes any source code + https://www.unicode.org/Public/. Software includes any source code published in the Unicode Standard or under the directories - http://www.unicode.org/Public/, http://www.unicode.org/reports/, and - http://www.unicode.org/cldr/data/. + https://www.unicode.org/Public/, https://www.unicode.org/reports/, and + https://www.unicode.org/cldr/data/. . NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S @@ -55,7 +55,7 @@ . Copyright © 1991-2012 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in - http://www.unicode.org/copyright.html. + https://www.unicode.org/copyright.html. . Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation diff -Nru libtext-bidi-perl-2.12/debian/patches/series libtext-bidi-perl-2.12/debian/patches/series --- libtext-bidi-perl-2.12/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/patches/series 2018-07-30 07:20:14.000000000 +0000 @@ -0,0 +1 @@ +Text-Bidi-2.12-Adapt-to-fribidi-1.0.patch diff -Nru libtext-bidi-perl-2.12/debian/patches/Text-Bidi-2.12-Adapt-to-fribidi-1.0.patch libtext-bidi-perl-2.12/debian/patches/Text-Bidi-2.12-Adapt-to-fribidi-1.0.patch --- libtext-bidi-perl-2.12/debian/patches/Text-Bidi-2.12-Adapt-to-fribidi-1.0.patch 1970-01-01 00:00:00.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/patches/Text-Bidi-2.12-Adapt-to-fribidi-1.0.patch 2018-07-30 07:20:14.000000000 +0000 @@ -0,0 +1,56 @@ +From 0b3ae800b6da1387cf996b0129a3222cffa21188 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 28 Feb 2018 15:13:57 +0100 +Subject: [PATCH] Adapt to fribidi-1.0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fribidi-1.0 deprecated fribidi_get_par_embedding_levels() in favor of +fribidi_get_par_embedding_levels_ex(): + +commit 7588059c7d3378baf60d12f3217324781b2f7669 +Author: Dov Grobgeld +Date: Tue Nov 7 21:55:06 2017 +0200 + + Restored the old API and made it deprecated. + + * fribidi_get_par_embedding_levels() is now a deprecated interface to + the new fribidi_get_par_embedding_levels_ex() function with a + NULL pointer for the bracket type. + +This causes a test failure: + + t/00-version.t ......... ok + Undefined subroutine &Text::Bidi::private::get_par_embedding_levels called at /home/test/fedora/perl-Text-Bidi/Text-Bidi-2.12/blib/lib/Text/Bidi.pm line 128. + # Looks like your test exited with 255 before it could output anything. + t/shape.t .............. + Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/3 subtests + +This patch replaces the call to fribidi_get_par_embedding_levels() with a call +to fribidi_get_par_embedding_levels_ex(). + +Proper support for new fribidi-1.0 features is left to Text-Bidi author. + +CPAN RT#124618 + +Signed-off-by: Petr Písař +--- + lib/Text/Bidi.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=124618 +Bug-Debian: https://bugs.debian.org/904740 + +--- a/lib/Text/Bidi.pm ++++ b/lib/Text/Bidi.pm +@@ -126,7 +126,7 @@ sub get_par_embedding_levels { + my $bt = shift; + my $p = shift // $Text::Bidi::private::FRIBIDI_PAR_ON; + my ($lev, $par, $out) = +- Text::Bidi::private::get_par_embedding_levels($$bt, $p); ++ Text::Bidi::private::get_par_embedding_levels_ex($$bt, undef, $p); + my $res = $self->tie_byte($out); + ($par, $res) + } diff -Nru libtext-bidi-perl-2.12/debian/rules libtext-bidi-perl-2.12/debian/rules --- libtext-bidi-perl-2.12/debian/rules 2016-10-31 20:26:03.000000000 +0000 +++ libtext-bidi-perl-2.12/debian/rules 2018-07-30 07:20:14.000000000 +0000 @@ -10,7 +10,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow # don't run resource intensive test t/ucd.t on slow arches -DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH) +include /usr/share/dpkg/architecture.mk SLOW_ARCH = armel armhf mips mipsel sparc sparc64 m68k ifeq (,$(filter $(DEB_HOST_ARCH), $(SLOW_ARCH))) export TEXT_BIDI_SKIP_UCD=0