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 Tue 12 Dec 2017, 19:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Pet building system
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 6 [79 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Author Message
battleshooter


Joined: 14 May 2008
Posts: 1368
Location: Australia

PostPosted: Wed 25 Oct 2017, 03:02    Post subject:  

XFCE petbuild files Smile

Code:
glib
gobject-introspection
atk
at-spi2-core
at-spi2-atk
harfbuzz
freetype
fontconfig
pango
gtk3+
libxfce4util
xfconf
startup-notification
libxfce4ui
exo
garcon
gtk-xfce-engine
libwnck
xfce4-panel
libnotify
xfce4-notifyd
Thunar
libgudev
thunar-volman
tumbler
xfce4-appfinder
xfce4-settings
xfdesktop
xfwm
xfce4-session


That's the order list if interested in compiling them straight up. Basically if you use them, they will compile and leave you in the state I find xfce after a fresh compile. I'm not sure if the tweaks needed to get xfce into the state you find it in XenialPup with XFCE (I really need to figure out a name for it) should go in a pet build, or Woof-CE code. All in all though, I'm pretty excited about this this is a big step closer in being able to have XFCE freshly compiled and ready to go with any Puplet (which seems important with swiftly moving Pup versions)

Either you can follow the order list and compile each one manually with

Code:
sh <package name>.petbuild


Or you can run it automated with this second script attached I put together that utilize's Sc0ttman's handy dandy pkg.

I've got to say I absolutely love it, normally it can take me a day to compile XFCE from scratch, forgetting the tweaks I used last time, or compiling pitfalls I might forget how to get around. But with the scripts, it's all saved, remembered and automated, same product every time. Also because it's just bam bam bam, one compile after another, it's a lot faster than me waiting around for each build. All in all, took 30 minutes to compile XFCE including GTK3 unattended. So far I've only tested it on XenialPup64, and Slacko 32 bit 6.9.9.9*. Other than Phil's puplets, the script will need tweaking, probably adding a flag for 64 bit builds as I need to put in a switch so the libdir is set to /usr/lib64.

*Slacko is missing gtk2 dev files, specifically a gir file and gperf so preinstall those. Xenial should work straight off.

How to use the automated script:

1. Have devx, petbuild and Sc0ttman's pkg pet installed

2. Extract the contents of both scripts into the petbuild folder

3. Run build_all_with_install.sh in a terminal and hopefully in 30 minutes (if I've got the steps right) - you'll have a freshly baked version of xfce!

Edit: Ah crap, forgot about /root/.xinitrc, you need to comment out

Code:
[ "$desktop" = "" ] && desktop=rox

and
Code:
[ "$desktop" = "rox" ] && exec jwm


Otherwise the desktop doesn't show right. I've been meaning to do a rewrite of xinitrc with an actual xfce section, does anyone actually call xfwm4 directly as the window manager anymore instead of startxfce4 Shocked ?
build_all_with_install.sh.tar.gz
Description  Real tar.gz
gz

 Download 
Filename  build_all_with_install.sh.tar.gz 
Filesize  1.51 KB 
Downloaded  23 Time(s) 
xfcebuilds.tar.gz
Description  Real tar.gz
gz

 Download 
Filename  xfcebuilds.tar.gz 
Filesize  235.72 KB 
Downloaded  25 Time(s) 

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8660
Location: qld

PostPosted: Sat 28 Oct 2017, 07:06    Post subject:  

Hi battleshooter..

Nice start! Working almost as advertised on 64 bit.

However, I see there is a lot of code duplication in your petbuilds which are taken care of in the functions.

For example, a pretty standard line in most is..

Code:
./configure --prefix=/usr sysconfdir=/etc --localstatedir=/var


.. which is taken care of in the build_configure() function in ./func.

You'll notice to there is a --libdir= option to configure which is essential in slacko based pups as in 64 bit the libdir is /usr/lib64 (as opposed to /usr/lib - which configure defaults to if --prefix=/usr).

I'll leave you with those bones to pick, oh, and of course a screeny Smile (has a custom icon theme I've been working on - and shows a few are missing)
xfce.png
 Description   
 Filesize   191.05 KB
 Viewed   188 Time(s)

xfce.png


_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
battleshooter


Joined: 14 May 2008
Posts: 1368
Location: Australia

PostPosted: Tue 21 Nov 2017, 20:46    Post subject:  

Hah, wow, that is so cool! I know it's what it's suppose to do, but I can't help but feel chuffed someone else could reproduce it as intended Very Happy

I see what you mean about the code reproduction, I can go through and reset them to use the provided function.

Scott mentioned the option to set the build to 64 bit in the conf but I haven't tested it yet, thanks for testing it and the feedback Micko! I know you're busier these days so appreciate you taking the time.

@anyone who knows
As as side topic, has Petbuild been incorporated into Woof-CE? I've been digging around but the only petbuilds I can find are the ones for initrd-progs

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3036
Location: Worcestershire, UK

PostPosted: Wed 22 Nov 2017, 03:17    Post subject:  

battleshooter wrote:
has Petbuild been incorporated into Woof-CE?

https://github.com/puppylinux-woof-CE/petbuilds

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 6 of 6 [79 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
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.0724s ][ Queries: 15 (0.0120s) ][ GZIP on ]