Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 218601
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: fdupoux <fdbugs@dupoux.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218601 depends on: Show dependency tree
Bug 218601 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-20 16:08 0000
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 From SpanKY 2008-04-20 19:34:33 0000 -------
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 From fdupoux 2008-04-20 20:06:11 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug