Hello, FreeBASIC is a Open Source BASIC variant with a syntax quite close to that of Microsoft's QBASIC. It has it's own QB-like graphics library, but it can also utilize libraries such as SDL, OpenGL, and GTK+. I'm suggesting dev-lang/freebasic. Attached is an ebuild script. -Sam Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 61649 [details] ebuild for freeBASIC
Source based distro... should be using the upstream source, and compiling it. :)
Created attachment 72687 [details] FreeBasic-0.14b Updated (working) ebuild for FreeBasic.
Last one is binary too:( It's also mine first ebuild.
Created attachment 85376 [details] libfb-0.15b.ebuild libfb ebuild... needed by fbc.
Created attachment 85378 [details] fbc-0.15b.ebuild fbc is written in BASIC, so we also need the binary distribution for the first compilation. fbc has the paths of some of the libaries it links abainst (crt1.o, crtbegin.o, crtend.o, crti.o, crtn.o) hard-coded in the source code, so when we first compile it with binary distribution it links against the libraries found in it. In order to get it to link against the system libraries, we compile it a second time with the newly produced binary. Please note that I don't know what those *.o libraries are, or if it's important or not... this just seemed like the most sensible solution to me. I also introduced FBCFLAGS in this ebuild, which I intended to be something similar to CFLAGS and CXXFLAGS but for FreeBASIC. fbc already has some default flags set up in the makefile (-arch 486) which should work for most users. If they want more optimisations they can just FBCFLAGS="-arch 686" emerge fbc for example.
Created attachment 85379 [details, diff] fbc-0.15b-gentoo-paths.patch
Created attachment 85380 [details, diff] fbc-0.15b-makefile.patch
I'm not a Gentoo developer or anything, but I'm willing to maintain this package, and I'm currently doing so in an overlay. That said, fbc should be put into dev-lang/fbc rather than dev-lang/FreeBASIC and libfb should be dev-libs/libfb instead of sys-libs/libfb Overlay is at http://svn.ignition-project.com/hamsterrific/trunk/ if anyone cares.
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Gentoo really needs something like Archlinux's AUR. Archlinux have this package since 2007 in AUR and its still up to date and working. This Bug was reportet 2005 and Gentoo still does not have this package. Just run into it today as one of the employee here in the company needed it.
(In reply to Vamp898 from comment #11) > Gentoo really needs something like Archlinux's AUR. > > Archlinux have this package since 2007 in AUR and its still up to date and > working. > > This Bug was reportet 2005 and Gentoo still does not have this package. > > Just run into it today as one of the employee here in the company needed it. We have Sunrise(http://overlays.gentoo.org/proj/sunrise) and Proxy maintainers(http://www.gentoo.org/proj/en/qa/proxy-maintainers/).
Created attachment 386510 [details] Need to make fbc without working fbc
Created attachment 386512 [details] fbc 0.90.1
Created attachment 386514 [details] fbc-1.00.0.ebuild
Created attachment 496422 [details] fbc-1.05.0.ebuild Update to the latest version based on Cmapuk ebuild and found the way to compile the program without having it previously installed using the precompiled binary and a couple of commands from the Makefile. I've also noted that at the end of the compilation, emerge shows me the following warning: * QA Notice: The following files contain writable and executable sections * Files with such sections will not work properly (or at all!) on some * architectures/operating systems. A bug should be filed at * https://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see: * * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart * * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@g.o. * RWX --- --- usr/bin/fbc * !WX --- --- usr/lib/freebasic/linux-x86/libfb.a:cpudetect.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbmt.a:cpudetect.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_blitter_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_add_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_alpha_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_and_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_blend_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_or_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_preset_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_pset_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_trans_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfx.a:gfx_put_xor_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_blitter_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_add_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_alpha_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_and_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_blend_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_or_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_preset_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_pset_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_trans_mmx.o * !WX --- --- usr/lib/freebasic/linux-x86/libfbgfxmt.a:gfx_put_xor_mmx.o Anyway I have compiled some example programs with fbc installed and so far I have had no problems. Finally, I think it's important to clarify that my system is 32 bits, so it would be necessary to check that the ebuild works correctly in a 64 bits installation.
Created attachment 496424 [details, diff] bootstrap-dist-fixes.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1b76eb6fa1d1539614e99ff29ce1dc2d6c9cf8c commit e1b76eb6fa1d1539614e99ff29ce1dc2d6c9cf8c Author: William Breathitt Gray <vilhelm.gray@gmail.com> AuthorDate: 2019-04-04 05:36:44 +0000 Commit: William Breathitt Gray <vilhelm.gray@gmail.com> CommitDate: 2019-04-28 06:57:00 +0000 dev-lang/fbc: New package Closes: https://bugs.gentoo.org/96711 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> dev-lang/fbc/Manifest | 2 + dev-lang/fbc/fbc-1.06.0.ebuild | 93 + ...efile-Fix-bootstrap-recipe-race-condition.patch | 37 + ...kefile-Implement-bootstrap-minimal-target.patch | 56 + ...n-all-options-from-all-Wa-Wc-and-Wl-flags.patch | 1514 +++++ ...n-all-options-from-all-Wa-Wc-and-Wl-flags.patch | 7124 ++++++++++++++++++++ ...n-all-options-from-all-Wa-Wc-and-Wl-flags.patch | 35 + dev-lang/fbc/metadata.xml | 23 + 8 files changed, 8884 insertions(+)