[Bug 254702] www/netsurf: fix preferences dialog bug, clean up build warnings

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 1 21:23:40 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254702

            Bug ID: 254702
           Summary: www/netsurf: fix preferences dialog bug, clean up
                    build warnings
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: nc at FreeBSD.org
          Reporter: waitman at waitman.net
          Assignee: nc at FreeBSD.org
             Flags: maintainer-feedback?(nc at FreeBSD.org)

Created attachment 223757
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223757&action=edit
update netsurf port to 3.10_1

GTK will not use a custom supplied gettext function with Builder xml ui on
FreeBSD, which causes the the preferences dialog to have translation keys
instead of English, etc, readable text. Netsurf uses a translation scheme with
key/value pairs in a gzipped file instead of using gettext po files, so when
the ui is loaded by GTK the calls to translate using gettext() fail because it
cannot find the po translation files.

This fix generates a language specific ui for this dialog during buildtime so
on-the-fly translation is not required on the preferences dialog. The program
selects the ui file which corresponds to their locale setting in env.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list