Update for biber-2.1-1 2.1-1
authorKen Brown <kbrown@cornell.edu>
Thu, 30 Jul 2015 13:26:14 +0000 (09:26 -0400)
committerKen Brown <kbrown@cornell.edu>
Thu, 30 Jul 2015 13:26:14 +0000 (09:26 -0400)
Biber is now packaged as a Perl script on both ARCHes.

announce.txt [new file with mode: 0644]
biber.cygport
update_for_5_22.patch [new file with mode: 0644]

diff --git a/announce.txt b/announce.txt
new file mode 100644 (file)
index 0000000..dfca639
--- /dev/null
@@ -0,0 +1,10 @@
+The following package has been updated in the Cygwin distribution:
+
+* biber-2.1-1
+
+Biber is a BibTeX replacement for users of BibLaTeX, with full Unicode support.
+
+This is an update to the latest upstream release.  It is the first release of biber as a standalone package on 32-bit Cygwin.  The main executable is /usr/bin/biber, which is a Perl script; in the 32-bit case it replaces /usr/bin/biber.exe, which used to be provided by the texlive-collection-bibtexextra package.
+
+Ken Brown
+Cygwin's Biber maintainer
index 6e0dd6ddf4b4f4eee1c9f9a2ab1e40ec55c6b738..cb258ba9c286d9f8b75482c963f35423cf7bb05c 100644 (file)
@@ -1,5 +1,5 @@
 NAME="biber"
-VERSION=1.8
+VERSION=2.1
 RELEASE=1
 CATEGORY="Text"
 SUMMARY="BibTeX replacement for users of BibLaTeX"
@@ -14,6 +14,8 @@ GIT_URI="git://github.com/plk/biber.git"
 GIT_TAG=v${VERSION}
 inherit git perl
 
+PATCH_URI="update_for_5_22.patch"
+
 DEPEND="
 perl-Business-ISBN
 perl-Business-ISMN
@@ -35,16 +37,24 @@ perl-List-MoreUtils
 perl-Log-Log4perl
 perl-Module-Build
 perl-Mozilla-CA
-perl-Readonly-XS
 perl-Regexp-Common
+perl-Test-Differences
+perl-Test-Pod
+perl-Test-Pod-Coverage
 perl-Text-BibTeX
+perl-Text-Roman
 perl-URI
 perl-Unicode-Collate
-perl-Unicode-GCString
+perl-Unicode-LineBreak
+perl-Unicode-Normalize
 perl-XML-LibXML-Simple
 perl-XML-LibXSLT
 perl-XML-Writer
 perl-autovivification
 "
 
+# perl-Test-More
+# perl-File-Which
+
 REQUIRES="texlive-collection-bibtexextra"
+ARCH=noarch
diff --git a/update_for_5_22.patch b/update_for_5_22.patch
new file mode 100644 (file)
index 0000000..4eaa876
--- /dev/null
@@ -0,0 +1,52 @@
+--- a/lib/Biber/Input/file/bibtex.pm
++++ b/lib/Biber/Input/file/bibtex.pm
+@@ -657,8 +657,6 @@ sub _literal {
+   else {
+     $bibentry->set_datafield($field, $value);
+   }
+-
+-
+   return;
+ }
+@@ -759,7 +757,7 @@ sub _name {
+     # Check for malformed names in names which aren't completely escaped
+     # Too many commas
+-    unless ($name =~ m/\A{\X+}\z/xms) { # Ignore these tests for escaped names
++    unless ($name =~ m/\A\{\X+\}\z/xms) { # Ignore these tests for escaped names
+       my @commas = $name =~ m/,/g;
+       if ($#commas > 1) {
+         biber_warn("Name \"$name\" has too many commas: skipping name", $bibentry);
+@@ -1262,8 +1260,8 @@ my %months = (
+ sub _hack_month {
+   my $in_month = shift;
+-  if ($in_month =~ m/\A\s*((?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*)\s*\z/i) {
+-    return $months{lc(Unicode::GCString->new($1)->substr(0,3)->as_string)};
++  if (my ($m) = $in_month =~ m/\A\s*((?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*)\s*\z/i) {
++    return $months{lc(Unicode::GCString->new($m)->substr(0,3)->as_string)};
+   }
+   else {
+     return $in_month;
+diff --git a/lib/Biber/LaTeX/Recode.pm b/lib/Biber/LaTeX/Recode.pm
+index a2900b2..427f7f5 100644
+--- a/lib/Biber/LaTeX/Recode.pm
++++ b/lib/Biber/LaTeX/Recode.pm
+@@ -230,13 +230,13 @@ sub latex_decode {
+         $text =~ s/\\not\\($re)/$map->{$1}/ge;
+       }
+       elsif ($type eq 'superscripts') {
+-        $text =~ s/\\textsuperscript{($re)}/$map->{$1}/ge;
++        $text =~ s/\\textsuperscript\{($re)\}/$map->{$1}/ge;
+       }
+       elsif ($type eq 'cmdsuperscripts') {
+-        $text =~ s/\\textsuperscript{\\($re)}/$map->{$1}/ge;
++        $text =~ s/\\textsuperscript\{\\($re)\}/$map->{$1}/ge;
+       }
+       elsif ($type eq 'dings') {
+-        $text =~ s/\\ding{([2-9AF][0-9A-F])}/$map->{$1}/ge;
++        $text =~ s/\\ding\{([2-9AF][0-9A-F])\}/$map->{$1}/ge;
+       }
+       elsif ($type eq 'letters') {
+         $text =~ s/\\($re)(?:\{\}|\s+|\b)/$map->{$1}/ge;
This page took 0.026402 seconds and 5 git commands to generate.