Tk Source Code

Check-in [17d17f62]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Bring more TIP #59 to Tk.
Move ::tk::pkgconfig setup code from unix/tkUnixRFont.c to new file generic/tkPkgConfig.c.
Copied Tcl/tests/config.test into new file Tk/tests/pkgconfig.test. I believe the name 'pkgconfig.test' is better.
Adjust build system to accommodate.
Use value 'x11' for when fontsystem 'xft' unavailable.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | tk-stu-pkg
Files: files | file ages | folders
SHA1: 17d17f62dc8c123526e7d40fbed356666659fe16
User & Date: stu 2017-05-20 11:47:46.323
Original Comment: Pkgconfig.
References
2026-09-24
20:27 • Closed ticket [765642ff]: load Tk needs Tcl's --prefix plus 4 other changes artifact: 26b13ba9 user: serhiy.storchaka
Context
2017-05-20
11:55
Add demo dir to tk.pc? check-in: c5e8968b user: stu tags: tk-stu-pkg
11:47
Bring more TIP #59 to Tk.
Move ::tk::pkgconfig setup code from unix/tkUnixRFont.c to new file generic/tkPkgConfig.c.
Copied Tcl/tests/config.test into new file Tk/tests/pkgconfig.test. I believe the name 'pkgconfig.test' is better.
Adjust build system to accommodate.
Use value 'x11' for when fontsystem 'xft' unavailable.
check-in: 17d17f62 user: stu tags: tk-stu-pkg
10:58
Set demo dir at config time. check-in: a7a7bdb2 user: stu tags: tk-stu-pkg
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkInt.h.
Added generic/tkPkgConfig.c.
Changes to generic/tkWindow.c.
Added tests/pkgconfig.test.
Changes to unix/Makefile.in.
Changes to unix/configure.
Changes to unix/configure.ac.
Changes to unix/tkConfig.h.in.
Changes to unix/tkUnixRFont.c.