Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 04:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
gparted 0.5.2 with ext4 support
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [33 Posts]   Goto page: 1, 2, 3 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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
gparted.png
 Description   
 Filesize   88.08 KB
 Viewed   1042 Time(s)

gparted.png

gparted-0.4.6-i486.pet
Description 
pet

 Download 
Filename  gparted-0.4.6-i486.pet 
Filesize  252.7 KB 
Downloaded  987 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Wed 10 Mar 2010, 21:57; edited 4 times in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10824
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 10 Aug 2009, 09:07    Post subject:  

Hi Barry usually compiles gparted static to save MM space, here's his notes on it, Smile
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 Smile
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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.
gparted-0.4.6-i486.pet
Description 
pet

 Download 
Filename  gparted-0.4.6-i486.pet 
Filesize  785.12 KB 
Downloaded  564 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: 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 Smile
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8349

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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:
gparted-0.4.6-i486.pet
Description 
pet

 Download 
Filename  gparted-0.4.6-i486.pet 
Filesize  530.09 KB 
Downloaded  550 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 12 Oct 2009, 00:26    Post subject:  

0.4.7 is out & it is added to my 4.4CE TODO list
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8349

PostPosted: 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
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Wed 14 Oct 2009, 09:12    Post subject:  

@ technosaurus

Thanks for Gparted Smile

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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Wed 14 Oct 2009, 09:40    Post subject:  

Thank you again!! Smile
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 09 Nov 2009, 03:23    Post subject:  

updated to 048
gparted-0.4.8-i486.pet
Description 
pet

 Download 
Filename  gparted-0.4.8-i486.pet 
Filesize  809.05 KB 
Downloaded  586 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Thu 18 Feb 2010, 23:01; edited 1 time in total
Back to top
View user's profile Send private message 
DMcCunney

Joined: 02 Feb 2009
Posts: 897

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [33 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0875s ][ Queries: 13 (0.0111s) ][ GZIP on ]