| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sun 09 Aug 2009, 23:21 Post subject:
gparted 0.5.2 with ext4 support Subject description: saves 1MB+ installed |
|
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/viewtopic.php?mode=attach&id=27110
but requires updated glib
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=26606
compiled with
| Code: | | # 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 |
| Description |
|
| Filesize |
88.08 KB |
| Viewed |
739 Time(s) |

|
| Description |
|

Download |
| Filename |
gparted-0.4.6-i486.pet |
| Filesize |
252.7 KB |
| Downloaded |
774 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Last edited by technosaurus on Wed 10 Mar 2010, 21:57; edited 4 times in total
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Mon 10 Aug 2009, 09:07 Post subject:
|
|
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

|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 22 Aug 2009, 12:42 Post subject:
|
|
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.
| Description |
|

Download |
| Filename |
gparted-0.4.6-i486.pet |
| Filesize |
785.12 KB |
| Downloaded |
455 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Jim1911
Joined: 19 May 2008 Posts: 2353 Location: Texas, USA
|
Posted: Sat 22 Aug 2009, 16:10 Post subject:
|
|
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
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Sat 22 Aug 2009, 19:17 Post subject:
|
|
Just for reference is the newer version of grub needed with partitions made with this version?
mike
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 22 Aug 2009, 21:36 Post subject:
|
|
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.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 22 Aug 2009, 22:14 Post subject:
|
|
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:
| Description |
|

Download |
| Filename |
gparted-0.4.6-i486.pet |
| Filesize |
530.09 KB |
| Downloaded |
444 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Mon 12 Oct 2009, 00:26 Post subject:
|
|
0.4.7 is out & it is added to my 4.4CE TODO list
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Mon 12 Oct 2009, 09:12 Post subject:
|
|
| Quote: | | 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
|
|
Back to top
|
|
 |
chrome307

Joined: 15 Jan 2009 Posts: 713
|
Posted: Wed 14 Oct 2009, 09:12 Post subject:
|
|
@ 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.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Wed 14 Oct 2009, 09:25 Post subject:
|
|
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.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
chrome307

Joined: 15 Jan 2009 Posts: 713
|
Posted: Wed 14 Oct 2009, 09:40 Post subject:
|
|
Thank you again!!
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Mon 09 Nov 2009, 03:23 Post subject:
|
|
updated to 048
| Description |
|

Download |
| Filename |
gparted-0.4.8-i486.pet |
| Filesize |
809.05 KB |
| Downloaded |
483 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Thu 18 Feb 2010, 00:48 Post subject:
|
|
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
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Last edited by technosaurus on Thu 18 Feb 2010, 23:01; edited 1 time in total
|
|
Back to top
|
|
 |
DMcCunney
Joined: 02 Feb 2009 Posts: 894
|
Posted: Thu 18 Feb 2010, 21:51 Post subject:
|
|
| 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
|
|
Back to top
|
|
 |
|