Hi. Add support for '@tag ibus-write-cache'. Seems to do the job.
--- pkg/PLIST.orig Fri Nov 26 10:59:18 2021 +++ pkg/PLIST Fri Nov 26 11:01:56 2021 @@ -10,3 +10,4 @@ share/ibus/component/skk.xml share/locale/ja/LC_MESSAGES/ibus-skk.mo @tag update-desktop-database +@tag ibus-write-cache ok? Index: bin/update-plist =================================================================== RCS file: /cvs/ports/infrastructure/bin/update-plist,v retrieving revision 1.195 diff -u -p -r1.195 update-plist --- bin/update-plist 7 Mar 2021 19:30:16 -0000 1.195 +++ bin/update-plist 26 Nov 2021 10:00:25 -0000 @@ -919,6 +919,14 @@ sub check_specific $h->{should}{'glib-compile-schemas'} = 1; } +package OpenBSD::PackingElement::IbusComponent; +our @ISA=qw(OpenBSD::PackingElement::File); +sub check_specific +{ + my ($self, $h) = @_; + $h->{should}{'ibus-write-cache'} = 1; +} + package OpenBSD::PackingElement::IconThemeDirectory; our @ISA=qw(OpenBSD::PackingElement::Dir); sub check_specific Index: lib/OpenBSD/FS2.pm =================================================================== RCS file: /cvs/ports/infrastructure/lib/OpenBSD/FS2.pm,v retrieving revision 1.35 diff -u -p -r1.35 FS2.pm --- lib/OpenBSD/FS2.pm 7 Mar 2021 19:30:16 -0000 1.35 +++ lib/OpenBSD/FS2.pm 26 Nov 2021 10:00:25 -0000 @@ -65,6 +65,7 @@ sub classes return (qw(OpenBSD::FS::File::Directory OpenBSD::FS::File::Rc OpenBSD::FS::File::Desktop OpenBSD::FS::File::Glib2Schema + OpenBSD::FS::File::IbusComponent OpenBSD::FS::File::PkgConfig OpenBSD::FS::File::MimeInfo OpenBSD::FS::File::Icon @@ -196,6 +197,19 @@ sub recognize sub element_class { 'OpenBSD::PackingElement::Glib2Schema'; +} + +package OpenBSD::FS::File::IbusComponent; +our @ISA = qw(OpenBSD::FS::File); +sub recognize +{ + my ($class, $filename, $fs) = @_; + return $filename =~ m,share/ibus/component/.*\.xml$,; +} + +sub element_class +{ + 'OpenBSD::PackingElement::IbusComponent'; } package OpenBSD::FS::File::PkgConfig; -- Antoine