[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 660747b31c9078e4a759c340857668c698354153 Author: William Breathitt Gray gmail com> AuthorDate: Wed Sep 8 02:36:55 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Sep 8 02:37:24 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=660747b3 dev-lang/fbc: Version bump to 1.08.1 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/Manifest | 1 + dev-lang/fbc/fbc-1.08.1.ebuild | 61 ++ 2 files changed, 62 insertions(+) diff --git a/dev-lang/fbc/Manifest b/dev-lang/fbc/Manifest index f56b456a5..6416dd34b 100644 --- a/dev-lang/fbc/Manifest +++ b/dev-lang/fbc/Manifest @@ -1 +1,2 @@ DIST fbc-1.07.3.tar.gz 9035460 BLAKE2B c0356c36ebd455954993ce5d4a983d06c33abc5bf0a059a44832d441514643c7d08e40268a7b3b9a0cba21368058199be395cc28dd7f87df23d576f78aece276 SHA512 6040248c433db3191678209401ff4a643c500d967d67352f1aeca347648056b0a2cdef25bbb7532fec0351a13984c72e80cb7b00faf3ead6c219422955d148fb +DIST fbc-1.08.1.tar.gz 9395903 BLAKE2B 303def97f5e1c77f4941c6d08ed251b296dbc97f7e549f863feddd2775cf390962cda42e1751c647c560299f02ea60d29b312301faa78fbd6bba6ae8ab75f220 SHA512 1c56f4e1a56e0cfc309e5748e83a2ee98fe97a509e6fd3a7f51b1805a4cc40fefc3884b4434a62404c05001c84fdfa8b4e3debbfdb188ab42652a7a4020baea6 diff --git a/dev-lang/fbc/fbc-1.08.1.ebuild b/dev-lang/fbc/fbc-1.08.1.ebuild new file mode 100644 index 0..4c2681646 --- /dev/null +++ b/dev-lang/fbc/fbc-1.08.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A free/open source, multi-platform BASIC compiler." +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gpm libffi opengl X" + +DEPEND=" + sys-libs/ncurses:= + gpm? ( sys-libs/gpm ) + libffi? ( dev-libs/libffi ) + opengl? ( virtual/opengl ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + ) +" +RDEPEND="${DEPEND}" +BDEPEND="|| ( + dev-lang/fbc + dev-lang/fbc-bootstrap )" + +DOCS="${S}/doc/fbc.1" + +src_compile() { + local xcflags=( + $(usex gpm "" "-DDISABLE_GPM") + $(usex libffi "" " -DDISABLE_FFI") + $(usex opengl "" " -DDISABLE_OPENGL") + $(usex X "" " -DDISABLE_X11") + ) + + local fbc="fbc" + local fbcflags="" + # fbc requires a space after the -Wl option + local fblflags="${LDFLAGS//-Wl,/-Wl }" + + if has_version -b dev-lang/fbc-bootstrap; then + fbc="fbc-bootstrap" + fbcflags="-prefix ${EPREFIX}/usr/share/freebasic-bootstrap" + fblflags+=" -prefix ${EPREFIX}/usr/share/freebasic-bootstrap" + fi + + # Build fbc + emake CFLAGS="${CFLAGS} ${xcflags[*]} -I/usr/$(get_libdir)/libffi/include" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET="${CHOST}" +} + +src_install() { + emake DESTDIR="${D}" prefix="/usr" TARGET="${CHOST}" install + einstalldocs +}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/files/, dev-lang/fbc-bootstrap/
commit: ab34406a54287f558bebae70ebbfe9549db97b61 Author: William Breathitt Gray gmail com> AuthorDate: Wed Sep 8 02:18:17 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Sep 8 02:28:51 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab34406a dev-lang/fbc-bootstrap: Version bump to 1.08.1 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc-bootstrap/Manifest| 1 + dev-lang/fbc-bootstrap/fbc-bootstrap-1.08.1.ebuild | 29 ++ .../files/fbc-1.08.1-Pass-ltinfo-to-linker.patch | 25 +++ 3 files changed, 55 insertions(+) diff --git a/dev-lang/fbc-bootstrap/Manifest b/dev-lang/fbc-bootstrap/Manifest index 934b90671..ecdea2877 100644 --- a/dev-lang/fbc-bootstrap/Manifest +++ b/dev-lang/fbc-bootstrap/Manifest @@ -1 +1,2 @@ DIST FreeBASIC-1.07.3-source-bootstrap.tar.xz 10702984 BLAKE2B dbf68351c54d9a1ec6f5952e7867bc370fdc36db406c9a76d18f9e85757c26f3c954d91ce56593af9ceacf1e24e8038ba7cfeaa66a988923fd5d57d5f160584d SHA512 59a06e633b2bf5054d2b5f7a9da7e539a51657a20d50ac2e055255dab30acc87e03596a53613e1d7f1ac74798d4919b5d7aa32b20a229c7725ebc1e53460b70e +DIST FreeBASIC-1.08.1-source-bootstrap.tar.xz 12234408 BLAKE2B 5e10e784843253b15b22103d653a16cbabddd143d5b51990c87d4f1082c4ebed9a704bb50d065103bf3381377850cfa561a7dbbd99d11163b507cfc94c2827c7 SHA512 603ef6389ef6a90894dcca7bb31876dae8d1f4014da2b92f6a89cb23665e36130fdd98ffeed6c2e9fa90e549c2fc54450fa55932d22b6eead453b4aa6d4785c2 diff --git a/dev-lang/fbc-bootstrap/fbc-bootstrap-1.08.1.ebuild b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.08.1.ebuild new file mode 100644 index 0..d713fdb56 --- /dev/null +++ b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.08.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Bootstrap package for dev-lang/fbc" +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"; + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/fbc-1.08.1-Pass-ltinfo-to-linker.patch ) + +S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" + +src_compile() { + emake bootstrap-minimal \ + AR=$(tc-getAR) AS=$(tc-getAS) CC=$(tc-getCC) CFLAGS="${CFLAGS}" V=1 +} + +src_install() { + newbin bin/fbc fbc-bootstrap + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib +} diff --git a/dev-lang/fbc-bootstrap/files/fbc-1.08.1-Pass-ltinfo-to-linker.patch b/dev-lang/fbc-bootstrap/files/fbc-1.08.1-Pass-ltinfo-to-linker.patch new file mode 100644 index 0..6a57f34be --- /dev/null +++ b/dev-lang/fbc-bootstrap/files/fbc-1.08.1-Pass-ltinfo-to-linker.patch @@ -0,0 +1,25 @@ +From 5e209af787bf74327c0dcba1d75d6a5477dfb0cb Mon Sep 17 00:00:00 2001 +From: William Breathitt Gray +Date: Wed, 8 Sep 2021 11:27:39 +0900 +Subject: [PATCH] Pass -ltinfo to linker + +--- + makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/makefile b/makefile +index 04c5c3976..364dc9a0d 100644 +--- a/makefile b/makefile +@@ -1368,7 +1368,7 @@ endif + # Use gcc to link fbc from the bootstrap .o's + # (assuming the rtlib was built already) + ifneq ($(filter darwin freebsd dragonfly linux netbsd openbsd solaris,$(TARGET_OS)),) +- BOOTSTRAP_LIBS := -lncurses -lm -pthread ++ BOOTSTRAP_LIBS := -ltinfo -lncurses -lm -pthread + endif + $(BOOTSTRAP_FBC): rtlib $(BOOTSTRAP_OBJ) + $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS) +-- +2.33.0 +
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/
commit: 1450838ebba16ce637dd4002bc917c2b34f4f406 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 5 07:29:41 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed May 5 07:32:54 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1450838e dev-lang/fbc-bootstrap: m-n Signed-off-by: Alessandro Barbieri gmail.com> dev-lang/fbc-bootstrap/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-lang/fbc-bootstrap/metadata.xml b/dev-lang/fbc-bootstrap/metadata.xml index a2056f3a9..c6372baf8 100644 --- a/dev-lang/fbc-bootstrap/metadata.xml +++ b/dev-lang/fbc-bootstrap/metadata.xml @@ -1,6 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> + This package is used only to boot strap dev-lang/fbc. It is not meant to be used by end users directly.
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: b75784532532ea2f3c3218d7df382b3cbae9c4bf Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 5 07:29:17 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed May 5 07:32:54 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7578453 dev-lang/fbc: m-n Signed-off-by: Alessandro Barbieri gmail.com> dev-lang/fbc/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-lang/fbc/metadata.xml b/dev-lang/fbc/metadata.xml index cf1e49333..6c75891ca 100644 --- a/dev-lang/fbc/metadata.xml +++ b/dev-lang/fbc/metadata.xml @@ -1,6 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> + FreeBASIC is a completely free, open-source, multi-platform BASIC compiler, with syntax similar to MS-QuickBASIC, that adds
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/
commit: a8c0c82417f73f98ede069c181eb4c8ec3cd7c4a Author: William Breathitt Gray gmail com> AuthorDate: Thu Apr 29 12:05:19 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 12:07:31 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8c0c824 dev-lang/fbc-bootstrap: Remove William Breathitt Gray as maintainer Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc-bootstrap/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/dev-lang/fbc-bootstrap/metadata.xml b/dev-lang/fbc-bootstrap/metadata.xml index 5ef896cc9..a2056f3a9 100644 --- a/dev-lang/fbc-bootstrap/metadata.xml +++ b/dev-lang/fbc-bootstrap/metadata.xml @@ -5,10 +5,6 @@ This package is used only to boot strap dev-lang/fbc. It is not meant to be used by end users directly. - - vilhelm.g...@gmail.com - William Breathitt Gray - https://github.com/freebasic/fbc/issues https://www.freebasic.net
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 36563c1d617431c22533d96ba603d8de8e8cd396 Author: William Breathitt Gray gmail com> AuthorDate: Thu Apr 29 12:06:34 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 12:07:37 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36563c1d dev-lang/fbc: Remove William Breathitt Gray as maintainer Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/dev-lang/fbc/metadata.xml b/dev-lang/fbc/metadata.xml index 4ea4d4967..cf1e49333 100644 --- a/dev-lang/fbc/metadata.xml +++ b/dev-lang/fbc/metadata.xml @@ -7,10 +7,6 @@ new features such as pointers, unsigned data types, inline assembly, object orientation, and many others. - - vilhelm.g...@gmail.com - William Breathitt Gray - https://github.com/freebasic/fbc/issues https://www.freebasic.net
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 30ecba553847add9b44b2f038e5852e3e49532fe Author: William Breathitt Gray gmail com> AuthorDate: Thu Apr 29 11:57:43 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 11:57:43 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30ecba55 dev-lang/fbc: Drop old version Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.07.2-r1.ebuild | 92 --- 1 file changed, 92 deletions(-) diff --git a/dev-lang/fbc/fbc-1.07.2-r1.ebuild b/dev-lang/fbc/fbc-1.07.2-r1.ebuild deleted file mode 100644 index 324c8741c..0 --- a/dev-lang/fbc/fbc-1.07.2-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A free/open source, multi-platform BASIC compiler." -HOMEPAGE="https://www.freebasic.net"; -SRC_URI=" - https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz -" - -LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gpm libffi opengl X" - -DEPEND=" - sys-libs/ncurses:= - gpm? ( sys-libs/gpm ) - libffi? ( dev-libs/libffi ) - opengl? ( virtual/opengl ) - X? ( - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - ) -" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-1.07.0-Pass-ltinfo-to-linker.patch" ) - -DOCS="${S}/doc/fbc.1" - -BOOTSTRAP_S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" - -src_unpack() { - # We only need bootstrap source code if fbc is not already present - if ! has_version dev-lang/fbc; then - unpack "FreeBASIC-${PV}-source-bootstrap.tar.xz" - fi - unpack "${P}.tar.gz" -} - -src_prepare() { - # We only need bootstrap source code if fbc is not already present - if ! has_version dev-lang/fbc; then - cd "${BOOTSTRAP_S}" || die "cd failed" - eapply "${PATCHES[@]}" - cd "${S}" || die "cd failed" - fi - eapply_user -} - -src_compile() { - local fbc="fbc" - local fbcflags="" - - # We only need bootstrap compiler if fbc is not already present - if ! has_version dev-lang/fbc; then - cd "${BOOTSTRAP_S}" || die "cd failed" - - # Build bootstrap compiler - emake bootstrap-minimal - - # Set bootstrap compiler to build fbc - fbc="${BOOTSTRAP_S}/bin/fbc" - fbcflags="-i ${BOOTSTRAP_S}/inc" - - cd "${S}" || die "cd failed" - fi - - local xcflags=( - $(usex gpm "" "-DDISABLE_GPM") - $(usex libffi "" " -DDISABLE_FFI") - $(usex opengl "" " -DDISABLE_OPENGL") - $(usex X "" " -DDISABLE_X11") - ) - - # fbc requires a space after the -Wl option - local fblflags="${LDFLAGS//-Wl,/-Wl }" - - # Build fbc - emake CFLAGS="${CFLAGS} ${xcflags[*]} -I/usr/$(get_libdir)/libffi/include" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET="${CHOST}" -} - -src_install() { - emake DESTDIR="${D}" prefix="/usr" TARGET="${CHOST}" install - einstalldocs -}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/files/, dev-lang/fbc/
commit: 78a236627a03d4eea7c2238601f50650e3ddd823 Author: William Breathitt Gray gmail com> AuthorDate: Thu Apr 29 11:55:13 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 11:55:13 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78a23662 dev-lang/fbc: Drop old versions Closes: https://bugs.gentoo.org/781002 Closes: https://bugs.gentoo.org/781005 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/Manifest | 4 - dev-lang/fbc/fbc-1.07.1.ebuild | 89 - dev-lang/fbc/fbc-1.07.2-r2.ebuild | 61 -- dev-lang/fbc/fbc-1.07.2.ebuild | 92 -- .../files/fbc-1.07.0-Pass-ltinfo-to-linker.patch | 25 -- 5 files changed, 271 deletions(-) diff --git a/dev-lang/fbc/Manifest b/dev-lang/fbc/Manifest index ef633a433..f56b456a5 100644 --- a/dev-lang/fbc/Manifest +++ b/dev-lang/fbc/Manifest @@ -1,5 +1 @@ -DIST FreeBASIC-1.07.1-source-bootstrap.tar.xz 9098748 BLAKE2B 3c3970ab014f79193dad23b6f22c5ffc61d6f588219dcf00f430ce2c9045dc2af8aa42bdad4f1d63d76591aae14b42553cf6ece88052f0dc78e09c6fb5c4d875 SHA512 89250fb4d79e420151bae8208945e26c5d4e63ba8bbb60658b2c5601ceeea238b387d7d7a2b52d60da2243e5d3d31f602c3657394be72a37c256e777be23b0a8 -DIST FreeBASIC-1.07.2-source-bootstrap.tar.xz 10700992 BLAKE2B e7016e5f58ae79086c0445bf6a09f33d4335af771422778be407e3351d583522e16f137763e471ba88e47b4318ab5bd2aec882ef5e5ff85cc334b0eccf27fdc5 SHA512 f381d14343496f68d3401ad1a66ff4fb1314270eddebb72ed2bc5624b856c4b29e7e14062f531a5158d892bb73d9aa80ff54fe7c260b4b8967b1330d26b2ecfc -DIST fbc-1.07.1.tar.gz 8938056 BLAKE2B 965425426605b9e0018e066852a67c355d168276b434e6779e151fad38820a956b5b763aad427c6728be4a74b0956b099a0bb8abd0d76fececc6cf8f0204d3c1 SHA512 7d49b9546e242b1c366b2378f71cf1640b85c85e09f4c2bd99ef268e6b4e5e45a710b7a00f7d807245aec518f299d173635572b77483826c1f273e047dbe3679 -DIST fbc-1.07.2.tar.gz 9032306 BLAKE2B c44eb74bb0b11f8315cda29e13157ce5f7a92070f0e6df833ad9dda4ebe37db6450afe2b82eb763ebee5ed0c33b4ce458fd3b53430f32da8ad5a71cd84411c67 SHA512 0577203fb8a325f611c88456446721e8bb14656beb235f3965bcd53e14cc7c7fa012a68535ff4c12351fad31d9a22a759f12bc9fe0be5d1dad124d3fe377daaf DIST fbc-1.07.3.tar.gz 9035460 BLAKE2B c0356c36ebd455954993ce5d4a983d06c33abc5bf0a059a44832d441514643c7d08e40268a7b3b9a0cba21368058199be395cc28dd7f87df23d576f78aece276 SHA512 6040248c433db3191678209401ff4a643c500d967d67352f1aeca347648056b0a2cdef25bbb7532fec0351a13984c72e80cb7b00faf3ead6c219422955d148fb diff --git a/dev-lang/fbc/fbc-1.07.1.ebuild b/dev-lang/fbc/fbc-1.07.1.ebuild deleted file mode 100644 index dff47787b..0 --- a/dev-lang/fbc/fbc-1.07.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A free/open source, multi-platform BASIC compiler." -HOMEPAGE="https://www.freebasic.net"; -SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"; - -LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gpm libffi opengl X" - -DEPEND=" - sys-libs/ncurses:= - gpm? ( sys-libs/gpm ) - libffi? ( dev-libs/libffi ) - opengl? ( virtual/opengl ) - X? ( - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - )" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-1.07.0-Pass-ltinfo-to-linker.patch ) - -DOCS="${S}/doc/fbc.1" - -BOOTSTRAP_S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" - -src_unpack() { - # We only need bootstrap source code if fbc is not already present - if ! has_version dev-lang/fbc; then - unpack FreeBASIC-${PV}-source-bootstrap.tar.xz - fi - unpack ${P}.tar.gz -} - -src_prepare() { - # We only need bootstrap source code if fbc is not already present - if ! has_version dev-lang/fbc; then - cd "${BOOTSTRAP_S}" || die "cd failed" - eapply "${PATCHES[@]}" - cd "${S}" || die "cd failed" - fi - eapply_user -} - -src_compile() { - local fbc="fbc" - local fbcflags="" - - # We only need bootstrap compiler if fbc is not already present - if ! has_version dev-lang/fbc; then - cd "${BOOTSTRAP_S}" || die "cd failed" - - # Build bootstrap compiler - emake bootstrap-minimal - - # Set bootstrap compiler to build fbc - fbc="${BOOTSTRAP_S}/bin/fbc" - fbcflags="-i ${BOOTSTRAP_S}/inc" - - cd "${S}" || die "cd failed" - fi - - local xcflags=( - $(usex gpm "" "-DDISABLE_GPM") -
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/
commit: 55d3efc5a491601620c1646d3400fe5182e1b0c8 Author: William Breathitt Gray gmail com> AuthorDate: Thu Apr 29 11:59:12 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 11:59:12 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55d3efc5 dev-lang/fbc-bootstrap: Drop old version Closes: https://bugs.gentoo.org/781005 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc-bootstrap/Manifest| 1 - dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild | 26 -- 2 files changed, 27 deletions(-) diff --git a/dev-lang/fbc-bootstrap/Manifest b/dev-lang/fbc-bootstrap/Manifest index 0546ca882..934b90671 100644 --- a/dev-lang/fbc-bootstrap/Manifest +++ b/dev-lang/fbc-bootstrap/Manifest @@ -1,2 +1 @@ -DIST FreeBASIC-1.07.2-source-bootstrap.tar.xz 10700992 BLAKE2B e7016e5f58ae79086c0445bf6a09f33d4335af771422778be407e3351d583522e16f137763e471ba88e47b4318ab5bd2aec882ef5e5ff85cc334b0eccf27fdc5 SHA512 f381d14343496f68d3401ad1a66ff4fb1314270eddebb72ed2bc5624b856c4b29e7e14062f531a5158d892bb73d9aa80ff54fe7c260b4b8967b1330d26b2ecfc DIST FreeBASIC-1.07.3-source-bootstrap.tar.xz 10702984 BLAKE2B dbf68351c54d9a1ec6f5952e7867bc370fdc36db406c9a76d18f9e85757c26f3c954d91ce56593af9ceacf1e24e8038ba7cfeaa66a988923fd5d57d5f160584d SHA512 59a06e633b2bf5054d2b5f7a9da7e539a51657a20d50ac2e055255dab30acc87e03596a53613e1d7f1ac74798d4919b5d7aa32b20a229c7725ebc1e53460b70e diff --git a/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild deleted file mode 100644 index 747c02a56..0 --- a/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Bootstrap package for dev-lang/fbc" -HOMEPAGE="https://www.freebasic.net"; -SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"; - -LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( "${FILESDIR}"/fbc-1.07.0-Pass-ltinfo-to-linker.patch ) - -S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" - -src_compile() { - emake bootstrap-minimal -} - -src_install() { - newbin bin/fbc fbc-bootstrap - emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes - emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib -}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: c6b94bbd2dba24f29f2667d7c98f9ac32361b6b5 Author: William Breathitt Gray gmail com> AuthorDate: Mon Apr 12 00:56:34 2021 + Commit: Theo Anderson posteo de> CommitDate: Mon Apr 12 00:57:05 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6b94bbd dev-lang/fbc: Version bump to 1.07.3 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/Manifest | 1 + dev-lang/fbc/fbc-1.07.3.ebuild | 61 ++ 2 files changed, 62 insertions(+) diff --git a/dev-lang/fbc/Manifest b/dev-lang/fbc/Manifest index 7c9cade4c..ef633a433 100644 --- a/dev-lang/fbc/Manifest +++ b/dev-lang/fbc/Manifest @@ -2,3 +2,4 @@ DIST FreeBASIC-1.07.1-source-bootstrap.tar.xz 9098748 BLAKE2B 3c3970ab014f79193d DIST FreeBASIC-1.07.2-source-bootstrap.tar.xz 10700992 BLAKE2B e7016e5f58ae79086c0445bf6a09f33d4335af771422778be407e3351d583522e16f137763e471ba88e47b4318ab5bd2aec882ef5e5ff85cc334b0eccf27fdc5 SHA512 f381d14343496f68d3401ad1a66ff4fb1314270eddebb72ed2bc5624b856c4b29e7e14062f531a5158d892bb73d9aa80ff54fe7c260b4b8967b1330d26b2ecfc DIST fbc-1.07.1.tar.gz 8938056 BLAKE2B 965425426605b9e0018e066852a67c355d168276b434e6779e151fad38820a956b5b763aad427c6728be4a74b0956b099a0bb8abd0d76fececc6cf8f0204d3c1 SHA512 7d49b9546e242b1c366b2378f71cf1640b85c85e09f4c2bd99ef268e6b4e5e45a710b7a00f7d807245aec518f299d173635572b77483826c1f273e047dbe3679 DIST fbc-1.07.2.tar.gz 9032306 BLAKE2B c44eb74bb0b11f8315cda29e13157ce5f7a92070f0e6df833ad9dda4ebe37db6450afe2b82eb763ebee5ed0c33b4ce458fd3b53430f32da8ad5a71cd84411c67 SHA512 0577203fb8a325f611c88456446721e8bb14656beb235f3965bcd53e14cc7c7fa012a68535ff4c12351fad31d9a22a759f12bc9fe0be5d1dad124d3fe377daaf +DIST fbc-1.07.3.tar.gz 9035460 BLAKE2B c0356c36ebd455954993ce5d4a983d06c33abc5bf0a059a44832d441514643c7d08e40268a7b3b9a0cba21368058199be395cc28dd7f87df23d576f78aece276 SHA512 6040248c433db3191678209401ff4a643c500d967d67352f1aeca347648056b0a2cdef25bbb7532fec0351a13984c72e80cb7b00faf3ead6c219422955d148fb diff --git a/dev-lang/fbc/fbc-1.07.3.ebuild b/dev-lang/fbc/fbc-1.07.3.ebuild new file mode 100644 index 0..4c2681646 --- /dev/null +++ b/dev-lang/fbc/fbc-1.07.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A free/open source, multi-platform BASIC compiler." +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gpm libffi opengl X" + +DEPEND=" + sys-libs/ncurses:= + gpm? ( sys-libs/gpm ) + libffi? ( dev-libs/libffi ) + opengl? ( virtual/opengl ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + ) +" +RDEPEND="${DEPEND}" +BDEPEND="|| ( + dev-lang/fbc + dev-lang/fbc-bootstrap )" + +DOCS="${S}/doc/fbc.1" + +src_compile() { + local xcflags=( + $(usex gpm "" "-DDISABLE_GPM") + $(usex libffi "" " -DDISABLE_FFI") + $(usex opengl "" " -DDISABLE_OPENGL") + $(usex X "" " -DDISABLE_X11") + ) + + local fbc="fbc" + local fbcflags="" + # fbc requires a space after the -Wl option + local fblflags="${LDFLAGS//-Wl,/-Wl }" + + if has_version -b dev-lang/fbc-bootstrap; then + fbc="fbc-bootstrap" + fbcflags="-prefix ${EPREFIX}/usr/share/freebasic-bootstrap" + fblflags+=" -prefix ${EPREFIX}/usr/share/freebasic-bootstrap" + fi + + # Build fbc + emake CFLAGS="${CFLAGS} ${xcflags[*]} -I/usr/$(get_libdir)/libffi/include" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET="${CHOST}" +} + +src_install() { + emake DESTDIR="${D}" prefix="/usr" TARGET="${CHOST}" install + einstalldocs +}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/
commit: 769628ffae68fd92b69e0e970bb3bc181a9f56b5 Author: William Breathitt Gray gmail com> AuthorDate: Mon Apr 12 00:51:44 2021 + Commit: Theo Anderson posteo de> CommitDate: Mon Apr 12 00:54:25 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=769628ff dev-lang/fbc-bootstrap: Version bump to 1.07.3 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc-bootstrap/Manifest| 1 + dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.3.ebuild | 26 ++ 2 files changed, 27 insertions(+) diff --git a/dev-lang/fbc-bootstrap/Manifest b/dev-lang/fbc-bootstrap/Manifest index 7b009089e..0546ca882 100644 --- a/dev-lang/fbc-bootstrap/Manifest +++ b/dev-lang/fbc-bootstrap/Manifest @@ -1 +1,2 @@ DIST FreeBASIC-1.07.2-source-bootstrap.tar.xz 10700992 BLAKE2B e7016e5f58ae79086c0445bf6a09f33d4335af771422778be407e3351d583522e16f137763e471ba88e47b4318ab5bd2aec882ef5e5ff85cc334b0eccf27fdc5 SHA512 f381d14343496f68d3401ad1a66ff4fb1314270eddebb72ed2bc5624b856c4b29e7e14062f531a5158d892bb73d9aa80ff54fe7c260b4b8967b1330d26b2ecfc +DIST FreeBASIC-1.07.3-source-bootstrap.tar.xz 10702984 BLAKE2B dbf68351c54d9a1ec6f5952e7867bc370fdc36db406c9a76d18f9e85757c26f3c954d91ce56593af9ceacf1e24e8038ba7cfeaa66a988923fd5d57d5f160584d SHA512 59a06e633b2bf5054d2b5f7a9da7e539a51657a20d50ac2e055255dab30acc87e03596a53613e1d7f1ac74798d4919b5d7aa32b20a229c7725ebc1e53460b70e diff --git a/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.3.ebuild b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.3.ebuild new file mode 100644 index 0..042a2 --- /dev/null +++ b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Bootstrap package for dev-lang/fbc" +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"; + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/fbc-1.07.0-Pass-ltinfo-to-linker.patch ) + +S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" + +src_compile() { + emake bootstrap-minimal +} + +src_install() { + newbin bin/fbc fbc-bootstrap + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib +}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/files/, dev-lang/fbc-bootstrap/
commit: 4b1221ec3844153cdb4b251eb457053ed20dd42c Author: William Breathitt Gray gmail com> AuthorDate: Mon Dec 28 23:08:35 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Dec 28 23:14:01 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b1221ec dev-lang/fbc-bootstrap: New package Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc-bootstrap/Manifest| 1 + dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild | 26 ++ .../files/fbc-1.07.0-Pass-ltinfo-to-linker.patch | 25 + dev-lang/fbc-bootstrap/metadata.xml| 17 ++ 4 files changed, 69 insertions(+) diff --git a/dev-lang/fbc-bootstrap/Manifest b/dev-lang/fbc-bootstrap/Manifest new file mode 100644 index ..7b009089 --- /dev/null +++ b/dev-lang/fbc-bootstrap/Manifest @@ -0,0 +1 @@ +DIST FreeBASIC-1.07.2-source-bootstrap.tar.xz 10700992 BLAKE2B e7016e5f58ae79086c0445bf6a09f33d4335af771422778be407e3351d583522e16f137763e471ba88e47b4318ab5bd2aec882ef5e5ff85cc334b0eccf27fdc5 SHA512 f381d14343496f68d3401ad1a66ff4fb1314270eddebb72ed2bc5624b856c4b29e7e14062f531a5158d892bb73d9aa80ff54fe7c260b4b8967b1330d26b2ecfc diff --git a/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild new file mode 100644 index ..747c02a5 --- /dev/null +++ b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Bootstrap package for dev-lang/fbc" +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"; + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/fbc-1.07.0-Pass-ltinfo-to-linker.patch ) + +S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" + +src_compile() { + emake bootstrap-minimal +} + +src_install() { + newbin bin/fbc fbc-bootstrap + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib +} diff --git a/dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch b/dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch new file mode 100644 index ..72bd51fa --- /dev/null +++ b/dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch @@ -0,0 +1,25 @@ +From c62adcd85c4e9d8b793a7a4f71fc88f6fbb79798 Mon Sep 17 00:00:00 2001 +From: William Breathitt Gray +Date: Tue, 27 Aug 2019 20:41:07 +0900 +Subject: [PATCH] Pass -ltinfo to linker + +--- + makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/makefile b/makefile +index e093bb1..eb3f759 100644 +--- a/makefile b/makefile +@@ -1109,7 +1109,7 @@ endif + # Use gcc to link fbc from the bootstrap .o's + # (assuming the rtlib was built already) + ifneq ($(filter darwin freebsd linux netbsd openbsd solaris,$(TARGET_OS)),) +- BOOTSTRAP_LIBS := -lncurses -lm -pthread ++ BOOTSTRAP_LIBS := -ltinfo -lncurses -lm -pthread + endif + $(BOOTSTRAP_FBC): rtlib $(BOOTSTRAP_OBJ) + $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS) +-- +2.22.1 + diff --git a/dev-lang/fbc-bootstrap/metadata.xml b/dev-lang/fbc-bootstrap/metadata.xml new file mode 100644 index ..5ef896cc --- /dev/null +++ b/dev-lang/fbc-bootstrap/metadata.xml @@ -0,0 +1,17 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + This package is used only to boot strap dev-lang/fbc. + It is not meant to be used by end users directly. + + + vilhelm.g...@gmail.com + William Breathitt Gray + + + https://github.com/freebasic/fbc/issues + https://www.freebasic.net + freebasic/fbc + +
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 0d80101be5b3d381f41973b0be9436cb43972d0c Author: William Breathitt Gray gmail com> AuthorDate: Mon Dec 28 23:10:57 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Dec 28 23:14:01 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d80101b dev-lang/fbc: Add fbc-bootstrap as a BDEPEND This allows bootstrapping logic to move to the dedicated dev-lang/fbc-bootstrap package thus simplifying the ebuild. Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.07.2-r2.ebuild | 61 +++ 1 file changed, 61 insertions(+) diff --git a/dev-lang/fbc/fbc-1.07.2-r2.ebuild b/dev-lang/fbc/fbc-1.07.2-r2.ebuild new file mode 100644 index ..2d430eea --- /dev/null +++ b/dev-lang/fbc/fbc-1.07.2-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A free/open source, multi-platform BASIC compiler." +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gpm libffi opengl X" + +DEPEND=" + sys-libs/ncurses:= + gpm? ( sys-libs/gpm ) + libffi? ( dev-libs/libffi ) + opengl? ( virtual/opengl ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + ) +" +RDEPEND="${DEPEND}" +BDEPEND="|| ( + dev-lang/fbc + dev-lang/fbc-bootstrap )" + +DOCS="${S}/doc/fbc.1" + +src_compile() { + local xcflags=( + $(usex gpm "" "-DDISABLE_GPM") + $(usex libffi "" " -DDISABLE_FFI") + $(usex opengl "" " -DDISABLE_OPENGL") + $(usex X "" " -DDISABLE_X11") + ) + + local fbc="fbc" + local fbcflags="" + # fbc requires a space after the -Wl option + local fblflags="${LDFLAGS//-Wl,/-Wl }" + + if has_version -b dev-lang/fbc-bootstrap; then + fbc="fbc-bootstrap" + fbcflags="-prefix ${EPREFIX}/usr/share/freebasic-bootstrap" + fblflags+=" -prefix ${EPREFIX}/usr/share/freebasic-bootstrap" + fi + + # Build fbc + emake CFLAGS="${CFLAGS} ${xcflags[*]} -I/usr/$(get_libdir)/libffi/include" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET="${CHOST}" +} + +src_install() { + emake DESTDIR="${D}" prefix="/usr" TARGET="${CHOST}" install + einstalldocs +}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: a56587cc5ee323c8081d907534f76dde7b3ba510 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Dec 27 00:02:41 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Dec 27 00:03:20 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a56587cc dev-lang/fbc: fix for missing header Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> dev-lang/fbc/fbc-1.07.2-r1.ebuild | 92 +++ 1 file changed, 92 insertions(+) diff --git a/dev-lang/fbc/fbc-1.07.2-r1.ebuild b/dev-lang/fbc/fbc-1.07.2-r1.ebuild new file mode 100644 index ..324c8741 --- /dev/null +++ b/dev-lang/fbc/fbc-1.07.2-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A free/open source, multi-platform BASIC compiler." +HOMEPAGE="https://www.freebasic.net"; +SRC_URI=" + https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz +" + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gpm libffi opengl X" + +DEPEND=" + sys-libs/ncurses:= + gpm? ( sys-libs/gpm ) + libffi? ( dev-libs/libffi ) + opengl? ( virtual/opengl ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-1.07.0-Pass-ltinfo-to-linker.patch" ) + +DOCS="${S}/doc/fbc.1" + +BOOTSTRAP_S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" + +src_unpack() { + # We only need bootstrap source code if fbc is not already present + if ! has_version dev-lang/fbc; then + unpack "FreeBASIC-${PV}-source-bootstrap.tar.xz" + fi + unpack "${P}.tar.gz" +} + +src_prepare() { + # We only need bootstrap source code if fbc is not already present + if ! has_version dev-lang/fbc; then + cd "${BOOTSTRAP_S}" || die "cd failed" + eapply "${PATCHES[@]}" + cd "${S}" || die "cd failed" + fi + eapply_user +} + +src_compile() { + local fbc="fbc" + local fbcflags="" + + # We only need bootstrap compiler if fbc is not already present + if ! has_version dev-lang/fbc; then + cd "${BOOTSTRAP_S}" || die "cd failed" + + # Build bootstrap compiler + emake bootstrap-minimal + + # Set bootstrap compiler to build fbc + fbc="${BOOTSTRAP_S}/bin/fbc" + fbcflags="-i ${BOOTSTRAP_S}/inc" + + cd "${S}" || die "cd failed" + fi + + local xcflags=( + $(usex gpm "" "-DDISABLE_GPM") + $(usex libffi "" " -DDISABLE_FFI") + $(usex opengl "" " -DDISABLE_OPENGL") + $(usex X "" " -DDISABLE_X11") + ) + + # fbc requires a space after the -Wl option + local fblflags="${LDFLAGS//-Wl,/-Wl }" + + # Build fbc + emake CFLAGS="${CFLAGS} ${xcflags[*]} -I/usr/$(get_libdir)/libffi/include" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET="${CHOST}" +} + +src_install() { + emake DESTDIR="${D}" prefix="/usr" TARGET="${CHOST}" install + einstalldocs +}
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/files/1.07.0/, dev-lang/fbc/
commit: 7b9d865baea700878aa4ab8358da70c3919eea6b Author: William Breathitt Gray gmail com> AuthorDate: Tue Aug 27 12:00:39 2019 + Commit: Ralph Seichter seichter de> CommitDate: Tue Aug 27 12:00:39 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b9d865b dev-lang/fbc: Bump to version 1.07.0 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/Manifest | 2 + dev-lang/fbc/fbc-1.07.0.ebuild | 89 ++ .../files/1.07.0/0001-Pass-ltinfo-to-linker.patch | 25 ++ 3 files changed, 116 insertions(+) diff --git a/dev-lang/fbc/Manifest b/dev-lang/fbc/Manifest index 948cffc..d8c8386 100644 --- a/dev-lang/fbc/Manifest +++ b/dev-lang/fbc/Manifest @@ -1,4 +1,6 @@ DIST FreeBASIC-1.06.0-source-bootstrap.tar.xz 7742292 BLAKE2B fd32c6e5edf6e8c27538465141c6b870d6c893f8e05fc8d91b273f9268a68065709cba95e8c5cd8b86786522b2ac1eaf1a6a547227432bbc9998eb1288b29515 SHA512 42878091994cae7e0a2f4ba1d2d83a80d32d62ad06790ac06643a266200b53b7ce2480a651b1622910a2733756b7ca032a5be1bb73ee3f796146394eebb9f43c +DIST FreeBASIC-1.07.0-source-bootstrap.tar.xz 8237216 BLAKE2B f657f8a81d412435b8b4167ded5019e9821f0cf47db9d38708da0eea6bdc8835a77c643122e792616aefbbb557f228e6ab06e823c10e1afe922c9e4b34088989 SHA512 3a69e2fe5a81b8990e0ec811a9aeb0c9bdd84e858983800c444717197754a0b8e2945091d80d4c6736b691798dbc571b3e7f885d6a6e4564c9ca1021a2fae71c DIST fbc-1.06.0-bootstrap-dist-linux-x86.patch 147301 BLAKE2B 8320f988bc84f5df1b732719a11d1a8edbfceff04ad51b1fbd883eb21d20f1c2f16b8c6ae41b5b0472e4faf1058345969b85ed0c93c071de3c9ed703e298106a SHA512 b2ee285504ce0f8a6a01ee5da7661e40c4a6bb0075f26751fbc79a328cac66f7809ad4c2489eaab01a6e6432ca6d76e19835c86bddf9df5af3b89c547fd8ffb3 DIST fbc-1.06.0-bootstrap-dist-linux-x86_64.patch 198197 BLAKE2B 72083bef84aed5ec2d95badb70a42db2e5d89084454f79aef41808a018ab238b1d230cb7282f4adf1be9d003c3865cb914fbf057fbd84c069dfecc4abd3da80b SHA512 771077a2526164223c3ae157558355538701224863b2a5923881ac2d2568f4cd1f5489df73aa8d55b1efccc82fe9e251e893a2b361363c1862d4c1e7bc3fb4ba DIST fbc-1.06.0.tar.gz 8847831 BLAKE2B 9245137995f9f3e2ff5adaf9b273593434ac9ec96919b2c970ec26183fe6fb7afee35753f2dd92f4b34d1aade92871e5a6722571a5ba04dde323fd7fb06c55c5 SHA512 687dcf665bb10e6a771cc01d02c21da77d89e052308600038dce526ba1ccfc6554d409dab184f3495557c9e4fdf744fd7a9088b4b137b782a9ab8633622c5484 +DIST fbc-1.07.0.tar.gz 8938137 BLAKE2B 14849dd0cfb0f0a2d0f2e4966a855964027adbacc2253e236f9f10ba73c40b16714d8fb75778cac8cb6eb1600d6adeb2037929a376b4938961e53e5de83fafba SHA512 1cab52e97854b3ef17db6ba4750c0216f3bd04e23997f005189988007014574467c0f63f41ad822d089a18e97439ba52743223d1bb282133b41c0625b66cd8f5 diff --git a/dev-lang/fbc/fbc-1.07.0.ebuild b/dev-lang/fbc/fbc-1.07.0.ebuild new file mode 100644 index 000..83399ea --- /dev/null +++ b/dev-lang/fbc/fbc-1.07.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A free/open source, multi-platform BASIC compiler." +HOMEPAGE="https://www.freebasic.net"; +SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"; + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gpm libffi opengl X" + +DEPEND=" + sys-libs/ncurses:= + gpm? ( sys-libs/gpm ) + libffi? ( virtual/libffi ) + opengl? ( virtual/opengl ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + )" +RDEPEND="${DEPEND}" + +PATCHES="${FILESDIR}/${PV}" + +DOCS="${S}/doc/fbc.1" + +BOOTSTRAP_S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" + +src_unpack() { + # We only need bootstrap source code if fbc is not already present + if ! has_version dev-lang/fbc; then + unpack FreeBASIC-${PV}-source-bootstrap.tar.xz + fi + unpack ${P}.tar.gz +} + +src_prepare() { + # We only need bootstrap source code if fbc is not already present + if ! has_version dev-lang/fbc; then + cd "${BOOTSTRAP_S}" || die "cd failed" + eapply "${FILESDIR}/${PV}" + cd "${S}" || die "cd failed" + fi + default +} + +src_compile() { + local fbc="fbc" + local fbcflags="" + + # We only need bootstrap compiler if fbc is not already present + if ! has_version dev-lang/fbc; then + cd "${BOOTSTRAP_S}" || die "cd failed" + + # Build bootstrap compiler + emake bootstrap-minimal + + # Set bootstrap compiler to build fbc + fbc="${BOOTSTRAP_S}/bin/fbc" + fbcflags="-i ${BOOTSTRAP_S}/inc" + +
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 7583115ff97af20a831e9d17540faf1b808e11ff Author: William Breathitt Gray gmail com> AuthorDate: Sun May 19 03:48:38 2019 + Commit: Ralph Seichter seichter de> CommitDate: Sun May 19 03:48:38 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7583115f dev-lang/fbc: Support cross-compilation Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.06.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lang/fbc/fbc-1.06.0.ebuild b/dev-lang/fbc/fbc-1.06.0.ebuild index 8d4c389..11efb62 100644 --- a/dev-lang/fbc/fbc-1.06.0.ebuild +++ b/dev-lang/fbc/fbc-1.06.0.ebuild @@ -84,10 +84,10 @@ src_compile() { local fblflags=${LDFLAGS//-Wl,/-Wl } # Build fbc - emake CFLAGS="${CFLAGS} ${xcflags[*]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" + emake CFLAGS="${CFLAGS} ${xcflags[*]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET=${CHOST} } src_install() { - emake DESTDIR="${D}" prefix="/usr" install + emake DESTDIR="${D}" prefix="/usr" TARGET=${CHOST} install einstalldocs }
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: bbad1142550ea9c093412abce449cc5569a8039b Author: William Breathitt Gray gmail com> AuthorDate: Tue May 14 12:00:02 2019 + Commit: Ralph Seichter seichter de> CommitDate: Tue May 14 12:00:02 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbad1142 dev-lang/fbc: DESCRIPTION should not contain the package name Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.06.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/fbc/fbc-1.06.0.ebuild b/dev-lang/fbc/fbc-1.06.0.ebuild index aef1b85..8d4c389 100644 --- a/dev-lang/fbc/fbc-1.06.0.ebuild +++ b/dev-lang/fbc/fbc-1.06.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -DESCRIPTION="FreeBASIC - A free/open source, multi-platform BASIC compiler." +DESCRIPTION="A free/open source, multi-platform BASIC compiler." HOMEPAGE="https://www.freebasic.net"; SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/, dev-lang/fbc/files/1.06.0/fbc/
commit: d3c50b452280a23da7fa55fe97e926bad3386ee5 Author: William Breathitt Gray gmail com> AuthorDate: Mon May 6 11:52:22 2019 + Commit: Ralph Seichter seichter de> CommitDate: Mon May 6 11:52:22 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3c50b45 dev-lang/fbc: Add patch for proper symbol stripping behavior Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/Manifest | 4 +- dev-lang/fbc/fbc-1.06.0.ebuild | 12 +- ...lement-the-strip-nostrip-compiler-options.patch | 169 + 3 files changed, 174 insertions(+), 11 deletions(-) diff --git a/dev-lang/fbc/Manifest b/dev-lang/fbc/Manifest index 1c62094..948cffc 100644 --- a/dev-lang/fbc/Manifest +++ b/dev-lang/fbc/Manifest @@ -1,4 +1,4 @@ DIST FreeBASIC-1.06.0-source-bootstrap.tar.xz 7742292 BLAKE2B fd32c6e5edf6e8c27538465141c6b870d6c893f8e05fc8d91b273f9268a68065709cba95e8c5cd8b86786522b2ac1eaf1a6a547227432bbc9998eb1288b29515 SHA512 42878091994cae7e0a2f4ba1d2d83a80d32d62ad06790ac06643a266200b53b7ce2480a651b1622910a2733756b7ca032a5be1bb73ee3f796146394eebb9f43c -DIST fbc-1.06.0-bootstrap-dist-linux-x86.patch 125456 BLAKE2B 14bf25ed51d04773a8c98408f76ce79fcc165500e3ef67fc9407971f92fdb359dfc9abe8feb989ad6fd0b710b26d99ac478561d561a0687c213d048d41610ca9 SHA512 39622d88ef1b83bbe309df937139e73e6bdae87c4e0461a170aa4b792a74a295060f2b770fa81e74a0a973a9ae816fadf18d75a1075d9112dd68c83ca3e0cbb6 -DIST fbc-1.06.0-bootstrap-dist-linux-x86_64.patch 58219 BLAKE2B f28a4b74b8648a3128d2e8f273af55e5f1880fe35c5acef31ceed7b33386c5fb6b83ed4657138515abb95891ce8bc157aea339f8ba947dece4df1f2876e926b7 SHA512 e62b6969a93f214a6c1d246c734ab2b9045ee7ad9558d0871589945613d11ae0815945b3270213bc959c792903e86cf38555b6fd68b0d0c9ec68f8ef61ea9a0e +DIST fbc-1.06.0-bootstrap-dist-linux-x86.patch 147301 BLAKE2B 8320f988bc84f5df1b732719a11d1a8edbfceff04ad51b1fbd883eb21d20f1c2f16b8c6ae41b5b0472e4faf1058345969b85ed0c93c071de3c9ed703e298106a SHA512 b2ee285504ce0f8a6a01ee5da7661e40c4a6bb0075f26751fbc79a328cac66f7809ad4c2489eaab01a6e6432ca6d76e19835c86bddf9df5af3b89c547fd8ffb3 +DIST fbc-1.06.0-bootstrap-dist-linux-x86_64.patch 198197 BLAKE2B 72083bef84aed5ec2d95badb70a42db2e5d89084454f79aef41808a018ab238b1d230cb7282f4adf1be9d003c3865cb914fbf057fbd84c069dfecc4abd3da80b SHA512 771077a2526164223c3ae157558355538701224863b2a5923881ac2d2568f4cd1f5489df73aa8d55b1efccc82fe9e251e893a2b361363c1862d4c1e7bc3fb4ba DIST fbc-1.06.0.tar.gz 8847831 BLAKE2B 9245137995f9f3e2ff5adaf9b273593434ac9ec96919b2c970ec26183fe6fb7afee35753f2dd92f4b34d1aade92871e5a6722571a5ba04dde323fd7fb06c55c5 SHA512 687dcf665bb10e6a771cc01d02c21da77d89e052308600038dce526ba1ccfc6554d409dab184f3495557c9e4fdf744fd7a9088b4b137b782a9ab8633622c5484 diff --git a/dev-lang/fbc/fbc-1.06.0.ebuild b/dev-lang/fbc/fbc-1.06.0.ebuild index 689d4bb..aef1b85 100644 --- a/dev-lang/fbc/fbc-1.06.0.ebuild +++ b/dev-lang/fbc/fbc-1.06.0.ebuild @@ -7,8 +7,8 @@ DESCRIPTION="FreeBASIC - A free/open source, multi-platform BASIC compiler." HOMEPAGE="https://www.freebasic.net"; SRC_URI="https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz - https://gist.github.com/vilhelmgray/08cebe0f22e303f7d5e6e5bc71e3d1f2/raw/710ba9ded1c7772f23fd68c08e02402f167d2c56/fbc-1.06.0-bootstrap-dist-linux-x86.patch - https://gist.github.com/vilhelmgray/08cebe0f22e303f7d5e6e5bc71e3d1f2/raw/710ba9ded1c7772f23fd68c08e02402f167d2c56/fbc-1.06.0-bootstrap-dist-linux-x86_64.patch"; + https://gist.github.com/vilhelmgray/08cebe0f22e303f7d5e6e5bc71e3d1f2/raw/70c1f43eec81c35bdc780ace7fdf6a3c8b548c85/fbc-1.06.0-bootstrap-dist-linux-x86.patch + https://gist.github.com/vilhelmgray/08cebe0f22e303f7d5e6e5bc71e3d1f2/raw/70c1f43eec81c35bdc780ace7fdf6a3c8b548c85/fbc-1.06.0-bootstrap-dist-linux-x86_64.patch"; LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" SLOT="0" @@ -80,14 +80,8 @@ src_compile() { $(usex X "" " -DDISABLE_X11") ) - # fbc automatically strips the executables it compiles; in order to avoid - # creating striped executables, we override the fbc hardcoded linker "-s" - # flag with our own; "--strip-debug" was chosen arbitrarily (without the - # "-g" flag the executable should not have debug_info symbols anyway, so the - # "--strip-debug" flag should be a safe option) - local fblflags="-Wl --strip-debug " # fbc requires a space after the -Wl option - fblflags+=${LDFLAGS//-Wl,/-Wl } + local fblflags=${LDFLAGS//-Wl,/-Wl } # Build fbc emake CFLAGS="${CFLAGS} ${xcflags[*]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" diff --git a/dev-lang/fbc/files/1.06.0/fbc/0002-Implement-the-strip-nostrip-compiler-options.patch b/dev-lang/fbc/files/1.06.0/f
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 632a6d2d292602425035c47bd31f6b76a0857404 Author: William Breathitt Gray gmail com> AuthorDate: Mon Apr 29 02:58:31 2019 + Commit: Ralph Seichter seichter de> CommitDate: Mon Apr 29 03:00:09 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=632a6d2d dev-lang/fbc: Simplify definition of xcflags and fblflags Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.06.0.ebuild | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/dev-lang/fbc/fbc-1.06.0.ebuild b/dev-lang/fbc/fbc-1.06.0.ebuild index 8783039..ba5b069 100644 --- a/dev-lang/fbc/fbc-1.06.0.ebuild +++ b/dev-lang/fbc/fbc-1.06.0.ebuild @@ -69,10 +69,12 @@ src_compile() { cd "${S}" || die "cd failed" fi - local xcflags=$(usex gpm "" "-DDISABLE_GPM") - xcflags+=$(usex libffi "" " -DDISABLE_FFI") - xcflags+=$(usex opengl "" " -DDISABLE_OPENGL") - xcflags+=$(usex X "" " -DDISABLE_X11") + local xcflags=( + $(usex gpm "" "-DDISABLE_GPM") + $(usex libffi "" " -DDISABLE_FFI") + $(usex opengl "" " -DDISABLE_OPENGL") + $(usex X "" " -DDISABLE_X11") + ) # fbc automatically strips the executables it compiles; in order to avoid # creating striped executables, we override the fbc hardcoded linker "-s" @@ -81,10 +83,10 @@ src_compile() { # "--strip-debug" flag should be a safe option) local fblflags="-Wl --strip-debug " # fbc requires a space after the -Wl option - fblflags+=$(echo "${LDFLAGS}" | sed 's/-Wl,/-Wl /g') + fblflags+=${LDFLAGS//-Wl,/-Wl } # Build fbc - emake CFLAGS="${CFLAGS} ${xcflags}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" + emake CFLAGS="${CFLAGS} ${xcflags[@]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" } src_install() {
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: 81ca149dd90adbf81370e80e09b1b9e88a4440ea Author: William Breathitt Gray gmail com> AuthorDate: Mon Apr 29 03:59:04 2019 + Commit: Ralph Seichter seichter de> CommitDate: Mon Apr 29 03:59:04 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81ca149d dev-lang/fbc: Fix xcflags array print out Package-Manager: Portage-2.3.62, Repoman-2.3.12 RepoMan-Options: --force Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.06.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/fbc/fbc-1.06.0.ebuild b/dev-lang/fbc/fbc-1.06.0.ebuild index ba5b069..0fafe2e 100644 --- a/dev-lang/fbc/fbc-1.06.0.ebuild +++ b/dev-lang/fbc/fbc-1.06.0.ebuild @@ -86,7 +86,7 @@ src_compile() { fblflags+=${LDFLAGS//-Wl,/-Wl } # Build fbc - emake CFLAGS="${CFLAGS} ${xcflags[@]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" + emake CFLAGS="${CFLAGS} ${xcflags[*]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" } src_install() {
[gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/
commit: c988219258469ece67d808e080409f9acd6d8555 Author: William Breathitt Gray gmail com> AuthorDate: Mon Apr 29 02:36:16 2019 + Commit: Ralph Seichter seichter de> CommitDate: Mon Apr 29 02:38:31 2019 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9882192 dev-lang/fbc: Remove proxy maintainer info from metadata file Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/dev-lang/fbc/metadata.xml b/dev-lang/fbc/metadata.xml index 2776c89..4ea4d49 100644 --- a/dev-lang/fbc/metadata.xml +++ b/dev-lang/fbc/metadata.xml @@ -11,10 +11,6 @@ vilhelm.g...@gmail.com William Breathitt Gray - - proxy-ma...@gentoo.org - Proxy Maintainers - https://github.com/freebasic/fbc/issues https://www.freebasic.net