Author Topic: RPM Packages - 2025 ( For OS/2 Software in General)  (Read 13313 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 ( For OS/2 Software in General)
« Reply #30 on: March 24, 2025, 02:37:54 am »
Hello again

For example, here I attach a file I changed with AddToFile.

I run:
- AddToFile.cmd aacgain.exe,option AAC file normalizer,BLDLEVEL,Glen Sawyer,1.9.0,AAC file normalizer,Fixpack,Asd

Quote
[C:\HOME\MARTIN\DOWNLOADS\AACGAIN-BLDLEVEL]bldlevel aacgain.exe
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#Glen Sawyer:1.9.0#@##1## 23 Mar 2025 20:30:58     ARCAOSVM  :
Asd:::0::Fixpack@@AAC file normalizer'
Vendor:          Glen Sawyer
Revision:        1.09.0
Date/Time:       23 Mar 2025 20:30:58
Build Machine:   ARCAOSVM
ASD Feature ID:  Asd
FixPak Version:  Fixpack
File Version:    1.9
Description:     AAC file normalizer'

What I would like to do is to keep the same file date of the compile date. Any suggestions there?

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 #31 on: March 24, 2025, 02:48:18 am »
Not every user has to download Addtofile.cmd, just any developer wanting to build the package. Should be able to design the makefile to not error out if Addtofile.cmd isn't available too. Not sure how.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #32 on: March 24, 2025, 02:58:23 am »
I apologize, seems you can add the bldlevel info to a binary. Looks like the script would need to be extended to add a different date then current.

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 #33 on: March 24, 2025, 04:17:30 am »
No problem.

I just need to understand what should be on:
- Build Machine: Maybe I should put that on blank, since I don't know the build machine. But I don't know how to do that with AddToFile yet.
- ASD Feature ID: I don't know what is this.
- Fixpack: The OS/2-ArcaOS fixpack level? or I just leave it blank? I also don't know the fixpack level of the build machine.
- Date: I need to find how to put the older compile date with AddToFile and also try not to change the file date.

Regards
« Last Edit: March 24, 2025, 04:25:52 am by Martin Iturbide »
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 #34 on: March 24, 2025, 05:17:29 am »
For build machine, blank or perhaps something like generic? Don't know what asd is either. I abuse the fixpak to add a version number, eg v2.5.
You can use touch to change the date and time of a binary or any file. The -r parameter is interesting. touch --help.

Andi B.

  • Hero Member
  • *****
  • Posts: 911
  • Karma: +16/-2
    • View Profile
Re: RPM Packages - 2025 ( For OS/2 Software in General)
« Reply #35 on: March 24, 2025, 11:10:05 am »
There are some bldlevel information when added to an .exe leads to strange things when the exe is loaded by OS/2. Although strictly correct regarding Stevens notes about bldlevel it's yet unknown why f.i. sometimes the menu is not loaded by OS/2. Or even worse some program refuses to start with some bldlevel information.

Summing up my experience with bldlevel infos I made with my projects, if the developer who extensively tests the program don't add a bldlevel info I wouldn't add it later. It may be dangerous and maybe more harm then help.

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 #36 on: March 24, 2025, 07:07:46 pm »
Hello Andi B.
There are some bldlevel information when added to an .exe leads to strange things when the exe is loaded by OS/2. Although strictly correct regarding Stevens notes about bldlevel it's yet unknown why f.i. sometimes the menu is not loaded by OS/2. Or even worse some program refuses to start with some bldlevel information.

Summing up my experience with bldlevel infos I made with my projects, if the developer who extensively tests the program don't add a bldlevel info I wouldn't add it later. It may be dangerous and maybe more harm then help.
Thanks for the point of view and recommendation. It is a good warning and I will like to test what kind of program can provide problem to add the bldlevel information later. I will try some command line tools first and post back to see if we can get an issue.

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