public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/
Date: Mon, 15 Jun 2020 14:35:58 +0000 (UTC)	[thread overview]
Message-ID: <1592231755.6edb68065b302ab0a5c861a98bef9030e61f77e1.polynomial-c@gentoo> (raw)

commit:     6edb68065b302ab0a5c861a98bef9030e61f77e1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 14:35:23 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 14:35:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edb6806

Revert "x11-misc/shared-mime-info: Removed old"

This reverts commit 5d17fe7bb95ae99cb3477cfa18a0d30d918c460a.
because it breaks riscv

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 x11-misc/shared-mime-info/Manifest                 |  1 +
 .../shared-mime-info-1.10-r1.ebuild                | 65 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest
index 58158660561..1592c665785 100644
--- a/x11-misc/shared-mime-info/Manifest
+++ b/x11-misc/shared-mime-info/Manifest
@@ -1,2 +1,3 @@
+DIST shared-mime-info-1.10.tar.xz 616800 BLAKE2B a63c97aba9184e7926db01968aef2a741ef089a46ab9365eb8dad5a78f585f90171751baeaa3bc62ed0a37eed6e93d60598fbe1e7e63168106fc8aa05f2f5cc8 SHA512 efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda
 DIST shared-mime-info-1.15.tar.xz 772708 BLAKE2B 763c7b5f1128882cb8a027ee7fb35daa5d141ccab07ba7aeae5139b94c1ed1c5702741b30c8803b7796bb6eb66fa02fde41d14e078b1960003bd3ba5e0de4e1a SHA512 3666aa500dfa6a28bd0524400c47fa16d90ae61f8c80f350fd895972319ec2f511618b8a7fa3cbde621edee46fde19e4506bda62f0bd2d0ede1b08d7bdb9aef2
 DIST shared-mime-info-2.0.tar.xz 5015272 BLAKE2B 8bac4790177f8b72a8c74799d7abca360ad11a922635aa1207eead78674192b300cf0096f5943a65aa3991c8403b145adb24f5e7746db7ea6ceeab64978608c3 SHA512 f4a1ea9a408ffcff325e57585dec5862405e9fd6c79e444048039f3061676501c40168cecf8935d002644a702a21f08f0f7c680ef6a65fdf188e0d892f3cc085

diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild
new file mode 100644
index 00000000000..d88ef77286f
--- /dev/null
+++ b/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic xdg-utils
+
+DESCRIPTION="The Shared MIME-info Database specification"
+HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info"
+SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=dev-libs/glib-2
+	dev-libs/libxml2"
+DEPEND="${RDEPEND}
+	dev-util/intltool
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+DOCS=( ChangeLog HACKING NEWS README )
+
+src_configure() {
+	export ac_cv_func_fdatasync=no #487504
+
+	if [[ ${PV} == 1.10 ]]; then
+		# https://bugs.gentoo.org/684884
+		append-lfs-flags
+	else
+		eerror "LFS support merged upstream."
+		eerror "https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/20"
+		die "Please remove LFS workaround."
+	fi
+
+	local myeconfargs=(
+		$(use_enable test default-make-check)
+		--disable-update-mimedb
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	# FIXME: 0.91 fails with -j9 every second time like:
+	# update_mime_database-update-mime-database.o: file not recognized: File truncated
+	# collect2: ld returned 1 exit status
+	emake -j1
+}
+
+src_install() {
+	default
+
+	# in prefix, install an env.d entry such that prefix patch is used/added
+	if use prefix; then
+		echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
+		doenvd "${T}"/50mimeinfo
+	fi
+}
+
+pkg_postinst() {
+	use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
+	xdg_mimeinfo_database_update
+}


             reply	other threads:[~2020-06-15 14:36 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 14:35 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-22  4:45 [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/ Ionen Wolkens
2024-02-06 20:13 Sam James
2024-02-06 19:29 Sam James
2024-02-06  5:04 Sam James
2024-02-06  5:04 Sam James
2024-02-06  5:04 Sam James
2024-02-06  4:56 Sam James
2024-02-06  4:56 Sam James
2023-11-12 22:39 Sam James
2023-11-08 19:48 Andreas Sturmlechner
2023-10-15 12:38 Sam James
2023-10-15 12:38 Sam James
2022-05-05 16:48 Jakov Smolić
2022-05-04  8:16 WANG Xuerui
2022-04-29  4:06 Sam James
2022-04-29  4:06 Sam James
2022-04-29  4:06 Sam James
2022-04-29  3:30 Sam James
2022-04-22 15:20 Agostino Sarubbo
2022-04-20 23:53 Sam James
2022-04-20 23:53 Sam James
2022-03-30  4:11 Sam James
2021-10-07  6:37 Sam James
2021-09-09  7:39 Agostino Sarubbo
2021-09-09  7:17 Agostino Sarubbo
2021-09-08  0:46 Sam James
2021-09-08  0:46 Sam James
2021-09-08  0:46 Sam James
2021-09-08  0:42 Sam James
2021-09-07 17:00 Sam James
2021-09-07 14:08 Pacho Ramos
2021-04-05 22:19 Sam James
2021-01-07 16:52 Sam James
2021-01-07 10:09 Sam James
2021-01-06 12:05 Fabian Groffen
2021-01-06  8:09 Sam James
2021-01-06  8:09 Sam James
2021-01-04 19:40 Sergei Trofimovich
2021-01-04 19:37 Sergei Trofimovich
2021-01-04 17:39 Sam James
2021-01-01  3:32 Sam James
2020-12-27 18:29 Fabian Groffen
2020-08-31 14:26 Yixun Lan
2020-06-19  8:35 Lars Wendler
2020-06-15 19:49 Lars Wendler
2020-06-15 15:06 Lars Wendler
2020-06-15 13:47 Lars Wendler
2020-06-15 12:23 Lars Wendler
2020-05-29 20:42 Sergei Trofimovich
2020-05-28 15:45 Agostino Sarubbo
2020-05-28 15:43 Agostino Sarubbo
2020-05-28 15:42 Agostino Sarubbo
2020-05-28 15:40 Agostino Sarubbo
2020-05-28 15:39 Agostino Sarubbo
2020-05-28 15:37 Agostino Sarubbo
2020-05-28 12:32 Agostino Sarubbo
2020-05-23 13:34 Andreas Sturmlechner
2020-04-19 15:59 Andreas Sturmlechner
2019-12-08  5:32 Matt Turner
2019-11-27 20:15 Sergei Trofimovich
2019-11-22 13:44 Matt Turner
2019-11-20 23:14 Aaron Bauman
2019-11-20 15:40 Agostino Sarubbo
2019-11-20 11:50 Agostino Sarubbo
2019-11-20 11:48 Agostino Sarubbo
2019-11-20 11:35 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-20 11:21 Agostino Sarubbo
2019-11-20 11:16 Agostino Sarubbo
2019-05-04 18:29 Andreas K. Hüttel
2019-05-02 15:37 Mike Gilbert
2019-05-01 15:51 Mike Gilbert
2019-05-01 15:51 Mike Gilbert
2018-10-20 11:26 Markus Meier
2018-10-14 11:07 Mikle Kolyada
2018-10-12  7:32 Tobias Klausmann
2018-10-06 19:46 Matt Turner
2018-10-06 19:46 Matt Turner
2018-09-30 23:03 Mart Raudsepp
2018-09-30 21:38 Sergei Trofimovich
2018-09-28  7:42 Mikle Kolyada
2018-09-25  6:35 Sergei Trofimovich
2018-09-24 21:26 Sergei Trofimovich
2018-09-24  1:50 Thomas Deutschmann
2018-07-04  9:28 Lars Wendler
2018-05-24 17:18 Mike Frysinger
2018-04-05 21:07 Sergei Trofimovich
2018-04-05 12:39 Mart Raudsepp
2018-03-17  0:22 Michael Palimaka
2018-03-15 13:41 Mikle Kolyada
2018-02-06 18:36 Thomas Deutschmann
2018-01-29 15:51 Tobias Klausmann
2017-12-25 11:01 Sergei Trofimovich
2017-12-24 11:11 Sergei Trofimovich
2017-12-21 11:05 Sergei Trofimovich
2017-12-18 16:18 Jason Zaman
2017-09-19 17:15 Manuel Rüger
2017-07-26 19:51 Markus Meier
2017-06-30  8:23 Sergei Trofimovich
2017-06-28 13:19 Agostino Sarubbo
2017-03-07  9:14 David Seifert
2017-02-20 14:11 Michael Haubenwallner
2016-12-08 20:55 Justin Lecher
2016-09-07 14:50 Manuel Rüger
2016-09-07 14:50 Manuel Rüger
2016-02-27 10:03 Manuel Rüger
2015-10-05 22:58 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592231755.6edb68065b302ab0a5c861a98bef9030e61f77e1.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox