blackbox has new (and possibly self-appointed) maintainers, they released a new version. I've decided to modify the old blackbox-0.61.1-r1 ebuild to make one that will work for blackbox-0.62.0 and will change some things so your old blackbox configuration files will need no editing. I've tested this ebuild several times, I believe it should be sufficent for a first release, and I have attached it to this report. I left the header for it blank, so the whole copyright and author thing still needs to be put in, I've leave that to you. Thank for your time. Matthew Jimenez
Created attachment 71 [details] x11-wm/blackbox-0.62.0.ebuild
A couple of issues: 1) The header should be added back 2) Use make (not emake) for make install 3) don't copy anything to /var/tmp/portage/${P} since it might not exist. 4) the BlackBox -> blackbox stuff can be removed imho, we can add a note in postinst telling users to update there .blackboxrc. We are not gold yet and we want a clean installation for 1.0 without lots of old stuff lying around.
I applied the changes you suggested, except I'm still not sure about that header, but it is there anyways. I think that the symbolic link was a dirty fix to the problem. Most gentoo users *should* be able to find the problems and fix them easily. As for the menu file being copied, after I re-read part of the blackbox manual, I found that they strongly advise against editing it, and instead ask users to make their own since each install overwrites it. So I decided that too must be up to the user to worry about.
hmmm... can't upload the attachment. Tried other browsers too. well. crap.
there seems to be some bug in the bugzilla. Either add it as a comment or put it online and add a link to it. You can also email it to me (hallski@gentoo.org)
# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Ben Lutgens <lamer@gentoo.org> Modified by Matthew Jimenez # $HEADER S=${WORKDIR}/${P} DESCRIPTION="A Small fast full featured window manager for X" SRC_URI="http://prdownloads.sourceforge.net/blackboxwm/${P}.tar.gz" HOMEPAGE="http://blackbox.alug.org/" # HOMEPAGE="http://blackboxwm.sourceforge.net/"#This is the new home page for #blackbox now that Sean Perry #has taken the project over, #but the page is currently #non-existant DEPEND=">=x11-base/xfree-4.0" src_compile() { ./configure --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc/X11/blackbox emake || die } src_install () { make prefix=${D}/usr \ sysconfdir=${D}/etc/X11/blackbox \ install || die dodoc ChangeLog* AUTHORS LICENSE README* TODO* } pkg_postinst() { #notify user about the new share dir if [ -d /usr/share/Blackbox ] then echo echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" echo "! Blackbox no longer uses /usr/share/Blackbox as the !" echo "! default share directory to contain styles and menus. !" echo "! The default directory is now /usr/share/blackbox !" echo "! Please move any files in /usr/share/Blackbox that you !" echo "! wish to keep (personal styles and your menu) into the !" echo "! new directory and modify your menu files to point all !" echo "! listed paths to the new directory. !" echo "! Also, be sure to update the paths in each user's !" echo "! .blackboxrc file found in their home directory. !" echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" echo fi }
OK, sorry for the delay (damn Cox@home), but the ebuild is now in a comment. hope it finds you well.
yet another version of blackbox was released, but I doubt any changes were made that really require any changes to the ebuild aside from the SRC_URI and the name... and it was a very small upgrade. I suppose I'll make the required changes.
Well, It appears that everything works the sam as before, so I changed the package to blackbox-0.62.1, if bugzilla lets me, I'll attach the ebuild.
Why was I assigned this bug? I am not on the desktop team and I don't use blackbox at all...
blocke: I thought you'd be willing to help out. I'll assign it to aeoo.
Thanks Matthew! New blackbox ebuild has entered testing. If everything is peachy, I or anyone else can unmask it. I'm going to keep this bug open until I confirm that it works OK.
I think blackbox is ok. I've unmasked it.