public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/lcc/
@ 2023-11-06 15:17 Benoît Dufour
  0 siblings, 0 replies; 4+ messages in thread
From: Benoît Dufour @ 2023-11-06 15:17 UTC (permalink / raw
  To: gentoo-commits

commit:     1f93a4c9942062b4229a7a5f5758448d2805e042
Author:     Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
AuthorDate: Mon Nov  6 15:16:18 2023 +0000
Commit:     Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
CommitDate: Mon Nov  6 15:16:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f93a4c9

sys-devel/lcc: Fix file collision between GCC's own cpp and LCC's own cpp.

Signed-off-by: Benoît Dufour <benoit.dufour <AT> mail.com>

 sys-devel/lcc/lcc-2021.01.11-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++
 sys-devel/lcc/lcc-2021.01.11.ebuild    | 36 ---------------------------
 2 files changed, 45 insertions(+), 36 deletions(-)

diff --git a/sys-devel/lcc/lcc-2021.01.11-r1.ebuild b/sys-devel/lcc/lcc-2021.01.11-r1.ebuild
new file mode 100644
index 0000000000..af3369a536
--- /dev/null
+++ b/sys-devel/lcc/lcc-2021.01.11-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# Would allow installing gentoo on any arch.
+DESCRIPTION="The lcc retargetable ANSI C compiler"
+HOMEPAGE="https://drh.github.io/lcc/"
+SHA='3fd0acc0c3087411c0966d725a56be29038c05a9'
+SRC_URI="https://github.com/drh/lcc/archive/${SHA}.tar.gz"
+
+# Build using CMake, still missing some features.
+PATCHES=( "${FILESDIR}/add_cmake_support.patch" )
+
+LICENSE="lcc"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# What are the dependencies if any?
+#DEPEND=""
+#RDEPEND="${DEPEND}"
+#BDEPEND=""
+S="${WORKDIR}/${PN}-${SHA}"
+
+src_install() {
+        doman "doc/bprint.1"
+        doman "doc/lcc.1"
+        into "/usr/lib/lcc"
+        dobin "${WORKDIR}/${PN}-${SHA}_build/cpp/cpp"
+        dobin "${WORKDIR}/${PN}-${SHA}_build/etc/bprint"
+        dobin "${WORKDIR}/${PN}-${SHA}_build/etc/lcc"
+        dobin "${WORKDIR}/${PN}-${SHA}_build/lburg/lburg"
+        dobin "${WORKDIR}/${PN}-${SHA}_build/src/rcc"
+}
+
+pkg_postinst() {
+        ewarn "If you had installed the previous version of this ebuild (lcc-2021.01.11),"
+        ewarn "there was a file collision that deleted the GNU's /usr/bin/cpp by LCC's own /usr/bin/cpp."
+        ewarn "So make sure to run the following commands :"
+        ewarn "gcc-config -l"
+        ewarn "gcc-config -f the_gcc_config_of_the_previous_command"
+        ewarn "The new package lcc-2021.01.11-r1 doesn't adds LCC to PATH anymore."
+}
\ No newline at end of file

diff --git a/sys-devel/lcc/lcc-2021.01.11.ebuild b/sys-devel/lcc/lcc-2021.01.11.ebuild
deleted file mode 100644
index cd525f9814..0000000000
--- a/sys-devel/lcc/lcc-2021.01.11.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-# Would allow installing gentoo on any arch.
-DESCRIPTION="The lcc retargetable ANSI C compiler"
-HOMEPAGE="https://drh.github.io/lcc/"
-SHA='3fd0acc0c3087411c0966d725a56be29038c05a9'
-SRC_URI="https://github.com/drh/lcc/archive/${SHA}.tar.gz"
-
-# Build using CMake, still missing some features.
-PATCHES=( "${FILESDIR}/add_cmake_support.patch" )
-
-LICENSE="lcc"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# What are the dependencies if any?
-#DEPEND=""
-#RDEPEND="${DEPEND}"
-#BDEPEND=""
-S="${WORKDIR}/${PN}-${SHA}"
-
-src_install() {
-	doman "doc/bprint.1"
-	doman "doc/lcc.1"
-	#into "/usr/lib/lcc"
-	dobin "${WORKDIR}/${PN}-${SHA}_build/cpp/cpp"
-	dobin "${WORKDIR}/${PN}-${SHA}_build/etc/bprint"
-	dobin "${WORKDIR}/${PN}-${SHA}_build/etc/lcc"
-	dobin "${WORKDIR}/${PN}-${SHA}_build/lburg/lburg"
-	dobin "${WORKDIR}/${PN}-${SHA}_build/src/rcc"
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/lcc/
@ 2024-04-23 22:52 David Roman
  2024-04-24 12:11 ` [gentoo-commits] repo/proj/guru:master " David Roman
  0 siblings, 1 reply; 4+ messages in thread
From: David Roman @ 2024-04-23 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     bca0fe3bfdddb5b2cad7a47d067d229df026ce52
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 23 22:52:22 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Apr 23 22:52:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bca0fe3b

sys-devel/lcc: add github upstream metadata

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sys-devel/lcc/metadata.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sys-devel/lcc/metadata.xml b/sys-devel/lcc/metadata.xml
index 1d6a771217..04a4948f7b 100644
--- a/sys-devel/lcc/metadata.xml
+++ b/sys-devel/lcc/metadata.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="person">
-<email>benoit.dufour@mail.com</email>
-<name>Benoît Dufour</name>
-</maintainer>
+	<maintainer type="person">
+		<email>benoit.dufour@mail.com</email>
+		<name>Benoît Dufour</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">drh/lcc</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/lcc/
@ 2024-04-23 22:52 David Roman
  0 siblings, 0 replies; 4+ messages in thread
From: David Roman @ 2024-04-23 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     327ac84193f4a1d8d93fb1f84b754b86e904956f
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 23 22:51:09 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Apr 23 22:52:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=327ac841

sys-devel/lcc: update SRC_URI

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sys-devel/lcc/Manifest                 |  2 +-
 sys-devel/lcc/lcc-2021.01.11-r1.ebuild | 35 +++++++++++++++++-----------------
 2 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/sys-devel/lcc/Manifest b/sys-devel/lcc/Manifest
index ed6f4dca88..70459f0eb0 100644
--- a/sys-devel/lcc/Manifest
+++ b/sys-devel/lcc/Manifest
@@ -1 +1 @@
-DIST 3fd0acc0c3087411c0966d725a56be29038c05a9.tar.gz 636724 BLAKE2B 9fffbda4e888d79c672d2da25cec4132848ce5f8cadd99f128645389377230b491ef3d2f3c550774df6ae82fd6304addcd1f00d6d0da79440ea510b0d97d5600 SHA512 f954509307136632408a219ccefa3e85a05538553c17aec72556979370fa795076a574033c6f7d2b51ca30218665fddd3b576b00fdb6327ae09f0e0c041d428a
+DIST lcc-2021.01.11.gh.tar.gz 636724 BLAKE2B 9fffbda4e888d79c672d2da25cec4132848ce5f8cadd99f128645389377230b491ef3d2f3c550774df6ae82fd6304addcd1f00d6d0da79440ea510b0d97d5600 SHA512 f954509307136632408a219ccefa3e85a05538553c17aec72556979370fa795076a574033c6f7d2b51ca30218665fddd3b576b00fdb6327ae09f0e0c041d428a

diff --git a/sys-devel/lcc/lcc-2021.01.11-r1.ebuild b/sys-devel/lcc/lcc-2021.01.11-r1.ebuild
index af3369a536..736892378c 100644
--- a/sys-devel/lcc/lcc-2021.01.11-r1.ebuild
+++ b/sys-devel/lcc/lcc-2021.01.11-r1.ebuild
@@ -9,11 +9,13 @@ inherit cmake
 DESCRIPTION="The lcc retargetable ANSI C compiler"
 HOMEPAGE="https://drh.github.io/lcc/"
 SHA='3fd0acc0c3087411c0966d725a56be29038c05a9'
-SRC_URI="https://github.com/drh/lcc/archive/${SHA}.tar.gz"
+SRC_URI="https://github.com/drh/lcc/archive/${SHA}.tar.gz -> ${P}.gh.tar.gz"
 
 # Build using CMake, still missing some features.
 PATCHES=( "${FILESDIR}/add_cmake_support.patch" )
 
+S="${WORKDIR}/${PN}-${SHA}"
+
 LICENSE="lcc"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -22,24 +24,23 @@ KEYWORDS="~amd64"
 #DEPEND=""
 #RDEPEND="${DEPEND}"
 #BDEPEND=""
-S="${WORKDIR}/${PN}-${SHA}"
 
 src_install() {
-        doman "doc/bprint.1"
-        doman "doc/lcc.1"
-        into "/usr/lib/lcc"
-        dobin "${WORKDIR}/${PN}-${SHA}_build/cpp/cpp"
-        dobin "${WORKDIR}/${PN}-${SHA}_build/etc/bprint"
-        dobin "${WORKDIR}/${PN}-${SHA}_build/etc/lcc"
-        dobin "${WORKDIR}/${PN}-${SHA}_build/lburg/lburg"
-        dobin "${WORKDIR}/${PN}-${SHA}_build/src/rcc"
+	doman "doc/bprint.1"
+	doman "doc/lcc.1"
+	into "/usr/lib/lcc"
+	dobin "${WORKDIR}/${PN}-${SHA}_build/cpp/cpp"
+	dobin "${WORKDIR}/${PN}-${SHA}_build/etc/bprint"
+	dobin "${WORKDIR}/${PN}-${SHA}_build/etc/lcc"
+	dobin "${WORKDIR}/${PN}-${SHA}_build/lburg/lburg"
+	dobin "${WORKDIR}/${PN}-${SHA}_build/src/rcc"
 }
 
 pkg_postinst() {
-        ewarn "If you had installed the previous version of this ebuild (lcc-2021.01.11),"
-        ewarn "there was a file collision that deleted the GNU's /usr/bin/cpp by LCC's own /usr/bin/cpp."
-        ewarn "So make sure to run the following commands :"
-        ewarn "gcc-config -l"
-        ewarn "gcc-config -f the_gcc_config_of_the_previous_command"
-        ewarn "The new package lcc-2021.01.11-r1 doesn't adds LCC to PATH anymore."
-}
\ No newline at end of file
+	ewarn "If you had installed the previous version of this ebuild (lcc-2021.01.11),"
+	ewarn "there was a file collision that deleted the GNU's /usr/bin/cpp by LCC's own /usr/bin/cpp."
+	ewarn "So make sure to run the following commands :"
+	ewarn "gcc-config -l"
+	ewarn "gcc-config -f the_gcc_config_of_the_previous_command"
+	ewarn "The new package lcc-2021.01.11-r1 doesn't adds LCC to PATH anymore."
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-devel/lcc/
  2024-04-23 22:52 [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/lcc/ David Roman
@ 2024-04-24 12:11 ` David Roman
  0 siblings, 0 replies; 4+ messages in thread
From: David Roman @ 2024-04-24 12:11 UTC (permalink / raw
  To: gentoo-commits

commit:     bca0fe3bfdddb5b2cad7a47d067d229df026ce52
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 23 22:52:22 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Apr 23 22:52:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bca0fe3b

sys-devel/lcc: add github upstream metadata

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sys-devel/lcc/metadata.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sys-devel/lcc/metadata.xml b/sys-devel/lcc/metadata.xml
index 1d6a771217..04a4948f7b 100644
--- a/sys-devel/lcc/metadata.xml
+++ b/sys-devel/lcc/metadata.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="person">
-<email>benoit.dufour@mail.com</email>
-<name>Benoît Dufour</name>
-</maintainer>
+	<maintainer type="person">
+		<email>benoit.dufour@mail.com</email>
+		<name>Benoît Dufour</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">drh/lcc</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-24 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-23 22:52 [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/lcc/ David Roman
2024-04-24 12:11 ` [gentoo-commits] repo/proj/guru:master " David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-04-23 22:52 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-11-06 15:17 Benoît Dufour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox