Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415565 - New ebuild: x11-misc/tinymount - simple UDisks frontend
Summary: New ebuild: x11-misc/tinymount - simple UDisks frontend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Samuli Suominen (RETIRED)
URL: http://github.com/limansky/tinymount
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-12 10:54 UTC by Mike Limansky
Modified: 2012-05-15 11:40 UTC (History)
1 user (show)

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


Attachments
tinymount-0.2.4.ebuild (tinymount-0.2.4.ebuild,1.04 KB, text/plain)
2012-05-12 10:59 UTC, Mike Limansky
Details
tinymount-0.2.4.ebuild (tinymount-0.2.4.ebuild,1.10 KB, text/plain)
2012-05-12 20:54 UTC, Mike Limansky
Details
tinymount-0.2.4.ebuild (tinymount-0.2.4.ebuild,1.10 KB, text/plain)
2012-05-15 08:44 UTC, Mike Limansky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Limansky 2012-05-12 10:54:18 UTC
TinyMount is a little GUI tool for mount/unmount devices, using UDisks. It's a tray aplication, useful for lightweight environments wich has no internal mounting support (like awesome, xmonad, fluxbox, etc).

Reproducible: Always
Comment 1 Mike Limansky 2012-05-12 10:59:49 UTC
Created attachment 311501 [details]
tinymount-0.2.4.ebuild

Ebuild for latest stable version, but it also can be used as live ebuild.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-05-12 17:55:11 UTC
I can see couple of minor issues:

"unset SCM" should be added before the inherit line, at the top since this might be set in the environment to something unintended

EAPI=4 should be used instead of EAPI=3 as latest is always preferred for new ebuilds

Possible missing dev-util/pkgconfig in DEPEND?
Comment 3 Mike Limansky 2012-05-12 20:28:15 UTC
(In reply to comment #2)
> I can see couple of minor issues:
> 
> "unset SCM" should be added before the inherit line, at the top since this
> might be set in the environment to something unintended

Could you please provide more information about this variable? I've tried to find something about SCM variable but got nothing.

> Possible missing dev-util/pkgconfig in DEPEND?

Yes, pkgconfig is used. Should I use dev-util/pkgconfig or virtual/pkgconfig as dependency?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-05-12 20:44:45 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I can see couple of minor issues:
> > 
> > "unset SCM" should be added before the inherit line, at the top since this
> > might be set in the environment to something unintended
> 
> Could you please provide more information about this variable? I've tried to
> find something about SCM variable but got nothing.

You are using it in the ebuild and that's all there is to tell about it. Look at how, for example, xine-lib's ebuild does "unset _live_inherits" to ensure the environment is clean:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.1-r1.ebuild?view=markup

> > Possible missing dev-util/pkgconfig in DEPEND?
> 
> Yes, pkgconfig is used. Should I use dev-util/pkgconfig or virtual/pkgconfig
> as dependency?

Yeah, sorry, old customs die hard. Use virtual/pkgconfig.
Comment 5 Mike Limansky 2012-05-12 20:54:30 UTC
Created attachment 311543 [details]
tinymount-0.2.4.ebuild

Updated ebuild.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-05-14 14:31:21 UTC
The only reservation I have left for adding this to tree is the fact that UDisks1 is obsolete and replaced by UDisks2, sys-fs/udisks:2 in Gentoo...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-05-14 14:38:00 UTC
And ebuild problems of:

${D} needs to be quoted ""

lang should be declared local in src_install() with 'local lang', just like params is in src_configure

KEYWORDS for ~arch shouldn't be available for live ebuilds, so KEYWORDS should be moved inside the if -block right next to SRC_URI

And some more minor issues of:

eqawarn "overuse" should propably be replaced with ewarn or die
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-05-14 14:39:41 UTC
(In reply to comment #6)
> The only reservation I have left for adding this to tree is the fact that
> UDisks1 is obsolete and replaced by UDisks2, sys-fs/udisks:2 in Gentoo...

oh right, and for this the :0 or :2 SLOT dep is missing from the ebuild.
Comment 9 Mike Limansky 2012-05-15 08:44:20 UTC
Created attachment 311819 [details]
tinymount-0.2.4.ebuild

Updated according to comments.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2012-05-15 10:44:48 UTC
mirror://github was not getting used, fixed that and did minor cosmetic changes and committed this to Portage

let me know if you want yourself get added to metadata.xml for proxy-maintainership
Comment 11 Mike Limansky 2012-05-15 11:32:11 UTC
(In reply to comment #10)
> mirror://github was not getting used, fixed that and did minor cosmetic
> changes and committed this to Portage
> 
> let me know if you want yourself get added to metadata.xml for
> proxy-maintainership

Yes, sure I would like to take care about the package. Is where any docs what and how should I do?

BTW, I've found that there https://... url in EGIT_REPO_URI instead of git://.., but I think it's not critical, because the 9999 is not available.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2012-05-15 11:40:03 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > mirror://github was not getting used, fixed that and did minor cosmetic
> > changes and committed this to Portage
> > 
> > let me know if you want yourself get added to metadata.xml for
> > proxy-maintainership
> 
> Yes, sure I would like to take care about the package. Is where any docs
> what and how should I do?

i've added you to metadata.xml file, so you will get all the bugs automatically, and I get just CC'd in those bugs
then you write the patch and/or react to the bug, and once you are done, i'll commit your changes
http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml

> 
> BTW, I've found that there https://... url in EGIT_REPO_URI instead of
> git://.., but I think it's not critical, because the 9999 is not available.

fixed, ty