pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/doc



On Wed, Jun 25, 2025 at 11:12:01AM +0200, Adam Ciarciński wrote:
> >>> Modified Files:
> >>> pkgsrc/doc: TODO
> >>> 
> >>> Log Message:
> >>> doc/TODO: + glib2-2.85.1
> >> 
> >> Odd minor version numbers are considered unstable in Gnome world. We should stick to stable versions in pkgsrc.
> > 
> > That was true for a long time, but some years ago they stopped
> > this. For example, the last 'stable' releases of GNOME itself were 45,
> > 46, 47, 48.
> > Thomas
> 
> include/glib-2.0/glib/gversionmacros.h:
> 
> /**
>  * GLIB_VERSION_CUR_STABLE:
>  *
>  * A macro that evaluates to the current stable version of GLib, in a format
>  * that can be used by the C pre-processor.
>  *
>  * During an unstable development cycle, this evaluates to the next stable
>  * (unreleased) version which will be the result of the development cycle.
>  *
>  * Since: 2.32
>  */
> #if (GLIB_MINOR_VERSION % 2)
> #define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION + 1))
> #else
> #define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION))
> #endif

Thanks. So it seems glib and gtk still follow the even-stable/odd-unstable system.
 Thomas



Home | Main Index | Thread Index | Old Index