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 - Dave Yeo

Pages: [1] 2 3 ... 268
Applications / Re: To .config or not .config
« on: January 29, 2023, 04:02:09 am »
pki is from NSS, the Netscape Security Suite. Mozilla is in charge of it and has been since they took over from Netscape.
Note that Firefox etc leave those files (actually older ones as our old browser currently ships with an older NSS) in their profile.
Edit: Looking at the source, nss\lib\sysinit\nsssysinit.c, I see this comment.
Code: [Select]
 * Return the path to user's NSS database.
 * We search in the following dirs in order:
 * (1) $HOME/.pki/nssdb;
 * (2) $XDG_DATA_HOME/pki/nssdb if XDG_DATA_HOME is set;
 * (3) $HOME/.local/share/pki/nssdb (default XDG_DATA_HOME value).
 * If (1) does not exist, then the returned dir will be set to either
 * (2) or (3), depending if XDG_DATA_HOME is set.

So try deleting (or moving out of the way) c:\home\.pki with Dooble closed and see where it is created with XDG_DATA_HOME set.

Applications / Re: To .config or not .config
« on: January 29, 2023, 01:14:52 am »
Perhaps SET DOOBLE_HOME=C:\HOME\.config\Dooble
Maybe need / instead of \

Applications / Re: To .config or not .config
« on: January 28, 2023, 07:41:09 pm »
You could try suggesting it. Problem is that it will break every install where the profile is already in .dooble, not good. You could always set DOOBLE_HOME to point to your preference.
Remember too that a leading dot in a file name on *nix systems means hidden file, so most file managers on *nix will not show these configuration files.

Applications / Re: ANPM - YUM error. [Errno 256] No more mirrors to try
« on: January 28, 2023, 07:37:16 pm »
I see the same and assume there is a server down.

Applications / Re: Update of ScummVM possible?
« on: January 28, 2023, 04:47:15 am »
I'll investigate, I just ran 'make install' I don't really know how to test this...

What was your PREFIX? Standard /usr/local?

Programming / Re: Qt6 Application Testing
« on: January 27, 2023, 08:19:25 am » should help with issues associated with the gui's file open dialog.

Works here, takes a long time to populate the drive list after clicking computer, with a couple of drives showing up right away, then a while of blocking and finally the whole thing gets populated. Could be this weird machine I'm using.

Applications / Re: Porting question
« on: January 27, 2023, 04:04:30 am »
Not knowing anything about programming/compiling makes it hard to say where to begin.
As you asked for stuff that compiles on all major platforms, I figured Qt would be a good start.
We do have an old Qtcreator, for Qt4. You could install that along with all the Qt4 stuff that ANPM shows, basically qt4-* and look at its tutorial.
There's pages like but even they're aimed at someone with some programming knowledge. Still it is a start for you and the knowledge pretty well works for all platforms. A lot of the time we have to follow the Linux advice, things like using the package manager (ANPM for us) to install stuff, sometimes the Windows stuff applies more, we use DLL's and drive letters.
Anyways try installing qtcreator along with the Qt4 stuff and play with it. It seems to want to use the examples for testing. I haven't used it myself.
 For some reason it is installed into @unixroot\usr\lib\qtcreator \bin so not on the PATH. Probably best to create a program object for it.

Applications / Re: Porting question
« on: January 27, 2023, 12:17:54 am »
Hi I'd love to... Is this something a non programmer can do?  I'm more of a administrator then a programmer.

Simple programs will just build and work (might need installing). There's learning involved but it is a simple way to start and learn about build systems and eventually simple fixes.

Applications / Re: Porting question
« on: January 26, 2023, 10:04:45 pm »
If there is an application out there that is available on windows, Linux and macosx, can they recompile for os/2 or is it a complicated thing?

Probably the simplest are QT based apps, either Qt4 or Qt5. Qt6 isn't quite ready. There's a list of ported apps here, along with needed diffs by the looks of it.
Note that there doesn't seem to be a porting Qt apps guide for OS/2, the bit on the above page is out of date but generally they build the same on all systems besides where and how the libraries are installed. I was going to link to but it currently giving a 509 (bandwidth exceeded) error.
You were wondering how else to help. Being new to this would be a good time to write up a porting Qt apps guide, what needs installed, how to apply a diif and eventually produce one and how to build, which is the simple part once you have all the prerequisites. Luckily YUM/RPM has made installing prerequisites simple.
You could start a new thread, something like porting my first Qt app.

Programming / Re: Qt6 Application Testing
« on: January 25, 2023, 12:54:30 am »
Up to date blocklist can be generated from this URL,
Save and import. Especially important at this stage of development as some ads have crappy JavaScript and/or certificates that crashes the browser.

Programming / Re: Qt6 Application Testing
« on: January 25, 2023, 12:40:19 am »
Hi Martin,
You left out which is dropped into qt6\plugins\platforms and shouldn't be needed once Paul updates the whole Qt6 package eventually.
A script to set things up, this can be anywhere on the PATH and will open a VIO window where dooble can be run from. I call it as qt6env.cmd and QT6_DIR needs adjusting for individual environments.
Code: [Select]
@REM rem the @echo off line to see the output.
@ECHO off
REM point QT6_DIR to where you have installed the QT6 tree
REM Copy Dooble.* into %QT6_DIR%\bin
set QT6_DIR=L:
set PATH=%QT6_DIR%\qt6\bin;%PATH%
REM point %DOOBLE_HOME% to where you want the QT6 version of Dooble to store
REM its profile.
set DOOBLE_HOME=%QT6_DIR%\home
REM these are the same as command line arguments and should not be needed eventually.
set QTWEBENGINE_CHROMIUM_FLAGS="--ignore-certificate-errors --ignore-ssl-errors --log-level=1 --disable-gpu"
echo Now run Dooble from this VIO session

Programming / Re: Qt6
« on: January 24, 2023, 01:21:55 am »
Code: [Select]
[W:\]yum provides avutil56.dll
ffmpeg-libs-4.2.2-4.oc00.i686 : Libraries for ffmpeg
Repo        : netlabs-rel
Matched from:
Other       : avutil56.dll

ffmpeg-libs-4.2.2-4.oc00.pentium4 : Libraries for ffmpeg
Repo        : netlabs-rel
Matched from:
Other       : avutil56.dll

ffmpeg-libs-4.2.2-4.oc00.i686 : Libraries for ffmpeg
Repo        : installed
Matched from:
Other       : avutil56.dll

Applications / Re: Creating an OS/2 image from HDD
« on: January 23, 2023, 10:54:34 pm »
Thanks for the list. Unluckily, I was hoping for a simple logredo option such as runs during boot for those cases where the system crashes etc with a USB HD plugged in as it takes forever to do a full chkdksk on the USB drive.
Quicker to boot to Linux and do a fsck where the default is logredo and takes a minute or so.

Applications / Re: Creating an OS/2 image from HDD
« on: January 23, 2023, 01:57:32 am »
Another consideration with large partitions is chkdsk time if a full chkdsk is required, maybe not too bad with a SSD. When I purchased a 2TB USB drive for backup purposes, I created a 1.5 TB partition for backing up OS/2 including a lot of source files, chkdsk would fail due to lack of memory after I backed a bunch of stuff up.
Being USB, a hard crash or whatever meant a full chkdsk.
Which reminds me Dariusz, you posted a bunch of chkdsk flags earlier, could you repost them?

Applications / Re: Creating an OS/2 image from HDD
« on: January 22, 2023, 07:56:02 pm »
Hi Dariusz, I tried that some time back, ended up with the same size partition as the source. IIRC, it could be enlarged.
Doing it with xcopy or rsync would be better, the file system would be correct for the partition size, not sure how important for JFS, with HPFS the directories and such were generated in the centre of the partition for speed. More important is that copying will also defrag the file system. Even JFS can become fragmented, especially if the file system is somewhat full.

Pages: [1] 2 3 ... 268