From 43e64ba695b09eb81ed4b58fd9b42de31e33a45e Mon Sep 17 00:00:00 2001 From: cvsextras Date: Nov 08 2004 03:59:42 +0000 Subject: auto-import changelog data from WindowMaker-0.80.2-0.fdr.6.src.rpm 0.80.2-0.fdr.6 - exclude -> rm - Added patch to fix gtk2 apps handling and other focus things 0.80.2-0.fdr.5 - Shortened files section - Fixed tarball permissions (now a+r) 0.80.2-0.fdr.4 - Header files were installed in the wrong directory. Fixed. Slovak man pages installation fixed same way. - WindowWaker-libs is now obsolete. 0.80.2-0.fdr.3 - buildroot -> RPM_BUILD_ROOT - New devel package - No more libs package 0.80.2-0.fdr.2 - Added missing Require: for gettext Tue Apr 08 2003 Dams - Initial build. --- diff --git a/.cvsignore b/.cvsignore index e69de29..261dd1e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +WindowMaker-0.80.2.tar.bz2 diff --git a/WindowMaker.spec b/WindowMaker.spec new file mode 100644 index 0000000..a140e10 --- /dev/null +++ b/WindowMaker.spec @@ -0,0 +1,124 @@ +Summary: A fast, feature rich Window manager. +Name: WindowMaker +Version: 0.80.2 +Release: 0.fdr.6 +Epoch: 0 +License: GPL +Group: User Interface/Desktops +URL: http://www.windowmaker.org/ +Source0: %{name}-%{version}.tar.bz2 +Patch0: windowmaker-src_actions_c.patch +Patch1: windowmaker-src_event_c.patch +Patch2: windowmaker-src_workspace_c.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: XFree86-devel libpng-devel libjpeg-devel libungif-devel +BuildRequires: libtiff-devel zlib-devel gettext +Obsoletes: WindowMaker-libs + +%package devel +Summary: libraries needed for WindowMaker. +Group: System Environment/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} + +#--------------------------------------------------------------------- + +%description +Window Maker is an X11 window manager designed to give additional +integration support to the GNUstep Desktop Environment. In every way +possible, it reproduces the elegant look and feel of the NeXTSTEP[tm] +GUI. It is fast, feature rich, easy to configure, and easy to use. In +addition, Window Maker works with GNOME and KDE, making it one of the +most useful and universal window managers available. + +%description devel +Window Maker is an X11 window manager designed to give additional +integration support to the GNUstep Desktop Environment. In every way +possible, it reproduces the elegant look and feel of the NeXTSTEP[tm] +GUI. This package contains development files for WindowMaker libraries + +#--------------------------------------------------------------------- + +%prep +%setup -q +%patch0 -p0 -b .gtk2 +%patch1 -p0 -b .gtk2 +%patch2 -p0 -b .focus + +#--------------------------------------------------------------------- + +%build +LINGUAS=`(cd po ; echo *.po|sed 's/zh_TW.Big5.po//g;s/.po//g')` +GNUSTEP_LOCAL_ROOT='%{_libdir}/GNUstep' +NLSDIR="%{_datadir}/locale" +export LINGUAS NLSDIR GNUSTEP_LOCAL_ROOT +%configure --enable-gnome --enable-kde --enable-usermenu +# Dont use _smp_mflags. Race condition. +make + +#--------------------------------------------------------------------- + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT NLSDIR=%{_datadir}/locale install + +%find_lang '\(WPrefs\|%{name}\|WINGs\)' + +rm -f $RPM_BUILD_ROOT%{_libdir}/libwraster.la + +#--------------------------------------------------------------------- + +%clean +rm -rf $RPM_BUILD_ROOT + +#--------------------------------------------------------------------- + +%files -f '\(WPrefs\|%{name}\|WINGs\)'.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog NEWS FAQ* README* COPYING* +%config %{_sysconfdir}/%{name} +%exclude %{_bindir}/get-*-flags +%{_bindir}/* +%{_datadir}/%{name} +%{_datadir}/WINGs +%{_libdir}/GNUstep +%{_libdir}/libwraster.so.* +%{_mandir}/man1/*.1x* +%{_mandir}/sk/man1/*.1x* + +%files devel +%defattr(-,root,root,-) +%{_bindir}/get-wings-flags +%{_bindir}/get-wraster-flags +%{_bindir}/get-wutil-flags +%{_includedir}/WINGs +%{_includedir}/WMaker.h +%{_includedir}/wraster.h +%{_libdir}/lib*.a +%{_libdir}/libwraster.so + +#--------------------------------------------------------------------- + +%changelog +* Fri Nov 28 2003 Dams - 0:0.80.2-0.fdr.6 +- exclude -> rm +- Added patch to fix gtk2 apps handling and other focus things + +* Wed Sep 17 2003 Dams 0:0.80.2-0.fdr.5 +- Shortened files section +- Fixed tarball permissions (now a+r) + +* Wed Sep 17 2003 Dams 0:0.80.2-0.fdr.4 +- Header files were installed in the wrong directory. Fixed. Slovak + man pages installation fixed same way. +- WindowWaker-libs is now obsolete. + +* Tue Aug 12 2003 Dams 0:0.80.2-0.fdr.3 +- buildroot -> RPM_BUILD_ROOT +- New devel package +- No more libs package + +* Thu Apr 10 2003 Dams 0:0.80.2-0.fdr.2 +- Added missing Require: for gettext + +* Tue Apr 8 2003 Dams +- Initial build. diff --git a/sources b/sources index e69de29..bbf8c0c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9f4fabc8831af6c58edf8708ee90126f WindowMaker-0.80.2.tar.bz2 diff --git a/windowmaker-src_actions_c.patch b/windowmaker-src_actions_c.patch new file mode 100644 index 0000000..cf560d6 --- /dev/null +++ b/windowmaker-src_actions_c.patch @@ -0,0 +1,27 @@ +--- src/actions.c Mon Aug 11 15:29:31 2003 ++++ src/actions.c Mon Aug 11 15:31:56 2003 +@@ -144,6 +144,14 @@ + old_scr=scr; + old_focused=old_scr->focused_window; + ++ /* ++ * Safeguard: make sure the timestamp is monotonically increasing ++ * (very unlikely that this will be needed, still a safeguard) ++ */ ++ if (timestamp <= LastFocusChange) ++ timestamp = LastFocusChange + 1; ++ ++ + LastFocusChange = timestamp; + + /* +@@ -150,8 +158,8 @@ + * This is a hack, because XSetInputFocus() should have a proper + * timestamp instead of CurrentTime but it seems that some times + * clients will not receive focus properly that way. ++ */ + if (ignoreTimestamp) +-*/ + timestamp = CurrentTime; + + if (old_focused) diff --git a/windowmaker-src_event_c.patch b/windowmaker-src_event_c.patch new file mode 100644 index 0000000..bfc78b5 --- /dev/null +++ b/windowmaker-src_event_c.patch @@ -0,0 +1,10 @@ +--- src/event.c Mon Aug 11 15:29:31 2003 ++++ src/event.c Mon Aug 11 15:32:06 2003 +@@ -402,7 +402,6 @@ + static void + saveTimestamp(XEvent *event) + { +- LastTimestamp = CurrentTime; + + switch (event->type) { + case ButtonRelease: diff --git a/windowmaker-src_workspace_c.patch b/windowmaker-src_workspace_c.patch new file mode 100644 index 0000000..be5a0fe --- /dev/null +++ b/windowmaker-src_workspace_c.patch @@ -0,0 +1,19 @@ +--- src/workspace.c Mon Aug 11 15:29:33 2003 ++++ src/workspace.c Mon Aug 11 15:33:33 2003 +@@ -574,10 +574,12 @@ + &foo, &foo, &foo, &foo, &mask)) { + tmp = wWindowFor(win); + } +- if (!tmp && wPreferences.focus_mode == WKF_SLOPPY) { +- wSetFocusTo(scr, foc); +- } else { +- wSetFocusTo(scr, tmp); ++ if (!tmp) { ++ if (wPreferences.focus_mode == WKF_SLOPPY) { ++ wSetFocusTo(scr, foc); ++ } else { ++ wSetFocusTo(scr, tmp); ++ } + } + } + }