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 ... 359
1
Thanks Dave.

It is working here. Music and fullscreen also works.

What do you think about this packaging to share it around?


Regards

Sure either version. Might want to fork the repository, apply the attached patch (git am < 0001-OS-2-support.patch) and refer to the source in the package.

2
That was version 1.3 I compiled as you requested.
Here's the newest, also linked to the correct sdl mixer I hope :)

3
Hmm, have to do more cleanup. For now here's SDLmix0.dll. Seems I built version 2.6.0 at some point
Added toppler.dat and toppler.ogg to put in the same directory as toppler.exe

4
Programming / Re: Qt6 Application Testing
« on: Today at 01:02:22 am »
I think it is an old problem.
Phew! Can you describe how to reproduce?

Code: [Select]
dooble 2>&1 | tee dooble.log

and go to help-->Release Notes
and then close dooble

5
OK, looked at the crash closer, seems to be crashing looking for the translations. Here is an updated makefile.diff,
Code: [Select]
diff --git a/Makefile b/Makefile
index a6a140f..8a65621 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,10 @@
 # along with this program; if not, write to the Free Software
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
 
-PREFIX = /usr
+PREFIX = /@unixroot/usr/local
 BINDIR = $(PREFIX)/bin
 DATADIR = $(PREFIX)/share
-STATEDIR = /var/toppler
+STATEDIR = /@unixroot/var/toppler
 LOCALEDIR = $(DATADIR)/locale
 MANDIR =  $(DATADIR)/man
 PKGDATADIR = $(DATADIR)/toppler
@@ -32,9 +32,10 @@ CONVERT = convert
 CXX = $(CROSS)$(CXX_NATIVE)
 CXX_NATIVE = g++
 CXXFLAGS = -Wall -Wextra -g -O2 -std=c++17
-EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+# EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+EXEEXT = .exe
 INSTALL = install
-LDFLAGS =
+LDFLAGS = -Zomf -Zhigh-mem -lintl
 MSGFMT = msgfmt
 MSGMERGE = msgmerge
 PKG_CONFIG = $(CROSS)$(PKG_CONFIG_NATIVE)
@@ -68,7 +69,7 @@ PKG_LIBS_NATIVE = $$($(PKG_CONFIG_NATIVE) --libs $(PKGS_NATIVE))
 DEFS += -DVERSION='"$(VERSION)"'
 DEFS += -DTOP_DATADIR='"$(PKGDATADIR)"'
 DEFS += -DHISCOREDIR='"$(STATEDIR)"'
-DEFS += -DENABLE_NLS=1
+# DEFS += -DENABLE_NLS=1
 DEFS += -DLOCALEDIR='"$(LOCALEDIR)"'
 
 FILES_H := $(wildcard src/*.h)
@@ -487,7 +488,7 @@ toppler.dat: _build/tools/crearc $(DATFILES)
 .PHONY: clean
 clean:
  rm -rf _build
- rm toppler
+ rm toppler$(EXEEXT)
 
 
 .PHONY: distclean

And a working binary, only lightly tested.

6
Whoops, it found  the one in usr/local. I updated the zip above with the right sdl_mixer dll. Still crashes

7
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 12, 2025, 04:53:04 pm »
OK, I seem to have misunderstood how it works. Have to look closer. Here's my binary.

8
Programming / Re: Qt6 Application Testing
« on: May 12, 2025, 04:46:45 pm »
I think it is an old problem.

9
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 12, 2025, 12:44:03 am »
You can probably download the data, perhaps from a release and manually install. It does want gimp and povray?

10
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 12, 2025, 12:37:14 am »
Seems to have a dependency on gimp.
Here's the diff to build the executable,
Code: [Select]
diff --git a/Makefile b/Makefile
index a6a140f..57fd6e6 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,10 @@
 # along with this program; if not, write to the Free Software
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
 
-PREFIX = /usr
+PREFIX = /@unixroot/usr/local
 BINDIR = $(PREFIX)/bin
 DATADIR = $(PREFIX)/share
-STATEDIR = /var/toppler
+STATEDIR = /@unixroot/var/toppler
 LOCALEDIR = $(DATADIR)/locale
 MANDIR =  $(DATADIR)/man
 PKGDATADIR = $(DATADIR)/toppler
@@ -32,9 +32,10 @@ CONVERT = convert
 CXX = $(CROSS)$(CXX_NATIVE)
 CXX_NATIVE = g++
 CXXFLAGS = -Wall -Wextra -g -O2 -std=c++17
-EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+# EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+EXEEXT = .exe
 INSTALL = install
-LDFLAGS =
+LDFLAGS = -Zomf -Zhigh-mem -lintl
 MSGFMT = msgfmt
 MSGMERGE = msgmerge
 PKG_CONFIG = $(CROSS)$(PKG_CONFIG_NATIVE)

Which crashes without being installed with the data I think,
Code: [Select]
H:\tmp\toppler>toppler.exe

Killed by SIGSEGV
pid=0x01a8 ppid=0x0065 tid=0x0001 slot=0x00d3 pri=0x0200 mc=0x0001 ps=0x0010
H:\TMP\TOPPLER\TOPPLER.EXE
TOPPLER 2:000fff20
cs:eip=0000:0018ff20      ss:esp=0000:fffefdfc      ebp=00100053
 ds=6f6cd5d4      es=0000      fs=d3d2d1d0      gs=0000     efl=fbfaf9f8
eax=0018fd78 ebx=1ffc9d7c ecx=0018fd8c edx=0018fdb0 edi=656c6163 esi=0018ff8c
Creating 01A8_01.TRP
Moved 01a8_01.TRP to W:\var\log\app\6820c3a0-01a8_01-TOPPLER-exceptq.txt

Have to think on the data problem

11
Programming / Re: Qt6 Application Testing
« on: May 11, 2025, 10:14:06 pm »
Try running "dooble 2>&1 | tee dooble.log"
Unluckily github has changed its code again and even dooble-qt6 is choking on various stuff. Filed an issue yesterday, https://github.com/textbrowser/dooble/issues/261 and had to use my phone to do the initial post. Luckily can continue the conversation with email.

12
Programming / Re: Qt6 Application Testing
« on: May 11, 2025, 09:02:46 pm »
There's something seriously wrong with code pages and perhaps icu. Using dooble-qt6, simply opening it, displaying the release notes and closing it results in this,
Code: [Select]
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias KS_C_5601-1987 maps to EUC-KR already, but someone is trying to make it map to cp1363
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias KSC_5601 maps to EUC-KR already, but someone is trying to make it map to cp1363
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias 5601 maps to EUC-KR already, but someone is trying to make it map to cp1363
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias windows-949 maps to cp1363 already, but someone is trying to make it map to EUC-KR
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias KS_C_5601-1989 maps to cp1363 already, but someone is trying to make it map to EUC-KR
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias csKSC56011987 maps to cp1363 already, but someone is trying to make it map to EUC-KR
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias korean maps to cp1363 already, but someone is trying to make it map to EUC-KR
[107:19:0511/115608.818000:ERROR:text_encoding_registry.cc(139)] alias iso-ir-149 maps to cp1363 already, but someone is trying to make it map to EUC-KR

As far as I can see, the release notes are straight ASCII.
I've also seen errors related to ICU.
For Mozilla, had to re-add cp850 at one point when they cleaned up the codepage section.
Doing the same with dooble-qt5 results in no messages to stdout/stderr
Another observation is here, going to github often sees dooble-qt6 close pretty quick. Redirecting stdout/stderr (dooble 2>&1 | tee dooble.log) sees dooble display the pages. Timing issue I assume.

13
General Discussion / Re: How does one get past the cloudflare
« on: May 09, 2025, 12:17:07 am »
Yea, the Cloudflare thing is crappy and needs a mainstream current browser. Luckily I have a cookie so can get around it.
Try ftp://dry@ftp.os2voice.org/agena-4.12.0-os2.wpi password your email.

14
Programming / Re: Qt6 Application Testing
« on: May 08, 2025, 06:01:48 pm »
What I'm wondering is whether there is an equivalent Qt5 Webengine to 6.2.6 and how to merge it.
Trying to clone Qt5 from the official sources, init repository fails,
Code: [Select]
H:\tmp\qt5>sh init-repository
init-repository: 35: init-repository: use: not found
init-repository: 36: init-repository: use: not found
init-repository: 37: init-repository: use: not found
init-repository: 39: init-repository: package: not found
init-repository: 42: init-repository: Syntax error: "(" unexpected

H:\tmp\qt5>bash init-repository
init-repository: line 35: use: command not found
init-repository: line 36: use: command not found
init-repository: line 37: use: command not found
init-repository: line 39: package: command not found
init-repository: line 42: syntax error near unexpected token `('
init-repository: line 42: `sub printUsage($)'

Have to look closer after work.

15
Setup & Installation / Re: Troubleshooting process trap/dump...how?
« on: May 07, 2025, 04:42:22 am »
Rsync forks into 3 processes here, backing up over USB.

Pages: [1] 2 3 ... 359