how to patch native pacakge
by Farkas Levente
hi,
it's turn out mingw32-libjpeg can't be used since it's contains a few
typedef (INT32, boolean) which already defined in w32api so it's works as a
native lib but not as mingw32 lib. i'd like to make a patch for this. what's
the recommended way for this:
- should i apply a patch which simply remove these typedefs or
- add an extra ifdef for these typedef (and which ifdef use for this
purpose)?
thanks.
--
Levente "Si vis pacem para bellum!"
14 years, 10 months
[patch] nsiswrapper 3.4.fc11
by René Berber
Hi,
In the course of cross-building a Qt and Gtk version of Transmission I
had to patch nsiswrapper as follows, only 2 changes: add case
insensitive option to grep, add more system libraries; still left undone
check_path should be made into a case insensitive search (had to use a
workaround linking Qt's libraries with all lowercase names).
--- /usr/bin/nsiswrapper.orig 2009-05-23 16:21:13.343406085 +0000
+++ /usr/bin/nsiswrapper 2009-05-26 07:40:43.493333337 +0000
@@ -443,7 +443,7 @@
if (m/\.exe$/i || m/\.dll$/i) {
my $cmd = "$objdump -p '$file' |
grep 'DLL Name:' |
- grep -Eo '[-._[:alnum:]]+\.dll' |
+ grep -Eio '[-._[:alnum:]]+\.dll' |
sort -u"; # XXX quoting
open DEPS, "$cmd |" or die "$cmd: $!";
foreach (<DEPS>) {
@@ -493,7 +493,19 @@
$_ eq 'ole32.dll' ||
$_ eq 'mscoree.dll' ||
$_ eq 'msvcrt.dll' ||
- $_ eq 'user32.dll'
+ $_ eq 'user32.dll' ||
+ $_ eq 'advapi32.dll' ||
+ $_ eq 'comctl32.dll' ||
+ $_ eq 'comdlg32.dll' ||
+ $_ eq 'imm32.dll' ||
+ $_ eq 'msimg32.dll' ||
+ $_ eq 'oleaut32.dll' ||
+ $_ eq 'shell32.dll' ||
+ $_ eq 'shlwapi.dll' ||
+ $_ eq 'winmm.dll' ||
+ $_ eq 'wsock32.dll' ||
+ $_ eq 'ws2_32.dll' ||
+ $_ eq 'wldap32.dll'
}
# Add Gtk dependencies, if --with-gtk.
The version in the subject is what 'yum info ming32-nsiswrapper' shows
as version.release (the file itself doesn't have anything to identify it
inside).
--
René Berber
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 #16 from Levente Farkas <lfarkas(a)lfarkas.org> 2009-06-16 12:57:49 EDT ---
now i take my time to read your comments and the reason for many of them that
the spec file are made from the native packages. imho it's a good practice to
keep the mingw packages close to the native in this case when new native
version comes it's much easier to compare and patch. if i remove all those
comments then it'd be much harder. should i really do that? other comments are
on the way to fix.
--
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