Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253 - blackbox-0.62.1 (new package)
Summary: blackbox-0.62.1 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Leo Lipelis (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2002-01-20 21:21 UTC by Matthew Jimenez
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
x11-wm/blackbox-0.62.0.ebuild (blackbox-0.62.0.ebuild,1.93 KB, text/plain)
2002-01-20 21:24 UTC, Matthew Jimenez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Jimenez 2002-01-20 21:21:53 UTC
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
Comment 1 Matthew Jimenez 2002-01-20 21:24:03 UTC
Created attachment 71 [details]
x11-wm/blackbox-0.62.0.ebuild
Comment 2 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-23 17:54:05 UTC
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.
Comment 3 Matthew Jimenez 2002-01-23 20:51:08 UTC
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. 
Comment 4 Matthew Jimenez 2002-01-23 21:12:36 UTC
hmmm... can't upload the attachment. Tried other browsers too. well. crap.
Comment 5 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-24 03:16:53 UTC
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)
Comment 6 Matthew Jimenez 2002-01-25 17:40:35 UTC
# 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
}
Comment 7 Matthew Jimenez 2002-01-25 17:41:53 UTC
OK, sorry for the delay (damn Cox@home), but the ebuild is now in a comment. 
hope it finds you well. 
Comment 8 Matthew Jimenez 2002-01-30 17:06:27 UTC
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.
Comment 9 Matthew Jimenez 2002-01-30 17:38:34 UTC
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.
Comment 10 Bruce A. Locke (RETIRED) gentoo-dev 2002-02-01 20:37:39 UTC
Why was I assigned this bug?  I am not on the desktop team and I don't use
blackbox at all...
Comment 11 Daniel Robbins (RETIRED) gentoo-dev 2002-02-01 21:49:56 UTC
blocke: I thought you'd be willing to help out.  I'll assign it to aeoo.
Comment 12 Leo Lipelis (RETIRED) gentoo-dev 2002-02-02 05:54:39 UTC
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.
Comment 13 Leo Lipelis (RETIRED) gentoo-dev 2002-02-02 13:34:26 UTC
I think blackbox is ok.  I've unmasked it.