X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=gtk-vnc%2Fmingw32-gtk-vnc.spec;h=df8f372f3d3ea651856d6bed290fdd39d425ccfb;hb=bba404d29c5dd6cea924b47e8115a0ee4626d3bc;hp=e8636d39c1aab6a85f567a52f2f62a957e5a44d5;hpb=aad93e32a0df7cb97bb3ac17b6bb09d215b0c2ff;p=fedora-mingw.git diff --git a/gtk-vnc/mingw32-gtk-vnc.spec b/gtk-vnc/mingw32-gtk-vnc.spec index e8636d3..df8f372 100644 --- a/gtk-vnc/mingw32-gtk-vnc.spec +++ b/gtk-vnc/mingw32-gtk-vnc.spec @@ -4,64 +4,69 @@ %define __find_requires %{_mingw32_findrequires} %define __find_provides %{_mingw32_findprovides} +%define _default_patch_fuzz 2 + Name: mingw32-gtk-vnc -Version: 0.3.7 -Release: 1%{?dist} +Version: 0.3.8 +Release: 0.3.20081030hg%{?dist} Summary: MinGW Windows port of VNC client GTK widget License: LGPLv2+ Group: Development/Libraries URL: http://gtk-vnc.sf.net/ -Source0: http://downloads.sourceforge.net/gtk-vnc/gtk-vnc-%{version}.tar.gz +Source0: gtk-vnc-0.3.8-20081030.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch1: gtk-vnc-0.3.7-abs-ungrab.patch - -# Dan's MinGW patch version 2, fixed so it can apply to the tarball. -Patch100: gtk-vnc-0.3.7-mingw32-dan2.patch - -# Extra files required by Gnulib. -Patch101: gtk-vnc-0.3.7-mingw32-gnulib-files.patch - -# Fix redefined symbols in socketcompat.h. -Patch102: gtk-vnc-0.3.7-mingw32-socketcompat.patch +# Patches submitted upstream 2008-10-28/29/30: +Patch100: gtk-vnc-00-win32.patch +Patch101: gtk-vnc-01-recv.patch +Patch102: gtk-vnc-02-ioctl.patch +Patch103: gtk-vnc-03-wsastartup.patch +#Patch104: gtk-vnc-hgignore.patch +Patch105: gtk-vnc-ldflags-confusion.patch +Patch106: gtk-vnc-dan-fd-fix.patch BuildArch: noarch BuildRequires: mingw32-filesystem >= 30 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils -# XXX +BuildRequires: mingw32-gtk2 +BuildRequires: mingw32-gnutls +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig %description -# description +gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines +allowing it to be completely asynchronous while remaining single threaded. %prep -%setup -q -n gtk-vnc-%{version} - -%patch1 -p1 +%setup -q -n gtk-vnc-0.3.7 %patch100 -p1 %patch101 -p1 %patch102 -p1 +%patch103 -p1 +#%patch104 -p1 +%patch105 -p1 +%patch106 -p1 autoreconf %build -%{_mingw32_configure} --without-python --with-examples -make +%{_mingw32_configure} --without-python --with-examples --disable-static +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install -# Remove static libraries but DON'T remove *.dll.a files. -rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a - # automake gives gvncviewer a strange name ... mv $RPM_BUILD_ROOT%{_mingw32_bindir}/i686-pc-mingw32-gvncviewer.exe \ $RPM_BUILD_ROOT%{_mingw32_bindir}/gvncviewer.exe \ @@ -82,5 +87,20 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Wed Sep 24 2008 Your Name - 1.2.3-1 +* Fri Jan 23 2009 Richard W.M. Jones - 0.3.8-0.3.20081030hg +- Use _smp_mflags. +- Disable static library. + +* Thu Oct 30 2008 Richard W.M. Jones - 0.3.8-0.2.20081030hg +- Add Dan's fd/socket fix for Windows. + +* Thu Oct 30 2008 Richard W.M. Jones - 0.3.8-0.1.20081030hg +- Upgrade to current version in Mercurial (pre-release of 0.3.8). +- More MinGW patches. + +* Fri Oct 10 2008 Richard W.M. Jones - 0.3.7-3 +- Missing BRs discovered by mock. +- Added description section. + +* Thu Oct 9 2008 Richard W.M. Jones - 0.3.7-2 - Initial RPM release.