Author Topic: RPM Packages - 2025 ( For OS/2 Software in General)  (Read 13323 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 (Pentium 4)
« Reply #15 on: March 12, 2025, 02:23:47 am »
Hello

I modified DataSeeker based in the suggestions. And I also wanted to go deep on the icons creations.

But I'm not sure if I made it the optimal way to create the readme and copying icons.

Quote
DATASEEK_READ:WPProgram|Read Me|<DATASEEK_FOLDER>|EXENAME=e.exe;PROGTYPE=PROG_PM;PARAMETERS=((%{_datadir}/doc/%{name}-%{version}/DataSeek.txt));OPEN=RUNNING

DATASEEK_LIC:WPProgram|License|<DATASEEK_FOLDER>|EXENAME=e.exe;PROGTYPE=PROG_PM;PARAMETERS=((%{_datadir}/licenses/%{name}-%{version}/COPYING));OPEN=RUNNING

Any suggestion are welcome?

Regards


Note: I reuploaded the files with some changes.
« Last Edit: March 12, 2025, 03:11:16 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #16 on: March 13, 2025, 11:52:23 pm »
Here I'm trying mp3gain.

No icon creation is done or needed, i think.
I guess this port is "pentium4"

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #17 on: March 14, 2025, 12:10:30 am »
And the next one AACGAIN.

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #18 on: March 14, 2025, 12:41:22 am »
Here goes cdda2wav
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #19 on: March 14, 2025, 12:45:15 am »
Have you looked at the build flags before deciding that all the above are P4? And does the license require source?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #20 on: March 14, 2025, 01:50:25 am »
Hi Dave

Some came with source code and some don't. Where should I put the source code in the FHS?
Should the source code be unziped there, or just like a zip file?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #21 on: March 14, 2025, 02:34:53 am »
The usual is to have a source RPM which is built while building the package. If the source is in a stable place, simply putting a link to the source should be good enough.

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #22 on: March 14, 2025, 10:48:45 am »
Hi Dave

Some came with source code and some don't. Where should I put the source code in the FHS?
Should the source code be unziped there, or just like a zip file?

Regards

If you have the source code (e.g. as archive file) i think that you can put it under :
(something I do when using @unixroot)
all .zip;.tar;.wpi   to   /usr/src/<name of package>

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #23 on: March 14, 2025, 01:45:20 pm »
Hi Dave

Some came with source code and some don't. Where should I put the source code in the FHS?
Should the source code be unziped there, or just like a zip file?

Regards

If you have the source code (e.g. as archive file) i think that you can put it under :
(something I do when using @unixroot)
all .zip;.tar;.wpi   to   /usr/src/<name of package>

Thanks. I will try later if "%{_usrsrc}" works for us.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #24 on: March 14, 2025, 05:27:58 pm »
Hello

Just a question here about cdda2wav.exe, (it is compiled on 2007-08-24), it references to libc05.dll (which is included). Do you think it will be desirable to recompile it to reference the libc that is included in ArcaOS ?

cdda2wav is included in cdrtools, right?
- https://sourceforge.net/projects/cdrtools/

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #25 on: March 14, 2025, 11:58:14 pm »
Ideal would be recompiling it if easy, cdrecord used a weird build system that only supported EMX.
Another idea is to package libc05 separately and have a dependency.

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #26 on: March 15, 2025, 03:11:12 pm »
Hello

Just a question here about cdda2wav.exe, (it is compiled on 2007-08-24), it references to libc05.dll (which is included). Do you think it will be desirable to recompile it to reference the libc that is included in ArcaOS ?

cdda2wav is included in cdrtools, right?
- https://sourceforge.net/projects/cdrtools/

Regards


Hi Martin,

ArcaOS 5.1.1 has cdrtools 3.01.1 package installed (RPM) but no cdd2wav.exe into it while cdda2wav is available into a different cdrtools build and can be used as standalone installation
Having cdda2wav available as a standalone RPM installation package is then the best option.   

Note: If you are going to recompile it, I'm ok to give it a test, using cdda2wav.exe under AVxCAT
« Last Edit: March 15, 2025, 03:13:37 pm by Remy »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #27 on: March 23, 2025, 08:11:24 pm »
Hello

Do you think it will be good to do an extra things to the executables? I noticed that a lot of the .exe and .dll does not has bldlevel information.
- Will be it be ok to add that information on the exe/dll using AddToFile ?
- would that violates the sacrosanctity of the binary :) ?
- or is it too much OCD ?

I know that it may only be a nice to have, but not completely necessary.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #28 on: March 23, 2025, 11:26:39 pm »
You understand that you have to rebuild the binaries after patching the makefiles to use Addtofile? Also I just noticed the license doesn't allow hosting the script on any servers so it would have to be downloaded by anyone rebuilding the binary.
Other then that, adding bldlevel info seems a good idea.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #29 on: March 24, 2025, 01:51:07 am »
Hi
You understand that you have to rebuild the binaries after patching the makefiles to use Addtofile? Also I just noticed the license doesn't allow hosting the script on any servers so it would have to be downloaded by anyone rebuilding the binary.
Other then that, adding bldlevel info seems a good idea.
I guess I didn't understand it right. I thought that "AddToFile" changed the .exe to include the bldlevel information, and that modified exe was going to be included on the RPM. I didn't know that the binary had to be rebuild. Or that every user had to download "AddToFile" for it to work.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.