From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mujs/
Date: Sun, 11 Aug 2019 09:07:29 +0000 (UTC) [thread overview]
Message-ID: <1565514435.1a59549ee5b33d01b739bfc44e9c4463249af2ec.slyfox@gentoo> (raw)
commit: 1a59549ee5b33d01b739bfc44e9c4463249af2ec
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 09:07:15 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 09:07:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a59549e
dev-lang/mujs: bumped up to 1.0.6, added subslot, bug #670106
Added a comment why gentoo adds such a fine-grained SONAME:
library changes ABI (and API) all the time: functions are
added and removed.
Reported-by: Andreas Sturmlechner
Closes: https://bugs.gentoo.org/670106
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/mujs/Manifest | 1 +
dev-lang/mujs/mujs-1.0.6.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest
index 0200ee406a7..c99e3bce086 100644
--- a/dev-lang/mujs/Manifest
+++ b/dev-lang/mujs/Manifest
@@ -1 +1,2 @@
DIST mujs-1.0.5.tar.gz 119353 BLAKE2B 48f1b598e50d5804b0d64230cdd6b4d3f719187ea0906f45c9f45baee2c8df59c6fd09dc25afc9e1ce4e20a9866d158d16a4632bec552fddd8fac70b20e2363f SHA512 c1c59b5e80e0e5f580f30dfc0b4707b6a1e44a73c746b9783bb24d91429ddf8ed670a7663478300cc568cfc15a511720b6d18be2ade40a3a66fc7ab8f3933c2d
+DIST mujs-1.0.6.tar.gz 121385 BLAKE2B b74da9cc9df6c51d81fe4b6170fddd9bfd3e37cc1c48509ddbcc9b657feb7169cfa98427770a118fb9c0923e70320668198739ea111cbd5d1c2303b2ada7093d SHA512 c3062348dcc79b8ea3726fc528b3ba765d3462232059617b9ab221ba47fa904cc81a305a6199a9a2cea24a2d891ca63d475b4884cd4e53fa715b3a55f51ca4d9
diff --git a/dev-lang/mujs/mujs-1.0.6.ebuild b/dev-lang/mujs/mujs-1.0.6.ebuild
new file mode 100644
index 00000000000..fdae6f9f0a1
--- /dev/null
+++ b/dev-lang/mujs/mujs-1.0.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="An embeddable Javascript interpreter in C."
+HOMEPAGE="
+ https://mujs.com/
+ https://github.com/ccxvii/mujs/
+"
+SRC_URI="https://github.com/ccxvii/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3"
+# subslot matches SONAME
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="static-libs"
+
+RDEPEND="sys-libs/readline:0="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.5-flags.patch"
+)
+
+src_prepare() {
+ default
+
+ tc-export AR CC
+
+ # library's ABI (and API) changes in ~each release:
+ # diff 'usr/includemujs.h' across releases to validate
+ append-cflags -fPIC -Wl,-soname=lib${PN}.so.${PV}
+}
+
+src_compile() {
+ emake VERSION=${PV} prefix=/usr shared
+}
+
+src_install() {
+ local myeconfargs=(
+ DESTDIR="${ED}"
+ install-shared
+ libdir="/usr/$(get_libdir)"
+ prefix="/usr"
+ VERSION="${PV}"
+ $(usex static-libs install-static '')
+ )
+
+ emake "${myeconfargs[@]}"
+
+ mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die
+
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1}
+}
next reply other threads:[~2019-08-11 9:07 UTC|newest]
Thread overview: 155+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-11 9:07 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-30 7:59 [gentoo-commits] repo/gentoo:master commit in: dev-lang/mujs/ Sam James
2024-08-20 5:08 Joonas Niilola
2024-08-20 5:08 Joonas Niilola
2024-08-19 19:23 Sam James
2024-08-19 19:23 Sam James
2024-08-19 19:22 Sam James
2024-08-19 19:22 Sam James
2024-07-20 6:42 Joonas Niilola
2024-07-20 6:42 Joonas Niilola
2024-03-13 6:26 Arthur Zamarin
2024-03-12 21:13 Arthur Zamarin
2024-03-12 20:42 Arthur Zamarin
2024-03-12 19:29 Arthur Zamarin
2024-03-12 19:29 Arthur Zamarin
2024-03-12 19:29 Arthur Zamarin
2024-03-12 19:29 Arthur Zamarin
2024-01-20 12:04 Sam James
2023-05-29 20:34 Sam James
2023-05-29 17:49 Arthur Zamarin
2023-05-29 14:28 Sam James
2023-05-29 14:28 Sam James
2023-05-29 14:28 Sam James
2023-05-29 14:28 Sam James
2023-05-29 14:22 Sam James
2023-03-19 17:36 Arthur Zamarin
2023-01-09 12:51 Joonas Niilola
2023-01-06 22:23 Sam James
2023-01-06 22:23 Sam James
2023-01-06 21:51 Sam James
2023-01-06 21:51 Sam James
2023-01-06 21:51 Sam James
2023-01-06 21:51 Sam James
2023-01-06 21:51 Sam James
2022-12-24 7:42 Sam James
2022-11-12 6:12 WANG Xuerui
2022-11-03 2:05 WANG Xuerui
2022-11-02 14:24 Joonas Niilola
2022-11-02 14:24 Joonas Niilola
2022-01-28 19:13 Arthur Zamarin
2022-01-28 18:45 Arthur Zamarin
2022-01-28 9:34 Agostino Sarubbo
2022-01-28 9:33 Agostino Sarubbo
2022-01-28 9:30 Agostino Sarubbo
2022-01-28 2:34 Sam James
2022-01-28 2:34 Sam James
2021-12-29 1:59 Sam James
2021-12-29 1:58 Sam James
2021-12-25 19:48 Sam James
2021-12-25 19:48 Sam James
2021-12-17 0:40 Sam James
2021-07-19 14:24 Yixun Lan
2021-07-16 21:44 Sam James
2021-07-13 20:05 Sam James
2021-07-13 20:05 Sam James
2021-07-13 6:28 Agostino Sarubbo
2021-07-13 0:05 Sam James
2021-07-13 0:05 Sam James
2021-07-13 0:05 Sam James
2021-06-10 19:23 Sam James
2021-05-31 11:40 Sam James
2021-05-29 8:53 Agostino Sarubbo
2021-05-29 8:43 Agostino Sarubbo
2021-05-29 8:41 Agostino Sarubbo
2021-05-29 6:13 Sam James
2021-05-29 6:13 Sam James
2021-05-29 6:13 Sam James
2021-05-03 20:20 Sam James
2021-04-28 18:47 Sam James
2021-04-20 15:02 Sam James
2021-04-20 15:02 Sam James
2021-04-14 22:03 Sam James
2021-03-28 12:52 Sam James
2021-03-26 11:50 Agostino Sarubbo
2021-03-25 21:29 Sam James
2021-03-25 16:27 Agostino Sarubbo
2021-03-24 19:42 Sam James
2021-03-23 4:53 Sam James
2021-03-23 4:04 Sam James
2021-03-23 4:04 Sam James
2021-03-23 4:04 Sam James
2021-03-17 1:44 Sam James
2021-02-05 10:37 Sam James
2020-12-21 22:41 Sam James
2020-12-20 6:29 Sam James
2020-11-17 19:05 Agostino Sarubbo
2020-11-01 14:22 Sam James
2020-10-28 22:34 Sam James
2020-10-26 7:29 Sergei Trofimovich
2020-10-25 23:24 Sam James
2020-10-25 23:08 Thomas Deutschmann
2020-10-25 22:13 Sam James
2020-10-24 17:46 Sergei Trofimovich
2020-10-24 11:08 Sergei Trofimovich
2020-10-24 11:03 Sergei Trofimovich
2020-10-13 23:21 Sam James
2020-09-04 15:55 Sam James
2020-09-01 20:54 Sam James
2020-08-29 17:57 Thomas Deutschmann
2020-08-28 22:21 Sergei Trofimovich
2020-08-25 12:56 Sam James
2020-08-25 0:41 Sam James
2020-06-26 20:45 Thomas Deutschmann
2020-06-26 20:45 Thomas Deutschmann
2020-06-26 20:45 Thomas Deutschmann
2020-04-27 17:08 Sergei Trofimovich
2020-04-26 15:33 Agostino Sarubbo
2020-04-26 15:32 Agostino Sarubbo
2020-04-26 15:31 Agostino Sarubbo
2020-04-26 15:30 Agostino Sarubbo
2020-04-26 15:29 Agostino Sarubbo
2020-04-26 14:19 Agostino Sarubbo
2020-04-26 14:16 Agostino Sarubbo
2019-07-05 19:05 Virgil Dupras
2019-06-02 11:53 Virgil Dupras
2019-05-17 2:47 Aaron Bauman
2019-02-12 12:12 Mikle Kolyada
2019-02-12 12:12 Mikle Kolyada
2019-01-31 14:23 Tobias Klausmann
2019-01-21 1:19 Virgil Dupras
2019-01-17 22:41 Sergei Trofimovich
2019-01-17 8:29 Sergei Trofimovich
2019-01-17 8:08 Sergei Trofimovich
2019-01-15 22:10 Thomas Deutschmann
2019-01-13 9:43 Sergei Trofimovich
2019-01-12 23:57 Sergei Trofimovich
2019-01-12 14:23 Virgil Dupras
2019-01-12 14:02 Virgil Dupras
2019-01-05 17:19 Mikle Kolyada
2018-11-17 15:08 Mikle Kolyada
2018-10-30 0:11 Virgil Dupras
2018-10-14 9:14 Sergei Trofimovich
2018-10-14 8:59 Sergei Trofimovich
2018-10-13 16:14 Sergei Trofimovich
2018-10-13 6:56 Tobias Klausmann
2018-10-12 19:08 Sergei Trofimovich
2018-10-11 19:51 Agostino Sarubbo
2018-10-09 21:24 Thomas Deutschmann
2018-10-07 2:15 Virgil Dupras
2017-09-16 12:10 Jeroen Roovers
2017-06-30 7:39 Alexis Ballier
2017-05-24 13:27 Michał Górny
2017-05-23 13:36 Tobias Klausmann
2017-02-22 11:45 Michael Weber
2017-02-05 16:57 Markus Meier
2017-01-23 8:24 Michael Weber
2017-01-23 1:25 Michael Weber
2017-01-12 9:30 Jeroen Roovers
2017-01-10 14:56 Agostino Sarubbo
2017-01-04 12:34 David Seifert
2016-10-30 8:17 Pacho Ramos
2016-06-13 20:51 Michael Weber
2016-05-30 20:11 Michael Weber
2016-04-29 5:57 Jeroen Roovers
2016-04-10 8:45 Jeroen Roovers
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=1565514435.1a59549ee5b33d01b739bfc44e9c4463249af2ec.slyfox@gentoo \
--to=slyfox@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