Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild: e2fsprogs with ext4 support [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Thu Aug 23, 2007 10:28 pm    Post subject: ebuild: e2fsprogs with ext4 support [solved] Reply with quote

mkay, here's my ebuild for the latest e2fsprogs with best ext4 support availible. obviously as patch :P... but pretty straigt-forward.

I believe as soon you use those tools, you cannot use a lesser (other?) version of e2fsprogs any more, since even the 1.4*** versions claim to see unsupported features...

but this is a pretty good solution, always worked for me...

Don't forget to mask all other versions, or you'll wake up one day and e2fsprogs can't repair your harddrive...

hope this helps! (using windows vista myself since a week... new laptop and all... *duck*)

Code:
--- /usr/portage/sys-fs/e2fsprogs/e2fsprogs-1.39-r2.ebuild      2007-07-12 05:06:25.000000000 +0200
+++ /usr/local/portage/sys-fs/e2fsprogs/e2fsprogs-1.39-r2.ebuild        2007-08-23 23:37:36.000000000 +0200
@@ -6,7 +6,8 @@

 DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities"
 HOMEPAGE="http://e2fsprogs.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+http://kernel.org/pub/linux/kernel/people/tytso/e2fsprogs-interim/LATEST/e2fsprogs-1.39-tyt3-rollup.patch.bz2"

 LICENSE="GPL-2 BSD"
 SLOT="0"
@@ -23,19 +24,11 @@
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       epatch "${FILESDIR}"/${P}-blkid-memleak.patch #171844
-       # Fix locale issues while running tests #99766
-       epatch "${FILESDIR}"/${PN}-1.38-tests-locale.patch
-       epatch "${FILESDIR}"/${PN}-1.38-locale.patch #131462
        # Fix a cosmetic error in mk_cmds's help output.
-       epatch "${FILESDIR}"/e2fsprogs-1.32-mk_cmds-cosmetic.patch
-       epatch "${FILESDIR}"/e2fsprogs-1.39-util-strptime.patch
        chmod u+w po/*.po # Userpriv fix #27348
-       # Clean up makefile to suck less
-       epatch "${FILESDIR}"/e2fsprogs-1.39-makefile.patch
-       epatch "${FILESDIR}"/e2fsprogs-1.39-parse-types.patch #146903
-       # Fixes libintl handling on non-glibc #122368
-       epatch "${FILESDIR}"/${PN}-1.39-libintl.patch
+        epatch "${DISTDIR}"/e2fsprogs-1.39-tyt3-rollup.patch.bz2

        # kernel headers use the same defines as e2fsprogs and can cause issues #48829
        sed -i \
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Sat Aug 25, 2007 2:49 am    Post subject: Reply with quote

buddy i have tried to use your patch the gentoo ebuild unpack way but it doesn't patch.

please could you explain how you use it to patch the ebuild?
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Sat Aug 25, 2007 1:51 pm    Post subject: Reply with quote

I have no idea :D

try maybe this:

Code:

mkdir -p /usr/local/portage/sys-fs
cp -R /usr/portage/sys-fs/e2fsprogs /usr/local/portage/sys-fs/
cd /
patch -p0 [patchfile]


aaand PORTAGE_OVERLAY set to /usr/local/portage in your make.conf, of course...

dunno if this works, I'm not at a linux box right now..

basically you can apply the patch yourself ;) just remove the "-" lines, and add the "+" lines to the copy of the e2fsprogs-1.39-r2.ebuild-file...

cheers
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Sat Aug 25, 2007 2:49 pm    Post subject: Reply with quote

thanks buddy. got it right.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum