Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218601 - sys-fs/ntfsprogs-2.0.0 - Extra tools are not installed
Summary: sys-fs/ntfsprogs-2.0.0 - Extra tools are not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 16:08 UTC by fdupoux
Modified: 2008-04-20 20:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fdupoux 2008-04-20 16:08:22 UTC
The current sys-fs/ntfsprogs-2.0.0 ebuild installs the normal binaries (make && make install). Anyway ntfsprogs comes with extra programs for advanced users, but they are just not supported by the current ebuild. Those programs could be compiled with an "make extra". 

Since gentoo always leaves the user the choice of what he wants, it would be great to have install these extra programs when an USE variable is on/off. Here is how we can do with the USE='-minimal'. Just add the following code in the src_compile() and src_install() functions:

src_compile()
{
     if ! use minimal
     then
          emake extra || die "Make extra failed"
     fi
}

src_install()
{
     if ! use minimal
     then
        cd ntfsprogs/.libs
        strip ntfswipe ntfstruncate ntfsmove ntfsmftalloc ntfsdump_logfile
        dosbin ntfswipe ntfstruncate ntfsmove ntfsmftalloc ntfsdump_logfile          
     fi
}


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2008-04-20 19:34:33 UTC
you should never install binaries directly out of the .lib subdirectories, or run strip at all manually

ntfsprogs-2.0.0-r1 should do what you want
Comment 2 fdupoux 2008-04-20 20:06:11 UTC
Thanks a lot for your quick update. It seems to be a cleaner solution. I tested this patch/ebuild and it's working well on my system. Thanks for that.