Broken dependencies: mingw32-libpng
by Fedora Koji Build System
mingw32-libpng has broken dependencies in the epel-6 tree:
On ppc64:
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-runtime
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-filesystem >= 0:63
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(zlib1.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(msvcrt.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(kernel32.dll)
Please resolve this as soon as possible.
11 years, 1 month
Broken dependencies: mingw32-libpng
by Fedora Koji Build System
mingw32-libpng has broken dependencies in the epel-6 tree:
On ppc64:
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-runtime
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-filesystem >= 0:63
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(zlib1.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(msvcrt.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(kernel32.dll)
Please resolve this as soon as possible.
11 years, 1 month
[mingw-glib2] Prefer the use of GCC constructors over DllMain
by Erik van Pienbroek
commit fba82fe33fd50b11e4561596736629714dea569d
Author: Erik van Pienbroek <epienbro(a)fedoraproject.org>
Date: Sat Mar 23 14:28:07 2013 +0100
Prefer the use of GCC constructors over DllMain
This removes the DllMain symbol from the static libraries
glib-prefer-constructors-over-DllMain.patch | 52 +++++++++++++++++++++++++++
mingw-glib2.spec | 8 ++++
2 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/glib-prefer-constructors-over-DllMain.patch b/glib-prefer-constructors-over-DllMain.patch
new file mode 100644
index 0000000..256e8e7
--- /dev/null
+++ b/glib-prefer-constructors-over-DllMain.patch
@@ -0,0 +1,52 @@
+--- glib/glib-init.c.orig 2013-03-23 12:07:27.009718160 +0100
++++ glib/glib-init.c 2013-03-23 13:00:24.460030271 +0100
+@@ -223,12 +223,14 @@
+
+ #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,9 +240,6 @@
+ {
+ case DLL_PROCESS_ATTACH:
+ glib_dll = hinstDLL;
+- g_clock_win32_init ();
+- g_thread_win32_init ();
+- glib_init ();
+ break;
+
+ case DLL_THREAD_DETACH:
+@@ -255,7 +254,10 @@
+ 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)
+@@ -265,6 +267,10 @@
+ static void
+ glib_init_ctor (void)
+ {
++#if defined (G_OS_WIN32)
++ g_clock_win32_init ();
++ g_thread_win32_init ();
++#endif
+ glib_init ();
+ }
+
diff --git a/mingw-glib2.spec b/mingw-glib2.spec
index f2677a2..e124c2d 100644
--- a/mingw-glib2.spec
+++ b/mingw-glib2.spec
@@ -58,6 +58,11 @@ Patch3: glib-send-log-messages-to-correct-stdout-and-stderr.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=694506
Patch4: glib-formatstring.patch
+# Prefer the use of GCC constructors over DllMain
+# This prevents having to depend on DllMain in static libraries
+# http://lists.fedoraproject.org/pipermail/fedora-mingw/2013-March/006429.html
+Patch5: glib-prefer-constructors-over-DllMain.patch
+
%description
MinGW Windows Glib2 library.
@@ -104,6 +109,7 @@ Static version of the MinGW Windows GLib2 library.
%patch2 -p1
%patch3 -p0
%patch4 -p0
+%patch5 -p0
autoreconf -i --force
@@ -287,6 +293,8 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
* Sat Mar 23 2013 Erik van Pienbroek <epienbro(a)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(a)alumni.ethz.ch> - 2.35.8-1
- update to 2.35.8
11 years, 1 month
[mingw-glib2] Added R: mingw{32, 64}-gettext-static to the -static subpackages
by Erik van Pienbroek
commit 9a8031694f2daaf5e81f589056cdd34b7b2d4ffc
Author: Erik van Pienbroek <epienbro(a)fedoraproject.org>
Date: Sat Mar 23 14:26:49 2013 +0100
Added R: mingw{32,64}-gettext-static to the -static subpackages
mingw-glib2.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mingw-glib2.spec b/mingw-glib2.spec
index dc6184e..f2677a2 100644
--- a/mingw-glib2.spec
+++ b/mingw-glib2.spec
@@ -71,6 +71,7 @@ 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
Group: Development/Libraries
%description -n mingw32-glib2-static
@@ -86,6 +87,7 @@ 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
Group: Development/Libraries
%description -n mingw64-glib2-static
@@ -284,6 +286,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%changelog
* Sat Mar 23 2013 Erik van Pienbroek <epienbro(a)fedoraproject.org> - 2.35.9-1
- Update to 2.35.9
+- Added R: mingw{32,64}-gettext-static to the -static subpackages
* Fri Feb 22 2013 Thomas Sailer <t.sailer(a)alumni.ethz.ch> - 2.35.8-1
- update to 2.35.8
11 years, 1 month
[mingw-glib2] Update to 2.35.9
by Erik van Pienbroek
commit 0c8f0dd8eb827c05f1a2ea986f9a84dd0afa8df4
Author: Erik van Pienbroek <epienbro(a)fedoraproject.org>
Date: Sat Mar 23 14:26:02 2013 +0100
Update to 2.35.9
glib-formatstring.patch | 2 +-
mingw-glib2.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/glib-formatstring.patch b/glib-formatstring.patch
index 63c8655..5823f45 100644
--- a/glib-formatstring.patch
+++ b/glib-formatstring.patch
@@ -12,7 +12,7 @@
--- gio/gdbusmessage.c.orig 2013-02-22 20:07:15.294752111 +0100
+++ gio/gdbusmessage.c 2013-02-22 20:07:55.788028585 +0100
@@ -1384,7 +1384,7 @@
- "Wanted to read %lu byte but only got %lu",
+ "Wanted to read %lu bytes but only got %lu",
(gulong)len),
(gulong)len,
- (gulong)mbuf->valid_len - mbuf->pos);
diff --git a/mingw-glib2.spec b/mingw-glib2.spec
index 3599799..dc6184e 100644
--- a/mingw-glib2.spec
+++ b/mingw-glib2.spec
@@ -1,7 +1,7 @@
%?mingw_package_header
Name: mingw-glib2
-Version: 2.35.8
+Version: 2.35.9
Release: 1%{?dist}
Summary: MinGW Windows GLib2 library
@@ -282,6 +282,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%changelog
+* Sat Mar 23 2013 Erik van Pienbroek <epienbro(a)fedoraproject.org> - 2.35.9-1
+- Update to 2.35.9
+
* Fri Feb 22 2013 Thomas Sailer <t.sailer(a)alumni.ethz.ch> - 2.35.8-1
- update to 2.35.8
diff --git a/sources b/sources
index 29e8380..852424f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3532870fa56ca449c0b282ce63324d63 glib-2.35.8.tar.xz
+0afa8ddc839a86474c04fd0870182ba3 glib-2.35.9.tar.xz
11 years, 1 month
Broken dependencies: mingw32-libpng
by Fedora Koji Build System
mingw32-libpng has broken dependencies in the epel-6 tree:
On ppc64:
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-runtime
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-filesystem >= 0:63
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(zlib1.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(msvcrt.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(kernel32.dll)
Please resolve this as soon as possible.
11 years, 1 month