echawk / kiss-xorg

A KISS Linux Repository for Xorg
MIT License
33 stars 9 forks source link

atk removal tracker #92

Open apprehensions opened 1 year ago

apprehensions commented 1 year ago
hovercats commented 1 year ago

libressl should not interefere with webkit2gtk. Ive never had any issues with it anyway..

regarding building it without atk, Ive not been able to do so. I used the patch a few weeks ago, and webkit2gtk complained about missing atk.h. installing atk did not help. so had to rebuild gtk+3 without the patch. I did not investigat any further beyond that point. maybe webkit itself also depend on atk, I dunno.

apprehensions commented 1 year ago

libressl should not interefere with webkit2gtk. Ive never had any issues with it anyway..

ruby is a dependency of webkit2gtk and i am unable to compile it for that reason.

hovercats commented 1 year ago

ah, I see. Ive had issues with ruby on my laptop too. but it builds fine on my desktop. both with libressl. I also dont belive ruby has an explicit dependency on openssl either. Im not sure what wrong tbh..

you can however still build it in a chroot, and just copy the tarball, or do a kiss i $dirtorubytarball. its what ive done to get webkit working.

apprehensions commented 1 year ago
compiling udpsocket.c
ossl_pkey.c: In function 'ossl_pkey_export_traditional':
ossl_pkey.c:681:69: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
  681 |         EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &aname, pkey->ameth);
      |                                                                     ^~
make[2]: *** [Makefile:323: ossl_pkey.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/wael/.cache/kiss/proc/1370/build/ruby/ext/syslog'
compiling syslog.c
hovercats commented 1 year ago

same error I get

kyx0r commented 1 year ago

Its because of header changes in libressl past version 3.5, this needs to be patched upstream, I didn't bother to fix this.

echawk commented 1 year ago

@wael444 @hovercats Here's openbsd's patches for ruby 3.1

https://github.com/openbsd/ports/tree/master/lang/ruby/3.1/patches

Looks like this is the relevant patch? https://raw.githubusercontent.com/openbsd/ports/master/lang/ruby/3.1/patches/patch-ext_openssl_ossl_pkey_c

Can confirm it works with a minor tweak.

hovercats commented 1 year ago

I can confirm that said patch worked for me aswell. just had to adjust the patch to the proper formatting as you said.

@cemkeylan, this might be of interest for you aswell, even with the solution you already have for building ruby.

cemkeylan commented 1 year ago

Luckily the latest version of ruby no longer requires the patch.

hovercats commented 1 year ago

thats nice though. but the new ruby version doesnt build for me. due to psych cant get configured or something.

*** Following extensions are not compiled:
psych:
        Could not be configured. It will not be installed.
                Check ext/psych/mkmf.log for more details.
                *** Fix the problems, then remove these directories and try again if you want.
                make[1]: Leaving directory '/tmp/13893/build/ruby'
                Generating RDoc documentation
                /tmp/13893/build/ruby/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
                To eliminate this warning, please install libyaml and reinstall your ruby.
                uh-oh! RDoc had a problem:
                cannot load such file -- psych

                run with --debug for full backtrace
                make: *** [uncommon.mk:598: rdoc] Error 1
cemkeylan commented 1 year ago

Hadn't realised libyaml is no longer an optional dependency.

hovercats commented 1 year ago

seems its required now.. unfortunatly.

apprehensions commented 11 months ago

@ehawkvu you can just disable atk in chromium..

oh wait! IT ALREADY IS!

https://github.com/ehawkvu/kiss-xorg/blob/master/community/chromium/build#L183

i dont see why atk is a dependency of chromium, and is ALSO checked at build time within gtk..