From patchwork Tue May 14 22:00:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 164254 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp3139245ili; Tue, 14 May 2019 15:00:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+nUauokkbg0r7IXt5pwU7xIExRve2qVnxmTtqT8nFxAwseCKExR5gTu1LFIcshlAgyTMr X-Received: by 2002:a17:902:15c5:: with SMTP id a5mr40404232plh.39.1557871209011; Tue, 14 May 2019 15:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557871209; cv=none; d=google.com; s=arc-20160816; b=XlXqcS/c1Ik6iiIN29fNsWYRxrSswfQP4U6l2z88KrU5An7Y4T6/RGdS2sa10/Af/9 HDXUtrpSkf3CcGvfJoFHgoQ2cq9pFJDUOkW1iOBUEc2rXpjKc4JOQN/2/nEh8+naJrox 2H8uAHIT1SEtp1Mf1XmB2yh0VwSlbvIzJBBHZX7zc1ykEtmd5r8UUMEweSd4HzaaU8Cy q67VHuswwDh4wFGxiBeWeqalFyuS0eFb7+qMKu343EdzXu/c1amnpHPSiTxmVEnM8t0G bOayreuR+d15u5ggLN9xrXtwhdAApXEXqAGBCKn8s09WeWTZd2oh/p3DLNYBcGTP2mM6 QryA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=EsGXQ2f6gZVBkaaIO/UBfmNacVtGTXh57dFibS3nrhE=; b=twZB87udg1B1jffzM46ulv6UA1Xg34RFAu+Nc5aXlw1r0PUUbGBCQ8mWZ8Yvhc54zP ffr8otN5HfbnVnfZSHpnEh+zcGb7m4lNsePT22O7aTdbWTVASarvRNbAHLUC8njiclk7 egLHYsygzRsMsHjQwozq2G8DUXqSeZdyKNbzk4rveAsVTai/QQ/8/tzXwa0ZbYQwPXHi IXB3avjCK9Y3gdHK0amV5VelgGqUtph1ML0TGwQv4JbTuPR5unmPBqDwCUP//Ohi+roH U7lCGAt8m1FGICmwdUsqpLJ5mRxQN5u3qOtBLA/U1KsROknP4hx3aCwG4hAiDVLa6R1e GLBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linuxfoundation.org header.s=google header.b=NEG2XMom; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x5si22611plo.164.2019.05.14.15.00.08; Tue, 14 May 2019 15:00:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linuxfoundation.org header.s=google header.b=NEG2XMom; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0D2BB7DE40; Tue, 14 May 2019 22:00:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mail.openembedded.org (Postfix) with ESMTP id 8506260125 for ; Tue, 14 May 2019 22:00:04 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id v11so425126wru.5 for ; Tue, 14 May 2019 15:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LI6jMR1KoDD/I1HAvzZ9jfx2aOfGIch5wBmsdUOd7Hk=; b=NEG2XMomaQX1MZVuP6rcV8hrVWGI/VuNhsmwxgZ5IdVJUWxgK2XKnXxc034ynHGG/j 8wd0cZaRpBJzX0+UPFP5KnqVlSaI95ViXPJTYMKU8g70B90f4MMV7njjlpmcJKx0iYy/ inxwYekP+/qzestTYL6tJvNQroyVutWpcGdB8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LI6jMR1KoDD/I1HAvzZ9jfx2aOfGIch5wBmsdUOd7Hk=; b=T6BSPeNQ0FTysFx+ArbK5B/J2rKNaef6JemZjbkv+r4jrrBl6WlpuDObba9fqQ7sJH /BVxNHuYySFfzK/vvZeiszQ9p7NuV27FtrzyELc7mwP+E1QyKMeEvreljQFPkzdSIuvC jSeVoGRt497/4F1emKysUNVMH7A4kpsNNRlzqpUoDjiRX5WNojgIJOG2mxUdFzVp/Ff4 vJksXhUxIYKqKdmcUedl8+tQAa5ZR3cT/qEv22ZW7sbK+ylZkBpX/ggWAJ8ArptlCSEg EdsH22dKqHqFx3IF4IIWg8zpDjjjyycaS8g8ugl5SnWLbPN056TmAW9BearnWJgFuexa SEWg== X-Gm-Message-State: APjAAAVxgDIBzXrPYVwSoWX/sbOjQ67FBiUgN3R+NUPJTvTVeO0VJ0js qc3D7gyBtjE4oXCO+Er9PdgtQMkfzVQ= X-Received: by 2002:a5d:4945:: with SMTP id r5mr22282406wrs.328.1557871204848; Tue, 14 May 2019 15:00:04 -0700 (PDT) Received: from hex.int.rpsys.net (5751f4a1.skybroadband.com. [87.81.244.161]) by smtp.gmail.com with ESMTPSA id k17sm75048wrm.73.2019.05.14.15.00.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 15:00:04 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Date: Tue, 14 May 2019 23:00:03 +0100 Message-Id: <20190514220003.25148-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] glib-2.0: fix last failing ptest X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton Upstream glib don't really actually test the test suite with modern glibc and all the locales present so we're finding a number of bugs. Backport another fix from upstream to fix the test data with modern glibc. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../glib-2.0/glib-2.0/fix-nl-abaltmon.patch | 44 ++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch b/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch index 5c1488bc41d..c36a397fefc 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch @@ -1,4 +1,6 @@ -Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/merge_requests/828] +Fix the last few remaining bugs in glib's date/locale code. + +Upstream-Status: Backport Signed-off-by: Ross Burton From 93d8482384ebc5c7d1f3d92b0190db0371269663 Mon Sep 17 00:00:00 2001 @@ -60,3 +62,43 @@ index c5d2ce5f8..08fa40ac5 100644 -- 2.18.1 + +From 35c28be32762d5af6b93cb6a3420c5977f7bf599 Mon Sep 17 00:00:00 2001 +From: Rafal Luzynski +Date: Mon, 13 May 2019 23:11:28 +0200 +Subject: [PATCH] tests: Update month name check for Greek locale +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Update the abbreviated month name in the test to match the actual +translation. Otherwise the test fails with false positive. + +Vocabulary: + +July (nominative) - Greek: Ιούλιος (abbreviated: Ιούλ) +Of July (genitive) - Greek: Ιουλίου (abbreviated: Ιουλ) + +This is similar to commit 4d215e006ee69bd7a993bf853722993433adbf9a +and commit 7fe793e125c316ac34edd8158df5a132cb044bc1. + +Closes #1776 +--- + glib/tests/date.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/glib/tests/date.c b/glib/tests/date.c +index 8eb28712b..ff13ad101 100644 +--- a/glib/tests/date.c ++++ b/glib/tests/date.c +@@ -388,7 +388,7 @@ test_month_names (void) + TEST_DATE ( 1, 4, 2018, "%OB %Y", "Απρίλιος 2018"); + TEST_DATE ( 1, 5, 2018, "%OB %Y", "Μάιος 2018"); + TEST_DATE ( 1, 6, 2018, "%OB %Y", "Ιούνιος 2018"); +- TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιούλ 2018"); ++ TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιουλ 2018"); + TEST_DATE ( 1, 8, 2018, "%Ob %Y", "Αύγ 2018"); + } + else +-- +2.18.1