x11-wm/sawfish-1.7.0 version bump Reproducible: Always
Hi. Let me send ebuilds for x11-wm/sawfish and its backend dev-libs/rep-gtk. And please bump x11-libs/rep-gtk to 0.90.4. Renaming the last ebuild in the portage tree suffices. The attached version of Sawfish is 1.7.0.1, which fixes a new bug in 1.7.0. Changes in sawfish-1.7.0.1.ebuild from the latest in portage tree: Updated dependency. Dropped a bugfix patch which was necessary for 1.6.3. Minor fix in dodoc, by dropping "DOC" file which is used by Sawfish, and not human readable. Changes in librep-0.91.0 from the latest in portage tree: Added one new USE flag, gmp. Dodoc files are updated. Homepage update. Added elog, saying : elog "If you have updated from librep < 0.91.0, then you have to" elog "rebuild x11-libs/rep-gtk and x11-wm/sawfish, in this order." (I understand tab should be used, instead of spaces. :) In sawfish's ebuild, there remains snapshot building support, but I think it can be deleted. In 2003 - 2008 Sawfish development was stale, and gentoo made CVS snapshot ebuilds. But now releases are made regularly. Thanks beforehand.
Created attachment 255549 [details] sawfish-1.7.0.1.ebuild sawfish-1.7.0.1.ebuild
Created attachment 255551 [details] librep-0.91.0.ebuild
Created attachment 260642 [details] sawfish-1.7.1.ebuild with emacs support. This new ebuild supports emacs; sawfish.el is included in Sawfish >= 1.7.0. I named the attachment as sawfish-1.7.0.1.ebuild, but in fact it can be used for any of 1.7.0, 1.7.0.1, and 1.7.1.
Created attachment 260644 [details] 50sawfish-gentoo.el Emacs site-lisp file. Put it under x11-wm/sawfish/files.
>>> Downloading 'http://download.tuxfamily.org/sawfish/sawfish/sawfish-1.7.1.tar.bz2' --2011-05-18 22:47:05-- http://download.tuxfamily.org/sawfish/sawfish/sawfish-1.7.1.tar.bz2 Resolving download.tuxfamily.org (download.tuxfamily.org)... 212.85.158.13 Connecting to download.tuxfamily.org (download.tuxfamily.org)|212.85.158.13|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-05-18 22:47:05 ERROR 404: Not Found. >>> Downloading 'http://download.tuxfamily.org/sawfish/librep/librep-0.91.0.tar.bz2' --2011-05-18 22:48:48-- http://download.tuxfamily.org/sawfish/librep/librep-0.91.0.tar.bz2 Resolving download.tuxfamily.org (download.tuxfamily.org)... 212.85.158.13 Connecting to download.tuxfamily.org (download.tuxfamily.org)|212.85.158.13|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2011-05-18 22:48:48 ERROR 404: Not Found. !!! Couldn't download 'librep-0.91.0.tar.bz2'. Aborting. !!! Fetch failed for librep-0.91.0.tar.bz2, can't update Manifest see also #367623
(In reply to comment #6) > .... Here you can check the current dowload source(s): http://sawfish.wikia.com/wiki/Download Check SRC_URI in the ebuilds. Or you can try my git ebuilds: http://mitglied.lycos.de/fuchur2004/gentoo-sawfish-git-ebuilds.tar.bz2
Created attachment 280909 [details] librep-0.92.0.ebuild
Created attachment 280911 [details] rep-gtk-0.90.6.ebuild
Created attachment 280913 [details] sawfish-1.8.1.ebuild
Created attachment 280915 [details, diff] librep-0.92.0-disable-elisp.patch These are the updated ebuilds, but I couldn't bump it in the tree as sawfish-1.8.x has stopped to start from gdm neither running "sawfish --replace" from a gnome session, it exits with: "You may only run one window manager" This problem needs to be solved first
(In reply to comment #11) > Created attachment 280915 [details, diff] > librep-0.92.0-disable-elisp.patch > > These are the updated ebuilds, but I couldn't bump it in the tree as > sawfish-1.8.x has stopped to start from gdm neither running "sawfish --replace" > from a gnome session, it exits with: > > "You may only run one window manager" > > This problem needs to be solved first If anyone knows how could this be solved it would be nice since I cannot find how to fix this problem and, if it's not fixed, I cannot bump it :-(
(In reply to comment #12) > (In reply to comment #11) > > Created attachment 280915 [details, diff] > > librep-0.92.0-disable-elisp.patch > > > > These are the updated ebuilds, but I couldn't bump it in the tree as > > sawfish-1.8.x has stopped to start from gdm neither running "sawfish --replace" > > from a gnome session, it exits with: > > > > "You may only run one window manager" > > > > This problem needs to be solved first > > If anyone knows how could this be solved it would be nice since I cannot find > how to fix this problem and, if it's not fixed, I cannot bump it :-( Sawfish --replace works here, I run: "metacity --replace" and then "sawfish --replace" without problems But you can set with gconf-editor the default windowmanager for gnome. Open gconf-editor go to "/desktop/gnome/session/required_components/windowmanager" and replace by windowmanager metacity with sawfish. If you restart the gnome-session sawfish and not metacity will run in gnome.
Don't understand why it doesn't work for me :-( Does it work when login in sawfish directly after selecting it in sessions menu from gdm?
(In reply to comment #14) > Don't understand why it doesn't work for me :-( > > Does it work when login in sawfish directly after selecting it in sessions menu > from gdm? Yes. I can run sawfish direkt from gdm as windowmanager. Have you add a other windowmanager or script in ~/.xinitrc or in gnome-session-properties that run by login"? I also don't understand that, it's not a know bug.
Created attachment 281337 [details, diff] librep-0.92.0-disable-elisp.patch
It still fails for me even on a new created user account In /desktop/gnome/session/required_components/windowmanager I am using "gnome-wm" that shouldn't cause problems as it doesn't cause problems for icewm, openbox and sawfish-1.6.3 When running from a failsafe console, I have seen I can make it start if simply running "sawfish", but it fails when running "/etc/X11/gdm/Xsession sawfish"
(In reply to comment #17) > > When running from a failsafe console, I have seen I can make it start if simply > running "sawfish", but it fails when running "/etc/X11/gdm/Xsession sawfish" Move ~/.sawfish and try again so that sawfish start without any custom scipts/lips and defaut settings. If sawfish then not work i have no idea.
I tried it at first time without success :(
(In reply to comment #19) > I tried it at first time without success :( I have the same issue with 1.6.3 (on GNOME3) as a new user too..
Would be nice if you could contact upstream in their mailing list or IRC channel, I tried to ask on IRC at end July and didn't get any reply... maybe you are luckier (I will be devaway again for the first week of September and probably around third week also :S and, then, won't have time for this)
(In reply to comment #21) > Would be nice if you could contact upstream in their mailing list or IRC > channel, I tried to ask on IRC at end July and didn't get any reply... maybe > you are luckier (I will be devaway again for the first week of September and > probably around third week also :S and, then, won't have time for this) I have open a thread on the sawfish-mailinglist for some time but nobody can reproduces this. You can read it here: http://www.mail-archive.com/sawfish@lists.tuxfamily.org/msg00094.html
Have you tried using my ebuilds attached to this bug report? Or are you using some different ones?
(In reply to comment #23) > Have you tried using my ebuilds attached to this bug report? Or are you using > some different ones? I have test it with my ebuilds from comment 7.
Try then with my ebuilds (in non-obsolete attachments shown above in this report) as maybe they are missing anything :-/
Created attachment 284911 [details] librep-0.92.0-r1.ebuild
Created attachment 284913 [details, diff] librep-0.92.0-disable-elisp.patch
Created attachment 284915 [details] rep-gtk-0.90.6-r1.ebuild
Created attachment 284917 [details] sawfish-1.8.1-r1.ebuild
Created attachment 284919 [details] 50sawfish-gentoo.el
Created attachment 284921 [details] x11-misc/sawfish-pager-0.90.2-r1.ebuild
(In reply to comment #25) > Try then with my ebuilds (in non-obsolete attachments shown above in this > report) as maybe they are missing anything :-/ I have add a set of ebuilds and a patch. I also add a emacs file and you can set the emacs use-flag in sawfish, it makes "app-emacs/sawfish" obsolete.
(In reply to comment #32) > I have add a set of ebuilds and a patch. I also add a emacs file and you can > set the emacs use-flag in sawfish, it makes "app-emacs/sawfish" obsolete. Only tested on x86.
Regarding emacs stuff, why do you prefer to merge it into the same sawfish.ebuild? Looking to app-emacs category seems that the way to go is current one (a different ebuild for emacs stuff). It would also reduce changes over current ebuilds...
(In reply to comment #35) > Regarding emacs stuff, why do you prefer to merge it into the same > sawfish.ebuild? Looking to app-emacs category seems that the way to go is > current one (a different ebuild for emacs stuff). It would also reduce changes > over current ebuilds... A updated emacs file is in the sawfish sources. You only have the "SITEFILE" in the ebuild and it is not a emacs app. If you want to run/support sawish code in emacs you need the useflag emacs. Look at other ebuild with emacs flag like app-text/a2ps dev-scheme/guile dev-vcs/git etc. and you understand how it work. I not sure, but i think i'am not wrong with my ebuild here.
Yep, since Sawfish-1.7.0, sawfish.el, the emacs major-mode for Sawfish, is included in the Sawfish itself, and it has many updates. See for example: http://sawfish.wikia.com/wiki/2010_10_02:_sawfish_1.7.0_released and search for "emacs" inside that page. And examples like git are correct, aren't they? With best regards.
(In reply to comment #11 and related ) > Created attachment 280915 [details, diff] > librep-0.92.0-disable-elisp.patch > > These are the updated ebuilds, but I couldn't bump it in the tree as > sawfish-1.8.x has stopped to start from gdm neither running "sawfish --replace" > from a gnome session, it exits with: > > "You may only run one window manager" > > This problem needs to be solved first Maybe the issue for that weired message has to do with optimization. I just switched from sawfish-1.6.3 to your new ebuilds including sawfish-1.8.1-r1, and hit the same problem. (Not exactly the same setup, though, because I first tried the new sawfish from within my chrooted test environment, running Xephyr inside the "real" X. However, I got the same message.) Recompiling with optimization flags -O? removed resolved the bug for me. Can you please try this out? Attached below an ebuild patch, using 'flag-o-matic' to remove -O? from CFLAGS. Regards.
Created attachment 285295 [details, diff] filter optimization -O? from CFLAGS
(In reply to comment #39) > Created attachment 285295 [details, diff] > filter optimization -O? from CFLAGS With your patch we have 2x inherit in the ebuild! On my x86 system i don't have this problems. What for "CFLAGS" do you use, do you use recommended settings?
(In reply to comment #40) > (In reply to comment #39) > > Created attachment 285295 [details, diff] > > filter optimization -O? from CFLAGS > > With your patch we have 2x inherit in the ebuild! > > On my x86 system i don't have this problems. What for "CFLAGS" do you use, do > you use recommended settings? You are of course right with the double 'inherit', although it is new to me that this is not ok. I'm not an ebuild expert, however. The 1st time I used the vanilla CFLAGS for my machine, as they are set in 'make.conf' during inital install, CFLAGS="-march=athlon64 -O2 -pipe" however, when I run into the bug I decided to takle the problem, set CFLAGS="-g" and RESTRICT=strip in an temporary ebuild, and prepared myself to use gdb with sawfish. But then the bug disapeard ... Maybe I give it a try by just adding "-g" to CFLAGS, however, since I think debugging X11 problems is rather difficult, I don't know yet. Without -O2 it just works for me, and IMO optimization is not a big issue with sawfish, since I think that most time is spend in its lisp code anyway.
I have looked into that problem with gdb, and send a bug report + fix to the mailing list on sawfish@lists.tuxfamily.org (Indeed wether using `-O2' or not has changed things). It got an response from one of the developers, that he has accepted it and made a commit (`3df9fa36e731f941aa1f83b1fa38a4b18489aed8', "Fix a bug in manager selection handling.") It is not yet in the "offical" tree at http://git.tuxfamily.org/sawfish/main.git, though. The small changes to are attached as `sawfish-icccm-selection.patch', and the new `epatch' line in the ebuild as `sawfish-icccm-selection-ebuild.patch'. I works for me (_with_ default compiler settings), and if that works for you, sawfish could be bumped in gentoo. Or not?
Created attachment 285905 [details, diff] icccm selection bugfix, diff of 1.8.1 to developers git tree
Created attachment 285907 [details, diff] adding `epatch' line in ebuild
Created attachment 286139 [details] x11-wm/sawfish-1.8.2 version bump
+*sawfish-1.8.2 (12 Sep 2011) + + 12 Sep 2011; Pacho Ramos <pacho@gentoo.org> +sawfish-1.8.2.ebuild: + Version bump, drop .la files. +