import mingw-glib2-2.56.1-2.el8
This commit is contained in:
commit
5e8da4c7be
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/glib-2.56.1.tar.xz
|
||||
1
.mingw-glib2.metadata
Normal file
1
.mingw-glib2.metadata
Normal file
@ -0,0 +1 @@
|
||||
4db098c15b9d57c37bb504a6f58ebe717994e6f2 SOURCES/glib-2.56.1.tar.xz
|
||||
13
SOURCES/00-fix-gdbus-codegen.patch
Normal file
13
SOURCES/00-fix-gdbus-codegen.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/gio/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py
|
||||
index 9d9099f..1cfe7c1 100755
|
||||
--- a/gio/gdbus-2.0/codegen/codegen_main.py
|
||||
+++ b/gio/gdbus-2.0/codegen/codegen_main.py
|
||||
@@ -209,7 +209,7 @@ def codegen_main():
|
||||
print_error('Using --body requires --output')
|
||||
|
||||
c_file = args.output
|
||||
- header_name = os.path.splitext(c_file)[0] + '.h'
|
||||
+ header_name = os.path.splitext(os.path.basename(c_file))[0] + '.h'
|
||||
|
||||
all_ifaces = []
|
||||
for fname in args.files + args.xml_files:
|
||||
@ -0,0 +1,334 @@
|
||||
From 7f4f4354540440c0a8a37beaccbec8bc7fc15ec7 Mon Sep 17 00:00:00 2001
|
||||
From: Erik van Pienbroek <epienbro@fedoraproject.org>
|
||||
Date: Mon, 27 Aug 2012 23:28:54 +0200
|
||||
Subject: [PATCH] Use CreateFile on Win32 to make sure g_unlink always works
|
||||
|
||||
The functions g_open(), g_creat() and g_fopen() defer to _wopen(),
|
||||
_wcreat() and _wfopen() respectively. This is very similar to
|
||||
the corresponding arrangement for Linux. However, those Windows
|
||||
functions do not support renaming a file whilst it's open. As a
|
||||
result, g_rename() behaves differently on the Windows platform
|
||||
compared to its Linux behaviour, where files can be renamed even
|
||||
while there are file handles still open. Resolved this by using
|
||||
the Win32 API function CreateFile() instead of _wopen(), _wcreat()
|
||||
and _wfopen()
|
||||
|
||||
Patch initially created by John Emmas
|
||||
---
|
||||
glib/gstdio.c | 259 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
|
||||
1 file changed, 233 insertions(+), 26 deletions(-)
|
||||
|
||||
diff --git a/glib/gstdio.c b/glib/gstdio.c
|
||||
index 6d763e1..c1d072f 100644
|
||||
--- a/glib/gstdio.c
|
||||
+++ b/glib/gstdio.c
|
||||
@@ -191,6 +191,11 @@ g_open (const gchar *filename,
|
||||
int mode)
|
||||
{
|
||||
#ifdef G_OS_WIN32
|
||||
+ HANDLE hFile;
|
||||
+ DWORD dwDesiredAccess = 0;
|
||||
+ DWORD dwFlagsAndAttributes = 0;
|
||||
+ DWORD dwDisposition = OPEN_EXISTING;
|
||||
+ DWORD dwSharedAccess = FILE_SHARE_READ | FILE_SHARE_DELETE;
|
||||
wchar_t *wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
|
||||
int retval;
|
||||
int save_errno;
|
||||
@@ -201,12 +206,114 @@ g_open (const gchar *filename,
|
||||
return -1;
|
||||
}
|
||||
|
||||
- retval = _wopen (wfilename, flags, mode);
|
||||
- save_errno = errno;
|
||||
+ /* Set up the access modes and other attributes */
|
||||
+ if ((flags & _O_CREAT) && (mode & _S_IREAD))
|
||||
+ {
|
||||
+ if (! (mode & _S_IWRITE))
|
||||
+ dwFlagsAndAttributes = FILE_ATTRIBUTE_READONLY; /* Sets file to 'read only' after the file gets closed */
|
||||
+ }
|
||||
+ if ( !(flags & _O_ACCMODE))
|
||||
+ {
|
||||
+ /* Equates to _O_RDONLY */
|
||||
+ if (flags & _O_TRUNC)
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ g_free (wfilename);
|
||||
+ return -1;
|
||||
+ }
|
||||
|
||||
- g_free (wfilename);
|
||||
+ dwDesiredAccess |= GENERIC_READ;
|
||||
+ dwSharedAccess |= FILE_SHARE_WRITE;
|
||||
+ }
|
||||
+ if (flags & _O_WRONLY)
|
||||
+ {
|
||||
+ if (flags & _O_RDWR)
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ g_free (wfilename);
|
||||
+ return -1;
|
||||
+ }
|
||||
|
||||
+ dwDesiredAccess |= GENERIC_WRITE;
|
||||
+ }
|
||||
+ if (flags & _O_RDWR)
|
||||
+ {
|
||||
+ dwDesiredAccess |= GENERIC_READ;
|
||||
+ dwDesiredAccess |= GENERIC_WRITE;
|
||||
+ }
|
||||
+ if (flags & _O_TRUNC)
|
||||
+ {
|
||||
+ if (flags & _O_CREAT)
|
||||
+ dwDisposition = CREATE_ALWAYS;
|
||||
+ else
|
||||
+ dwDisposition = TRUNCATE_EXISTING;
|
||||
+ }
|
||||
+ if ((flags & _O_CREAT) && !(flags & _O_TRUNC))
|
||||
+ {
|
||||
+ if (flags & _O_EXCL)
|
||||
+ dwDisposition = CREATE_NEW;
|
||||
+ else
|
||||
+ dwDisposition = OPEN_ALWAYS;
|
||||
+ }
|
||||
+ if (flags & _O_CREAT)
|
||||
+ {
|
||||
+ /* Handle the other flags that can be attached to _O_CREAT */
|
||||
+ if ((flags & _O_TEMPORARY) || (flags & _O_SHORT_LIVED))
|
||||
+ dwFlagsAndAttributes |= FILE_ATTRIBUTE_TEMPORARY;
|
||||
+
|
||||
+ if (flags & _O_TEMPORARY)
|
||||
+ dwFlagsAndAttributes |= FILE_FLAG_DELETE_ON_CLOSE;
|
||||
+ }
|
||||
+ if ((flags & _O_SEQUENTIAL) || (flags & _O_APPEND))
|
||||
+ {
|
||||
+ dwFlagsAndAttributes |= FILE_FLAG_SEQUENTIAL_SCAN;
|
||||
+ }
|
||||
+ else if (flags & _O_RANDOM)
|
||||
+ {
|
||||
+ dwFlagsAndAttributes |= FILE_FLAG_RANDOM_ACCESS;
|
||||
+ }
|
||||
+
|
||||
+ if (0 == dwFlagsAndAttributes)
|
||||
+ dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL;
|
||||
+ hFile = CreateFileW(wfilename, dwDesiredAccess, dwSharedAccess, NULL, dwDisposition, dwFlagsAndAttributes, NULL);
|
||||
+
|
||||
+ if (INVALID_HANDLE_VALUE == hFile)
|
||||
+ {
|
||||
+ retval = (-1);
|
||||
+
|
||||
+ switch (GetLastError ())
|
||||
+ {
|
||||
+#define CASE(a,b) case ERROR_##a: errno = b; break
|
||||
+ CASE (FILE_NOT_FOUND, ENOENT);
|
||||
+ CASE (PATH_NOT_FOUND, ENOENT);
|
||||
+ CASE (ACCESS_DENIED, EACCES);
|
||||
+ CASE (NOT_SAME_DEVICE, EXDEV);
|
||||
+ CASE (LOCK_VIOLATION, EACCES);
|
||||
+ CASE (SHARING_VIOLATION, EACCES);
|
||||
+ CASE (FILE_EXISTS, EEXIST);
|
||||
+ CASE (ALREADY_EXISTS, EEXIST);
|
||||
+#undef CASE
|
||||
+ default: errno = EIO;
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+ retval = _open_osfhandle((long)hFile, flags);
|
||||
+
|
||||
+ if ((-1) != retval)
|
||||
+ {
|
||||
+ /* We have a valid file handle. Set its translation mode to text or binary, as appropriate */
|
||||
+ if ((!(flags & _O_TEXT)) && (_fmode == _O_BINARY))
|
||||
+ _setmode(retval, _O_BINARY);
|
||||
+ else if ((flags & _O_TEXT) || (_fmode == _O_TEXT))
|
||||
+ _setmode(retval, _O_TEXT);
|
||||
+ else
|
||||
+ _setmode(retval, _O_BINARY);
|
||||
+ }
|
||||
+
|
||||
+ save_errno = errno;
|
||||
+ g_free (wfilename);
|
||||
errno = save_errno;
|
||||
+
|
||||
return retval;
|
||||
#else
|
||||
int fd;
|
||||
@@ -248,6 +355,8 @@ g_creat (const gchar *filename,
|
||||
int mode)
|
||||
{
|
||||
#ifdef G_OS_WIN32
|
||||
+ HANDLE hFile;
|
||||
+ DWORD dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL;
|
||||
wchar_t *wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
|
||||
int retval;
|
||||
int save_errno;
|
||||
@@ -258,12 +367,41 @@ g_creat (const gchar *filename,
|
||||
return -1;
|
||||
}
|
||||
|
||||
- retval = _wcreat (wfilename, mode);
|
||||
- save_errno = errno;
|
||||
+ if (mode & _S_IREAD)
|
||||
+ {
|
||||
+ if (! (mode & _S_IWRITE))
|
||||
+ dwFlagsAndAttributes = FILE_ATTRIBUTE_READONLY; /* Sets file to 'read only' after the file gets closed */
|
||||
+ }
|
||||
|
||||
- g_free (wfilename);
|
||||
+ hFile = CreateFileW(wfilename, (GENERIC_READ | GENERIC_WRITE), (FILE_SHARE_READ | FILE_SHARE_DELETE),
|
||||
+ NULL, CREATE_ALWAYS, dwFlagsAndAttributes, NULL);
|
||||
+
|
||||
+ if (INVALID_HANDLE_VALUE == hFile)
|
||||
+ {
|
||||
+ retval = (-1);
|
||||
+
|
||||
+ switch (GetLastError ())
|
||||
+ {
|
||||
+#define CASE(a,b) case ERROR_##a: errno = b; break
|
||||
+ CASE (FILE_NOT_FOUND, ENOENT);
|
||||
+ CASE (PATH_NOT_FOUND, ENOENT);
|
||||
+ CASE (ACCESS_DENIED, EACCES);
|
||||
+ CASE (NOT_SAME_DEVICE, EXDEV);
|
||||
+ CASE (LOCK_VIOLATION, EACCES);
|
||||
+ CASE (SHARING_VIOLATION, EACCES);
|
||||
+ CASE (FILE_EXISTS, EEXIST);
|
||||
+ CASE (ALREADY_EXISTS, EEXIST);
|
||||
+#undef CASE
|
||||
+ default: errno = EIO;
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+ retval = _open_osfhandle((long)hFile, _O_RDWR);
|
||||
|
||||
+ save_errno = errno;
|
||||
+ g_free (wfilename);
|
||||
errno = save_errno;
|
||||
+
|
||||
return retval;
|
||||
#else
|
||||
return creat (filename, mode);
|
||||
@@ -699,33 +837,102 @@ g_fopen (const gchar *filename,
|
||||
const gchar *mode)
|
||||
{
|
||||
#ifdef G_OS_WIN32
|
||||
- wchar_t *wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
|
||||
- wchar_t *wmode;
|
||||
- FILE *retval;
|
||||
- int save_errno;
|
||||
-
|
||||
- if (wfilename == NULL)
|
||||
+ int hFile;
|
||||
+ int flags = 0;
|
||||
+ gchar priv_mode[4];
|
||||
+ FILE *retval = NULL;
|
||||
+
|
||||
+ if ((NULL == filename) || (NULL == mode))
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
+ if ((strlen(mode) < 1) || (strlen(mode) > 3))
|
||||
+ {
|
||||
+ errno - EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
+
|
||||
+ strncpy(priv_mode, mode, 3);
|
||||
+ priv_mode[3] = '\0';
|
||||
+
|
||||
+ /* Set up any flags to pass to 'g_open()' */
|
||||
+ if (3 == strlen(priv_mode))
|
||||
+ {
|
||||
+ if (('c' == priv_mode[2]) || ('n' == priv_mode[2]))
|
||||
+ priv_mode[2] = '\0';
|
||||
+ else
|
||||
{
|
||||
- errno = EINVAL;
|
||||
- return NULL;
|
||||
+ if (0 == strcmp(priv_mode, "a+b"))
|
||||
+ flags = _O_RDWR | _O_CREAT | _O_APPEND | _O_BINARY;
|
||||
+ else if (0 == strcmp(priv_mode, "a+t"))
|
||||
+ flags = _O_RDWR | _O_CREAT | _O_APPEND | _O_TEXT;
|
||||
+ else if (0 == strcmp(priv_mode, "r+b"))
|
||||
+ flags = _O_RDWR | _O_BINARY;
|
||||
+ else if (0 == strcmp(priv_mode, "r+t"))
|
||||
+ flags = _O_RDWR | _O_TEXT;
|
||||
+ else if (0 == strcmp(priv_mode, "w+b"))
|
||||
+ flags = _O_RDWR | _O_CREAT |_O_TRUNC | _O_BINARY;
|
||||
+ else if (0 == strcmp(priv_mode, "w+t"))
|
||||
+ flags = _O_RDWR | _O_CREAT |_O_TRUNC | _O_TEXT;
|
||||
+ else
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
}
|
||||
-
|
||||
- wmode = g_utf8_to_utf16 (mode, -1, NULL, NULL, NULL);
|
||||
-
|
||||
- if (wmode == NULL)
|
||||
+ }
|
||||
+ if (2 == strlen(priv_mode))
|
||||
+ {
|
||||
+ if (('c' == priv_mode[1]) || ('n' == priv_mode[1]))
|
||||
+ priv_mode[1] = '\0';
|
||||
+ else
|
||||
{
|
||||
- g_free (wfilename);
|
||||
- errno = EINVAL;
|
||||
- return NULL;
|
||||
+ if (0 == strcmp(priv_mode, "a+"))
|
||||
+ flags = _O_RDWR | _O_CREAT | _O_APPEND;
|
||||
+ else if (0 == strcmp(priv_mode, "ab"))
|
||||
+ flags = _O_WRONLY | _O_CREAT | _O_APPEND | _O_BINARY;
|
||||
+ else if (0 == strcmp(priv_mode, "at"))
|
||||
+ flags = _O_WRONLY | _O_CREAT | _O_APPEND | _O_TEXT;
|
||||
+ else if (0 == strcmp(priv_mode, "rb"))
|
||||
+ flags = _O_RDONLY | _O_BINARY;
|
||||
+ else if (0 == strcmp(priv_mode, "rt"))
|
||||
+ flags = _O_RDONLY | _O_TEXT;
|
||||
+ else if (0 == strcmp(priv_mode, "wb"))
|
||||
+ flags = _O_WRONLY | _O_CREAT | _O_TRUNC | _O_BINARY;
|
||||
+ else if (0 == strcmp(priv_mode, "wt"))
|
||||
+ flags = _O_WRONLY | _O_CREAT | _O_TRUNC | _O_TEXT;
|
||||
+ else
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
}
|
||||
+ }
|
||||
+ if (1 == strlen(priv_mode))
|
||||
+ {
|
||||
+ if (0 == strcmp(priv_mode, "a"))
|
||||
+ flags = _O_WRONLY | _O_CREAT | _O_APPEND;
|
||||
+ else if (0 == strcmp(priv_mode, "r"))
|
||||
+ flags = _O_RDONLY;
|
||||
+ else if (0 == strcmp(priv_mode, "w"))
|
||||
+ flags = _O_WRONLY | _O_CREAT | _O_TRUNC;
|
||||
+ else if ( !((0 == strcmp(priv_mode, "c")) || (0 == strcmp(priv_mode, "n"))))
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
+ }
|
||||
|
||||
- retval = _wfopen (wfilename, wmode);
|
||||
- save_errno = errno;
|
||||
+ hFile = g_open (filename, flags, (_S_IREAD | _S_IWRITE));
|
||||
|
||||
- g_free (wfilename);
|
||||
- g_free (wmode);
|
||||
+ if (INVALID_HANDLE_VALUE == (HANDLE)hFile)
|
||||
+ /* 'errno' will have already been set by 'g_open()' */
|
||||
+ retval = NULL;
|
||||
+ else
|
||||
+ retval = _fdopen(hFile, mode);
|
||||
|
||||
- errno = save_errno;
|
||||
+out:
|
||||
return retval;
|
||||
#else
|
||||
return fopen (filename, mode);
|
||||
--
|
||||
1.7.11.4
|
||||
|
||||
74
SOURCES/glib-prefer-constructors-over-DllMain.patch
Normal file
74
SOURCES/glib-prefer-constructors-over-DllMain.patch
Normal file
@ -0,0 +1,74 @@
|
||||
From bc90511c1eb333e26e0bc0eaee62375d0e788db6 Mon Sep 17 00:00:00 2001
|
||||
From: Erik van Pienbroek <epienbro@fedoraproject.org>
|
||||
Date: Tue, 16 Apr 2013 11:42:11 +0200
|
||||
Subject: [PATCH] win32: Prefer the use of constructors over DllMain
|
||||
|
||||
This prevents having to depend on DllMain in static libraries
|
||||
|
||||
Constructors are available in both the GCC build (GCC 2.7 and later)
|
||||
and the MSVC build (MSVC 2008 and later using _Pragma, earlier
|
||||
versions using #pragma)
|
||||
---
|
||||
glib/glib-init.c | 22 ++++++++++++++--------
|
||||
1 file changed, 14 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/glib/glib-init.c b/glib/glib-init.c
|
||||
index 0032ee8..dd6ccbf 100644
|
||||
--- a/glib/glib-init.c
|
||||
+++ b/glib/glib-init.c
|
||||
@@ -223,12 +223,14 @@ glib_init (void)
|
||||
|
||||
#if defined (G_OS_WIN32)
|
||||
|
||||
+HMODULE glib_dll = NULL;
|
||||
+
|
||||
+#if defined (DLL_EXPORT)
|
||||
+
|
||||
BOOL WINAPI DllMain (HINSTANCE hinstDLL,
|
||||
DWORD fdwReason,
|
||||
LPVOID lpvReserved);
|
||||
|
||||
-HMODULE glib_dll;
|
||||
-
|
||||
BOOL WINAPI
|
||||
DllMain (HINSTANCE hinstDLL,
|
||||
DWORD fdwReason,
|
||||
@@ -238,11 +240,6 @@ DllMain (HINSTANCE hinstDLL,
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
glib_dll = hinstDLL;
|
||||
- g_clock_win32_init ();
|
||||
-#ifdef THREADS_WIN32
|
||||
- g_thread_win32_init ();
|
||||
-#endif
|
||||
- glib_init ();
|
||||
break;
|
||||
|
||||
case DLL_THREAD_DETACH:
|
||||
@@ -259,7 +256,10 @@ DllMain (HINSTANCE hinstDLL,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
-#elif defined (G_HAS_CONSTRUCTORS)
|
||||
+#endif /* defined (DLL_EXPORT) */
|
||||
+#endif /* defined (G_OS_WIN32) */
|
||||
+
|
||||
+#if defined (G_HAS_CONSTRUCTORS)
|
||||
|
||||
#ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
|
||||
#pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(glib_init_ctor)
|
||||
@@ -269,6 +269,12 @@ G_DEFINE_CONSTRUCTOR(glib_init_ctor)
|
||||
static void
|
||||
glib_init_ctor (void)
|
||||
{
|
||||
+#if defined (G_OS_WIN32)
|
||||
+ g_clock_win32_init ();
|
||||
+#ifdef THREADS_WIN32
|
||||
+ g_thread_win32_init ();
|
||||
+#endif /* defined (THREADS_WIN32) */
|
||||
+#endif /* defined (G_OS_WIN32) */
|
||||
glib_init ();
|
||||
}
|
||||
|
||||
--
|
||||
1.8.2
|
||||
730
SPECS/mingw-glib2.spec
Normal file
730
SPECS/mingw-glib2.spec
Normal file
@ -0,0 +1,730 @@
|
||||
%?mingw_package_header
|
||||
|
||||
# See https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
|
||||
%global __python %{__python3}
|
||||
|
||||
Name: mingw-glib2
|
||||
Version: 2.56.1
|
||||
Release: 2%{?dist}
|
||||
Summary: MinGW Windows GLib2 library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.gtk.org
|
||||
# first two digits of version
|
||||
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
||||
Source0: http://download.gnome.org/sources/glib/%{release_version}/glib-%{version}.tar.xz
|
||||
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
|
||||
BuildRequires: mingw32-filesystem >= 95
|
||||
BuildRequires: mingw32-gcc
|
||||
BuildRequires: mingw32-binutils
|
||||
BuildRequires: mingw32-win-iconv
|
||||
BuildRequires: mingw32-gettext
|
||||
BuildRequires: mingw32-libffi
|
||||
BuildRequires: mingw32-pcre
|
||||
BuildRequires: mingw32-zlib
|
||||
|
||||
BuildRequires: mingw64-filesystem >= 95
|
||||
BuildRequires: mingw64-gcc
|
||||
BuildRequires: mingw64-binutils
|
||||
BuildRequires: mingw64-win-iconv
|
||||
BuildRequires: mingw64-gettext
|
||||
BuildRequires: mingw64-libffi
|
||||
BuildRequires: mingw64-pcre
|
||||
BuildRequires: mingw64-zlib
|
||||
|
||||
# Native version required for msgfmt use in build
|
||||
BuildRequires: gettext
|
||||
# Native version required for glib-genmarshal
|
||||
BuildRequires: glib2-devel >= 2.45.3
|
||||
BuildRequires: python3-devel
|
||||
|
||||
# Include upstream patch to fix gdbus-codegen when used with meson 0.46
|
||||
# https://gitlab.gnome.org/GNOME/glib/commit/cd1f82d8fc741a2203582c12cc21b4dacf7e1872
|
||||
Patch0: 00-fix-gdbus-codegen.patch
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=674214
|
||||
Patch1: 0001-Use-CreateFile-on-Win32-to-make-sure-g_unlink-always.patch
|
||||
|
||||
# Prefer the use of GCC constructors over DllMain
|
||||
# This prevents having to depend on DllMain in static libraries
|
||||
# http://lists.fedoraproject.org/pipermail/mingw/2013-March/006429.html
|
||||
# http://lists.fedoraproject.org/pipermail/mingw/2013-March/006469.html
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=698118
|
||||
Patch5: glib-prefer-constructors-over-DllMain.patch
|
||||
|
||||
%description
|
||||
MinGW Windows Glib2 library.
|
||||
|
||||
# Win32
|
||||
%package -n mingw32-glib2
|
||||
Summary: MinGW Windows Glib2 library for the win32 target
|
||||
# glib-genmarshal and glib-mkenums are written in Python
|
||||
Requires: python3
|
||||
|
||||
%description -n mingw32-glib2
|
||||
MinGW Windows Glib2 library.
|
||||
|
||||
%package -n mingw32-glib2-static
|
||||
Summary: Static version of the MinGW Windows GLib2 library
|
||||
Requires: mingw32-glib2 = %{version}-%{release}
|
||||
Requires: mingw32-gettext-static
|
||||
|
||||
%description -n mingw32-glib2-static
|
||||
Static version of the MinGW Windows GLib2 library.
|
||||
|
||||
# Win64
|
||||
%package -n mingw64-glib2
|
||||
Summary: MinGW Windows Glib2 library for the win64 target
|
||||
# glib-genmarshal and glib-mkenums are written in Python
|
||||
Requires: python3
|
||||
|
||||
%description -n mingw64-glib2
|
||||
MinGW Windows Glib2 library.
|
||||
|
||||
%package -n mingw64-glib2-static
|
||||
Summary: Static version of the MinGW Windows GLib2 library
|
||||
Requires: mingw64-glib2 = %{version}-%{release}
|
||||
Requires: mingw64-gettext-static
|
||||
|
||||
%description -n mingw64-glib2-static
|
||||
Static version of the MinGW Windows GLib2 library.
|
||||
|
||||
|
||||
%?mingw_debug_package
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n glib-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
#GLib can't build static and shared libraries in one go, so we build GLib twice
|
||||
MINGW_BUILDDIR_SUFFIX=_static %mingw_configure --with-python=%{__python3} --disable-shared --enable-static
|
||||
MINGW_BUILDDIR_SUFFIX=_shared %mingw_configure --with-python=%{__python3} --disable-static
|
||||
|
||||
MINGW_BUILDDIR_SUFFIX=_static %mingw_make %{?_smp_mflags} V=1
|
||||
MINGW_BUILDDIR_SUFFIX=_shared %mingw_make %{?_smp_mflags} V=1
|
||||
|
||||
|
||||
%install
|
||||
MINGW_BUILDDIR_SUFFIX=_static %mingw_make install DESTDIR=$RPM_BUILD_ROOT/build_static
|
||||
MINGW_BUILDDIR_SUFFIX=_shared %mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Move the static libraries to the right location
|
||||
mv $RPM_BUILD_ROOT/build_static%{mingw32_libdir}/*.a $RPM_BUILD_ROOT%{mingw32_libdir}
|
||||
mv $RPM_BUILD_ROOT/build_static%{mingw64_libdir}/*.a $RPM_BUILD_ROOT%{mingw64_libdir}
|
||||
|
||||
# There's a small difference in the file glibconfig.h between the
|
||||
# shared and the static build:
|
||||
#
|
||||
#diff -ur shared/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h static/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h
|
||||
#--- shared/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h 2009-02-20 17:34:35.735677022 +0100
|
||||
#+++ static/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h 2009-02-20 17:33:35.498932269 +0100
|
||||
#@@ -92,7 +92,8 @@
|
||||
#
|
||||
# #define G_OS_WIN32
|
||||
# #define G_PLATFORM_WIN32
|
||||
#-
|
||||
#+#define GLIB_STATIC_COMPILATION 1
|
||||
#+#define GOBJECT_STATIC_COMPILATION 1
|
||||
#
|
||||
# #define G_VA_COPY va_copy
|
||||
#
|
||||
# However, we can't merge this change as it is situation-dependent...
|
||||
#
|
||||
# Developers using the static build of GLib need to add -DGLIB_STATIC_COMPILATION
|
||||
# and -DGOBJECT_STATIC_COMPILATION to their CFLAGS to avoid compile failures
|
||||
|
||||
# Drop the folder which was temporary used for installing the static bits
|
||||
rm -rf $RPM_BUILD_ROOT/build_static
|
||||
|
||||
rm -f $RPM_BUILD_ROOT/%{mingw32_libdir}/charset.alias
|
||||
rm -f $RPM_BUILD_ROOT/%{mingw64_libdir}/charset.alias
|
||||
|
||||
# Drop the GDB helper files as we can't use the native Fedora GDB to debug Win32 programs
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/gdb
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gdb
|
||||
|
||||
# Remove the gtk-doc documentation and manpages which duplicate Fedora native
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw32_mandir}
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/gtk-doc
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw64_mandir}
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc
|
||||
|
||||
# Bash-completion files aren't interesting for mingw
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/bash-completion
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/bash-completion
|
||||
|
||||
# The .def files are also of no use to other binaries
|
||||
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.def
|
||||
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/*.def
|
||||
|
||||
# The gdbus-codegen pieces are already in the native glib2 package
|
||||
rm -f $RPM_BUILD_ROOT%{mingw32_bindir}/gdbus-codegen
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw32_libdir}/gdbus-2.0
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{mingw64_bindir}/gdbus-codegen
|
||||
rm -rf $RPM_BUILD_ROOT%{mingw64_libdir}/gdbus-2.0
|
||||
|
||||
# Drop all .la files
|
||||
find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
|
||||
%mingw_find_lang glib20
|
||||
|
||||
|
||||
# Win32
|
||||
%files -n mingw32-glib2 -f mingw32-glib20.lang
|
||||
%license COPYING
|
||||
%{mingw32_bindir}/gdbus.exe
|
||||
%{mingw32_bindir}/gio.exe
|
||||
%{mingw32_bindir}/gio-querymodules.exe
|
||||
%{mingw32_bindir}/glib-compile-resources.exe
|
||||
%{mingw32_bindir}/glib-compile-schemas.exe
|
||||
%{mingw32_bindir}/glib-genmarshal
|
||||
%{mingw32_bindir}/glib-gettextize
|
||||
%{mingw32_bindir}/glib-mkenums
|
||||
%{mingw32_bindir}/gobject-query.exe
|
||||
%{mingw32_bindir}/gresource.exe
|
||||
%{mingw32_bindir}/gsettings.exe
|
||||
%{mingw32_bindir}/gspawn-win32-helper-console.exe
|
||||
%{mingw32_bindir}/gspawn-win32-helper.exe
|
||||
%{mingw32_bindir}/libgio-2.0-0.dll
|
||||
%{mingw32_bindir}/libglib-2.0-0.dll
|
||||
%{mingw32_bindir}/libgmodule-2.0-0.dll
|
||||
%{mingw32_bindir}/libgobject-2.0-0.dll
|
||||
%{mingw32_bindir}/libgthread-2.0-0.dll
|
||||
%{mingw32_includedir}/glib-2.0/
|
||||
%{mingw32_includedir}/gio-win32-2.0/
|
||||
%{mingw32_libdir}/glib-2.0/
|
||||
%dir %{mingw32_libdir}/gio/
|
||||
%dir %{mingw32_libdir}/gio/modules/
|
||||
%{mingw32_libdir}/libgio-2.0.dll.a
|
||||
%{mingw32_libdir}/libglib-2.0.dll.a
|
||||
%{mingw32_libdir}/libgmodule-2.0.dll.a
|
||||
%{mingw32_libdir}/libgobject-2.0.dll.a
|
||||
%{mingw32_libdir}/libgthread-2.0.dll.a
|
||||
%{mingw32_libdir}/pkgconfig/gio-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/gio-windows-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/glib-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/gmodule-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/gmodule-export-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/gmodule-no-export-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/gobject-2.0.pc
|
||||
%{mingw32_libdir}/pkgconfig/gthread-2.0.pc
|
||||
%{mingw32_datadir}/aclocal/glib-2.0.m4
|
||||
%{mingw32_datadir}/aclocal/glib-gettext.m4
|
||||
%{mingw32_datadir}/aclocal/gsettings.m4
|
||||
%{mingw32_datadir}/gettext/its/
|
||||
%{mingw32_datadir}/glib-2.0/
|
||||
|
||||
%files -n mingw32-glib2-static
|
||||
%{mingw32_libdir}/libgio-2.0.a
|
||||
%{mingw32_libdir}/libglib-2.0.a
|
||||
%{mingw32_libdir}/libgmodule-2.0.a
|
||||
%{mingw32_libdir}/libgobject-2.0.a
|
||||
%{mingw32_libdir}/libgthread-2.0.a
|
||||
|
||||
# Win64
|
||||
%files -n mingw64-glib2 -f mingw64-glib20.lang
|
||||
%license COPYING
|
||||
%{mingw64_bindir}/gdbus.exe
|
||||
%{mingw64_bindir}/gio.exe
|
||||
%{mingw64_bindir}/gio-querymodules.exe
|
||||
%{mingw64_bindir}/glib-compile-resources.exe
|
||||
%{mingw64_bindir}/glib-compile-schemas.exe
|
||||
%{mingw64_bindir}/glib-genmarshal
|
||||
%{mingw64_bindir}/glib-gettextize
|
||||
%{mingw64_bindir}/glib-mkenums
|
||||
%{mingw64_bindir}/gobject-query.exe
|
||||
%{mingw64_bindir}/gresource.exe
|
||||
%{mingw64_bindir}/gsettings.exe
|
||||
%{mingw64_bindir}/gspawn-win64-helper-console.exe
|
||||
%{mingw64_bindir}/gspawn-win64-helper.exe
|
||||
%{mingw64_bindir}/libgio-2.0-0.dll
|
||||
%{mingw64_bindir}/libglib-2.0-0.dll
|
||||
%{mingw64_bindir}/libgmodule-2.0-0.dll
|
||||
%{mingw64_bindir}/libgobject-2.0-0.dll
|
||||
%{mingw64_bindir}/libgthread-2.0-0.dll
|
||||
%{mingw64_includedir}/glib-2.0/
|
||||
%{mingw64_includedir}/gio-win32-2.0/
|
||||
%{mingw64_libdir}/glib-2.0/
|
||||
%dir %{mingw64_libdir}/gio/
|
||||
%dir %{mingw64_libdir}/gio/modules/
|
||||
%{mingw64_libdir}/libgio-2.0.dll.a
|
||||
%{mingw64_libdir}/libglib-2.0.dll.a
|
||||
%{mingw64_libdir}/libgmodule-2.0.dll.a
|
||||
%{mingw64_libdir}/libgobject-2.0.dll.a
|
||||
%{mingw64_libdir}/libgthread-2.0.dll.a
|
||||
%{mingw64_libdir}/pkgconfig/gio-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/gio-windows-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/glib-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/gmodule-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/gmodule-export-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/gmodule-no-export-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/gobject-2.0.pc
|
||||
%{mingw64_libdir}/pkgconfig/gthread-2.0.pc
|
||||
%{mingw64_datadir}/aclocal/glib-2.0.m4
|
||||
%{mingw64_datadir}/aclocal/glib-gettext.m4
|
||||
%{mingw64_datadir}/aclocal/gsettings.m4
|
||||
%{mingw64_datadir}/gettext/its/
|
||||
%{mingw64_datadir}/glib-2.0/
|
||||
|
||||
%files -n mingw64-glib2-static
|
||||
%{mingw64_libdir}/libgio-2.0.a
|
||||
%{mingw64_libdir}/libglib-2.0.a
|
||||
%{mingw64_libdir}/libgmodule-2.0.a
|
||||
%{mingw64_libdir}/libgobject-2.0.a
|
||||
%{mingw64_libdir}/libgthread-2.0.a
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 16 2018 Snir Sheriber <ssheribe@redhat.com> - 2.56.1-2
|
||||
- ExclusiveArch: i686, x86_64
|
||||
Related: rhbz#1615874
|
||||
|
||||
* Mon May 28 2018 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.56.1-1
|
||||
- Update to 2.56.1
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.54.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sun Oct 15 2017 Kalev Lember <klember@redhat.com> - 2.54.1-1
|
||||
- Update to 2.54.1
|
||||
|
||||
* Mon Aug 21 2017 Kalev Lember <klember@redhat.com> - 2.53.6-1
|
||||
- Update to 2.53.6
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.52.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 2.52.2-2
|
||||
- perl dependency renamed to perl-interpreter
|
||||
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
|
||||
|
||||
* Mon Jun 19 2017 Kalev Lember <klember@redhat.com> - 2.52.2-1
|
||||
- Update to 2.52.2
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.50.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Oct 12 2016 Kalev Lember <klember@redhat.com> - 2.50.1-1
|
||||
- Update to 2.50.1
|
||||
|
||||
* Fri Sep 23 2016 Kalev Lember <klember@redhat.com> - 2.50.0-1
|
||||
- Update to 2.50.0
|
||||
|
||||
* Fri Sep 16 2016 Kalev Lember <klember@redhat.com> - 2.48.2-2
|
||||
- Add missing perl dep for glib-mkenums
|
||||
- Don't set group tags
|
||||
|
||||
* Thu Aug 18 2016 Kalev Lember <klember@redhat.com> - 2.48.2-1
|
||||
- Update to 2.48.2
|
||||
|
||||
* Tue May 10 2016 Kalev Lember <klember@redhat.com> - 2.48.1-1
|
||||
- Update to 2.48.1
|
||||
|
||||
* Mon May 2 2016 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.48.0-1
|
||||
- update to 2.48.0
|
||||
|
||||
* Sun Feb 7 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.47.5-1
|
||||
- Update to 2.47.5
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.47.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Jan 05 2016 Richard Jones <rjones@redhat.com> - 2.47.4-2
|
||||
- Use global instead of define.
|
||||
|
||||
* Tue Dec 29 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.47.4-1
|
||||
- Update to 2.47.4
|
||||
|
||||
* Wed Nov 18 2015 Kalev Lember <klember@redhat.com> - 2.46.2-1
|
||||
- Update to 2.46.2
|
||||
|
||||
* Fri Oct 16 2015 Kalev Lember <klember@redhat.com> - 2.46.1-1
|
||||
- Update to 2.46.1
|
||||
|
||||
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 2.46.0-1
|
||||
- Update to 2.46.0
|
||||
|
||||
* Sat Aug 22 2015 Kalev Lember <klember@redhat.com> - 2.45.6-1
|
||||
- Update to 2.45.6
|
||||
|
||||
* Thu Jul 2 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.45.3-1
|
||||
- Update to 2.45.3
|
||||
|
||||
* Tue Jun 23 2015 Fabiano Fidêncio <fidencio@redhat.com> - 2.44.0-4
|
||||
- gio/ginetaddress.c: Fix Windows XP inet_pton() Emulation
|
||||
(https://bugzilla.gnome.org/show_bug.cgi?id=730352#c24)
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Apr 20 2015 Kalev Lember <kalevlember@gmail.com> - 2.44.0-2
|
||||
- Add back two accidentally dropped GNetworkMonitor crasher fixes
|
||||
(GNOME BZ #733338)
|
||||
|
||||
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 2.44.0-1
|
||||
- Update to 2.44.0
|
||||
- Use license macro for the COPYING file
|
||||
|
||||
* Mon Jan 26 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.43.3-1
|
||||
- Update to 2.43.3
|
||||
|
||||
* Sat Nov 15 2014 Kalev Lember <kalevlember@gmail.com> - 2.42.1-1
|
||||
- Update to 2.42.1
|
||||
|
||||
* Tue Sep 23 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.42.0-1
|
||||
- Update to 2.42.0
|
||||
|
||||
* Sat Sep 20 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.41.5-1
|
||||
- Update to 2.41.5
|
||||
|
||||
* Fri Sep 12 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.41.4-1
|
||||
- Update to 2.41.4
|
||||
|
||||
* Tue Jul 22 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.41.2-1
|
||||
- Update to 2.41.2
|
||||
|
||||
* Sat Jun 14 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.41.0-3
|
||||
- Prevent an invalid @CARBON_LIBS@ from appearing in the .pc files (GNOME BZ #731657)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Jun 1 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.41.0-1
|
||||
- update to 2.41.0
|
||||
|
||||
* Thu May 15 2014 Richard W.M. Jones <rjones@redhat.com> - 2.40.0-3
|
||||
- Fix valgrind support (RHBZ#1095664, GNOME bug 730198).
|
||||
- Include <stdint.h>, required by valgrind.h only on Rawhide.
|
||||
|
||||
* Sat Mar 29 2014 Kalev Lember <kalevlember@gmail.com> - 2.40.0-1
|
||||
- Update to 2.40.0
|
||||
|
||||
* Thu Mar 6 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.39.91-1
|
||||
- Update to 2.39.91
|
||||
|
||||
* Sat Mar 1 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.39.90-1
|
||||
- Update to 2.39.90
|
||||
|
||||
* Sat Feb 8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.39.4-1
|
||||
- Update to 2.39.4
|
||||
|
||||
* Tue Dec 17 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.39.2-1
|
||||
- Update to 2.39.2
|
||||
|
||||
* Wed Nov 20 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.39.1-1
|
||||
- Update to 2.39.1
|
||||
|
||||
* Wed Nov 20 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.38.2-1
|
||||
- Update to 2.38.2
|
||||
|
||||
* Tue Sep 24 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.38.0-1
|
||||
- Update to 2.38.0
|
||||
|
||||
* Wed Sep 4 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.7-1
|
||||
- Update to 2.37.7
|
||||
|
||||
* Thu Aug 1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.5-1
|
||||
- Update to 2.37.5
|
||||
|
||||
* Wed Jul 10 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.4-1
|
||||
- Update to 2.37.4
|
||||
|
||||
* Thu Jun 27 2013 Kalev Lember <kalevlember@gmail.com> - 2.37.3-2
|
||||
- Include the COPYING file in %%doc (thanks daumas for noticing it!)
|
||||
|
||||
* Wed Jun 26 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.3-1
|
||||
- Update to 2.37.3
|
||||
|
||||
* Sun Jun 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.1-2
|
||||
- Rebuild to resolve InterlockedCompareExchange regression in mingw32 libraries
|
||||
|
||||
* Fri May 31 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.1-1
|
||||
- Update to 2.37.1
|
||||
|
||||
* Sun May 5 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.37.0-1
|
||||
- Update to 2.37.0
|
||||
|
||||
* Tue Apr 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.36.1-1
|
||||
- Update to 2.36.1
|
||||
- Dropped upstreamed patches
|
||||
|
||||
* Mon Apr 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.36.0-3
|
||||
- Revert unintended ABI break on win64 (RHBZ #951588, GNOME BZ #697879)
|
||||
|
||||
* Fri Mar 29 2013 Kalev Lember <kalevlember@gmail.com> - 2.36.0-2
|
||||
- Drop two patches that have been fixed upstream
|
||||
|
||||
* Tue Mar 26 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.36.0-1
|
||||
- Update to 2.36.0
|
||||
|
||||
* Sat Mar 23 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.9-1
|
||||
- Update to 2.35.9
|
||||
- Added R: mingw{32,64}-gettext-static to the -static subpackages
|
||||
- Prefer the use of GCC constructors over DllMain
|
||||
This removes the DllMain symbol from the static libraries
|
||||
|
||||
* Fri Feb 22 2013 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.35.8-1
|
||||
- update to 2.35.8
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.35.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jan 20 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.4-3
|
||||
- Replaced the gcc 4.8 workaround with a more proper fix (GNOME BZ #692079)
|
||||
|
||||
* Sat Jan 19 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.4-2
|
||||
- Work around more strict behaviour of gcc 4.8, GNOME BZ #692079
|
||||
- Use verbose make
|
||||
|
||||
* Wed Jan 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.4-1
|
||||
- Update to 2.35.4
|
||||
|
||||
* Thu Jan 3 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.3-3
|
||||
- Resolve regression regarding linking against C++ code (GNOME BZ #690902)
|
||||
|
||||
* Tue Jan 1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.3-2
|
||||
- Make sure g_log_default_handler uses the correct file descriptors for stdout and stderr
|
||||
|
||||
* Tue Jan 1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.3-1
|
||||
- Update to 2.35.3
|
||||
|
||||
* Fri Nov 9 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.1-1
|
||||
- Update to 2.35.1
|
||||
|
||||
* Sat Oct 20 2012 Kalev Lember <kalevlember@gmail.com> - 2.34.1-1
|
||||
- Update to 2.34.1
|
||||
|
||||
* Fri Oct 5 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.34.0-1
|
||||
- Update to 2.34.0
|
||||
|
||||
* Mon Aug 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.33.10-2
|
||||
- Use CreateFile on Win32 to make sure g_unlink always works (GNOME BZ #674214)
|
||||
- Fixed typo's in description
|
||||
|
||||
* Sat Aug 25 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.33.10-1
|
||||
- Update to 2.33.10
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat May 05 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.33.1-1
|
||||
- Update to 2.33.1
|
||||
|
||||
* Sat May 05 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.32.2-2
|
||||
- Fix compile failure while building static library (GNOME BZ #675516)
|
||||
|
||||
* Tue May 01 2012 Kalev Lember <kalevlember@gmail.com> - 2.32.2-1
|
||||
- Update to 2.32.2
|
||||
- Dropped upstreamed patches
|
||||
|
||||
* Sat Apr 14 2012 Kalev Lember <kalevlember@gmail.com> - 2.32.1-1
|
||||
- Update to 2.32.1
|
||||
- Dropped an upstreamed patch
|
||||
- Added two new patches to fix build
|
||||
|
||||
* Wed Mar 28 2012 Kalev Lember <kalevlember@gmail.com> - 2.32.0-2
|
||||
- Add a patch to fix alignment tests when cross compiling
|
||||
|
||||
* Mon Mar 26 2012 Kalev Lember <kalevlember@gmail.com> - 2.32.0-1
|
||||
- Update to 2.32.0
|
||||
- Dropped upstreamed patch
|
||||
|
||||
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.20-2
|
||||
- Added win64 support
|
||||
|
||||
* Thu Mar 08 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.20-1
|
||||
- Update to 2.31.20
|
||||
- Dropped unneeded BR: mingw32-dlfcn
|
||||
- Dropped .la files
|
||||
|
||||
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.18-2
|
||||
- Renamed the source package to mingw-glib2 (RHBZ #800389)
|
||||
- Use mingw macros without leading underscore
|
||||
|
||||
* Tue Feb 28 2012 Kalev Lember <kalevlember@gmail.com> - 2.31.18-1
|
||||
- Update to 2.31.18
|
||||
|
||||
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.16-2
|
||||
- Rebuild against the mingw-w64 toolchain
|
||||
|
||||
* Tue Feb 07 2012 Kalev Lember <kalevlember@gmail.com> - 2.31.16-1
|
||||
- Update to 2.31.16
|
||||
|
||||
* Thu Jan 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.8-1
|
||||
- Update to 2.31.8
|
||||
|
||||
* Tue Nov 22 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.2-1
|
||||
- Update to 2.31.2
|
||||
|
||||
* Tue Oct 18 2011 Kalev Lember <kalevlember@gmail.com> - 2.30.1-1
|
||||
- Update to 2.30.1
|
||||
|
||||
* Fri Sep 30 2011 Kalev Lember <kalevlember@gmail.com> - 2.30.0-1
|
||||
- Update to 2.30.0
|
||||
|
||||
* Tue Aug 30 2011 Kalev Lember <kalevlember@gmail.com> - 2.29.18-1
|
||||
- Update to 2.29.18
|
||||
|
||||
* Sun Jul 10 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.29.10-2
|
||||
- Dropped the gdbus-codegen pieces as they match the native glib2 package
|
||||
|
||||
* Fri Jul 08 2011 Kalev Lember <kalevlember@gmail.com> - 2.29.10-1
|
||||
- Update to 2.29.10
|
||||
- Switch to xz compressed tarballs
|
||||
|
||||
* Wed Jul 06 2011 Kalev Lember <kalevlember@gmail.com> - 2.28.6-4
|
||||
- Rebuilt against win-iconv
|
||||
|
||||
* Thu Apr 28 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.28.6-3
|
||||
- Own the folders %%{_mingw32_libdir}/gio and %%{_mingw32_libdir}/gio/modules
|
||||
- Dropped the .def files as they aren't useful for other binaries
|
||||
|
||||
* Wed Apr 27 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.28.6-2
|
||||
- Dropped the proxy-libintl pieces
|
||||
|
||||
* Sat Apr 23 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.28.6-1
|
||||
- Update to 2.28.6
|
||||
- Dropped the ugly build hack as it isn't needed anymore (the
|
||||
broken mingw32-runtime has been fixed by now)
|
||||
- Made the pkgconfig LDFLAGS libtool friendly (fixes compilation for
|
||||
non-libtool based projects such as midori)
|
||||
|
||||
* Sun Feb 13 2011 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.28.0-1
|
||||
- update to 2.28.0
|
||||
|
||||
* Sun Feb 13 2011 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.27.93-1
|
||||
- update to 2.27.93
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Dec 6 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.27.4-1
|
||||
- update to 2.27.4
|
||||
|
||||
* Sun Nov 7 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.26.0-4
|
||||
- Fix a build failure in mingw32-libsoup and mingw32-webkitgtk
|
||||
|
||||
* Sun Oct 17 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.26.0-3
|
||||
- Let binaries depending on GLib link against the libintl wrapper library
|
||||
in a way that libtool doesn't refuse
|
||||
|
||||
* Sat Oct 16 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.26.0-2
|
||||
- Rebuild in order to make libintl-8.dll a soft dependency
|
||||
|
||||
* Mon Oct 11 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.26.0-1
|
||||
- Update to 2.26.0
|
||||
|
||||
* Thu Sep 23 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.25.17-1
|
||||
- Update to 2.25.17
|
||||
|
||||
* Sun Sep 12 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.25.15-1
|
||||
- Update to 2.25.15
|
||||
|
||||
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.25.12-2
|
||||
- recompiling .py files against Python 2.7 (rhbz#623338)
|
||||
|
||||
* Thu Aug 5 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.25.12-1
|
||||
- update to 2.25.12
|
||||
|
||||
* Fri Jun 11 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.24.1-1
|
||||
- Update to 2.24.1
|
||||
|
||||
* Wed Feb 24 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.23.4-1
|
||||
- Update to 2.23.4
|
||||
|
||||
* Sun Jan 31 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.23.2-1
|
||||
- Update to 2.23.2
|
||||
|
||||
* Wed Dec 2 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.23.0-1
|
||||
- Update to 2.23.0
|
||||
- Added BR: mingw32-zlib
|
||||
|
||||
* Fri Oct 9 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.22.2-1
|
||||
- Update to 2.22.2
|
||||
|
||||
* Wed Sep 23 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.22.0-1
|
||||
- Update to 2.22.0
|
||||
|
||||
* Fri Sep 18 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.6-2
|
||||
- Rebuild because of broken mingw32-gcc/mingw32-binutils
|
||||
|
||||
* Sat Sep 5 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.6-1
|
||||
- Update to 2.21.6
|
||||
|
||||
* Mon Aug 24 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.5-1
|
||||
- Update to 2.21.5
|
||||
|
||||
* Thu Aug 13 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.4-1
|
||||
- Update to 2.21.4
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon Jul 6 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.3-1
|
||||
- Update to 2.21.3
|
||||
- Drop upstreamed patch
|
||||
|
||||
* Mon Jun 22 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.2-2
|
||||
- The wrong RPM variable was overriden for -debuginfo support. Should be okay now
|
||||
|
||||
* Mon Jun 22 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.2-1
|
||||
- Update to 2.21.2
|
||||
- Split out debug symbols to a -debuginfo subpackage
|
||||
|
||||
* Wed Jun 10 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21.1-1
|
||||
- Update to 2.21.1
|
||||
- Use %%global instead of %%define
|
||||
- Dropped the glib-i386-atomic.patch as it doesn't have any effect (the mingw32
|
||||
toolchain is called i686-pc-mingw32, not i386-pc-mingw32)
|
||||
|
||||
* Thu Apr 16 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.20.1-1
|
||||
- Update to 2.20.1
|
||||
|
||||
* Thu Mar 5 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.19.10-1
|
||||
- Update to 2.19.10
|
||||
- Dropped the gtk-doc documentation as it's identical to the base glib2 package
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19.5-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Feb 20 2009 Erik van Pienbroek <info@nntpgrab.nl> - 2.19.5-4
|
||||
- Added -static subpackage
|
||||
- Developers using the static build of GLib need to add
|
||||
-DGLIB_STATIC_COMPILATION and -DGOBJECT_STATIC_COMPILATION to
|
||||
their CFLAGS to avoid compile failures
|
||||
- Fixed the %%defattr line
|
||||
- Rebuild for mingw32-gcc 4.4 (RWMJ)
|
||||
|
||||
* Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 2.19.5-3
|
||||
- Requires pkgconfig.
|
||||
|
||||
* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.19.5-2
|
||||
- Rebase to native Fedora version 2.19.5.
|
||||
- Use _smp_mflags.
|
||||
- Use find_lang.
|
||||
- Don't build static libraries.
|
||||
- +BR dlfcn.
|
||||
|
||||
* Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-2
|
||||
- Rename mingw -> mingw32.
|
||||
|
||||
* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.1-1
|
||||
- Update to 2.18.1 release
|
||||
|
||||
* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.0-3
|
||||
- Remove manpages which duplicate Fedora native.
|
||||
|
||||
* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-2
|
||||
- Add BR on pkgconfig, gettext and glib2 (native)
|
||||
|
||||
* Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-1
|
||||
- Initial RPM release
|
||||
Loading…
Reference in New Issue
Block a user