Package Details: glib2-git 2.78.0.r212.g0a6e19f-1

Git Clone URL: (read-only, click to copy)
Package Base: glib2-git
Description: Low Level Core Library
Upstream URL:
Licenses: LGPL2.1
Conflicts: glib2
Provides: glib2,,,,,
Submitter: kfgz
Maintainer: SolarAquarion
Last Packager: SolarAquarion
Votes: 47
Popularity: 0.000000
First Submitted: 2010-09-20 13:24 (UTC)
Last Updated: 2023-10-16 12:51 (UTC)

Dependencies (20)

Required by (2080)

Sources (5)

Latest Comments

1 2 3 4 Next › Last »

truocolo commented on 2024-01-04 17:18 (UTC)


I'm currently making "some" popular programs' PKGBUILDs seamlessly buildable in a non-x86_64 environment and while doing so I ended up updating glib too.

While latest revision still does not build on this partial gnu enviroment I'm on (and maybe I dont need to rebuild whole glib to get meld to work), it works normally on x86, so you may want to import some of the changes.

I have pushed the updated PKGBUILD on this repo.

MarsSeed commented on 2023-07-12 11:19 (UTC)

Please kindly enhance the pkgver() as per VCS package guidelines to generate a pkgver pattern conforming to the RELEASE.rREVISION scheme:

It is recommended to have following version format: RELEASE.rREVISION where REVISION is a monotonically increasing number that uniquely identifies the source tree (VCS revisions do this).

The revision number delimiter ("r" right before REVISION) is important. This delimiter allows to avoid problems in case if upstream […] uses versions with different number of components. E.g. if at revision "455" upstream decides to release version 0.1 then the revision delimiter preserves version monotonicity - 0.1.r456 > r454. Without the delimiter monotonicity fails - 0.1.456 < 454.

A.J commented on 2022-01-19 08:56 (UTC)

i get an error :

FAILED: glib/ 
cc -Iglib/ -Iglib -I../glib/glib -I. -I../glib -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wunused -Wno-unused-parameter -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length -Wno-variadic-macros -Werror=format=2 -Werror=init-self -Werror=missing-include-dirs -Werror=pointer-arith -Wstrict-prototypes -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=missing-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DG_DISABLE_CAST_CHECKS -fPIC -pthread '-DG_LOG_DOMAIN="GLib"' -DGLIB_COMPILATION -fvisibility=hidden -MD -MQ glib/ -MF glib/ -o glib/ -c ../glib/glib/ggettext.c
../glib/glib/ggettext.c: In function ‘g_dcgettext’:
../glib/glib/ggettext.c:429:10: error: implicit declaration of function ‘dcgettext’ [-Werror=implicit-function-declaration]
  429 |   return dcgettext (domain, msgid, category);
      |          ^~~~~~~~~
../glib/glib/ggettext.c:429:10: warning: incompatible implicit declaration of built-in function ‘dcgettext’ [-Wbuiltin-declaration-mismatch]
cc1: some warnings being treated as errors

tallero commented on 2021-02-08 06:37 (UTC)

Agreed on @ignapk. Updated PKGBUILD

ignapk commented on 2021-02-05 02:36 (UTC)

Please add


in the package_glib2() function so it's possible to replace glib2 with this package.

shoober420 commented on 2020-10-06 18:57 (UTC)

Can you please add “ CFLAGS+=" -DG_DISABLE_CAST_CHECKS" to the “build()” section of the PKGBUILD to reflect the official repo options?

Salamandar commented on 2018-06-27 14:49 (UTC)

This package could be built with Meson now.

There was a typo for _pkgname.

The paths (srcdir/pkgdir) were not always specified.

I fixed all that here:

SolarAquarion commented on 2018-04-18 12:18 (UTC)


Salamandar commented on 2016-02-17 18:23 (UTC)

Thanks mnovick. I'll flag the package out-of-date.