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 Wed 22 Oct 2014, 10:20
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Precise Puppy RC2, October 20, 2012
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 21 of 59 [875 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21, 22, 23, ..., 57, 58, 59 Next
Author Message
oldyeller


Joined: 15 Nov 2011
Posts: 812
Location: Mishawaka IN

PostPosted: Wed 22 Aug 2012, 17:52    Post subject:  

I am very sorry for the confussion of Precise builds that I have done.
I have reposted with a notice that they are not official and that Barryk's Precise is.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3337
Location: Ontario

PostPosted: Wed 22 Aug 2012, 20:13    Post subject:  

Advanced Bash Scripting guide updated 2012 is available


http://www.murga-linux.com/puppy/viewtopic.php?p=648151#648151

_______________________________________________
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 22 Aug 2012, 20:42    Post subject: Re: This Puppy doesn't like Radeon  

LateAdopter wrote:
Hello BarryK

In the DOTconfig of the 3.2.27 kernel that you have just compiled it has this:

Code:
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_KMS is not set


The Xorg instructions for Radeon kernel modesetting are here:

http://www.x.org/wiki/radeonBuildHowTo#Kernel-based_ModeSetting

It says there should be:

Code:
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FB_RADEON is not set


Do you think this could be why the current Radion GPU driver stack does not work on Precise Puppy? KMS is a requirement for the R600g driver.

The other Puppy devs say that they use your DOTconfig. So, if this is wrong, their kernel will not work with the current Radeon drivers, either.

Thanks


I am compiling 3.2.28 right now, with Radeon KMS enabled.

I also went through the digital radio/tv section, enabled some more drivers, as pemasu mentioned someone requested one of these.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1529
Location: Maine, USA

PostPosted: Wed 22 Aug 2012, 21:42    Post subject: usb-modeswitch-1.2.4  

Barry,
I have posted to oldyeller's precise thead here:
http://www.murga-linux.com/puppy/viewtopic.php?p=647379#647379
the newest version of usb_modeswitch, as pets ready for woof-based puppies.They contain the components as generated by the source tarballs. Their pinstall scripts make your modifications during installation, so can be migrated to new versions as they appear.

I also posted the change log with the version I made for lupu, in its thread:
http://www.murga-linux.com/puppy/viewtopic.php?p=646351#646351

Please consider adding the packages to the beta3. Thanks.
Richard
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1529
Location: Maine, USA

PostPosted: Thu 23 Aug 2012, 19:34    Post subject: Re: integration of rerwin fixes  

Barry,
Thank you for adding my "fixes" to woof -- and for catching these misguided mods:
    rc.shutdown: #120603 rerwin: Retain deletions in first pupsave file by copying whiteout files.
    pup_event_backend_modprobe: #120608 . . .; for rule-loaded modules either blacklisted or supported by modaliases, load no module.
They confirm that I need a code inspector.

For firmware.dep, the deletions were unintended. I assumed I was modifying a pure-woof version of the file, but apparently not.

The bcma association was added in support of peebee's work with the Broadcom drivers, which involves several complex modprobe.conf files, including one for bcma.ko. Adding the association to woof is part of my effort to minimize the need for developers to change puppy code. But it may be unnecessary if my experiment with moving most of the complex .conf logic into backend_modprobe pans out.
Richard
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 23 Aug 2012, 19:56    Post subject: Re: remasterpup and miscellaneous fixes from lupu project  

rerwin wrote:
Barry,
The attached package is a collection of small fixes made in the development of lupu 528 plus others made while preparing the package under precise pup. The attached tarball has the difference files for each modified file. My intent is that these should go into woof, as they are puppy infrastructure fixes. Although the fixes are not dramatic, users might try the package if they need one of the fixes or to simply verify that it does no harm.
    remasterpup2: Omits remastering of some files not originally in the puppy main sfs file, supports creation of "boot disks" without users having to modify puppy code and corrects typos in 2 dialog messages.
      #120605 rerwin: omit /dev/snd content, /dev/.udev subdirectory and modem daemons from new master (because daemons reinstalled from firmware if needed).
      #120606 rerwin: support users' replacement of stripped /root & /etc with complete directories (for "boot disk").
      #120607 rerwin: Remove indicators/files for integrated user-installed packages.
      #120628 shinobar: no change id-string for reuse. (added in "-2")
      #120721 revert 'wildcards' option (from 120605); improve /dev/snd file exclusion; exclude /usr/share/icons/hicolor/icon-theme.cache (shinobar). (added in "-2")

    delayedrun: Skips initial popups for boot disk sessions. Runs distro-specific version if present, to avoid need for developer modifications to official version.
      #120606 rerwin: skip quicksetup if /etc flag set by remasterpup2.
      #120804 rerwin: use distro-specific delayedrun if available. (added in "-3a")

    shutdownconfig: For boot disk, skips prompt for saving personal data.
      #120604 rerwin: avoid saving personal data if flag set in /etc (by remasterpup2).

    functions4puppy: Omits saving bad-shutdown indicator on multisession disk, to avoid false alarm message.
      #120608 rerwin: screen out /.XLOADED when save.

    rc.shutdown: Retains deletions during first save of personal data.
      #120603 rerwin: Retain deletions in first pupsave file by copying whiteout files.

    pup_event_backend_modprobe: Corrects indicators of active firmware tarballs and rule-initiated module conflict with modaliases for it. Adds modprobe option for later kernels/udev.
      #120608 rerwin: Always save name of installed firmware; for rule-loaded modules either blacklisted or supported by modaliases, load no module.
      #120809 Add blacklist (-b) option to modprobes using modalias, to correct blacklisting and preferences. (added in "-3a")

    connectwizard: Corrects typo that causes bogus error message in log. Adds support for frisbee if present (from 01micko, slacko), to avoid developer-modified version.
      #111118 add frisbee (added in "-3a")
      #120608 rerwin: get correct pid in wait loop.

    puppyinstaller: Saves old profile when updating a full installation, to assist user.
      #120603 rerwin: preserve user-modified files in full-install upgrade.

    functions4puppy4: Adds support for all-firmware tarball directories and corrects setting of "firmware-loaded" indication. (added in "-3")
      #120729 Add firmware_tarball_func support for firmware directory & set tarball name in firmware.dep.inst regardless of pinstall script - copied from backend_modprobe.

    MODULESCONFIG: Adds preference bcma:wl for Broadcom wifi.

    firmware.dep.3.2.18: Adds module bcma.ko to associations with firmware brcm. (added in "-3")

Please consider committing these fixes to woof (edited if necessary). Thanks.
Richard

UPDATE 7/22/12: Re-uploaded the "fixes" package (as -2) to correct remasterpup2 and add recent fixes to it. Also included a package containing only remasterpup2, for those with the original package already installed.

UPDATE 8/4/12: Re-uploaded the "fixes" package (as -3) to add functions4puppy4 firmware-tarball fix and firmware.dep update.

UPDATE 8/13/12: Added delta-3a package. Merged fix into frisbee-augmented version of connectwizard and changed delayedrun to allow a distro-specific (-$DISTRO_FILE_PREFIX) version, both so that developers need not modify puppy infrastructure scripts. Added modprobe option "-b" to backend_modprobe to retain blacklist and preference functionality with later versions of udev, discovered through 01micko's slacko 5.3.5 effort.


Fixes applied, see my blog:

http://bkhome.org/blog/?viewDetailed=02960
http://bkhome.org/blog/?viewDetailed=02959

I am working through this thread, currently on page 18, which has the above rerwin's post.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
oldyeller


Joined: 15 Nov 2011
Posts: 812
Location: Mishawaka IN

PostPosted: Thu 23 Aug 2012, 20:02    Post subject:  

this is going to be a very nice Puppy when it is all said and done.

Great job Very Happy Very Happy
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 23 Aug 2012, 21:38    Post subject:  

linuxcbon wrote:
Precise 5.2.60 :
- there is twice perl : /usr/bin/perl5.14.2 and /usr/bin/perl


Thanks, fixed.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
runtt21


Joined: 07 Jun 2008
Posts: 1650
Location: BigD Texas

PostPosted: Thu 23 Aug 2012, 21:41    Post subject:  

Sorry if this has already been posted, devx is missing git .
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 24 Aug 2012, 05:29    Post subject:  

oldyeller wrote:
I am very sorry for the confussion of Precise builds that I have done.
I have reposted with a notice that they are not official and that Barryk's Precise is.


No problem, just use a different name. Ah, I see on your forum threads, you have done that! Very Happy

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 24 Aug 2012, 06:10    Post subject: Re: usb-modeswitch-1.2.4  

rerwin wrote:
Barry,
I have posted to oldyeller's precise thead here:
http://www.murga-linux.com/puppy/viewtopic.php?p=647379#647379
the newest version of usb_modeswitch, as pets ready for woof-based puppies.They contain the components as generated by the source tarballs. Their pinstall scripts make your modifications during installation, so can be migrated to new versions as they appear.

I also posted the change log with the version I made for lupu, in its thread:
http://www.murga-linux.com/puppy/viewtopic.php?p=646351#646351

Please consider adding the packages to the beta3. Thanks.
Richard


Superb!

Done: http://bkhome.org/blog/?viewDetailed=02963

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 24 Aug 2012, 06:32    Post subject:  

runtt21 wrote:
Sorry if this has already been posted, devx is missing git .


Thanks, fixed.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Fri 24 Aug 2012, 09:55    Post subject:  

Quote:
checking for CHECK... no
configure: error: Package requirements (check >= 0.9.4) were not met:

No package 'check' found


found it here : http://archive.debian.net/source/etch/check
not on Ubuntu pages :grr:

for compiling Bluez (>4.96)

./configure --enable-static --enable-sap --enable-proximity --enable-time --enable-alert --enable-health --enable-pnat --enable-gatt-example --enable-alsa --enable-usb --enable-tracer --enable-tools --enable-bccmd --enable-pcmcia --enable-hid2hci --enable-dfutool --enable-hidd --enable-pand --enable-dund --enable-cups --enable-test --enable-datafiles --enable-debug --enable-maemo6 --enable-thermometer --prefix=/usr --sysconfdir=/etc --localstatedir=/var

*

Another thing to look at probably :

configure:4486: checking lex library
configure:4500: gcc -o conftest -Wall -O2 conftest.c >&5
/tmp/ccJ40Xmj.o: In function `yylex':
conftest.cSad.text+0xa25): undefined reference to `yywrap'
conftest.cSad.text+0xe0d): undefined reference to `yywrap'
/tmp/ccJ40Xmj.o: In function `main':
conftest.cSad.text.startup+0xf): undefined reference to `yywrap'
collect2: ld returned 1 exit status
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Fri 24 Aug 2012, 20:41    Post subject:  

just copied over the latest precise i had which included 5.2.52.sfs and a precisesave.3fs. So it worked on my previous equipment but greyscreened at "loading kernel modules" both with and without pfix=ram on my present eeepc 1025C. Hard shutdown then required. Will try the latest precise at some later time when i have a decent internet connection.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Sat 25 Aug 2012, 01:33    Post subject:  

Suggestion for /usr/bin/petspec :

Code:
@@ -23,19 +23,22 @@

 mkdir -p /var/local/petspec #100201

-DEF_nameonly="abiword"
+DEF_nameonly="coreutils"
 DEF_version="1.2.3-1"
 DEF_category="BuildingBlock"
 DEF_size_val="UNKNOWN"
+DEF_arch="i486"
 #DEF_path="pet_packages-4"
-DEF_fullfilename="abiword-1.2.3-1.pet"
-DEF_dependencies="+aiksaurus,+gtk2"
-DEF_description="A powerful wordprocessor"
+#DEF_path="puppylinux/pet_packages-5"
+DEF_path="$DISTRO_PKG_REPOSITORY"
+DEF_fullfilename="coreutils-1.2.3-1-i486.pet"
+DEF_dependencies="+glibc"
+DEF_description="GNU minimum binaries"
 DEF_compileddistro="$DISTRO_BINARY_COMPAT"
 DEF_compiledrelease="$DISTRO_COMPAT_VERSION"
 #DEF_repo="official"
 DEF_kernel="`uname -r`"
-DEF_pkgname="${DEF_nameonly}-${DEF_version}"
+DEF_pkgname="${DEF_nameonly}-${DEF_version}-${DEF_arch}"


 if [ $5 ];then
@@ -46,15 +49,18 @@ if [ $5 ];then
  [ "$4" != "EMPTY" ] && DEF_description="$4"
  [ "$4" = "EMPTY" ] && DEF_description="no description provided"
  DEF_pkgname="$5"
- xPATTERN="s%${DEF_nameonly}%%"
- DEF_version="`echo -n "$DEF_pkgname" | sed -e "$xPATTERN" -e 's%^\\-%%'`"
+ xARCH="${DEF_pkgname##*\-}"
+ DEF_arch="$xARCH"
+ #xPATTERN="s%${DEF_nameonly}%%"
+ #DEF_version=`echo -n "$DEF_pkgname" | sed -e "$xPATTERN" -e 's%^\\-%%' -e "s~-${xARCH}$~~"`
+ DEF_version=`echo "$DEF_pkgname" | sed "s/${DEF_nameonly}-//;s/-${xARCH}$//;s/^-*//;s/-*$//"`
  [ "$DEF_version" = "" ] && DEF_version="UNKNOWN" #100320
  [ $5 ] && DEF_size_val="$6"
  DEF_fullfilename="${5}.pet"
 fi

 #100201 subdirectory of package on repo...
-DEF_path=""
+#DEF_path=""
 [ ! $7 ] && [ -f /var/local/petspec/DEF_path ] && DEF_path="`cat /var/local/petspec/DEF_path`"
 [ $7 ] && [ "$7" != "EMPTY" ] && DEF_path="${7}"

@@ -102,7 +108,7 @@ export DLG_REPONAME='

PLUS
Code:
@@ -307,15 +313,16 @@ DB_size="$DB_size_val"'K'
 [ "$DB_category" = "NO CATEGORY" ] && DB_category=""
 [ "$DB_compileddistro" = "DISTRO INDEPENDENT" ] && DB_compileddistro=""
 [ "$DB_compiledrelease" = "DISTRO INDEPENDENT" ] && DB_compiledrelease="" #100303
+[ "$DB_arch" ] || DB_arch="$DEF_arch"  #####TODO
 DB_version="`echo -n "$DB_version" | sed -e 's% %%g'`" #100320 precaution, get rid of any spaces.
 if [ "$DB_version" = "" -o "$DB_version" = "UNKNOWN" ];then #100320
  DB_pkgname="$DB_nameonly"
  DB_version=""
 else
- DB_pkgname="${DB_nameonly}-${DB_version}"
+ DB_pkgname="${DB_nameonly}-${DB_version}-${DB_arch}"
 fi

-DB_ENTRY="${DB_pkgname}|${DB_nameonly}|${DB_version}|${DB_pkgrelease}|${DB_category}|${DB_size}|${DB_path}|${DB_fullfilename}|${DB_dependencies}|${DB_description}|${DB_compileddistro}|${DB_compiledrelease}|${DB_repo}|"
+DB_ENTRY="${DB_pkgname}|${DB_nameonly}|${DB_version}|${DB_arch}|${DB_category}|${DB_size}|${DB_path}|${DB_fullfilename}|${DB_dependencies}|${DB_description}|${DB_compileddistro}|${DB_compiledrelease}|${DB_repo}|"
 echo
 echo "$DB_ENTRY"
 echo "This is the package database entry:
@@ -323,7 +330,7 @@ echo "This is the package database entry
 $DB_ENTRY" > /tmp/petspec_db_entry

 nohup defaulttextviewer /tmp/petspec_db_entry 2>/dev/null &
-
+[ -s nohup.out ] || rm -f nohup.out 2>/dev/null
 exit 0

 ###END###

to fill the ever empty DB_pkgrelease variable .

DISTRO_PKG_REPOSITORY
could be something like
Code:

 @@ -8,9 +8,10 @@ DISTRO_BINARY_COMPAT='ubuntu'
 DISTRO_FILE_PREFIX='macpup'
 #The version of the distro whose binary packages were used to build this distro:
 DISTRO_COMPAT_VERSION='precise'
+DISTRO_PKG_REPOSITORY='quirky/precise'
 #the kernel pet package used:
 DISTRO_KERNEL_PET='linux_kernel-3.2.18-pae-i686-aufs-up.pet'
-#read by /usr/bin to bypass Xorg Wizard at first boot:
+#read by /usr/bin/xwin to bypass Xorg Wizard at first boot:
 DISTRO_XORG_AUTO='yes'
 DISTRO_TARGETARCH='x86'
 #16-byte alpha-numeric ID-string appended to vmlinuz, puppy_precise_5.2.60.sfs, zdrv_precise_5.2.60.sfs and devx.sfs:


And another thing that could cause trobles :
If i change the VERSION in the petspec GUI for example "1.0.1" to "1.0.1-krg" then this VERSION would go into the pet.spec file but dir2pet does not check for this :
Code:
@@ -348,26 +349,27 @@ if [ $? -ne 0 ];then
 fi
 
 cat /tmp/petspec_db_entry | tail -n 1 > $DIRPKG/$BASEPKG/pet.specs
-
+BASEPKG_NEW=`head -n1 $DIRPKG/$BASEPKG/pet.specs |cut -f 1 -d '|'`
+[ "$BASEPKG_NEW" ] || BASEPKG_NEW="${BASEPKG}"
 echo
 echo "Creating package..."
-tar -c -f $DIRPKG/${BASEPKG}.tar $DIRPKG/$BASEPKG/
+tar -c -f $DIRPKG/${BASEPKG_NEW}.tar $DIRPKG/$BASEPKG/
 sync
-gzip $DIRPKG/${BASEPKG}.tar
+gzip $DIRPKG/${BASEPKG_NEW}.tar
 #rmdir $DIRPKG/$BASEPKG
-TARBALL="$DIRPKG/${BASEPKG}.tar.gz"
+TARBALL="$DIRPKG/${BASEPKG_NEW}.tar.gz"
 
 echo
-echo "File $DIRPKG/${BASEPKG}.tar.gz created. Now converting to .pet..."
+echo "File $TARBALL created. Now converting to .pet..."
 FULLSIZE="`stat --format=%s ${TARBALL}`"
 MD5SUM="`md5sum $TARBALL | cut -f 1 -d ' '`"
 echo -n "$MD5SUM" >> $TARBALL
 sync
-mv -f $TARBALL $DIRPKG/${BASEPKG}.pet
+mv -f $TARBALL $DIRPKG/${BASEPKG_NEW}.pet
 sync
 
 echo
-echo "${BASEPKG}.pet has been created. Finished."
+echo "${BASEPKG_NEW}.pet has been created. Finished."
 echo
 echo "If you look in ${BASEPKG} you will see the new '.specs' file."
 if [ "$DESKTOPFILE" = "" ];then
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 21 of 59 [875 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21, 22, 23, ..., 57, 58, 59 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.1599s ][ Queries: 12 (0.0354s) ][ GZIP on ]