GLib provides a simple, abstract, and highly portable set of C support
routines such as lists, trees, hashes, memory allocation, and much, much
more. It is a foundation for writing portable applications.
===> The following configuration options are available for glib-2.88.3,2:
DOCS=on: Build and/or install documentation
MANPAGES=on: Build and/or install manual pages
NLS=on: Native Language Support
TEST=on: Build and/or run tests
===> Use 'make config' to modify these settings
Reason:
New versions of glib started to require gobject-introspection as a build
dependency, while gobject-introspection requires glib to build. This forms a
dependency cycle that is dealt with by introducing the @bootstrap flavor for
mentioned ports. This solution is suggested by the upstream as well, see
https://discourse.gnome.org/t/dealing-with-glib-and-gobject-introspection-circular-dependency/18701
When building devel/glib20 in Poudriere no manual intervention is required.
The devel/glib20@bootstrap gets built first and provides for
devel/gobject-introspection@bootstrap. This in turn provides for a normal
devel/glib20 build, which finally fulfills a dependency for normal devel/gobject-introspection
Users that are building outside of the isolated environments will be ending
up with useless glib-bootstrap and gobject-introspection-bootstrap packages
installed after each update. These can be removed with
pkg remove glib-bootstrap gobject-introspection-bootstrap
When updating these ports outside of Poudriere, make sure to
* remove bootstrap packages
* clean working dirs of bootstrap flavors (make clean FLAVOR=bootstrap) of
both ports
* sometimes it is additionally required to run "pkg remove -f glib20" before
building a new version
Number of commits found: 332 (showing only 100 on this page) #
devel/glib20: remove FAM_ALTBACKEND
No longer accessed after libinotify-kqueue landed, further with
native inotify since 15-STABLE. While here, conditionalise the
devel/libinotify dependency accordingly.
devel/glib20: shore up DOCS
- use DOCS over PORTDOCS
- unconditionally omit G_VA_COPY_AS_ARRAY, as the symbol is historical,
only relevant on certain platforms and the generated doc is blank
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.
Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above )
regression: bump packages known to trigger the pkg 2.1.1 regression
A regression was introduced in pkg 2.1.1 which results in at least those
packages ending up depending on themselves.
Bump to force rebuild them
devel/gobject-introspection: Override PREFIX for the @bootstrap flavor
This allows to break the install-time conflict between gobject-introspection
and gobject-introspection-bootstrap
PR: 285863
Mk/Uses/meson.mk: pass --localstatedir like GNU_CONFIGURE after 9f4546a03cc0
Meson defaults to --localstatedir=/var/local if --prefix=/usr/local
but this is not valid for ports/ or FreeBSD hier(7).
See also 68edbeeaae96 and
https://github.com/mesonbuild/meson/commit/24549dbed5fe
PR: 273605
Analyzed by: Tatsuki Makino
Exp-run by: antoine
devel/glib20: update to 2.80.4
Changelog: https://gitlab.gnome.org/GNOME/glib/-/blob/2.80.4/NEWS
While here, belated GTKDOC -> DOC, as gi-docgen replaced gtk-doc
in 2.80.0. Only a subset of the API reference and tools documentation
are generated when introspection is disabled.
devel/glib20: unbreak session bus autolaunch after fcf0cc114ab8
$ pkg install gtk4
$ service dbus onestart
$ cat /var/lib/dbus/machine-id
123456789012345678901234567890123
$ unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR
$ gtk4-demo
(gtk4-demo:1234): Gtk-WARNING **: Unable to acquire session bus: Cannot spawn a
message bus without a machine-id: Unable to load /var/local/lib/dbus/machine-id
or /etc/machine-id: Failed to open file “/var/local/lib/dbus/machine-id”: No
such file or directory
^C
$ gdbus call --session --dest=org.freedesktop.DBus --object-path=/
--method=org.freedesktop.DBus.ListNames
Error connecting: Cannot spawn a message bus without a machine-id: Unable to
load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file
“/var/local/lib/dbus/machine-id”: No such file or directory
Reported by: vermaden
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
devel/glib20: unbreak GTKDOC=on after 8cef7ff47def
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned:
share/gtk-doc/html/gobject/gtype-non-instantiatable-non-classed.html
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: share/gtk-doc/html/gobject/gtype-non-instantiatable-classed.html
===> Error: Plist issues found.
*** Error code 1
https://gitlab.gnome.org/GNOME/glib/-/commit/783f1b864008
devel/glib20: rename DOCS into GTKDOC and disable it by default
Follow the path done for ports depending on doxygen with gtkdoc.
This reduced the number of build dependencies and respects the defaults
of the upstream build system.
Make a GTKDOC option generic so other ports can follow the same path
devel/glib20: unbreak some C++ consumers after 27fe5eff9577
$ make -C lang/gjs
[...]
../util/log.cpp:106:25: error: no matching function for call to 'strcmp'
if (debug_output && g_str_equal(debug_output, "stderr")) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/ghash.h:165:30: note: expanded from macro
'g_str_equal'
#define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer)
(v2)) == 0)
^~~~~~
/usr/include/string.h:82:6: note: candidate function not viable: cannot convert
argument of incomplete type 'gconstpointer' (aka 'const void *') to 'const char
*' for 1st argument
int strcmp(const char *, const char *) __pure;
^
Reported by: fluffy, cmt
Regressed by: https://gitlab.gnome.org/GNOME/glib/-/commit/b46ed37c972f
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/glib20: fix up DOCS generation
Try to resolve build issues when generating DOCS. On some systems --
embarrassingly parallel ones, but also seemingly i386 -- the build
happens in a wrong order. This is explained in the comment now
added to the Makefile.
A simple way to trigger the build problem (before this patch) is this:
- configure the port
- switch to the build-dir
- run `ninja -j48 gio-doc`
Dependencies for gio-doc are incomplete, and the build fails.
I tried to solve this at Meson-level, but all my "obvious" changes
to `meson.build` like adding a dependency on `libgdbus_example_objectmanager`
to gio/meson.build got me Meson-time errors. Either no extra dependency
in the resulting Ninja files, or an error that the type of the dependency
was wrong. The ugly way to fix it is to tell ninja -- which does have
a general idea about dependencies between targets -- about it.
devel/glib20: add DOCS option
There is documentation possible with glib, using gtk-doc.
Add a knob and the plist bits. The documentation depends
on the tests, though: see glib issue
https://gitlab.gnome.org/GNOME/glib/-/issues/2430
Futz a bit with the options and dependencies; TEST only needs
dbus for the build, and the docs need the tests.
PR: 258624
Reported by: [email protected]
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
devel/glib20: unbreak session bus autolaunch after 94630ac169bc
Regressed by https://gitlab.gnome.org/GNOME/glib/-/commit/05ff2f877ca3
$ pkg install gtk4
$ service dbus onestart
$ cat /var/lib/dbus/machine-id
123456789012345678901234567890123
$ unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR
$ gtk4-demo
Gdk-Message: Failed to get file transfer portal: Cannot spawn a message bus
without a machine-id: Unable to load /var/local/lib/dbus/machine-id or
/etc/machine-id: Failed to open file “/var/local/lib/dbus/machine-id”: No
such file or directory
^C
$ gdbus call --session --dest=org.freedesktop.DBus --object-path=/
--method=org.freedesktop.DBus.ListNames
Error connecting: Cannot spawn a message bus without a machine-id: Unable to
load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file
“/var/local/lib/dbus/machine-id”: No such file or directory
PR: 257977
Tested by: Thibault Payet
Approved by: tcberner
devel/glib20: update to 2.66.8 release
- Drop staled tzdata patch (reported by [ade])
We still stay with 2.66.x branch due to new API changes in 2.68+ which
not supported yet by consumers.
With hat: desktop
devel/glib20: revert update to 2.68.2
This reverts commit 507359c509389602b4060b2c5e203c99911c3578.
devel/glib20 was touched without desktop@ approval and properly passed exp-run
which caused
a massive build failures for critical parts of portstree such as *webkit*,
grstreamer* and
many others due to incompatible changes in the new glib API.
Revert, bump PORTEPOCH and freeze at 2.66.* branch till all consumers will be
adopted to new API.
With hat: ports-secteam, desktop
Pointy hat to: nc@
Use kinfo_getfile() to implement fdwalk().
Previously, the kern.file sysctl (which queries the global file table)
was queried and the results saved in an on-stack buffer. With a
sufficiently active system the sysctl's output could overflow the
stack's available space. Instead, switch to kinfo_getfile() from
libutil. This uses a sysctl which queries only the open files for the
current process, and it uses heap space instead of the stack to store
the sysctl output.
PR: 253602
Submitted by: ps (build glue patches)
Reported by: ps
Reviewed by: bapt
MFH: 2021Q1
Differential Revision: https://reviews.freebsd.org/D28904
devel/glib20: add alternative file monitoring backend
This altnerative file monitoring backend implemented by the submitter may lead
to a big decrease in cpu time usage in for example thunar.
Consider it experimental, but worth a try, if your having issues with high cpu.
PR: 214338
Submitted by: [email protected]
devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour
LOCALBASE)
- explicitely not bumping port revision, as the package does not change for
people
who are using the defaults LOCALBASE=/usr/local -- no need to burden the
package
builders for this.
PR: 225378
Submitted by: John Hein <[email protected]>
devel/glib20: loops over all possible file descriptors
- Stop glib from looping over all possible file descriptors.
- This should greatly increase performance
PR: 236815
Submitted by: [email protected] (committed version)
Reported by: Eugene Grosbein <[email protected]>
MFH: 2020Q4
devel/glib20: uppdate to 2.66.2 maintenance release
- Important and time-critical fix to DST transitions
- Fix UTF-8 validation when escaping URI components
Release notes: https://gitlab.gnome.org/GNOME/glib/-/releases#2.66.2
Move some gnome@ ports to desktop@
As gnome@ is lacking active committers at the moment, transfer some of its
ports [1] up the stack to the desktop@ group, in hope that this way we get some
updates in as the set of people that "should feel responsible" grows.
As soon as gnome@ grows some committers again, this can (and should) of course
be reverted again.
[1] The list of ports chosen in this move consits of all the ports that are
required to build x11/kde5.
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D26362
Number of commits found: 332 (showing only 100 on this page)