Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242512 - app-editors/bluefish-1.1.6 - version bump
Summary: app-editors/bluefish-1.1.6 - version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 22:31 UTC by Daniel Pielmeier
Modified: 2008-10-26 19:34 UTC (History)
0 users

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


Attachments
bluefish 1.1.6 ebuild (bluefish-1.1.6.ebuild,1.44 KB, text/plain)
2008-10-22 10:36 UTC, Rolandas Valteris
Details
updated bluefish 1.1.6 ebuild (bluefish-1.1.6.ebuild,1.81 KB, text/plain)
2008-10-22 11:11 UTC, Rolandas Valteris
Details
diff between bluefish 1.0.7 and 1.1.6 ebuilds (bluefish-1.1.6.diff,1.82 KB, patch)
2008-10-22 11:28 UTC, Rolandas Valteris
Details | Diff
bluefish-1.1.6.diff (bluefish-1.1.6.diff,1.83 KB, text/plain)
2008-10-22 19:58 UTC, Daniel Pielmeier
Details
updated bluefish 1.1.6 ebuild (bluefish-1.1.6.ebuild,1.99 KB, text/plain)
2008-10-23 01:12 UTC, Rolandas Valteris
Details
diff between bluefish 1.0.7 and 1.1.6 ebuilds (bluefish-1.1.6.diff,2.18 KB, patch)
2008-10-23 01:15 UTC, Rolandas Valteris
Details | Diff
metadata update for v1.1.6 ebuild (metadata.xml.diff,397 bytes, patch)
2008-10-23 02:53 UTC, Rolandas Valteris
Details | Diff
updated bluefish 1.1.6 ebuild (bluefish-1.1.6.ebuild,1.95 KB, text/plain)
2008-10-26 01:19 UTC, Rolandas Valteris
Details
diff between bluefish 1.0.7 and 1.1.6 ebuilds (bluefish-1.1.6.diff,2.14 KB, text/plain)
2008-10-26 01:20 UTC, Rolandas Valteris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pielmeier gentoo-dev 2008-10-17 22:31:26 UTC
Released 2008-03-28

There have been a few development releases now. Although it is named unstable the application should quite stable. Here a comment from homepage regarding the previous release.

"This is another release in the development tree which is called 'unstable' because the features change quickly, but the program is still rock solid."
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-17 22:56:18 UTC
Thanks reporting the new version -- assigning to ebuild maintainer.
Comment 2 Rolandas Valteris 2008-10-22 10:36:29 UTC
Created attachment 169388 [details]
bluefish 1.1.6 ebuild

took a first stab at it. not sure if there is a cleaner, i.e. ebuild, way to add to /etc/xml/catalog.

it builds and runs ok on my amd64 & kde4.
Comment 3 Rolandas Valteris 2008-10-22 11:11:26 UTC
Created attachment 169396 [details]
updated bluefish 1.1.6 ebuild

added some einfo and removal of XML catalog entries in pkg_postrm
Comment 4 Daniel Pielmeier gentoo-dev 2008-10-22 11:19:47 UTC
(In reply to comment #2)
> Created an attachment (id=169388) [edit]
> bluefish 1.1.6 ebuild
> took a first stab at it. not sure if there is a cleaner, i.e. ebuild, way to
> add to /etc/xml/catalog.
> it builds and runs ok on my amd64 & kde4.

Please add a unified diff to the previous version, to make the changes more
visible.

Also I think gnome-vfs is no longer optional, at least it does not run through
configure without gnome-vfs installed even with all gnome configure options
disabled. Does it work for you without gnome-vfs?
Comment 5 Daniel Pielmeier gentoo-dev 2008-10-22 11:21:20 UTC
Just for reference.

http://bluefish.openoffice.nl/manual/ch02.html#installing-bluefish-requirements
Comment 6 Rolandas Valteris 2008-10-22 11:28:35 UTC
Created attachment 169398 [details, diff]
diff between bluefish 1.0.7 and 1.1.6 ebuilds

i have gnome-vfs installed. i have to check if it works without it.
Comment 7 Daniel Pielmeier gentoo-dev 2008-10-22 11:32:39 UTC
(In reply to comment #6)
> Created an attachment (id=169398) [edit]
> diff between bluefish 1.0.7 and 1.1.6 ebuilds
> i have gnome-vfs installed. i have to check if it works without it.

Thank you.

If it does not work without gnome-vfs we need an additional dependency for this.
Comment 8 Daniel Pielmeier gentoo-dev 2008-10-22 19:58:50 UTC
Created attachment 169480 [details]
bluefish-1.1.6.diff

The new version needs gnome-vfs else configure fails, so I have added this dependency to the ebuild.

There is also a new configure option to build a python plugin which should also be controlled by the ebuild probably with a python use flag.

--enable-python         enable (or disable) the building of the python plugin [default=auto->yes]

I did not dig deeper as I am a bit frustrated because I did search long to find a good editor like bluefish. This new gnome-vfs dependency pulls a lot of gnome stuff which I try to avoid if possible as I am on xfce, so I consider switching to another editor if I find one that suits my needs.
Comment 9 Rolandas Valteris 2008-10-23 01:12:02 UTC
Created attachment 169520 [details]
updated bluefish 1.1.6 ebuild

Thanks Daniel, i've started with the link you provided and ended up inspecting configure.ac. i've checked and you are right, you need gnome-vfs to build bluefish.

configure.ac declares a list of required modules:
BFREQ_required="gtk+-2.0 >= 2.6 \
gmodule-2.0 >= 2.6 \
gobject-2.0 \
glib-2.0 \
pango \
gdk-pixbuf-2.0 \
gdk-2.0 \
gnome-vfs-2.0 >= 2.10 \
libxml-2.0"

and since the bluefish states that these are build time dependencies vs. runtime i've added them to DEPEND instead of RDEPEND. let me know if that's not way to go.

i've replaced "use_with gnome libgnomeui" with "use_enable gnome libgnomeui" since the configure option is --enable-libgnomeui. otherwise build does not react to gnome use flag and defaults building with gnome support.

also, i've added python use flag per your suggestion.

i agree with you that having all those gnome dependencies mandatory suck but running another heavyweight DE made those mental struggles easier for me:)
Comment 10 Rolandas Valteris 2008-10-23 01:15:37 UTC
Created attachment 169524 [details, diff]
diff between bluefish 1.0.7 and 1.1.6 ebuilds

... and a diff
Comment 11 Rolandas Valteris 2008-10-23 02:53:10 UTC
Created attachment 169530 [details, diff]
metadata update for v1.1.6 ebuild
Comment 12 Daniel Pielmeier gentoo-dev 2008-10-23 08:24:01 UTC
(In reply to comment #9)
> Created an attachment (id=169520) [edit]
> updated bluefish 1.1.6 ebuild
> Thanks Daniel, i've started with the link you provided and ended up inspecting
> configure.ac. i've checked and you are right, you need gnome-vfs to build
> bluefish.
> configure.ac declares a list of required modules:
> BFREQ_required="gtk+-2.0 >= 2.6 \
> gmodule-2.0 >= 2.6 \
> gobject-2.0 \
> glib-2.0 \
> pango \
> gdk-pixbuf-2.0 \
> gdk-2.0 \
> gnome-vfs-2.0 >= 2.10 \
> libxml-2.0"
> and since the bluefish states that these are build time dependencies vs.
> runtime i've added them to DEPEND instead of RDEPEND. let me know if that's not
> way to go.

+	>=x11-libs/gtk+-2.6
+	>=dev-libs/glib-2
+	x11-libs/pango

gtk+ is needed at runtime where alredy an entry is which you duplicted. Also it pulls in glib and pango for you, so no need for adding it.

+	>=gnome-base/gnome-vfs-2.10

gnome_vfs - for remote file support. This sounds like a runtime dependency too. You open files to edit at runtime, don't you?

I am not sure about libxml so this should be checked.

You can always check if it is a runtime dependency by removing it after installing and check if it starts or the provided functionality is there. For example does it start without gtk+ or are you able to open remote files without gnome-vfs. Do a quickpkg before and remove one by one and try. After that you can use emerge -k package to avoid recompiling the ones you have removed.

Also the >= with versions strings for the deps are not required as lower versions are not in the tree anymore. 

> i've replaced "use_with gnome libgnomeui" with "use_enable gnome libgnomeui"
> since the configure option is --enable-libgnomeui. otherwise build does not
> react to gnome use flag and defaults building with gnome support.
> also, i've added python use flag per your suggestion.

It should be added else it will be installed even if you don't want it.

> i agree with you that having all those gnome dependencies mandatory suck but
> running another heavyweight DE made those mental struggles easier for me:)

Yes with xfce I try to avoid as much gnome and kde stuff as possible. I am testing scite and juffed for now maybe they are an alternative.
Comment 13 Rolandas Valteris 2008-10-23 20:31:11 UTC
(In reply to comment #12)

Thanks, Daniel.
Comment 14 Rolandas Valteris 2008-10-26 01:19:46 UTC
Created attachment 169893 [details]
updated bluefish 1.1.6 ebuild

as per Daniel's suggestion dropped '>=' and version from dependency declarations where unnecessary
Comment 15 Rolandas Valteris 2008-10-26 01:20:36 UTC
Created attachment 169895 [details]
diff between bluefish 1.0.7 and 1.1.6 ebuilds

... and a diff
Comment 16 Hanno Böck gentoo-dev 2008-10-26 19:34:40 UTC
added with slight modifications, thanks