commit icewm-lite for openSUSE:Factory
Hello community, here is the log from the commit of package icewm-lite for openSUSE:Factory checked in at Fri Mar 19 17:23:17 CET 2010. -------- New Changes file: --- /dev/null 2009-09-30 08:50:26.000000000 +0200 +++ /mounts/work_src_done/STABLE/icewm-lite/icewm-lite.changes 2010-03-19 17:22:54.416574000 +0100 @@ -0,0 +1,361 @@ +------------------------------------------------------------------- +Fri Mar 19 17:22:42 CET 2010 - ro@suse.de + +- submit old version decoupled from icewm + +------------------------------------------------------------------- +Mon Sep 7 16:08:32 CEST 2009 - mmarek@suse.cz + +- icewm-1.2.38pre1-bad-delete.patch: fix for bnc#525804 + +------------------------------------------------------------------- +Wed Apr 29 17:03:41 CEST 2009 - mmarek@suse.cz + +- updated to 1.2.38pre1 + * bugfixes + +------------------------------------------------------------------- +Mon Feb 23 00:16:09 CET 2009 - vuntz@novell.com + +- Add icewm-1.2.36-gnome-compilation.patch to fix build. The patch + should probably be sent upstream. +- Add libgnomeui-devel BuildRequires for the patch. + +------------------------------------------------------------------- +Fri Oct 24 23:29:21 CEST 2008 - mmarek@suse.de + +- updated to 1.2.36 final + * add option TaskBarFullscreenAutoShow (default = 1) + * fixes --with-line build + +------------------------------------------------------------------- +Mon Sep 29 16:08:25 CEST 2008 - mmarek@suse.cz + +- fixed unaligned access in XChangeProperly() + +------------------------------------------------------------------- +Thu Sep 11 12:15:06 CEST 2008 - mmarek@suse.cz + +- updated to 1.2.36pre2 + * add support for sysfs interface (instead of proc) for battery + status (initial code by Santiago Garcia Mantinan) + * bugfixes & translation updates + +------------------------------------------------------------------- +Fri Mar 7 15:34:49 CET 2008 - mmarek@suse.cz + +- re-enable taskbar (icewm-lite will be installed by default, so + let's make it a bit more usable). No clock/cpu/mail/net applet + though. i586 rpm increased by about 12K (bnc#365535) + +------------------------------------------------------------------- +Fri Mar 7 13:36:51 CET 2008 - mmarek@suse.cz + +- don't popup empty window menu + +------------------------------------------------------------------- +Fri Feb 29 11:27:23 CET 2008 - mmarek@suse.cz + +- fixed centering of dialogs (bnc#359529) + +------------------------------------------------------------------- +Fri Feb 1 11:07:31 CET 2008 - mmarek@suse.cz + +- --enable-i18n, to display window titles correctly (size of i586 + rpm increases by only about 2K) (bnc#357240#c11) + +------------------------------------------------------------------- +Tue Jan 29 15:41:57 CET 2008 - mmarek@suse.cz + +- build with --disable-taskbar --disable-winmenu --enable-lite + to save as much space as possible in the inst-sys (bnc#357240) + (this means that if you want a taskbar, you should use the + icewm-default package instead) + +------------------------------------------------------------------- +Tue Jan 29 14:34:44 CET 2008 - mmarek@suse.cz + +- make icewm --config=file work + (override-config.patch) + +------------------------------------------------------------------- +Mon Jan 28 10:23:43 CET 2008 - mmarek@suse.cz + +- updated to 1.2.35 + * Application tray bug fixes + * Add encoding/language to about dialog + * fix gmplayer switching to fullscreen + * popup dialog focus fixes + * fix screen change with xrandr 1.2 + * build fixes (Bert Wesarg) + * fix FocusOnRaise + * tray fixes + * fix taskbar popup in fullscreen mode +- don't install genpref (only needed at build time) +- fixed build for older distributions in X11:windowmanagers +- use %%suse_update_desktop_file + +------------------------------------------------------------------- +Mon Aug 20 18:30:59 CEST 2007 - mmarek@suse.cz + +- reduced BuildRequires + +------------------------------------------------------------------- +Mon Aug 13 11:43:13 CEST 2007 - mmarek@suse.cz + +- updated to 1.2.32 [#299583] + * auto-hide like taskbar activation in full screen mode added + * missing ShowSettingsMenu and ShowFocusModeMenu + settings (Evgenii Terechkov) + * binding to raise window with mouse + (MouseWinRaise=Ctrl+Alt+Mouse1) (Thomas Holder) + * translation updates (cs, ru, zh_CN, zh_TW) + * bugfixes +- link duplicate theme icons + +------------------------------------------------------------------- +Fri Apr 20 16:24:00 CEST 2007 - dmueller@suse.de + +- remove nosource, prevents -debuginfo creation + +------------------------------------------------------------------- +Fri Jan 12 09:35:23 CET 2007 - mmarek@suse.cz + +- fix last change (Start -> Help didn't work) + (icewm-docdir.patch) + +------------------------------------------------------------------- +Thu Jan 11 12:20:35 CET 2007 - mmarek@suse.cz + +- updated to 1.2.30 + + battery status cleanups + + new option BatteryPollingPeriod (default 10 seconds) + + moved Themes selection to Settings menu + + added Settings -> Focus menu (config saved to + ~/.icewm/focus_mode as FocusMode=1,2 or 0) + + new setting MapInactiveOnTop (default 1) + + new setting RequestFocusOnAppRaise (when FocusOnAppRaise=0) + + altgr_binding_support by Jörg Sommer + + Apple PMU support by Jörg Sommer + + start menu pixmap now named: taskbar/start.xpm + + try to mouse focus only when mouse actually moves to another + window + + prevent focusing taskbar with mouse focus + + use locale strings in 'icewm-menu-gnome2' + + also search for .png icons when only basename is specified + (Manuel Carrasco) + + change mouse cursor when dragging the taskbar (Manuel Carrasco) + + icewmtray: catch HUP signal to reload theme and other fixes + (Manuel Carrasco) + + new preferences option: WinMenuItems (default=rmsnxfhualyticw) + (Manuel Carrasco/Marko Macek) + + added 'Look=flat' (oscarello) + + added TaskbarButtonWidthDivisor (lysanderslair) + + bugfixes and translation updates +- spec file cleanup + + reduced buildrequires + + icewm-gnome is only an add-on to icewm-default, one spec file + less + + use /usr/share/doc/packages/icewm (not icewm-%%version) + + fixed default wallpaper location + +------------------------------------------------------------------- +Thu May 18 11:18:12 CEST 2006 - pnemec@suse.cz + +- updated to 1.2.26 + many minor fix + some translation fix + strict-aliasing patch is in upstream now + +------------------------------------------------------------------- +Wed Jan 25 21:36:33 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jan 20 17:16:00 CET 2006 - tiwai@suse.de + +- fixed strict-aliasing patch (#143861) + +------------------------------------------------------------------- +Mon Jan 2 15:09:56 CET 2006 - pnemec@suse.cz + +- fixed wrong name of Norwegian messages +- removed X11R6 prefix + +------------------------------------------------------------------- +Mon Jan 2 09:11:06 CET 2006 - pnemec@suse.cz + +- fixed strict aliasing errors ( -strict-aliasing.patch) + +------------------------------------------------------------------- +Mon May 23 14:04:28 CEST 2005 - ltinkl@suse.cz + +- install the icewm-session binary (#75691) + +------------------------------------------------------------------- +Thu Apr 14 17:17:06 CEST 2005 - sbrabec@suse.cz ++++ 164 more lines (skipped) ++++ between /dev/null ++++ and /mounts/work_src_done/STABLE/icewm-lite/icewm-lite.changes calling whatdependson for head-i586 New: ---- icewm-1.2.30-strict-aliasing.patch icewm-1.2.35-empty-winmenu.patch icewm-1.2.35-override-config.patch icewm-1.2.35-unaligned-access.patch icewm-1.2.36-gnome-compilation.patch icewm-1.2.38pre1-bad-delete.patch icewm-1.2.38pre1.tar.bz2 icewm-LANG.menu.patch icewm-docdir.patch icewm-lite.changes icewm-lite.spec icewm-menu.patch icewm-multiByte.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icewm-lite.spec ++++++ # # spec file for package icewm-lite (Version 1.2.38) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: icewm-lite BuildRequires: freetype2-devel gcc-c++ xorg-x11-devel License: LGPLv2.1+ Group: System/GUI/Other Provides: icewm-bin Requires: icewm Conflicts: icewm-default AutoReqProv: on Version: 1.2.38 Release: 3 %define real_version 1.2.38pre1 Source: icewm-%{real_version}.tar.bz2 Patch0: icewm-LANG.menu.patch Patch1: icewm-multiByte.patch Patch2: icewm-menu.patch Patch3: icewm-docdir.patch Patch4: icewm-1.2.30-strict-aliasing.patch Patch5: icewm-1.2.35-override-config.patch Patch8: icewm-1.2.35-empty-winmenu.patch Patch9: icewm-1.2.35-unaligned-access.patch Patch10: icewm-1.2.36-gnome-compilation.patch Patch11: icewm-1.2.38pre1-bad-delete.patch Url: http://www.icewm.org/ Summary: IceWM Window Manager--Lite Version BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Window manager for the X Window System that can emulate the look of Windows 95, OS/2 Warp 3,4, Motif. It tries to take the best features of the above systems. It features multiple workspaces, opaque move and resize. It is fast and small. The icewm-default package features a taskbar, window list, mailbox status and digital clock in addition to that. Authors: -------- Marko Macek <Marko.Macek@gmx.net> %prep %setup -q -n icewm-%real_version %patch0 -p1 %patch1 %patch2 %patch3 %patch4 %patch5 %patch8 %patch9 %patch10 -p1 %patch11 -p1 %build %{?suse_update_config:%{suse_update_config -f}} autoconf export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" ./configure --without-debug \ --sysconfdir=/etc \ --with-cfgdir=/etc/icewm \ --prefix=/usr \ --with-docdir=%{_docdir} \ --enable-i18n \ --disable-nls \ --disable-guievents \ --with-xpm \ --disable-winmenu \ --enable-lite \ --without-gnome-menus make %{?jobs:-j%jobs} %install mkdir -p $RPM_BUILD_ROOT/usr/bin cd src install icewm icewmhint icewmbg icesh icewm-session $RPM_BUILD_ROOT/usr/bin %clean rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) /usr/bin/icewm /usr/bin/icewmhint /usr/bin/icewmbg /usr/bin/icesh /usr/bin/icewm-session %changelog ++++++ icewm-1.2.30-strict-aliasing.patch ++++++ --- src/wmapp.cc +++ src/wmapp.cc @@ -336,7 +336,7 @@ static void initFontPath() { MSG(("Font path element %d: %s", n, newFontPath[n])); #endif - char * icewmFontPath; // ---------- find death icewm's font path --- + unsigned char * icewmFontPath; // ---------- find death icewm's font path --- Atom r_type; int r_format; unsigned long count, bytes_remain; @@ -346,11 +346,11 @@ static void initFontPath() { 0, PATH_MAX, False, XA_STRING, &r_type, &r_format, &count, &bytes_remain, - (unsigned char **) &icewmFontPath) == + &icewmFontPath) == Success && icewmFontPath) { if (r_type == XA_STRING && r_format == 8) { for (int n(ndirs - 1); n > 0; --n) // ---- remove death paths --- - if (!strcmp(icewmFontPath, newFontPath[n])) { + if (!strcmp((char *) icewmFontPath, newFontPath[n])) { memmove(newFontPath + n, newFontPath + n + 1, (ndirs - n) * sizeof(char *)); --ndirs; ++++++ icewm-1.2.35-empty-winmenu.patch ++++++ Should be fixed in YMenu / YPopupWindow for all menus, but we need it now for the window menu (to disable it in the installation icewm) --- src/wmframe.cc | 2 ++ 1 file changed, 2 insertions(+) Index: src/wmframe.cc =================================================================== --- src/wmframe.cc.orig +++ src/wmframe.cc @@ -2017,6 +2017,8 @@ void YFrameWindow::popupSystemMenu(YWind { if (fPopupActive == 0) { updateMenu(); + if (windowMenu()->itemCount() == 0) + return; if (windowMenu()->popup(owner, forWindow, this, x, y, flags)) fPopupActive = windowMenu(); ++++++ icewm-1.2.35-override-config.patch ++++++ make icewm --config=preferences.xy work, i.e. load /etc/icewm/preferences.xy --- src/wmapp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: src/wmapp.cc =================================================================== --- src/wmapp.cc.orig +++ src/wmapp.cc @@ -1142,7 +1142,7 @@ YWMApp::YWMApp(int *argc, char ***argv, managerWindow = None; #ifndef NO_CONFIGURE - loadConfiguration("preferences"); + loadConfiguration(configFile ? configFile : "preferences"); if (themeName != 0) { MSG(("themeName=%s", themeName)); ++++++ icewm-1.2.35-unaligned-access.patch ++++++ --- src/wmapp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- src/wmapp.cc.orig +++ src/wmapp.cc @@ -218,7 +218,7 @@ static void registerProtocols2(Window xi PropModeReplace, (unsigned char *)win_proto, i); #endif - pid_t pid = getpid(); + XID pid = getpid(); const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"; #ifdef GNOME1_HINTS ++++++ icewm-1.2.36-gnome-compilation.patch ++++++ Index: icewm-1.2.36/configure.in =================================================================== --- icewm-1.2.36.orig/configure.in +++ icewm-1.2.36/configure.in @@ -820,8 +820,8 @@ AC_ARG_ENABLE(menus-gnome2, if test "${PKG_CONFIG}" != ""; then GNOME_VER=2 - GNOME2_CFLAGS=`pkg-config --cflags gnome-desktop-2.0` - GNOME2_LIBS=`pkg-config --libs gnome-desktop-2.0` + GNOME2_CFLAGS=`pkg-config --cflags gnome-desktop-2.0 libgnomeui-2.0` + GNOME2_LIBS=`pkg-config --libs gnome-desktop-2.0 libgnomeui-2.0` AC_DEFINE(CONFIG_GNOME_MENUS, 1, [Define to make IceWM more GNOME-friendly]) ++++++ icewm-1.2.38pre1-bad-delete.patch ++++++ --- src/wmprog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- icewm-1.2.38pre1.orig/src/wmprog.cc +++ icewm-1.2.38pre1/src/wmprog.cc @@ -58,7 +58,7 @@ DFile::DFile(const char *name, YIcon *ic } DFile::~DFile() { - delete[] fPath; + free(fPath); } void DFile::open() { ++++++ icewm-LANG.menu.patch ++++++ --- icewm-orig/src/yapp.cc 2004-05-23 08:18:19.000000000 +0200 +++ icewm-1.2.14/src/yapp.cc 2004-08-05 13:56:31.000000000 +0200 @@ -61,23 +61,68 @@ return findConfigFile(name, R_OK); } +static char *access_ok(char *name, int n_locale_suffixes, char **locale_suffixes, int mode) +{ + int i; + char *p; + for(i=0; i<n_locale_suffixes-1; i++) { + p = strJoin(name, ".", locale_suffixes[i], NULL); + if (access(p, mode) == 0) { + delete name; + return p; + } + delete p; + } + if (access(name, mode) == 0) return name; + delete name; + return 0; +} + +#include <locale.h> +#include <string.h> + char *YApplication::findConfigFile(const char *name, int mode) { char *p; + static char *locale_suffixes[3]; + static int n_locale_suffixes = -1; + static char *locale; + if (n_locale_suffixes < 0) { + locale = setlocale(LC_MESSAGES, NULL); + n_locale_suffixes = 0; + if (strcmp(locale, "C") && strcmp(locale, "POSIX")) { + locale = strdup(locale); + p = strchr(locale, '@'); + if (p) { + *p = 0; + } + p = strchr (locale, '.'); + if (p) { + locale_suffixes[n_locale_suffixes++] = strdup(locale); + *p = 0; + } + p = strchr(locale, '_'); + if (p) { + locale_suffixes[n_locale_suffixes++] = strdup(locale); + *p = 0; + } + locale_suffixes[n_locale_suffixes++] = strdup(locale); + } + } if (name[0] == '/') return newstr(name); p = strJoin(getPrivConfDir(), "/", name, NULL); - if (access(p, mode) == 0) return p; - delete[] p; + p = access_ok(p, n_locale_suffixes, locale_suffixes, mode); + if (p) return p; p = strJoin(configDir, "/", name, NULL); - if (access(p, mode) == 0) return p; - delete[] p; + p = access_ok(p, n_locale_suffixes, locale_suffixes, mode); + if (p) return p; p = strJoin(REDIR_ROOT(libDir), "/", name, NULL); - if (access(p, mode) == 0) return p; - delete[] p; + p = access_ok(p, n_locale_suffixes, locale_suffixes, mode); + if (p) return p; return 0; } ++++++ icewm-docdir.patch ++++++ Index: Makefile.in =================================================================== --- Makefile.in.orig +++ Makefile.in @@ -121,12 +121,12 @@ install-base: base install-docs: docs @echo ------------------------------------------ - @rm -fr "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" - @$(INSTALLDIR) "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" + @rm -fr "$(DESTDIR)$(DOCDIR)/icewm" + @$(INSTALLDIR) "$(DESTDIR)$(DOCDIR)/icewm" @echo "Installing documentation in $(DESTDIR)$(DOCDIR)" - @$(INSTALLLIB) $(DOCFILES) "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" - @$(INSTALLLIB) "$(top_srcdir)/doc/"*.sgml "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" - @$(INSTALLLIB) "$(top_srcdir)/doc/"*.html "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" + @$(INSTALLLIB) $(DOCFILES) "$(DESTDIR)$(DOCDIR)/icewm" + @$(INSTALLLIB) "$(top_srcdir)/doc/"*.sgml "$(DESTDIR)$(DOCDIR)/icewm" + @$(INSTALLLIB) "$(top_srcdir)/doc/"*.html "$(DESTDIR)$(DOCDIR)/icewm" @echo ------------------------------------------ install-nls: nls Index: src/Makefile.in =================================================================== --- src/Makefile.in.orig +++ src/Makefile.in @@ -33,7 +33,7 @@ DEFS = @DEFS@ \ -DICEWMBGEXE='"icewmbg$(EXEEXT)"' \ -DICESMEXE='"icewm-session$(EXEEXT)"' \ -DICEHELPEXE='"icehelp$(EXEEXT)"' \ - -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/icewm.html"' + -DICEHELPIDX='"$(DOCDIR)/icewm/icewm.html"' CXXFLAGS = @CXXFLAGS@ $(DEBUG) $(DEFS) \ @CORE_CFLAGS@ @IMAGE_CFLAGS@ @AUDIO_CFLAGS@ # `fc-config --cflags` ++++++ icewm-menu.patch ++++++ --- lib/menu.in 2003-09-27 09:54:45.000000000 +0200 +++ lib/menu.in 2004-03-11 22:59:14.000000000 +0100 @@ -5,6 +5,8 @@ # (re)install icewm. # prog xterm xterm xterm +prog mlterm xterm mlterm +prog xiterm xterm xiterm prog rxvt xterm rxvt -bg black -cr green -fg white -C -fn 9x15 -sl 500 prog fte fte fte prog NEdit nedit nedit @@ -12,8 +14,4 @@ prog XChat xchat xchat prog Gimp gimp gimp separator -menuprog Gnome folder icewm-menu-gnome1 --list @CONFIG_GNOME1_MENU_DIR@ -menuprog Gnome folder icewm-menu-gnome2 --list @CONFIG_GNOME2_MENU_DIR@ -menuprog KDE folder icewm-menu-gnome@GNOME_VER@ --list @CONFIG_KDE_MENU_DIR@ -menufile Programs folder programs -menufile Tool_bar folder toolbar +menuprog SUSE folder xdg_menu --format icewm ++++++ icewm-multiByte.patch ++++++ Index: src/ylocale.cc =================================================================== --- src/ylocale.cc.orig +++ src/ylocale.cc @@ -47,8 +47,7 @@ YLocale::YLocale(char const * localeName "Falling back to 'C' locale'.")); fLocaleName = setlocale(LC_ALL, "C"); } -/// TODO #warning "should always use multibyte/fontset if I18N" - multiByte = (MB_CUR_MAX > 1); + multiByte = true; char const * codeset = NULL; int const codesetItems[] = { CONFIG_NL_CODESETS }; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de