Scrotwm is a small dynamic tiling window manager for X11. It tries to stay out of the way so that valuable screen real estate can be used for much more important stuff. It has sane defaults and does not require one to learn a language to do any configuration. It was written by hackers for hackers and it strives to be small, compact and fast. The ebuild comes along with some patches to make it compile right on Linux. Patches are from the GNU/Linux Debian mantainer. Just unpack it into your local portage overlay, inside x11-wm (create it if you don't have one) Reproducible: Always Steps to Reproduce: 1. download scrotwm ebuild 2. emerge it 3. use it 4. ??? 5. PROFIT! This is my very first ebuild for Gentoo Linux, I hope that everything will work fine.
Created attachment 203634 [details] Ebuild
Created attachment 203636 [details, diff] Patch #1
Created attachment 203637 [details, diff] Patch #2
Created attachment 203639 [details, diff] Patch #3
Created attachment 203640 [details, diff] Patch #4
Created attachment 203947 [details, diff] Patch to use XFT instead of the X Core Fonts (written by me, has to be tested)
Created attachment 203948 [details, diff] Patch for the Makefile to compile using XFT (has to be tested, too..)
Created attachment 203950 [details, diff] The scrotwm slightly modified to use XFT (the original one won't work)
Created attachment 203952 [details, diff] The new Ebuild with the useflag xft available
Created attachment 204100 [details] Ebuild for scrotwm-0.9.6 (released 13/09)
Created attachment 204102 [details, diff] Patch #1 for scrotwm-0.9.6
Created attachment 204103 [details, diff] Patch #2 for scrotwm-0.9.6
Created attachment 204105 [details] Patch #3 for scrotwm-0.9.6
Created attachment 204107 [details, diff] Patch #4 for scrotwm-0.9.6
Thanks for the ebuilds and patches. I just switched from xmonad, and I'm really loving scrotwm. I just had two questions: Why are you installing it into /usr/local? Isn't that just for things not installed by portage? Have you considered submitting your xft patches upstream? I'm in the process of bumping the patches to 0.9.10, but I'll let you post your versions here, since you seem to be very familar with the code.
Created attachment 206282 [details] Ebuild for scrotwm-0.9.10
Created attachment 206283 [details, diff] refreshed and corrected xft patch for scrotwm 0.9.10 Do not use old patches, they're broken since they've made a lot of changes. Use this, instead!
(In reply to comment #15) > Thanks for the ebuilds and patches. I just switched from xmonad, and I'm > really loving scrotwm. > > I just had two questions: > Why are you installing it into /usr/local? Isn't that just for things not > installed by portage? Well, not really.. I'm used to install all of the stuff I compile by hand in /usr/local. There isn't really a guideline for this, AFAIK.. btw, the new scrotwm's makefile (they finally fixed it :D) install it in /usr/local by default ;) > Have you considered submitting your xft patches upstream? Yep, I've proposed them and they'll be soon in upstream, I just have to find the time to make the modify the man page too :D > I'm in the process of bumping the patches to 0.9.10, but I'll let you post your > versions here, since you seem to be very familar with the code. Done ;)
I'm having some problems with permissions with the new makefile. First, it can't create /usr/local/share/man/man1: >>> Starting src_install make -j3 install install -m 755 -d /usr/local/bin install -m 755 -d /usr/local/lib install -m 755 -d /usr/local/share/man/man1 ACCESS DENIED mkdir: /usr/local/share/man/man1 install: cannot change permissions of `/usr/local/share/man/man1': No such file or directory If I manually create the "man1" directory, it then fails on: >>> Starting src_install make -j3 install install -m 755 -d /usr/local/bin install -m 755 -d /usr/local/lib install -m 755 -d /usr/local/share/man/man1 install -m 755 scrotwm /usr/local/bin ACCESS DENIED open_wr: /usr/local/bin/scrotwm install: cannot create regular file `/usr/local/bin/scrotwm': Permission denied I'm not really sure how to fix this..
(In reply to comment #19) Well, I don't think is a bug from the Makefile, I'm almost sure that I've done something wrong in the ebuild, and I'll fix it as soon as possible. For now, I successfully installed it, I think that it might be something related with the sandbox feature of portage. Try emerging it issuing the following command: FEATURES="-sandbox" emerge -v scrotwm I know isn't really the best solution around, but for now it will do its work ;)
Created attachment 206319 [details] Fixed ebuild for 0.9.10 This should install correctly!
(In reply to comment #21) > Created an attachment (id=206319) [details] > Fixed ebuild for 0.9.10 > > This should install correctly! > Yep, that did the trick! :) Minor thing, but you can probably add ~amd64 since it works here. Also, I noticed that scrotwm's makefile compiles it with the ggdb cflag. I'm not really sure, but aren't debugging flags usually removed in ebuilds?
Created attachment 206408 [details] Added ~amd64 keyword Thank you for testing, Eric, now we're sure that it doesn't have problems on amd64 ;)
Created attachment 206410 [details, diff] This patches also the man file (only the english one, since I don't know Spanish) Not a very big update, but I find that this could be useful..
Created attachment 206518 [details] Ebuild for scrotwm-0.9.11 No big changes between the 0.9.10, except they've added the italian man page and fixed some minor bugs.
Created attachment 206520 [details, diff] Use this patch only with >= scrotwm-0.9.11 Substantially the same patch, this patches the italian man page too (still, no changes to the spanish one since I don't know spanish)
Created attachment 206731 [details] Ebuild for scrotwm-0.9.12 It works well with the attached use-xft.diff patch.
Created attachment 206967 [details] Ebuild for scrotwm-0.9.13
Created attachment 206969 [details] Ebuild for scrotwm-0.9.14
Created attachment 206970 [details, diff] Patch for scrotwm 0.9.14, it won't compile without this one.
Created attachment 206974 [details, diff] Patch for scrotwm 0.9.14, it won't compile without this one. Corrected the patch.
Created attachment 207019 [details] THE release. This release is almost perfect. The only patch needed is the one for Xft. Seems like they solved lot of troubles that previous releases had. I strongly advice to use this one instead of all the > 0.9.7. This and the 0.9.6 are perfect.
Created attachment 210444 [details] Ebuild for scrotwm-0.9.19
Created attachment 224619 [details] scrotwm-0.9.22.ebuild Improved ebuild for the 0.9.22 version with the following changes compared to the latest one provided in the bug: - Simplify HOMEPAGE (prevents repoman from complaining). - Fix dependencies (x11-proto/xproto is only needed at build-time, and add x11-misc/dmenu to the list of reverse run-time dependencies). - Set the S variable accordingly, ergo avoiding changing directories. - Do not compile with an enhanced symbol table by default. - Add the ELF SONAME tag to the library (prevents portage from complaining). - Define the CC variable for cross-compiling. - Make the ebuild install the library to the correct location (prevents portage from complaining with FEATURES="multilib-strict"). - Install the files manually for now (under /usr). There's still work to be done, though. Namely, I didn't add the XFT patch since it probably would need Makefile, and C pre-processor conditionals while it's not merged upstream to prevent linking, and using XFT features with USE="-xft" (which would be a USE default), therefore making both the ebuild, and the source unnecessarely messy. Additionally, the ebuild could install the remaining man pages by taking advantage of EAPI="2". However, it seems the files need to be named foo.lang.1. Unfortunately, I don't have much time for this right now, and I'd rather see this fixed before committing it to the tree. Massimo, could you please send the SONAME "fix" upstream, as well? Thanks for contributing!
Created attachment 224639 [details] x11-wm/scrotwm-0.9.22.ebuild an improved ebuild that *really* take advantage of EAPI2 and handles emake calls correcly
Created attachment 224641 [details, diff] scrotwm-0.9.22-makefile.patch patch that fixes QA Notices and removes useless hardcoded compiler flags
Created attachment 224651 [details] x11-wm/scrotwm-0.9.22.ebuild I have accidentally removed an eclass from inherit, now restored.
Created attachment 224655 [details] x11-wm/scrotwm-0.9.22.ebuild sorry for the noise, the previous attachment was a wrong file
Created attachment 253387 [details] scrotwm-0.9.27.ebuild An unpdated ebuild
Please ping me on irc or bugzie, if i miss any new release. Thanks +*scrotwm-0.9.28 (11 Jun 2011) + + 11 Jun 2011; Michael Weber <xmw@gentoo.org> +scrotwm-0.9.28.ebuild, + +files/scrotwm-0.9.28-makefile.patch, +metadata.xml: + Initial import, thanks to Massimo Gengarelli, Nikolay Ostanen and Toffanin + for the initial ebuilds (bug 284350)