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 Fri 31 Oct 2014, 00:23
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
slacko 5.3.3, final
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 24 of 42 Posts_count   Goto page: Previous 1, 2, 3, ..., 22, 23, 24, 25, 26, ..., 40, 41, 42 Next
Author Message
bigpup


Joined: 11 Oct 2009
Posts: 5253
Location: Charleston S.C. USA

PostPosted: Fri 27 Apr 2012, 15:48    Post_subject:  

01micko wrote:
@gcmartin, I'm not adding java as a dep to the libre pet, it's optional and is (AFAIK) only needed for Base, which many users don't use. Can you link me to the exact Java pet that works correctly for you and I'll upload that too and make an sfs.

May be more to it.

Found this statement on Java in the LibreOffice Getting Started Guide.

Quote:
Some LibreOffice features (wizards and the HSQLDB database engine) require that the Java
Runtime Environment (JRE) 1.6.x or higher be installed on your computer. Although LibreOffice will work without Java support, some features will not be available. If you have an older PC and do not
need the features requiring the JRE, you can disable it to speed up the loading of the program.

Quote:
Base (database)
Base provides tools for day-to-day database work within a simple interface. It can create and edit
forms, reports, queries, tables, views, and relations, so that managing a connected database is much the same as in other popular database applications. Base provides many new features, such as the ability to analyze and edit relationships from a diagram view. Base incorporates HSQLDB as its default relational database engine. It can also use dBASE, Microsoft Access, MySQL, or Oracle, or any ODBC-compliant or JDBC-compliant database. Base also provides support for a subset of ANSI-92 SQL.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 27 Apr 2012, 18:10    Post_subject:  

Karl Godt wrote:
The xz compression was added to the standard kernel with version 2.6.38 .

Since There are/had been several Puppy kernels out version 2.6.39.x the code schould be something like

Code:
KERNEL_VERSION=`uname -r`
KERNEL_VERSION="${KERNEL_VERSION//[[:punct:][:alpha:]]/}"
KERNEL_MAJOR="${KERNEL_VERSION:0:1}"
[ "$KERNEL_MAJOR" = 0 ] && KERNEL_VERSION=1000
KERNEL_VERSION="${KERNEL_VERSION:0:4}"
[ $KERNEL_VERSION -lt 1000 ] && KERNEL_VERSION=$((KERNEL_VERSION*10))
[ $KERNEL_VERSION -ge 2638 ] && COMP="-comp xz" #||gui to select compression
 


(I bloated it for test if kernel 0.9.x)


Thanks karl but I guess a better test is to just see if the thing exists so I made a different patch

EDIT:
Nah, patch removed, working patch and script in below post.

Iguleder, of course we should add more tests for arch to get the filter right so I'm just leaving it off for now.

_________________
Woof Mailing List | keep the faith Cool |

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 27 Apr 2012, 18:12    Post_subject:  

peebee wrote:


Hi Mick

Which version of the Broadcom sources are your pets?

Please see my efforts at:
http://www.murga-linux.com/puppy/viewtopic.php?t=76495

I'll point people to your pets if they are the latest 5.100 versions...

Have you included rerwin's logic to avoid having to do blacklisting?

Cheers
Peter


Bugger! I hate duplification of effort, I guess I should have looked more closely!

Can you post rerwin's code please? And is it in a conf file or as a pinstall.sh?

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
peebee


Joined: 21 Sep 2008
Posts: 1473
Location: Malvern, Worcs, UK

PostPosted: Fri 27 Apr 2012, 18:34    Post_subject:  

01micko wrote:
Can you post rerwin's code please? And is it in a conf file or as a pinstall.sh?

Cheers


Hi Mick

This is the latest version of Richard's initialisation logic that he sent to me to combine with wl.ko compiled from the Broadcom source - it is both conf files plural (3) and a pinstall.

It's this code that is now in pemasu's Precise Puppy 5.3.3.3

It is more complicated than you might expect because it not only deals with the wl / b43 contention situation but also is setup ready to fallback to an earlier version of the wl driver (5.60) if that is present when the 5.100 driver fails (only 1 report of this to date).

We've also applied the patch to the Broadcom source to cause it to create wlan% instead of eth% as the eth% seems to confuse both sns and some users sometimes.

Should I also send you the 5.100 source with all the patches for wlan% and also for k2.6.39 and also > k3.2???

Cheers
Peter
peebee-support_components_for_broadcom-wifi_drvr_pkgs-1.pet
Description 
pet

 Download 
Filename  peebee-support_components_for_broadcom-wifi_drvr_pkgs-1.pet 
Filesize  2.76 KB 
Downloaded  307 Time(s) 

_________________
LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 27 Apr 2012, 18:41    Post_subject:  

peebee wrote:


Should I also send you the 5.100 source with all the patches for wlan% and also for k2.6.39 and also > k3.2???

Cheers
Peter


If I can get confirmation from cthisbear or anyone else that your drivers are fine (on Slacko) then I'll remove mine and upload yours.

Please post the patched source, I'm not sure of the legal requirements in this department.. are you even allowed to patch broadcom source? I guess they would want to know about it.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
peebee


Joined: 21 Sep 2008
Posts: 1473
Location: Malvern, Worcs, UK

PostPosted: Fri 27 Apr 2012, 18:50    Post_subject:  

01micko wrote:

Please post the patched source, I'm not sure of the legal requirements in this department.. are you even allowed to patch broadcom source? I guess they would want to know about it.

Cheers


Hi Mick

I've not done your PAE version - only your vanilla kernel version........

Both ubuntu and debian have patched the source - that's where we got the patches from - don't know if this makes it legal....

It'll take me a bit to package up the source suitable for posting........I'll pm it to you.

Cheers
Peter

_________________
LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 27 Apr 2012, 18:55    Post_subject:  

peebee wrote:


Hi Mick

I've not done your PAE version - only your vanilla kernel version........

Both ubuntu and debian have patched the source - that's where we got the patches from - don't know if this makes it legal....

It'll take me a bit to package up the source suitable for posting........I'll pm it to you.

Cheers
Peter


Ok, thanks, I was about to ask about the pae vesion. Also, I posted in your thread about possible problems with permissions on /tmp.

I dislike the idea of using /tmp in pets. You can always create an "install" directory and remove it in the pinstall once all procedures have taken place.

Also. the pinstall.sh needs work to be woof compliant. Bit of a minefield this broadcom stuff!!!

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 27 Apr 2012, 18:58    Post_subject:  

Most distros have patched the 32-bit driver 5.100.82.112 10/25/2011 wl module source....because it needs a patch for 3.2 - 3.3 kernels.
Back to top
View user's profile Send_private_message 
playdayz


Joined: 25 Apr 2008
Posts: 3788

PostPosted: Fri 27 Apr 2012, 19:21    Post_subject:  

Someone else might want to test the xz patch to remasterpup2 because it is not working for me. However I made a Slacko Libre by manually compressing the sfs and got big space savings.

324 MB default (old-style) gzip (this was the one posted)
272 MB -comp xz
260 MB -comp xz -Xbcj x86 (suggested by iguleder)

That 260 will almost copy into ram on ICPUG's 512MB machine *with* java. Also, I tested and the responsiveness didn't seem any slower because of the higher compression.
Back to top
View user's profile Send_private_message 
zekebaby


Joined: 17 Nov 2010
Posts: 49

PostPosted: Fri 27 Apr 2012, 21:47    Post_subject: Dell C610 no sound  

Sound does not work on a Dell C610 using the latest .5 beta. Alsa wizard detects the Intel sound card and goes through it's configuration without error. Test sound does not make any sound, but does not throw an error. Volume set to max.

Sound works well in Wary 5.3 and Lucid Puppy 5.28 (005)
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 27 Apr 2012, 23:53    Post_subject: Re: Dell C610 no sound  

zekebaby wrote:
Sound does not work on a Dell C610 using the latest .5 beta. Alsa wizard detects the Intel sound card and goes through it's configuration without error. Test sound does not make any sound, but does not throw an error. Volume set to max.

Sound works well in Wary 5.3 and Lucid Puppy 5.28 (005)


hmmmm.. if it worked in previous versions that is strange as nothing to do with sound settings has changed. Did a reboot help? A setting in alsamixer?

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Sat 28 Apr 2012, 00:08    Post_subject:  

Firstly

Libre Office pet, useful for full installs, or running in large RAM. If you use in a pupsave make sure you have at least 600M free or you get corruption when the pet installs. Usefull for woofing too as the pinstall is woof compliant.

http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-slacko/Libreoffice-3.5.2.pet 151M, US only, get the language packs from the libre site.(debs are easiest).

It includes playdayz integration and the pinstall makes all the defaults point to libre writer, calc, etc.

_________________________________________________

Secondly

I patched remasterpup2 and tested working. I was close before but the option was in the wrong place. It also has the extra option for x86 and I have added code to accommodate for when x86_64 and arm arches become a reality.

Code:
--- remasterpup2.orig   2011-09-04 16:55:49.000000000 +1000
+++ remasterpup2   2012-04-28 15:34:06.000000000 +1000
@@ -38,6 +38,7 @@
 #110722 tweak sort.
 #110808 PANZERKOPF: bug fix.
 #110902 rodin.s bug fix.
+#120426 01micko support xz compression
 
 [ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} #110505
 
@@ -236,6 +237,21 @@
 LANG=C #faster, plus Xdialog happier.
 KERNELVER="`uname -r`"
 
+#set compression 01micko 120428
+COMP=""
+mksquashfs -help &>/tmp/mk #refuses to grep from stdout
+grep 'xz' /tmp/mk &>/dev/null
+[ "$?" = "0" ] && COMP="-comp xz"
+ARCH="`uname -m`"
+[ "$(uname -m|grep ^i)" ] && ARCH="`uname -m|cut -c3,4`"
+case "$ARCH" in
+86)AOPT="-Xbcj x86" ;;
+*)AOPT="" ;; #todo add other arches
+esac
+rm /tmp/mk
+COPTIONS=""${COMP}" "${AOPT}""
+#end set compression
+
 #variables created at bootup by /initrd/usr/sbin/init...
 . /etc/rc.d/PUPSTATE
 [ "$PUP_LAYER" = "" ] && PUP_LAYER="/pup_ro2"
@@ -507,7 +523,7 @@
   ANOTHER_REMOVE="/lib/modules"
 fi
 # display terminal only for the first stage because it takes the most of time. 'squash' is a function, see above.
-squash / $WKGMNTPT/puppylivecdbuild/$PUPPYSFS -e /etc /proc /initrd /var /tmp /archive /mnt /root /puppylivecdbuild $ANOTHER_REMOVE $DIRHOME $DIRSYS $DIRLOST /$PUPPYSFS
+squash / $WKGMNTPT/puppylivecdbuild/$PUPPYSFS "${COPTIONS}" -e /etc /proc /initrd /var /tmp /archive /mnt /root /puppylivecdbuild $ANOTHER_REMOVE $DIRHOME $DIRSYS $DIRLOST /$PUPPYSFS
 sync
 
 #add pristine folders (out of current puppy.sfs)...
@@ -688,6 +704,8 @@
 Xdialog --wrap --left  --title "$m_01" --msgbox "$m_23" 0 0
 
 sync
+
+
 mksquashfs /tmp/etc $WKGMNTPT/puppylivecdbuild/$PUPPYSFS -keep-as-directory
 sync
 rm -rf /tmp/etc


Attached is the script. I produced a remaster with Libre and Firefox that weighs in at 245M and I removed nothing. I am posting from it now.
remasterpup2.gz
Description  gunzip, chmod 755 and overwrite the one in /usr/sbin.
gz

 Download 
Filename  remasterpup2.gz 
Filesize  11.36 KB 
Downloaded  379 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
zekebaby


Joined: 17 Nov 2010
Posts: 49

PostPosted: Sat 28 Apr 2012, 00:11    Post_subject: Re: Dell C610 no sound  

01micko wrote:
zekebaby wrote:
Sound does not work on a Dell C610 using the latest .5 beta. Alsa wizard detects the Intel sound card and goes through it's configuration without error. Test sound does not make any sound, but does not throw an error. Volume set to max.

Sound works well in Wary 5.3 and Lucid Puppy 5.28 (005)


hmmmm.. if it worked in previous versions that is strange as nothing to do with sound settings has changed. Did a reboot help? A setting in alsamixer?

Although I didn't keep any old betas, I'm pretty sure it worked in previous versions as well. I rebooted with 'pfix=ram' and nothing improved. I'll try again when I get the laptop back tomorrow. Is there anything in particular you'd like me to check?
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Sat 28 Apr 2012, 00:26    Post_subject: Re: Dell C610 no sound  

zekebaby wrote:
Is there anything in particular you'd like me to check?


Nothing in particular, as long as wireless is ok. You can try the new remaster script Laughing

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Sat 28 Apr 2012, 19:19    Post_subject:  

RC is out

see main post

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 24 of 42 Posts_count   Goto page: Previous 1, 2, 3, ..., 22, 23, 24, 25, 26, ..., 40, 41, 42 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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