1 |
commit: 86c5c46f091e2388b1296cd13a4c2c1765724cea |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 18:59:57 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 19:04:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c5c46f |
7 |
|
8 |
gnome-extra/cjs: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
gnome-extra/cjs/Manifest | 1 - |
13 |
gnome-extra/cjs/cjs-4.0.0-r1.ebuild | 81 ---------------------- |
14 |
...for-System.version-to-be-this-restrictive.patch | 25 ------- |
15 |
3 files changed, 107 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest |
18 |
index d92711189f4..f2f15f9f62c 100644 |
19 |
--- a/gnome-extra/cjs/Manifest |
20 |
+++ b/gnome-extra/cjs/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST cjs-4.0.0.tar.gz 459595 BLAKE2B 63ed660480f87fcd57103965226b3457dc70586019c9ea7f446af86f0b18b493c315566c608f5e999f3b64765d71eb5d463053f3d859f7121c95dcc74d04016d SHA512 86baaba3721b71b266c560180ba20af43eed0d2b8fc37af0d24c7c0c36252e2af85da928b42260074f236f0bc4d4f4f28d20127021e67f23a22b042a09a3baa7 |
23 |
DIST cjs-4.4.0.tar.gz 463019 BLAKE2B af276cd8f9ef0f66a6f4ab3e0072b485e33015e070bb796818907964df0696240b753f7a271bf45db788eb244e0cd1fb866f3b78798adf3ef8f9e76825fc4d74 SHA512 3b2bdc55ab572713d6b6f92978522b290819656f64fef620659065ff5673a04a0585b83a1a0248116570ac1cfee4f54acc228f355c02aa4e0a2a13b59fbafed2 |
24 |
|
25 |
diff --git a/gnome-extra/cjs/cjs-4.0.0-r1.ebuild b/gnome-extra/cjs/cjs-4.0.0-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 4296fe82db8..00000000000 |
28 |
--- a/gnome-extra/cjs/cjs-4.0.0-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,81 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
-inherit autotools gnome2 pax-utils virtualx |
36 |
- |
37 |
-DESCRIPTION="Linux Mint's fork of gjs for Cinnamon" |
38 |
-HOMEPAGE="http://developer.linuxmint.com/projects/cinnamon-projects.html" |
39 |
-SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
- |
41 |
-LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" |
42 |
-SLOT="0" |
43 |
-IUSE="+cairo examples gtk test" |
44 |
-KEYWORDS="amd64 x86" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- dev-lang/spidermonkey:52 |
48 |
- >=dev-libs/glib-2.37.3:2 |
49 |
- >=dev-libs/gobject-introspection-1.38:= |
50 |
- sys-libs/readline:0= |
51 |
- virtual/libffi:0= |
52 |
- cairo? ( x11-libs/cairo[X,glib] ) |
53 |
- gtk? ( x11-libs/gtk+:3 ) |
54 |
-" |
55 |
-DEPEND="${RDEPEND} |
56 |
- gnome-base/gnome-common |
57 |
- sys-devel/gettext |
58 |
- virtual/pkgconfig |
59 |
- test? ( sys-apps/dbus ) |
60 |
- sys-devel/autoconf-archive |
61 |
-" |
62 |
-# Cinnamon 2.2 does not work with this release. |
63 |
-RDEPEND="${RDEPEND} |
64 |
- !<gnome-extra/cinnamon-2.4 |
65 |
-" |
66 |
- |
67 |
-RESTRICT="test" |
68 |
- |
69 |
-src_prepare() { |
70 |
- eautoreconf |
71 |
- gnome2_src_prepare |
72 |
- sed -ie "s/gjs-console/cjs-console/g" \ |
73 |
- "${S}"/installed-tests/scripts/testCommandLine.sh \ |
74 |
- "${S}"/installed-tests/scripts/testWarnings.sh || die |
75 |
- |
76 |
- sed -ie "s/Gjs-WARNING/Cjs-WARNING/g" \ |
77 |
- "${S}"/installed-tests/scripts/testCommandLine.sh || die |
78 |
- |
79 |
- sed -ie "s/'Gjs'/'Cjs'/g" \ |
80 |
- "${S}"/installed-tests/js/testExceptions.js \ |
81 |
- "${S}"/installed-tests/js/testSignals.js \ |
82 |
- "${S}"/installed-tests/js/testGDBus.js \ |
83 |
- "${S}"/installed-tests/js/testEverythingBasic.js || die |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- # FIXME: add systemtap/dtrace support, like in glib:2 |
88 |
- # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason |
89 |
- gnome2_src_configure \ |
90 |
- --disable-systemtap \ |
91 |
- --disable-dtrace \ |
92 |
- $(use_with cairo) \ |
93 |
- $(use_with gtk) |
94 |
-} |
95 |
- |
96 |
-src_test() { |
97 |
- virtx emake check |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- # installation sometimes fails in parallel |
102 |
- gnome2_src_install -j1 |
103 |
- |
104 |
- if use examples; then |
105 |
- insinto /usr/share/doc/"${PF}"/examples |
106 |
- doins "${S}"/examples/* |
107 |
- fi |
108 |
- |
109 |
- # Required for cjs-console to run correctly on PaX systems |
110 |
- pax-mark mr "${ED}/usr/bin/cjs-console" |
111 |
-} |
112 |
|
113 |
diff --git a/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch b/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch |
114 |
deleted file mode 100644 |
115 |
index 40be11981ed..00000000000 |
116 |
--- a/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch |
117 |
+++ /dev/null |
118 |
@@ -1,25 +0,0 @@ |
119 |
-From 2d3e093bac41474c2adf433c2948fdc97495f4dc Mon Sep 17 00:00:00 2001 |
120 |
-From: Kristian Fiskerstrand <kf@××××××××××××××××.com> |
121 |
-Date: Mon, 2 Apr 2018 19:27:35 +0200 |
122 |
-Subject: [PATCH] No reason for System.version to be this restrictive |
123 |
- |
124 |
---- |
125 |
- installed-tests/js/testSystem.js | 2 +- |
126 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
127 |
- |
128 |
-diff --git a/installed-tests/js/testSystem.js b/installed-tests/js/testSystem.js |
129 |
-index 1211de4..d205595 100644 |
130 |
---- a/installed-tests/js/testSystem.js |
131 |
-+++ b/installed-tests/js/testSystem.js |
132 |
-@@ -12,7 +12,7 @@ describe('System.addressOf()', function () { |
133 |
- describe('System.version', function () { |
134 |
- it('gives a plausible number', function () { |
135 |
- expect(System.version).not.toBeLessThan(14700); |
136 |
-- expect(System.version).toBeLessThan(20000); |
137 |
-+ expect(System.version).toBeLessThan(32000); |
138 |
- }); |
139 |
- }); |
140 |
- |
141 |
--- |
142 |
-2.16.1 |
143 |
- |