Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144010 - libmtp (new ebuild)
Summary: libmtp (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://libmtp.sourceforge.net/
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 130635
  Show dependency tree
 
Reported: 2006-08-15 08:43 UTC by Jeremy Sermersheim
Modified: 2006-09-01 16:34 UTC (History)
1 user (show)

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


Attachments
libmtp-0.0.11.ebuild (libmtp-0.0.11.ebuild,840 bytes, text/plain)
2006-08-15 08:45 UTC, Jeremy Sermersheim
Details
udev-permissions.patch (udev-permissions.patch,523 bytes, patch)
2006-08-15 08:46 UTC, Jeremy Sermersheim
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Sermersheim 2006-08-15 08:43:11 UTC
This is a request to include libmtp into the portage tree or at least be assigned to maintainer-{wanted|needed} for submittal to the gentoo-sunrise project?
Comment 1 Jeremy Sermersheim 2006-08-15 08:45:16 UTC
Created attachment 94326 [details]
libmtp-0.0.11.ebuild

Submitted a separate bug request for the libmtp library instead of having it attached to gnomad bug 130635 (http://bugs.gentoo.org/show_bug.cgi?id=130635)
Comment 2 Jeremy Sermersheim 2006-08-15 08:46:27 UTC
Created attachment 94327 [details, diff]
udev-permissions.patch

Patch to pull libmtp devices in with permissions of 660 and group ownership of plugdev.
Comment 3 Jeremy Sermersheim 2006-08-16 08:35:34 UTC
This ebuild has been included in the sunrise overlay.
Comment 4 Jeff Mitchell 2006-08-22 15:12:55 UTC
I don't know much about ebuild writing, but I do know that 0.0.11 doesn't have a libmtp.rules file anymore; instead you're supposed to use "mtp-hotplug -u" to dynamically generate the rules, and copy that to /etc/udev/rules.d.  Took me a bit to figure that out after I got an ebuild from an overlay...
Comment 5 Jeremy Sermersheim 2006-08-22 16:10:03 UTC
(In reply to comment #4)
> I don't know much about ebuild writing, but I do know that 0.0.11 doesn't have
> a libmtp.rules file anymore; instead you're supposed to use "mtp-hotplug -u" to
> dynamically generate the rules, and copy that to /etc/udev/rules.d.  Took me a
> bit to figure that out after I got an ebuild from an overlay...
> 

You're correct in thinking that the libmtp.rules file doesn't exist in the vanilla source, but it's automatically generated by 'mtp-hotplug -u' at the end of 'make'.

I just noticed that there's a bump to 0.0.12 so i'll be committing the new ebuild with the patch 'genericized' to work with any version to the sunrise overlay.

Thanks for keeping me honest :)
Comment 6 Thomas Cort (RETIRED) gentoo-dev 2006-09-01 16:34:05 UTC
0.0.16 is in the official portage tree. I didn't know about this bug when I added the ebuild, so I didn't catch the udev permissions thing. I'll add the udev permissions patch to the official ebuild later tonight.