gparted 0.5.2 with ext4 support

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

gparted 0.5.2 with ext4 support

#1 Post by technosaurus »

Here is the latest compiled for puppy 4.X. It should automatically download and install gtkmm and cairomm with petget


Edit: 0.5.2 in later post for now - no *mm libs required
http://www.murga-linux.com/puppy/viewto ... h&id=27110
but requires updated glib
http://www.murga-linux.com/puppy/viewto ... h&id=26606

compiled with

Code: Select all

# CFLAGS=" -Os -ffunction-sections -fdata-sections -momit-leaf-frame-pointer -fomit-frame-pointer -mpreferred-stack-boundary=2 -fmerge-constants -s " CPPFLAGS=" -Os -ffunction-sections -fdata-sections -momit-leaf-frame-pointer -fomit-frame-pointer -mpreferred-stack-boundary=2 -fmerge-constants -s "  CXXFLAGS=" -Os -ffunction-sections -fdata-sections -momit-leaf-frame-pointer -fomit-frame-pointer -mpreferred-stack-boundary=2 -fmerge-constants -s "  LDFLAGS=" -Wl,-O,--gc-sections " LFLAGS=" -Wl,-O,--gc-sections "  ./configure --prefix=/usr --build=i486-t2-linux-gnu --x-libraries=/usr/X11R7/lib --x-includes=/usr/X11R7/include --disable-libtool-lock --disable-doc --disable-scrollkeeper 
Attachments
gparted.png
(88.08 KiB) Downloaded 1438 times
Last edited by technosaurus on Thu 11 Mar 2010, 01:57, edited 4 times in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#2 Post by ttuuxxx »

Hi Barry usually compiles gparted static to save MM space, here's his notes on it, :)
Also if you do that static version maybe inkscape, since those are the 2 main static mm files in the repo.

ttuuxxx

Quote "A problem that has prevented me from upgrading is that Gparted requires the gtkmm libraries, which are huge. This has prevented me from using the Gparted packages that come with the compatible-distros.

Furthermore, the gtkmm libraries packages provided with the compatible distros do not include '.a' static library files. So, to compile Gparted with static gtkmm libraries and hence get a reasonably small package, I have to go through the whole exercise of compiling them. I have done this in Jaunty pup. Here is how:


cairomm-1.8.0

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-docs --enable-static --disable-shared



glibmm-2.20.0

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-fulldocs --enable-static --disable-shared



pangomm-2.24

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-docs --enable-static --disable-shared



gtkmm-2.16.0

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-docs --enable-static --disable-shared --disable-demos



libuuid

missing, needed! this is part of 'e2fsprogs' but ubuntu doesn't seem to have the 'dev' component (include files, uuid.pc, libuuid.so).

...I had compiled binary in T2, grabbed dev components from there.



gparted-0.4.4

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-doc --disable-scrollkeeper

# make

# new2dir make install
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#3 Post by technosaurus »

Here it is compiled statically against those. It only tripled in size (but still much smaller than installing the extra mm shared libs)

I edited the menu entry to remove gksu.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#4 Post by Jim1911 »

Tried this static complie on upup476, but it didn't work and broke the existing Gparted.

Also tried it on pup430 and it upgraded the existing Gparted and worked fine.

Thanks for pushing to keep pup up to date.
Jim :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#5 Post by mikeb »

Just for reference is the newer version of grub needed with partitions made with this version?

mike

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#6 Post by technosaurus »

It was compiled for/with 4.2.1 (upup uses different versions of everything)

I may be wrong but the new grub should only be required if you use ext4. I think Barry was working on grub already. If not I can give it a shot.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post by technosaurus »

I don't normally pack executables with upx (for a number of reasons), but with binaries larger than 2MB it kinda makes sense, so here it is packed with upx:
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#8 Post by technosaurus »

0.4.7 is out & it is added to my 4.4CE TODO list
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#9 Post by mikeb »

I may be wrong but the new grub should only be required if you use ext4.
I was thinking of the 256 inode size problem and ext2/3 partitions and grub that crops up with partitions made with ubuntu and the latest gparted.

mike

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#10 Post by chrome307 »

@ technosaurus

Thanks for Gparted :)

I seem to have a problem with having this application creating an entry in my menu toolbar.

Is there a way to fix this?

Thanks!

btw I'm using BrowserLinux built using 4.12.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#11 Post by technosaurus »

I was just packaging it for testing so I think it may be missing the gparted.desktop file in /usr/share/applications. I will put one in 0.4.7 when I compile it.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#12 Post by chrome307 »

Thank you again!! :)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#13 Post by technosaurus »

updated to 048
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#14 Post by technosaurus »

UPDATED - see later post for build without libdevmapper dependency

this needed to be updated according to the gparted website there were problems in previous releases

I also updated libparted to 1.9 (2.1 is in the releases section but not listed as the latest stable on the rarely updated gnome development site) and compiled it statically into gparted 0.5.1 - the only other programs that depend on libparted are the 2 that come with it - no scripts appear to use them so with this gparted you should be able to remove parted, partprobe and libparted...

by the way even with libparted compiled in statically and NOT upx'd it is this much smaller just from optimization and using non-PIC static libraries (You have to be carefull to keep these separate because they won't play well if built into a shared library - work great and fast for binaries though) - net savings 1,211kb or almost 1.2MB
Last edited by technosaurus on Fri 19 Feb 2010, 03:01, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

DMcCunney
Posts: 889
Joined: Tue 03 Feb 2009, 00:45

#15 Post by DMcCunney »

technosaurus wrote:by the way even with libparted compiled in statically and NOT upx'd it is this much smaller just from optimization and using non-PIC static libraries (You have to be carefull to keep these separate because they won't play well if built into a shared library - work great and fast for binaries though) - net savings 1,211kb or almost 1.2MB
Looks like there's a missing dependency or two.

It fails to run here because it can't find libdevmapper.so.1.02
______
Dennis

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#16 Post by technosaurus »

Thanks DM,
updated with static libdevmapper from latest stable lvm2

here is the complete list of dependencies:
  • libatk-1, libc, libcairo, libdl, libexpat, libfontconfig, libfreetype, libgcc_s, libgdk_pixbuf-2, libgdk-x11-2, libgio-2, libglib-2, libgmodule-2, libgobject-2, libgthread-2, libgtk-x11-2, /lib/ld-linux, libm, libpango-1, libpangocairo-1, libpangoft2-1, libpcre, libpixman-1, libpng12, libpthread, libresolv, librt, libsigc-2, libstdc++, libuuid, libX11, libXau, libXcursor, libXdmcp, libXext, libXfixes, libXi, libXinerama, libXrandr, libXrender, libz, linux-gate
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

O.5.1 does not replace the 0.3.3 automatically

#17 Post by Dromeno »

I installed the 0.5.1 in puppy 4.2.1. All seemed to go well but after starting Gparted it was still the 0.3.3 version without ext4 support

So... how do I get rid of the O.3.3 ?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#18 Post by technosaurus »

you can just run /usr/sbin/gpartedbin or /usr/sbin/gparted_shell

- I'm not running 4.2.1 - maybe it is in /usr/bin in 4.2.1 ... you can use pfind

or delete the older gparted*.desktop file in /usr/share/applications and run refreshmenus
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

Please give me another option

#19 Post by Dromeno »

I think it must be something else. Refreshing the menu's does not help (I still get the 0.3.3 version)

And when I type

/usr/sbin/gpartedbin

in the console I get:


/usr/sbin/gpartedbin: symbol lookup error: /usr/sbin/gpartedbin: undefined symbol: g_file_io_stream_get_type

Do you have any idea what to do next?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#20 Post by technosaurus »

Edit - did some looking & you will need the updated glib pet
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply