Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47447 - bluefish-0.13 (version bump)
Summary: bluefish-0.13 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-10 11:31 UTC by Alexander Minges
Modified: 2004-12-18 10:12 UTC (History)
7 users (show)

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


Attachments
bluefish-0.13.ebuild (bluefish-0.13.ebuild,1.67 KB, text/plain)
2004-04-10 11:32 UTC, Alexander Minges
Details
New ebuild. (bluefish-0.13.ebuild,1.15 KB, text/plain)
2004-04-15 03:08 UTC, Jan Klesnil
Details
Patch - fixes directory creating in DESTDIR (bluefish-destdir.patch,1.67 KB, patch)
2004-04-15 03:10 UTC, Jan Klesnil
Details | Diff
Updated patch for bluefish-0.13 DESTDIR build problems (bluefish-0.13-make-destdir.patch,1.83 KB, patch)
2004-04-26 19:01 UTC, Mike Auty (RETIRED)
Details | Diff
bluefish-0.13-r1.ebuild - einstall problem fixed (bluefish-0.13-r1.ebuild,1.05 KB, text/plain)
2004-05-25 12:03 UTC, Mike Auty (RETIRED)
Details
/bluefish-0.13.ebuild (bluefish-0.13.ebuild,1.09 KB, text/plain)
2004-07-25 03:59 UTC, Andreas Kotowicz
Details
changes global install dirs to portage install image dirs (bluefish-make-destdir.patch,1.98 KB, patch)
2004-09-02 06:43 UTC, Matthias Dahl
Details | Diff
changes global install dirs to portage install image dirs (bluefish-make-destdir.patch,2.00 KB, patch)
2004-09-02 06:51 UTC, Matthias Dahl
Details | Diff
fixes bluefish-0.13 ebuild to use make install instead of einstall (bluefish-0.13-ebuild-patch.txt,265 bytes, patch)
2004-12-18 10:12 UTC, Matthias Dahl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Minges 2004-04-10 11:31:42 UTC
Version bump to 0.13
Renaming the old ebuild to bluefish-0.13.ebuild works fine.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alexander Minges 2004-04-10 11:32:41 UTC
Created attachment 29039 [details]
bluefish-0.13.ebuild
Comment 2 Yi Quang (RETIRED) gentoo-dev 2004-04-10 14:42:30 UTC
There is no need to include a .ebuild if a bump is all that is required.  
Comment 3 Jan Klesnil 2004-04-15 03:07:03 UTC
Renaming bluefish-0.12.ebuild to bluefish-0.13.ebuild doesn't work for me!

Installation fails with ACCESS DENIED for some files. I made new ebuild and one patch.

New ebuild is little simplified, because of the patch and also bluefish developers fixed creation of bluefish.desktop file.

The patch is not gentoo specific and I'm going to mail it to bluefish team.
Comment 4 Jan Klesnil 2004-04-15 03:08:58 UTC
Created attachment 29324 [details]
New ebuild.
Comment 5 Jan Klesnil 2004-04-15 03:10:49 UTC
Created attachment 29325 [details, diff]
Patch - fixes directory creating in DESTDIR
Comment 6 Mike Auty (RETIRED) gentoo-dev 2004-04-26 19:01:39 UTC
Created attachment 30122 [details, diff]
Updated patch for bluefish-0.13 DESTDIR build problems

Jan,

I was looking through your patch and whilst the new ebuild all looks good (well
done by the way, it really looks a lot simpler), I noticed that your patch does
not fix the underlying problem with their Makefiles, but only fixes it such
that it will install under gentoo.

The actual problem is that they check for the existance of $(blah), for
example, but then attempt to install the file into $(DESTDIR)$(blah).  Your
patch creates $(DESTDIR)$(blah) if it does not exist which will work, but
presumably a better patch is to alter the test to check whether the correct
directory exists?

I've attached another candidate patch but haven't submitted this to the end
developers (just in case I'm wrong)...	5:)
Comment 7 dominik.thiel 2004-05-25 09:30:10 UTC
Mike: Using your ebuild and patch, bluefish-0.13 is _merged_ to $(PORTAGE_TMPDIR)/bluefish-0.13/image/usr/[...]
Comment 8 Mike Auty (RETIRED) gentoo-dev 2004-05-25 12:03:55 UTC
Created attachment 32015 [details]
bluefish-0.13-r1.ebuild - einstall problem fixed

Hmmmm

You're quite right, it does seem to install into
/var/tmp/portage/bluefish-0.13/image/, but also into /.  It installs the
binaries and translation files once into the .../image directory, and then
installs everything (translation, binary and images) in /.

My understanding was that portage calls configure and tells it various
directories, substituting things like /var/tmp/portage/blah/image/ for / and
others.  The make install scripts then install to $DESTDIR (which because of
the configure scripts is now the .../image directory).	Finally once the image
directory is correctly made, that gets merged into the actual root.

It's probably a problem in the ebuild, since my patch only modifies directory
existance checks.  Lemme take a look...

Ok, it turns out that during the cleanup, Jan must've accidentally left it
using einstall rather than make install.  The problem being that we set DESTDIR
(as is preferred practice) and then einstall jiggers all the internal variables
too (making it put files in DESTDIR/.../image/blah, which of course is
.../image/.../image/blah).  This is easily fixed by using the (preferred) make
install DESTDIR=${D} line, and this should now work.

Thanks a lot for the eagle eye spot...	5:)
Comment 9 golloza 2004-05-27 08:48:54 UTC
bluefish-0.13-r1.ebuild with the updatet DESTDIR PATCH (attachment #30122 [details, diff]) works fine here :)

Comment 10 Mike Auty (RETIRED) gentoo-dev 2004-05-27 11:00:04 UTC
Comment on attachment 32015 [details]
bluefish-0.13-r1.ebuild - einstall problem fixed

Changing MIME type to text/plain.  Dunno why it thought it was an octect
stream...
Comment 11 Schricker 2004-06-22 05:45:02 UTC
Ebuild works fine here, except the desktop-file (menu-entry) is gone...
(minor annoyance though, thanks for the ebuild!)
Comment 12 jon 2004-06-29 06:12:18 UTC
wfm too.  don't know about the desktop-file though.  Suspect it's not an issue for xfce. :)
Comment 13 Gustavo Felisberto (RETIRED) gentoo-dev 2004-07-09 12:08:04 UTC
Mike: You are no inheriting eutils, so your patch is NEVER applied.
I fixed that and am testing the rest.
Comment 14 Andreas Kotowicz 2004-07-25 03:59:52 UTC
Created attachment 36107 [details]
/bluefish-0.13.ebuild

this ebuild has the eutils inherit line and will stop the merge if the patch
hasn't been applied successfully
Comment 15 Matthias Dahl 2004-09-02 06:43:43 UTC
Created attachment 38756 [details, diff]
changes global install dirs to portage install image dirs

Just wanted to add that the ebuild works fine on my system too. I'd suggest
putting it into ~arch testing because there are no relevant blockers and
bluefish 0.13 has been out for really quite a while now. As for the desktop
file, it is indeed not being installed. I have attached an updated patch for
the makefile which fixes that. Basically what happened before was that before
installing the mime infos (including the desktop file) and stuff, an
if-condition checked if the destination dir exists. Now due the fact that the
destdir-gnome-dirs were poiting to our portage install image directory, none of
the gnome dirs existed. So what the new patch does is, if the variables
containing the path to their respective gnome dir are not empty (thus a path
has been found by configure), that dir is being created in our portage image
dir and the appropriate files are being installed. Ran several tests with it
and works flawlessly on my box. As far as I can tell, there are no missing
files left.

If there are still any problems left, let me know and I will have a look into
it.
Comment 16 Matthias Dahl 2004-09-02 06:51:53 UTC
Created attachment 38757 [details, diff]
changes global install dirs to portage install image dirs

The bluefish icon suffered from the same problem. Fixed in this new patch as
well. Now really nothing should be left missing. :-)
Comment 17 Quentin Hartman 2004-09-09 10:03:13 UTC
Latest ebuild and patch works for me
Comment 18 Antonio 2004-10-04 13:53:11 UTC
So when does it go into the portage tree? :-)
Comment 19 Johan 2004-10-10 16:08:06 UTC
c'mon guys,  get it in the tree now! ;)
Comment 20 Daniel Kenzelmann 2004-10-30 15:48:16 UTC
Matthias, you seem to know your way around those problems (files in wrong directory etc..), maybe if you have some time left, you could take a look at the screem ebuilds?
Comment 21 Matthias Dahl 2004-10-30 16:44:25 UTC
Well that's a bit off-topic here but nevertheless, is there a bug report for the screem ebuilds? Or what is wrong with them? I guess you better mail me in private
or better file a bug report on this, if there doesn't already exist one and give
me the bug number and as soon as I get around to it, I will have a look and see, if I can figure something out.

BTW guys- HAPPY ALL HALLOW's EVE. *buuuuuuuuh, grins*

Just to stay on topic: I just wonder, why the blueflush ebuild is still not being
updated in portage. I don't see any more problems with it. :-( Is this currently
unmaintained?
Comment 22 Mike Gardiner (RETIRED) gentoo-dev 2004-11-25 07:48:40 UTC
Hanno, is anything holding this up?
Comment 23 Hanno Böck gentoo-dev 2004-12-07 07:43:23 UTC
Sorry for letting you wait so long, but now it's finally in the tree after some cosmetic changes.
Comment 24 Matthias Dahl 2004-12-18 10:12:22 UTC
Created attachment 46272 [details, diff]
fixes bluefish-0.13 ebuild to use make install instead of einstall

Hanno, unfortunately one cosmetical change you made (replacing make install by
einstall) broke the installation process (see bug #74174). As the bluefish
makefile's are currently incompatible with einstall, we have to use make
install with DESTDIR set. Could you please fix that in cvs as it is a rather
huge ebuild bug, making a successful emerge of bluefish currently impossible.
Thanks a lot in advance.