So I finally got HBasic to build and work successfully.
Unfortunately it builds only for OpenSUSE 11.0 32-bit. Can you please review the package and give me any advices on improvement? I also can give you access rights to my home project so you could make changes.
I had a quick look at hbasic. As it appears this package has not been maintained since early 2007. It links against KDE 3.x libraries. I feel you are in d-e-e-p s-h-i-t here (sorry for the wording, but that’s how I would feel with this project), as you would have to provide the whole environment which is no longer available in the current release.
If you really want to bite the bullet then disable building for all repos except 11.0 which almost works and clean up your package to eliminate all those rpmlint warnings and errors you still have. Tweak configure to respect the file hierarchy standard and make a separate -devel package for the static libraries. Aim for 0 errors and 0 warnings. Then you can go one step further.
There is no short cut here. Compile your app locally on a current system before burning buildservice CPU cycles. Then build locally using the build environment. You will have to provide some required -devel packages which are no longer available. It will be a long way.
as you would have to provide the whole environment which is no longer available in the current release.
No, it does not require KDE3 really. Configure has an option for building with or without KDE3 (it of course requires Qt3 as Gambas does). Besides this KDE3 base libraries currently included in 11.2 and Factory so no problem here.
Tweak configure to respect the file hierarchy standard
This is the most difficult part. Seems hbasic consists of the basic part and ERP/database access part. While the basic part is relatively simple to make comply with the directory standards, the ERP part is a mess, it also has many compilation errors. I am now considering to cut the ERP part away completely.
You will have to provide some required -devel packages which are no longer available. It will be a long way.
It compiles on 11.1 as well, but the rpmlint says it does not respect the file hierarchy standards.
It seems it even does not do this script altogether. It does not recognoze the EOF tag and anything after cat to the end of the section is ignored (or written to the file)! I wonder, why? I tried both -i and -n options, but the shell does not even process this line.