* [PR PATCH] shared-mime-info: update to 2.2.
@ 2022-03-31 0:51 tibequadorian
2022-03-31 19:11 ` [PR REVIEW] " paper42
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tibequadorian @ 2022-03-31 0:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
There is a new pull request by tibequadorian against master on the void-packages repository
https://github.com/tibequadorian/void-packages shared-mime-info
https://github.com/void-linux/void-packages/pull/36425
shared-mime-info: update to 2.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36425.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shared-mime-info-36425.patch --]
[-- Type: text/x-diff, Size: 5313 bytes --]
From ed75c6db47fb99266d41ccdeabc7ef7c700284c8 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Thu, 31 Mar 2022 02:49:32 +0200
Subject: [PATCH] shared-mime-info: update to 2.2.
---
.../shared-mime-info/patches/meson-0.60.patch | 100 ------------------
srcpkgs/shared-mime-info/template | 8 +-
2 files changed, 4 insertions(+), 104 deletions(-)
delete mode 100644 srcpkgs/shared-mime-info/patches/meson-0.60.patch
diff --git a/srcpkgs/shared-mime-info/patches/meson-0.60.patch b/srcpkgs/shared-mime-info/patches/meson-0.60.patch
deleted file mode 100644
index 2faa59925845..000000000000
--- a/srcpkgs/shared-mime-info/patches/meson-0.60.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 5a406b06792e26a83c7346b3c2443c0bd8d4cdb2 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz <eschwartz@archlinux.org>
-Date: Mon, 8 Nov 2021 18:22:47 -0500
-Subject: [PATCH] migrate from custom itstool to builtin msgfmt for creating
- translated XML
-
-gettext upstream has supported this for a very long time (since 0.19.7
-via commit b3c2a5a242c36fbbaa0c5b17f975d6c638598a23, released in 2015),
-and itstool is (mostly) a legacy of the time before gettext had proper
-support for these sorts of use cases.
-
-This is similar to the state of intltool, which is described at
-https://wiki.gnome.org/MigratingFromIntltoolToGettext
-
-During the port from autotools to meson, the legacy use of itstool was
-faithfully translated to meson in the only way possible: by jumping
-through hoops to run ninja inside ninja in order to generate the .mo
-files for itstool, because meson's i18n module used a flawed design and
-there was no "real" target to create those files, only a .PHONY
-run_target which other rules cannot depend on.
-
-Although meson 0.60.0 added support for real targets for the built .mo
-files, this changed the rules for output filenames, breaking the script.
-
-But msgfmt does not care, and anyways comes with builtin meson functions
-for convenient use with XML files. So let's take this opportunity to
-drop legacy dependencies and use the modern, builtin tooling, which
-fixes this bug as a side effect.
-
-Fixes #170
----
- .gitlab-ci.yml | 2 --
- README.md | 2 +-
- data/freedesktop_generate.sh | 12 ------------
- data/meson.build | 16 +++++-----------
- meson.build | 1 -
- 5 files changed, 6 insertions(+), 27 deletions(-)
- delete mode 100755 data/freedesktop_generate.sh
-
-diff --git a/data/freedesktop_generate.sh b/data/freedesktop_generate.sh
-deleted file mode 100755
-index 62ccffa..0000000
---- a/data/freedesktop_generate.sh
-+++ /dev/null
-@@ -1,12 +0,0 @@
--#!/bin/sh -e
--
--src_root="$1"
--build_root="$2"
--
--ninja -C "${build_root}" shared-mime-info-gmo
--
--itstool \
-- --its "${src_root}/data/its/shared-mime-info.its" \
-- --join "${src_root}/data/freedesktop.org.xml.in" \
-- -o "${build_root}/data/freedesktop.org.xml" \
-- "${build_root}/po/"*".gmo"
-diff --git a/data/meson.build b/data/meson.build
-index 24361c9..09ed7a9 100644
---- a/data/meson.build
-+++ b/data/meson.build
-@@ -1,18 +1,12 @@
-
- install_man('update-mime-database.1')
-
--freedesktop_org_xml = custom_target('freedesktop.org.xml',
-- input : files(
-- 'freedesktop.org.xml.in',
-- 'its/shared-mime-info.its',
-- 'its/shared-mime-info.loc',
-- ),
-+freedesktop_org_xml = i18n.merge_file(
-+ input: 'freedesktop.org.xml.in',
- output: 'freedesktop.org.xml',
-- command: [
-- find_program('freedesktop_generate.sh'),
-- meson.source_root(),
-- meson.build_root()
-- ],
-+ data_dirs: '.',
-+ po_dir: '../po',
-+ type: 'xml',
- install: true,
- install_dir: get_option('datadir') / 'mime' / 'packages',
- )
-diff --git a/meson.build b/meson.build
-index 0d08c8a..60f17ae 100644
---- a/meson.build
-+++ b/meson.build
-@@ -20,7 +20,6 @@ config.set_quoted('VERSION', meson.project_version())
- ###############################################################################
- # Find tools
-
--itstool = find_program('itstool')
- xmllint = find_program('xmllint')
- xmlto = find_program('xmlto', required: false)
-
---
-GitLab
-
diff --git a/srcpkgs/shared-mime-info/template b/srcpkgs/shared-mime-info/template
index f5afb2dd54c9..0fd71959fff0 100644
--- a/srcpkgs/shared-mime-info/template
+++ b/srcpkgs/shared-mime-info/template
@@ -1,7 +1,7 @@
# Template file for 'shared-mime-info'
pkgname=shared-mime-info
-version=2.1
-revision=2
+version=2.2
+revision=1
build_style=meson
configure_args="-Dupdate-mimedb=false"
hostmakedepends="pkg-config gettext xmlto"
@@ -11,5 +11,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://freedesktop.org/Software/shared-mime-info"
changelog="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-${version}.tar.xz"
-checksum=b2d40cfcdd84e835d0f2c9107b3f3e77e9cf912f858171fe779946da634e8563
+distfiles="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${version}/shared-mime-info-${version}.tar.gz"
+checksum=bcf5d552318136cf7b3ae259975f414fbcdc9ebce000c87cf1f0901ff14e619f
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR REVIEW] shared-mime-info: update to 2.2.
2022-03-31 0:51 [PR PATCH] shared-mime-info: update to 2.2 tibequadorian
@ 2022-03-31 19:11 ` paper42
2022-03-31 19:18 ` tibequadorian
2022-04-02 21:37 ` [PR PATCH] [Merged]: " paper42
2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2022-03-31 19:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/36425#discussion_r839937705
Comment:
Can we use `${FREEDESKTOP_SITE}`?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR REVIEW] shared-mime-info: update to 2.2.
2022-03-31 0:51 [PR PATCH] shared-mime-info: update to 2.2 tibequadorian
2022-03-31 19:11 ` [PR REVIEW] " paper42
@ 2022-03-31 19:18 ` tibequadorian
2022-04-02 21:37 ` [PR PATCH] [Merged]: " paper42
2 siblings, 0 replies; 4+ messages in thread
From: tibequadorian @ 2022-03-31 19:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
New review comment by tibequadorian on void-packages repository
https://github.com/void-linux/void-packages/pull/36425#discussion_r839942799
Comment:
I don't think so https://freedesktop.org/software/shared-mime-info/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: shared-mime-info: update to 2.2.
2022-03-31 0:51 [PR PATCH] shared-mime-info: update to 2.2 tibequadorian
2022-03-31 19:11 ` [PR REVIEW] " paper42
2022-03-31 19:18 ` tibequadorian
@ 2022-04-02 21:37 ` paper42
2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2022-04-02 21:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
There's a merged pull request on the void-packages repository
shared-mime-info: update to 2.2.
https://github.com/void-linux/void-packages/pull/36425
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-02 21:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 0:51 [PR PATCH] shared-mime-info: update to 2.2 tibequadorian
2022-03-31 19:11 ` [PR REVIEW] " paper42
2022-03-31 19:18 ` tibequadorian
2022-04-02 21:37 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).