Closed apprehensions closed 1 year ago
I can confirm that gtk+3 does build with this extra patch, however I'd like to make sure that the rest of the software that 'depends' on atk in community can be built without atk being present.
i am unable to test the following:
the following work:
I'm also not opposed to moving atk to community/ and removing all 'fake' dependencies on atk - I've gotten wxWidgets to build, and netsurf, currently building palemoon, and I'll move onto the webkit browsers next.
It does seem like 'goffice' and it's dependents will be a problem though.
however; i am not against removing atk entirely, only if all packages that do already rely on it can be compiled without it then it can simply be removed at that point
I think I will merge it with the following diff to the build:
diff --git a/extra/gtk+3/build b/extra/gtk+3/build
index 883c7256..0d293b25 100755
--- a/extra/gtk+3/build
+++ b/extra/gtk+3/build
@@ -2,7 +2,15 @@
export DESTDIR="$1"
-patch -p1 < no-fribidi.patch
+# Some packages in community/ requrire that gtk+3 have atk methods, so this is
+# the workaround
+if pkg-config --exists atk; then
+ patch -p1 < 01-no-fribidi.patch
+else
+ for p in *.patch; do
+ patch -p1 < $p
+ done
+fi
# Disable native language support, disable atk-bridge, don't compile schemas.
sed -e '/compile_schemas/s/true/false/' \
atk will then get moved to community - I still need to do more testing of some stuff in community/
just to figure out exactly what packages have a hard dependency on atk
however if gtk+3 was built without atk and the package depends on both, atk gets buily and gtk+3 doesn't have atk support, wouldnt it not function? considering atk hasn't been built in the first place for gtk+3 to get recompiled for it.
That's correct, but I think this could easily be remedied by just adding a post-install
script that tells the user to rebuild gtk+3 after they install atk.
gtk+3
now has an optional dependency on atk
- no release bump yet, but if you force remove atk
and rebuild all of the software that depends on gtk+3
you should be able to have an atk
-less system.
the 3 patches from the primary KISS repositories do not work as they require 2 extra patches:
anything that was already compiled for atk (eg. firefox) needs to be recompiled.