rpms/mingw32-sqlite/devel mingw32-sqlite.spec,1.7,1.8
by sailer
Author: sailer
Update of /cvs/pkgs/rpms/mingw32-sqlite/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27802
Modified Files:
mingw32-sqlite.spec
Log Message:
add debuginfo
Index: mingw32-sqlite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-sqlite/devel/mingw32-sqlite.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- mingw32-sqlite.spec 23 Apr 2009 18:20:15 -0000 1.7
+++ mingw32-sqlite.spec 23 Jun 2009 09:50:06 -0000 1.8
@@ -3,10 +3,11 @@
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
+%define __debug_install_post %{_mingw32_debug_install_post}
Name: mingw32-sqlite
Version: 3.6.12
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: MinGW Windows port of sqlite embeddable SQL database engine
License: Public Domain
@@ -27,7 +28,7 @@ Patch4: sqlite-3.6.12-memalign.p
# Patches for MinGW port.
Patch1000: mingw32-sqlite-3.6.12-no-undefined.patch
-BuildRequires: mingw32-filesystem >= 49
+BuildRequires: mingw32-filesystem >= 52
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
@@ -55,6 +56,9 @@ This package contains cross-compiled lib
for Windows.
+%{_mingw32_debug_package}
+
+
%prep
%setup -q -n sqlite-%{version}
%patch1 -p1 -b .libdl
@@ -112,6 +116,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jun 22 2009 Thomas Sailer <t.sailer(a)alumni.ethz.ch> - 3.6.12-5
+- add debuginfo packages
+
* Thu Apr 23 2009 Thomas Sailer <t.sailer(a)alumni.ethz.ch> - 3.6.12-4
- fix CFLAGS setting
14 years, 10 months
rpms/mingw32-glib2/devel mingw32-glib2.spec,1.9,1.10
by Erik van Pienbroek
Author: epienbro
Update of /cvs/pkgs/rpms/mingw32-glib2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19371
Modified Files:
mingw32-glib2.spec
Log Message:
The wrong RPM variable was overriden for -debuginfo support. Should be okay now
Index: mingw32-glib2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-glib2/devel/mingw32-glib2.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- mingw32-glib2.spec 22 Jun 2009 11:45:37 -0000 1.9
+++ mingw32-glib2.spec 22 Jun 2009 18:28:23 -0000 1.10
@@ -3,11 +3,11 @@
%global _use_internal_dependency_generator 0
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}
-%define __os_install_post %{_mingw32_debug_install_post}
+%define __debug_install_post %{_mingw32_debug_install_post}
Name: mingw32-glib2
Version: 2.21.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows GLib2 library
License: LGPLv2+
@@ -180,6 +180,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jun 22 2009 Erik van Pienbroek <epienbro(a)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(a)fedoraproject.org> - 2.21.2-1
- Update to 2.21.2
- Split out debug symbols to a -debuginfo subpackage
14 years, 10 months
[Bug 507178] New: i686-pc-mingw32-readelf reports "Not an ELF file"
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: i686-pc-mingw32-readelf reports "Not an ELF file"
https://bugzilla.redhat.com/show_bug.cgi?id=507178
Summary: i686-pc-mingw32-readelf reports "Not an ELF file"
Product: Fedora
Version: 11
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: mingw32-binutils
AssignedTo: rjones(a)redhat.com
ReportedBy: hellwolf.misty(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: berrange(a)redhat.com, rjones(a)redhat.com,
fedora-mingw(a)lists.fedoraproject.org
Classification: Fedora
Description of problem:
i686-pc-mingw32-readelf reports "Not an ELF file" to the exe file produes by
i686-pc-mingw32-gcc.
Version-Release number of selected component (if applicable):
mingw32-binutils-2.19.1-4.fc11.i586
How reproducible:
$ cat 1.c
#include <stdio.h>
int main()
{
printf("hellwolf\n");
}
$ i686-pc-mingw32-gcc 1.c
$ i686-pc-mingw32-readelf -d a.exe
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 10 months
How much to stick to the packaging layout of native packages
by Erik van Pienbroek
Hi all,
While reviewing mingw32-gstreamer [1] I've stumbled upon a situation
where more feedback is appreciated. The packager has based this package
upon the native gstreamer package. While there's nothing wrong with that
approach I have my doubts whether some things are okay in respect to the
Fedora and Fedora-MinGW packaging guidelines.
The native gstreamer package consists of a main package and two
subpackages, -devel and -tools.
As no packages in the Fedora-MinGW toolchain have -devel subpackages
(everything is a library) the packager decided to comment out all the
-devel subpackage parts in the .spec file. While this makes the .spec
file harder to read the packager has indicated that he prefers to keep
the commented out parts for easier merging with native changes. Doesn't
this conflict with the Legibility-rule [2] in the Fedora packaging
guidelines?
The -tools package contains just some .exe files. Are such packages
containing only binaries welcome in our Fedora-MinGW project? If so, is
it okay to put them in separate subpackages or should they be moved to
the main package?
Could someone mention their opinion about what's best to decide?
Regards,
Erik van Pienbroek
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=491317
[2]: http://fedoraproject.org/wiki/Packaging/Guidelines#Spec_Legibility
14 years, 10 months
rpms/mingw32-glib2/devel glib2-mingw-uih-header-compile-fix.patch, NONE, 1.1 mingw32-glib2.spec, 1.8, 1.9
by Erik van Pienbroek
Author: epienbro
Update of /cvs/pkgs/rpms/mingw32-glib2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5638
Modified Files:
mingw32-glib2.spec
Added Files:
glib2-mingw-uih-header-compile-fix.patch
Log Message:
MinGW compile fix (upstream GIT commit 854a43a3cd5cb8cc97b66d6f8f661e2a7096acda)
glib2-mingw-uih-header-compile-fix.patch:
--- NEW FILE glib2-mingw-uih-header-compile-fix.patch ---
>From 854a43a3cd5cb8cc97b66d6f8f661e2a7096acda Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen(a)redhat.com>
Date: Sat, 20 Jun 2009 03:18:09 +0000
Subject: Fix build on mingw
Mingw does not have sys/uio.h. This was reported in bug 585937.
Author: Matthias Clasen <mclasen(a)redhat.com>
---
diff --git a/configure.in b/configure.in
index de0d399..d253f60 100644
--- a/configure.in
+++ b/configure.in
@@ -857,6 +857,7 @@ AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h])
AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h sched.h malloc.h])
AC_CHECK_HEADERS([sys/vfs.h sys/mount.h sys/vmount.h sys/statfs.h sys/statvfs.h])
AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
+AC_CHECK_HEADERS([sys/uio.h])
# check for structure fields
AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct stat.st_atimensec, struct stat.st_atim.tv_nsec, struct stat.st_ctimensec, struct stat.st_ctim.tv_nsec])
diff --git a/gio/gsocket.c b/gio/gsocket.c
index 0670ee4..151adb5 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -38,7 +38,9 @@
# include <unistd.h>
#endif
+#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
+#endif
#include "gsocket.h"
#include "gcancellable.h"
--
cgit v0.8.2
Index: mingw32-glib2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-glib2/devel/mingw32-glib2.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- mingw32-glib2.spec 22 Jun 2009 11:03:10 -0000 1.8
+++ mingw32-glib2.spec 22 Jun 2009 11:45:37 -0000 1.9
@@ -16,6 +16,9 @@ URL: http://www.gtk.org
Source0: http://download.gnome.org/sources/glib/2.21/glib-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# Git commit 854a43a3cd5cb8cc97b66d6f8f661e2a7096acda
+Patch0: glib2-mingw-uih-header-compile-fix.patch
+
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 52
@@ -51,6 +54,7 @@ Static version of the MinGW Windows GLib
%prep
%setup -q -n glib-%{version}
+%patch0 -p1
%build
14 years, 10 months
rpms/mingw32-glib2/devel .cvsignore, 1.5, 1.6 mingw32-glib2.spec, 1.7, 1.8 sources, 1.5, 1.6
by Erik van Pienbroek
Author: epienbro
Update of /cvs/pkgs/rpms/mingw32-glib2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27954
Modified Files:
.cvsignore mingw32-glib2.spec sources
Log Message:
- Update to 2.21.2
- Split out debug symbols to a -debuginfo subpackage
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-glib2/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore 10 Jun 2009 19:38:44 -0000 1.5
+++ .cvsignore 22 Jun 2009 11:03:10 -0000 1.6
@@ -1 +1 @@
-glib-2.21.1.tar.bz2
+glib-2.21.2.tar.bz2
Index: mingw32-glib2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-glib2/devel/mingw32-glib2.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- mingw32-glib2.spec 10 Jun 2009 19:34:14 -0000 1.7
+++ mingw32-glib2.spec 22 Jun 2009 11:03:10 -0000 1.8
@@ -3,9 +3,10 @@
%global _use_internal_dependency_generator 0
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}
+%define __os_install_post %{_mingw32_debug_install_post}
Name: mingw32-glib2
-Version: 2.21.1
+Version: 2.21.2
Release: 1%{?dist}
Summary: MinGW Windows GLib2 library
@@ -17,7 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 49
+BuildRequires: mingw32-filesystem >= 52
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-dlfcn
@@ -45,6 +46,9 @@ Group: Development/Libraries
Static version of the MinGW Windows GLib2 library.
+%{_mingw32_debug_package}
+
+
%prep
%setup -q -n glib-%{version}
@@ -172,6 +176,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jun 22 2009 Erik van Pienbroek <epienbro(a)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(a)fedoraproject.org> - 2.21.1-1
- Update to 2.21.1
- Use %%global instead of %%define
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-glib2/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- sources 10 Jun 2009 19:38:44 -0000 1.5
+++ sources 22 Jun 2009 11:03:10 -0000 1.6
@@ -1 +1 @@
-eaf8f40c743effe26dab18c81b10a89e glib-2.21.1.tar.bz2
+2dcb938db904efcc62757b3b0655593b glib-2.21.2.tar.bz2
14 years, 10 months
rpms/mingw32-filesystem/devel mingw32-find-debuginfo.sh, NONE, 1.1 macros.mingw32, 1.4, 1.5 mingw32-filesystem.spec, 1.23, 1.24
by Erik van Pienbroek
Author: epienbro
Update of /cvs/pkgs/rpms/mingw32-filesystem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16863
Modified Files:
macros.mingw32 mingw32-filesystem.spec
Added Files:
mingw32-find-debuginfo.sh
Log Message:
- Add script to create -debuginfo subpackages
This script was created by Fridrich Strba
- All mingw32 packages now need to add these lines to their .spec files:
%define __os_install_post %{_mingw32_debug_install_post}
%{_mingw32_debug_package}
--- NEW FILE mingw32-find-debuginfo.sh ---
#!/bin/sh
#mingw32_find-debuginfo.sh - automagically generate debug info and file list
#for inclusion in an rpm spec file for mingw32-* packages.
if [ -z "$1" ] ; then BUILDDIR="."
else BUILDDIR=$1
fi
for f in `find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll"`
do
case $(i686-pc-mingw32-objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in
*debuglink*) continue ;;
*debug*) ;;
*gnu.version*)
echo "WARNING: "`echo $f | sed -e "s,^$RPM_BUILD_ROOT/*,/,"`" is already stripped!"
continue
;;
*) continue ;;
esac
echo extracting debug info from $f
i686-pc-mingw32-objcopy --only-keep-debug $f $f.debug || :
pushd `dirname $f`
i686-pc-mingw32-objcopy --add-gnu-debuglink=`basename $f.debug` --strip-unneeded `basename $f` || :
popd
done
find $RPM_BUILD_ROOT -type f -name "*.exe.debug" -or -name "*.dll.debug" |
sed -n -e "s#^$RPM_BUILD_ROOT##p" > $BUILDDIR/debugfiles.list
Index: macros.mingw32
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/macros.mingw32,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- macros.mingw32 9 Jun 2009 08:44:18 -0000 1.4
+++ macros.mingw32 22 Jun 2009 10:18:35 -0000 1.5
@@ -52,6 +52,24 @@
%_mingw32_findprovides /usr/lib/rpm/mingw32-find-provides.sh
%_mingw32_findrequires /usr/lib/rpm/mingw32-find-requires.sh
+%_mingw32_finddebuginfo /usr/lib/rpm/mingw32-find-debuginfo.sh
+
+%_mingw32_debug_install_post \
+ /usr/lib/rpm/mingw32-find-debuginfo.sh %{_builddir}/%{?buildsubdir}\
+%{nil}
+
+# Template for debug sub-package.
+%_mingw32_debug_package(n:) \
+%package %{-n:-n %{-n*}-}debuginfo \
+Summary: Debug information for package %{name} \
+Group: Development/debug \
+%description %{-n:-n %{-n*}-}debuginfo \
+This package provides debug information for package %{name}.\
+Debug information is useful when developing applications that use this\
+package or when debugging this package.\
+%files debuginfo -f debugfiles.list\
+%defattr(-,root,root,-)\
+%{nil}
%_mingw32_env HOST_CC=gcc; export HOST_CC; \
PKG_CONFIG_LIBDIR="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_LIBDIR; \
Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-filesystem.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- mingw32-filesystem.spec 9 Jun 2009 08:44:18 -0000 1.23
+++ mingw32-filesystem.spec 22 Jun 2009 10:18:35 -0000 1.24
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: mingw32-filesystem
-Version: 51
+Version: 52
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
@@ -20,6 +20,7 @@ Source5: mingw32-find-provides.sh
Source6: mingw32-scripts.sh
Source7: mingw32-rpmlint.config
Source8: Toolchain-mingw32.cmake
+Source9: mingw32-find-debuginfo.sh
Requires: setup
Requires: rpm
@@ -137,11 +138,11 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
install -m 0755 mingw32-find-requires.sh $RPM_BUILD_ROOT/usr/lib/rpm
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm
+install -m 0755 %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/rpm
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mingw32
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mingw32
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -164,6 +165,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jun 22 2009 Erik van Pienbroek <epienbro(a)fedoraproject.org> - 52-0
+- Add script to create -debuginfo subpackages
+ This script was created by Fridrich Strba
+- All mingw32 packages now need to add these lines to their .spec files:
+ %%define __os_install_post %%{_mingw32_debug_install_post}
+ %%{_mingw32_debug_package}
+
* Thu Jun 4 2009 Adam Goode <adam(a)spicenitz.org> - 51-1
- Add CMake rules
14 years, 10 months
[Bug 491317] Review Request: mingw32-gstreamer - MinGW Windows gstreamer library
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=491317
--- Comment #19 from Erik van Pienbroek <erik-fedora(a)vanpienbroek.nl> 2009-06-19 12:18:18 EDT ---
(In reply to comment #17)
> the other reason for these much comment because as we discussed earlier and as
> i wrote in
> http://fedoraproject.org/wiki/MinGW/Packaging_issues#devel_package_split if we
> start to create static sub-packages then we've to rethink the packaging to
> create devel subpackages similar to the native case. mainly in this case as
> there're binaries in the main packages not just dlls.
Yeah, this is an issue which should probably be brought up on the mailing list
so we can decide which direction we want to go with subpackages. The question
which type of executables are allowed also needs to be discussed there as win32
applications aren't really welcome in Fedora (only libraries).
I had one remaining question:
- Why are the binaries split across two packages?
To comply with the Fedora packaging guidelines, the %define's at the top of the
.spec file need to be changed to %global's as mentioned in
http://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_ov...
It's okay to just replace all occurences of '%define' with '%global'
In the latest .spec (0.10.23-1) you've added %{_mingw32_libdir}/*.a to the
-static subpackage. The *.a also catches the .dll.a files while those should be
in the main package.
-> All the *.dll.a files need to be part of the main package
-> All the *.a (NOT *.dll.a) files need to be part of the -static subpackage
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 10 months