WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Core v16.0beta1  (Read 6522 times)

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 584
  • Good software needn't be big!
Re: Core v16.0beta1
« Reply #30 on: March 12, 2025, 10:12:13 PM »
Hmm. I wasn't attempting to make something work for FLTK 1.3.  Some of the calls in my mods are FLTK 1.4.x specific.

I have a patch set for cleaning up some commented-out debugging statements, and a few text edits in comments.  i don't think there are any actual code changes in this patch set.

If you want me to look into the but graphic ("X" shape), I could try.  Was that at Xft.dpi set at 96.0 and no non-1.0 scaling set in an environment variable?  This patch is incremental to the one I posted yesterday.

 

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 584
  • Good software needn't be big!
Re: Core v16.0beta1
« Reply #31 on: March 13, 2025, 12:52:42 AM »
The patch I tried to attach to my last reply didn't.   :-\

However, I've managed to better center the X on the window close button, and added some line weight to make the symbols on the buttons a bit easier to see and scale OK if you bumps up the scaling factor. So this patch includes both the code comment cleanups mentioned before as well as the better button symbols code update.  Only tested on TC 16 x86_64 (64 bit).

Note that this patch is incremental, mike_rescaling.patch should be applied first, then mike_rescaling_2.patch.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11089
Re: Core v16.0beta1
« Reply #32 on: March 13, 2025, 01:41:19 AM »
"git diff oldver..newver" will produce a combined patch.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15071
Re: Core v16.0beta1
« Reply #33 on: March 13, 2025, 05:07:33 AM »
The first chunk of mike_rescaling.patch duplicates a commit I made yesterday - if I remove that (and several trailing white space errors) I get:
Code: [Select]
git apply ../mike_rescaling.patch
error: patch failed: Frame.C:1110

..which doesn't seem to make sense?

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 584
  • Good software needn't be big!
Re: Core v16.0beta1
« Reply #34 on: March 13, 2025, 07:44:21 AM »
The first chunk of mike_rescaling.patch duplicates a commit I made yesterday - if I remove that (and several trailing white space errors) I get:
Code: [Select]
git apply ../mike_rescaling.patch
error: patch failed: Frame.C:1110

..which doesn't seem to make sense?

Not sure about that, and I don't see anything crazy in the patch file around that line number that should lead to trouble (not sure exactly what is at that line number in the pre-patched file.  Is there a verbosity command line option with git apply *.patch to see more info about this?

If you still have trouble, maybe I can create a new single comprehensive patch to get to my code from the base version you would have straight from cloning the repo.  I need to get to my day job now, so I'll come back at this in 12 hours, give or take.  ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15071
Re: Core v16.0beta1
« Reply #35 on: March 13, 2025, 10:25:19 AM »
OK, got it  - the last two patches I used to build flwm are included in your changes, which creates the error as they are already in master.

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 584
  • Good software needn't be big!
Re: Core v16.0beta1
« Reply #36 on: March 13, 2025, 11:12:22 PM »
OK, got it  - the last two patches I used to build flwm are included in your changes, which creates the error as they are already in master.
Great!  :)  I started with your build instructions which included at least one patch, and used that as the base of the patches I posted.

I'm not clear on the 32-bit x86 build issues.  Does FLTK 1.4.x not support 32-builds now?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15071
Re: Core v16.0beta1
« Reply #37 on: March 14, 2025, 04:47:38 AM »
One of the main reasons to use fltk-1.4 is the wayland support, which means the tinycore fltk applets will work with a wayland compositor like labwc, weston, etc.

In order to reduce bloat, tinycore x86 does not use wayland. In addition fltk-1.4 is larger than fltk-1.3, so we decided to stay with fltk-1.3 for tc-16.x x86.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15071
Re: Core v16.0beta1
« Reply #38 on: March 14, 2025, 10:43:16 AM »
Using git apply -R ../xxx.patch, I was able to back out the couple of patches I'd added and then apply mike_rescaling.patch and mike_rescaling_2.patch cleanly.

I've posted updated flwm/flwm_topside to the tc-16.x x86_64 repo.

Building flwm for tc-16.x x86 (fltk-1.3) fails with:
Code: [Select]
main.C: In function 'int main(int, char**)':
main.C:436:12: error: 'screen_scale' is not a member of 'Fl'
  436 |   sf = Fl::screen_scale(0);
..which I guess is due to scaling not being supported on fltk-1.3

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12012
Re: Core v16.0beta1
« Reply #39 on: March 14, 2025, 12:52:19 PM »
Hi Juanito
scale_factor was added in fltk-1.4.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 337
Re: Core v16.0beta1
« Reply #40 on: March 16, 2025, 06:54:20 PM »
I can try and rebuild Dillo for x86_64 with fltk-1.4 if that's of interest, but I'd normally wait until a stable release of TC 16 in order to upgrade the system I build it on. I won't do testing in Wayland.

watcher.tcz is another TC resource monitor that depends on FLTK 1.3. There's also alsamixergui.tcz.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1602
Re: Core v16.0beta1
« Reply #41 on: March 18, 2025, 11:10:24 PM »
FYI - libsane-dev.tcz is missing from the TCL16 x86_64 repo, making it difficult to compile some extensions. I took a quick look at the TCL16 x86 repo and it seems to be missing there, too.

I used the extension from TCL15 x86_64 on my TCL16 x86_64 machine and it seems to work fine.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12012
Re: Core v16.0beta1
« Reply #42 on: March 19, 2025, 12:56:04 AM »
Hi GNUser
Libsane was rebuilt for TC16. The .info file has an interesting comment:
Code: [Select]
Title:          libsane.tcz
Description:    lib files for sane
Version:        1.3.1
Author:         see sane-doc AUTHORS
Original-site:  https://gitlab.com/sane-project/backends
Copying-policy: GPL v 2
Size:           4.6M
Extension_by:   aus9 @linuxquestions.org
Tags:           scan scanner
Comments:       There is no libsane-dev after update
                replaced by sane-dev
               
Change-log:     2013/12/09 v 1.0.24 (Juanito)
Current:        2025/02/23   v 1.3.1 on 16x (aus9)
Found here:
http://tinycorelinux.net/16.x/x86_64/tcz/libsane.tcz.info

And sane-dev.tcz.info has a related comment:
Code: [Select]
Title:          sane-dev.tcz
Description:    dev files
Version:        1.3.1
Author:         see sane-doc AUTHORS
Original-site:  https://gitlab.com/sane-project/backends
Copying-policy: GPL v 2
Size:           12K
Extension_by:   aus9 @linuxquestions.org
Tags:           scan scanner
Comments:       Development replaces libsane-dev
               
Change-log:     2025/02/23 v 1.3.1 on 16x
Current:        2025/02/23
Found here:
http://tinycorelinux.net/16.x/x86_64/tcz/sane-dev.tcz.info

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1602
Re: Core v16.0beta1
« Reply #43 on: March 19, 2025, 06:58:27 AM »
Hi Rich. gtk3-dev.tcz fails to load for me because libsane-dev.tcz cannot not be found (libsane-dev still exists in gtk3-dev's dependency tree--see colord-dev.tcz.dep).

It seems libsane-dev needs to be changed to sane-dev in colord-dev.tcz.dep.

In TCL16 x86_64 at least, this seems to be the only dep file that needs to be fixed:

Code: [Select]
$ depends-on.sh libsane-dev
colord-dev.tcz

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12012
Re: Core v16.0beta1
« Reply #44 on: March 19, 2025, 10:02:47 AM »
Hi GNUser
colord-dev.tcz.dep updated. :)