Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454600 - x11-misc/sunflower - Small and highly customizable twin-panel file manager for Linux with support for plugins
Summary: x11-misc/sunflower - Small and highly customizable twin-panel file manager fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/sunflower-fm/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-01-29 21:56 UTC by Henrique Dias
Modified: 2013-02-02 12:09 UTC (History)
2 users (show)

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


Attachments
Ebuild for x11-misc/sunflower (sunflower-0.1.52_alpha.ebuild,1.40 KB, text/plain)
2013-01-29 21:57 UTC, Henrique Dias
Details
Sunflower filemanger source code. (Sunflower-0.1a-52.tgz,654.78 KB, application/octet-stream)
2013-01-29 21:59 UTC, Henrique Dias
Details
New ebuild version with suggested corrections. (sunflower-0.1.52_alpha.ebuild,1.45 KB, text/plain)
2013-01-31 11:47 UTC, Henrique Dias
Details
sunflower-0.1_alpha52.ebuild (sunflower-0.1_alpha52.ebuild,2.01 KB, text/plain)
2013-01-31 14:09 UTC, Julian Ospald
Details
sunflower (sunflower,82 bytes, text/plain)
2013-01-31 14:09 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Dias 2013-01-29 21:56:30 UTC
Hi,

Is possible add this package to portage?
Sunflower is a small and highly customizable twin-panel file manager for Linux with support for plugins.

Suggested category: x11-misc/sunflower
More information:
http://code.google.com/p/sunflower-fm/
https://picasaweb.google.com/MeanEYE.rcf/Sunflower

The ebuild is attached.

Thanks,

Henrique Dias

Reproducible: Always
Comment 1 Henrique Dias 2013-01-29 21:57:54 UTC
Created attachment 337274 [details]
Ebuild for x11-misc/sunflower
Comment 2 Henrique Dias 2013-01-29 21:59:09 UTC
Created attachment 337276 [details]
Sunflower filemanger source code.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-29 23:07:25 UTC
Comment on attachment 337276 [details]
Sunflower filemanger source code.

There is no need for this. The ebuild should tell where to get it.
Comment 4 Sergey Popov gentoo-dev 2013-01-31 04:16:22 UTC
(In reply to comment #1)
> Created attachment 337274 [details]
> Ebuild for x11-misc/sunflower

Couple of comments about ebuild:

1) use latest EAPI if possible;
2) use ${PN}, ${PV} or their equivalents in SRC_URI - for easing version bumps;
3) use python-r1 eclass instead on python;
4) get rid of src_prepare - it is useless in your case, just set ${S} properly.

Regarding your mail on maintainer-needed@, i add proxy maintainers team to CC. Next time, please send mail to it. maintainer-needed@ alias is for orphaned packages, not for the new one.
Comment 5 Henrique Dias 2013-01-31 11:47:07 UTC
Created attachment 337438 [details]
New ebuild version with suggested corrections.

Thanks Sergey for your comments,

Henrique Dias
Comment 6 Julian Ospald 2013-01-31 14:08:25 UTC
${PN^} <- that's a bash-4 only feature and thus not allowed

you don't provide real multiple abi support, this will need some rework
Comment 7 Julian Ospald 2013-01-31 14:09:02 UTC
Created attachment 337448 [details]
sunflower-0.1_alpha52.ebuild

please test
Comment 8 Julian Ospald 2013-01-31 14:09:26 UTC
Created attachment 337452 [details]
sunflower

put this into FILESDIR
Comment 9 Henrique Dias 2013-01-31 16:03:21 UTC
Thanks for a great job and all your good advice.

The ebuild  work very well.

$ sudo emerge --ask x11-misc/sunflower

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-misc/sunflower-0.1_alpha52  PYTHON_TARGETS="python2_7 -python2_6" 

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-misc/sunflower-0.1_alpha52
 * Sunflower-0.1a-52.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
>>> Unpacking source...
>>> Unpacking Sunflower-0.1a-52.tgz to /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/work
>>> Source unpacked in /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/work
>>> Preparing source in /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/work/Sunflower ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/work/Sunflower ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/work/Sunflower ...
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/sunflower-0.1_alpha52

>>> Install sunflower-0.1_alpha52 into /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/image/ category x11-misc
 * python2.7: running installme
>>> Completed installing sunflower-0.1_alpha52 into /var/tmp/portage/x11-misc/sunflower-0.1_alpha52/image/


>>> Installing (1 of 1) x11-misc/sunflower-0.1_alpha52
 * Updating desktop mime database ...
 * Updating icons cache ...                                              [ ok ]
 * optional dependencies:
 *   dev-python/libgnome-python
 *   media-libs/mutagen
 *   x11-libs/vte:0[python] (terminal support)

>>> Recording x11-misc/sunflower in "world" favorites file...

 * Messages for package x11-misc/sunflower-0.1_alpha52:

 * optional dependencies:
 *   dev-python/libgnome-python
 *   media-libs/mutagen
 *   x11-libs/vte:0[python] (terminal support)
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 10 Julian Ospald 2013-01-31 17:10:18 UTC
+*sunflower-0.1_alpha52 (31 Jan 2013)
+
+  31 Jan 2013; Julian Ospald <hasufell@gentoo.org>
+  +sunflower-0.1_alpha52.ebuild, +files/sunflower, +metadata.xml:
+  initial import with Henrique Dias wrt #454600


@Henrique Dias: I have added you as proxy-maintainer.
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2013-02-01 09:58:09 UTC
(In reply to comment #6)
> ${PN^} <- that's a bash-4 only feature and thus not allowed

It is allowed, since stable portage depends on bash-4. We use bash-4 features all the time in eclasses and ebuilds these days.
Comment 12 Julian Ospald 2013-02-01 11:35:48 UTC
https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-620006

"The interpreter is assumed to be GNU bash, version 3.2 or later"

if I use ${PN^} then I assume version 4.0 or later, so it's invalid
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2013-02-02 07:28:15 UTC
(In reply to comment #12)
> https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-620006
> 
> "The interpreter is assumed to be GNU bash, version 3.2 or later"
> 
> if I use ${PN^} then I assume version 4.0 or later, so it's invalid

That's a bug in PMS then. It should be updated to reflect reality.

I seem to remember a discussion about this, ~3-4 years ago, where the outcome was that we could use bash-4 features.

But we should probably take this to a PMS bug and/or dev ML discussion.
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-02 11:21:39 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-620006
> > 
> > "The interpreter is assumed to be GNU bash, version 3.2 or later"
> > 
> > if I use ${PN^} then I assume version 4.0 or later, so it's invalid
> 
> That's a bug in PMS then. It should be updated to reflect reality.
> 
> I seem to remember a discussion about this, ~3-4 years ago, where the
> outcome was that we could use bash-4 features.
> 
> But we should probably take this to a PMS bug and/or dev ML discussion.

Err, no. Arfrever used bash-4 features in phase functions but DEPEND-ed on bash-4. That's ugly, however.
Comment 15 Ulrich Müller gentoo-dev 2013-02-02 12:09:25 UTC
PMS says bash 3.2, by this council decision: <http://www.gentoo.org/proj/en/council/meeting-logs/20091109-summary.txt>

Since we have EAPI parsing now, we can change to a newer bash version in a future EAPI. See bug 431340.