Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Martin Iturbide

Pages: [1] 2 3 ... 111
1
Programming / Re: Trying to build my First RPM Package
« on: February 22, 2018, 10:31:52 pm »
Hi.

I also created an "Asteroid" RPM Package. This one has four files.

Regards

2
Programming / Re: Trying to build my First RPM Package
« on: February 22, 2018, 09:56:45 pm »
Hi

Even that I don't complete understand it the full sample of dmik article is the right one to create the WPS object and remove it when you "un-install" it.

Quote
%post
if [ "$1" -ge 1 ]; then # (upon update)
    %wps_object_delete_all
fi
%wps_object_create_begin
MYAPP_EXE:WPProgram|My App|<WP_DESKTOP>|EXENAME=((%{_bindir}/myapp.exe))
%wps_object_create_end

%postun
if [ "$1" -eq 0 ]; then # (upon removal)
    %wps_object_delete_all
fi

It worked fine. I'm think I'm done with the creating of an RPM package for RollBall. I'm attaching the files here.

Regards

3
Programming / Re: Trying to build my First RPM Package
« on: February 22, 2018, 04:57:13 pm »
It worked.

Quote
%post
%wps_object_create_begin
ROLLBALL_EXE:WPProgram|RollBall|<WP_DESKTOP>|EXENAME=((%{_bindir}/RollBall.exe))
%wps_object_create_end

Now I will keep playing with it. Maybe for a different installer I will start checking the config.sys stuff.

Thanks

Regards

4
Programming / Re: Trying to build my First RPM Package
« on: February 22, 2018, 04:30:31 pm »
Hi

I checked the QPDFView spec since I know that is creates a folder icon, but I'm still not sure. Looking for the "%wps_object_delete_all" command I found this:  http://trac.netlabs.org/rpm/ticket/4

But I'm think I'm going backwards looking for the information. Is there a place with the documentation of "%wps_object_create" and "%wps_object_delete_all" or it is just documented on that ticket?

It looks to me that using those macros (?) are the thing that I need.

UPDATE: I found the documentation. I will read this "WPS object creation"

Regards

5
Programming / Re: Trying to build my First RPM Package
« on: February 22, 2018, 04:17:44 pm »
Thanks Dave.

I'm reading bww-resources-rpm.spec but I don't get where does it execute the order to create an program shadow and/or folder.  And I'm still not sure if you can do that from the .spec file or you have to do it with a rexx script.

For the rest, I stuck trying to create a desktop icon for the RollBall.exe file. (and also want to learn to create a folder on the desktop)

Regards


6
Comments, Suggestions & Questions / Re: Censorship complaints
« on: February 22, 2018, 01:48:59 pm »
Hi Andreas

This is a community of people interacting and that is what we moderate.

Some times your posts does not offer help, just a sarcastic sharp comment making the person feel bad about his idea or making him feel bad for requesting help. That scares off users, specially if there is a new one using the OS2World forum.  Try to reply posts without sarcasm first and I think it will help you a lot on your online interactions, or feel free not to reply everything on the forums. Also, please stop the paranoia of "Fake News", when someone is wrong (or post a wrong statement because he is confused) and he is asking for help don't accuse him of spreading "fake news".

Putting terms or comparisons like "Subservience to bolshevist practices", "hostile ideologies", "Soviet-occupied part of Germany" or that "German nice poetry" is not helping you, it only shows paranoia and desperation because OS2World is not a powerful political organization moving millions of dollars at year to suppress the small working guy under their will. I had been told you to cool off on Facebook and on the EDM/2 wiki before but you just don't care, according to you, "you are always right".

I think for me it is more important to remove hostility from this community (OS2World), you are free to join other communities that are not moderated.

Regards

7
Programming / Re: Trying to build my First RPM Package
« on: February 21, 2018, 09:04:04 pm »
Quote
Now, which is the easiest way to test it ?

yum install RollBall-1.00-1.oc00.i686.rpm seems to work fine here, ending up with a working RollBall.exe in @UNIXROOT/usr/bin

Ohh.. it was that easy... it worked, thanks.

Now I have to learn how to create a desktop icon and folder. Any tips on that is also welcome, does the instructions are part of the .specs ? or I had to create a different script?

Regards

8
Programming / Re: Trying to build my First RPM Package
« on: February 21, 2018, 06:04:02 pm »
Hi

It seems that I was able to build the RPM file.

I replaced on the specs file:

Quote
%files
%{_bindir}\*.exe
%doc RollBall.txt

for

Quote
%files
%{_bindir}\RollBall.exe
%doc RollBall.txt

It generated the "RollBall-1.00-1.oc00.i686.rpm" file on the /RMPS directory.

Here it is the log (thanks Dave for the "cmd 2>&1 | tee cmd.log" trick)

Quote
C:\HOME\RPMBUILD]rpmbuild -bb specs\RollBall.spec
id.exe: cannot find name for user ID 0
id.exe: cannot find name for user ID 0
Executing(%install): /@unixroot/usr/bin/sh -e /@unixroot/var/tmp/rpm-tmp.wdc8L7
+ umask 022
+ export SHELL=/@unixroot/usr/bin/sh.exe
+ export CONFIG_SHELL=/@unixroot/usr/bin/sh.exe
+ export MAKESHELL=/@unixroot/usr/bin/sh.exe
+ cd C:\Home/rpmbuild/BUILD
+ rm -rf C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386
+ mkdir -p C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/bin
+ mkdir -p C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/share/doc/RollBall-1.00
+ cp -p RollBall.exe C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/bin
+ cp -p RollBall.txt C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/share/doc/RollBall-1.00
+ /@unixroot/usr/lib/rpm/brp-compress ./@unixroot
+ /@unixroot/usr/lib/rpm/pc/brp-strip-os2 C:\Home/rpmbuild/BUILD/ --no-debuginfo
SYS1003: The syntax of the command is incorrect.
Processing files: RollBall-1.00-1.oc00.i686
Executing(%doc): /@unixroot/usr/bin/sh -e /@unixroot/var/tmp/rpm-tmp.T5govG
+ umask 022
+ export SHELL=/@unixroot/usr/bin/sh.exe
+ export CONFIG_SHELL=/@unixroot/usr/bin/sh.exe
+ export MAKESHELL=/@unixroot/usr/bin/sh.exe
+ cd C:\Home/rpmbuild/BUILD
+ DOCDIR=C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/share/doc/RollBall-1.00
+ export DOCDIR
+ /@unixroot/usr/bin/mkdir.exe -p C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/share/doc/RollBall-1.00
+ cp -pr RollBall.txt C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386/@unixroot/usr/share/doc/RollBall-1.00
+ exit 0
Provides: RollBall = 1.00-1.oc00 RollBall(x86-32) = 1.00-1.oc00
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: doscalls.dll msg.dll nls.dll pmgpi.dll pmwin.dll
Obsoletes: RollBall < 1.00-1.oc00
Checking for unpackaged file(s): /@unixroot/usr/lib/rpm/check-files C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386
SYS1003: The syntax of the command is incorrect.
SYS0005: Access is denied.
Wrote: C:/Home/rpmbuild/RPMS/i686/RollBall-1.00-1.oc00.i686.rpm
Executing(%clean): /@unixroot/usr/bin/sh -e /@unixroot/var/tmp/rpm-tmp.KYsJF9
+ umask 022
+ export SHELL=/@unixroot/usr/bin/sh.exe
+ export CONFIG_SHELL=/@unixroot/usr/bin/sh.exe
+ export MAKESHELL=/@unixroot/usr/bin/sh.exe
+ cd C:\Home/rpmbuild/BUILD
+ /@unixroot/usr/bin/rm.exe -rf C:/Home/rpmbuild/BUILDROOT/RollBall-1.00-1.oc00.i386
+ exit 0

[C:\HOME\RPMBUILD]

Now, which is the easiest way to test it ?

Regards

9
Article Discussions / Re: OS2VOICE RPM Server
« on: February 21, 2018, 12:27:56 pm »
Hi

Is there a way to extract the .spec file script (or the install script) from an RPM package in OS/2? It will be useful to me to examine other sample scripts.

Regards

10
General Discussion / Re: The Mainframe Kid - and OS/2
« on: February 20, 2018, 11:28:07 pm »
Thanks for the feedback Olafur.

If by any chance you can find some screenshots of the administration software, please post it here.

Regards

11
General Discussion / Re: The Mainframe Kid - and OS/2
« on: February 20, 2018, 10:00:43 pm »
There is his full presentation called "I just bought an IBM z890, Now what?" (I still need to check that video completely)

Hi

I just completed to watch his full presentation, it is very nice presentation for someone that is complete noob on the Mainframe. There are some screenshots of OS/2 on 13:18,  and the audience recognized OS/2 very fast :)  It seem that it shows you for 15 minutes the license agreement, then there is an screenshot of app called "System Power Progress".

I liked his talk. For someone like me that never used a mainframe it was fun.

Regards


12
Networking / Re: RTL8211CL DRIVER
« on: February 20, 2018, 07:42:14 pm »
Hi Ben

It can also be great if you can share your PCI.exe report and your new mainboard brand and model so I can include it on the OS2World wiki mainboards list.

Regards.

13
Article Discussions / Re: OS2VOICE RPM Server
« on: February 20, 2018, 06:05:28 pm »
Hi.

I agree with the main idea and offer a different way to access and install OS/2 software. It will not be forcing people to use RPM, but just having an alternative, and of course there are components that it may be hard to install with RPM and should not be there.

For example, I really want to see if I can put some OS/2 games together on the RPM server and try to solve the issue that the most modern games embedded different versions of the SDL DLLs files. So it may be interesting to test and try those games with the latest SDL DLLs.

I don't think using RPM for OS/2 applications will be a "Problem waiting to happen" or a "radical change" (some exceptions may apply). I just think we should evaluate the rpm package individually before jumping into the "fear wagon". And the one that does not like it, just don't use it and keep getting and installing the software as they like.

Regards

14
General Discussion / The Mainframe Kid - and OS/2
« on: February 20, 2018, 04:35:05 pm »
This is an interesting video from IBM.

https://youtu.be/wJyiHsfJLEI

It is a nice story about a kid who bought a mainframe and installed it on his basement... WHAT??? He now works at IBM.
(joke)I suppose he has to work there to pay the MLC (Monthly license charge) (/joke).

There is his full presentation called "I just bought an IBM z890, Now what?" (I still need to check that video completely)

But it is a nice story, getting mainframe information and how to use it has always been a question to me. Maybe someday I will experience that.

If you check the video on 1:55 you will see OS/2 Warp Server for e-Business Booting. And that is some other thing that I also wonder, what was the relationship between OS/2 Warp and the Mainframe? I basically known (or think that I know) that for some control or functions of the mainframe an OS/2 machine will came embedded to make it easy to administrate it. But I never saw that in life or knew if there were any specific software used on OS/2 to administrate a mainframe.

Has anybody used OS/2 to administrate the mainframe? Am I completely wrong on my appreciation?

Anyways it is a nice story.

Regards



15
Article Discussions / OS2VOICE RPM Server
« on: February 19, 2018, 02:27:01 pm »
Hi

I talked with Roderick about his idea of having a RPM repository for OS2VOICE that will include OS/2 software (freeware/shareware new and old).  Roderick just gave a condition that he will not host any software that violate any regulation such as copyright laws (The server is located in the Netherlands and Dutch laws applies).

I found it interesting to have a different way to present software to the community in a way that can be downloaded and installed as simple as possible. I also think that the Netlabs RPM repository should not be used for all kind of OS/2 software, so I think it is a good idea to have a different server for it.  But I also think we need more resources on how the community can help creating RPM packaged for their favorite OS/2 software. For the moment I have personally failed creating my first package, but it is something that I need to try harder. But more samples, tutorials and specific information on how to create RPM packaged will be welcome.

So please let me know if you would like to sign in for the OS2VOICE RPM idea (and help with some RPM packaged) and if there are any doubts or things that need to be defined.

If you dislike RPM and don't want to help at all, there is no need to reply.

Regards


Pages: [1] 2 3 ... 111