diff --git a/README.md b/README.md index 59f1cee..b631b05 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ -# wayfire-ui +# pyr-ui + +Primary package: `gui-libs/pyr-ui`. This is the Pyr shell's shared GTK appearance and UI helper library. +The existing library SONAME, headers, symbols and pkg-config module names stay +compatible. `source-manifest.json` records the original captured archive; MIT +attribution is retained. Shared GTK4 appearance client and local job/icon/popup helpers, version 0.1.6. Independently buildable against -installed `wayfire-core` >=0.1.9, GTK >=4.12 and system yyjson exactly 0.13.0. +installed `pyr-core` >=0.1.9, GTK >=4.12 and system yyjson exactly 0.13.0. The public C API installs as `wayfire-desktop/ui.h`; pkg-config module `wayfire-desktop-ui`, shared-library SONAME `libwayfire-desktop-ui.so.1`. @@ -27,7 +32,7 @@ applies pushed snapshots; `resync` triggers one `appearance.read`. An older resident gets one read, then the snapshot file is watched with GFileMonitor and each change is confirmed by a read. No timer runs while idle; one request at a time; reconnects back off from 1 s to 30 s. A failed read retains the last -valid style. Requires wayfire-core >=0.1.9. Destroy removes the provider and pending reads. +valid style. Requires pyr-core >=0.1.9. Destroy removes the provider and pending reads. All calls and context iteration belong to the creating GTK thread. There is no saved-config fallback, persistence, theme-pack editing, background renderer, diff --git a/meson.build b/meson.build index 57d12ea..b29702b 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('wayfire-ui', ['c', 'cpp'], version: '0.1.6', license: 'MIT', +project('pyr-ui', ['c', 'cpp'], version: '0.1.6', license: 'MIT', meson_version: '>=1.0.0', default_options: ['cpp_std=c++17', 'c_std=c11', 'warning_level=2', 'pkgconfig.relocatable=true']) gtk = dependency('gtk4', version: '>=4.12') gio_unix = dependency('gio-unix-2.0') @@ -18,9 +18,9 @@ install_headers('include/wayfire-desktop/popups.h', subdir: 'wayfire-desktop') install_headers('include/wayfire-desktop/icons.h', subdir: 'wayfire-desktop') install_headers('include/wayfire-desktop/jobs.h', 'include/wayfire-desktop/jobs.hpp', subdir: 'wayfire-desktop') import('pkgconfig').generate(ui, name: 'wayfire-desktop-ui', - description: 'Wayfire desktop GTK4 appearance and local UI job helpers', requires: ['gtk4'], + description: 'Pyr desktop GTK4 appearance and local UI job helpers', requires: ['gtk4'], subdirs: '.', version: meson.project_version()) -install_data('README.md', 'LICENSE', 'source-manifest.json', install_dir: get_option('datadir') / 'doc/wayfire-ui') +install_data('README.md', 'LICENSE', 'source-manifest.json', install_dir: get_option('datadir') / 'doc/pyr-ui') if get_option('tests') popups = executable('ui-popups', 'tests/popups.c', include_directories: inc, dependencies: gtk, link_with: ui, c_args: ['-UNDEBUG'])