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 29 Jul 2014, 23:28
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppizard 008
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
russoodle


Joined: 12 Sep 2008
Posts: 657
Location: Down-Under in South Oz

PostPosted: Fri 24 Jun 2011, 11:52    Post subject:  

Thank you, Iguleder....i've uploaded them to my site, so there'll be an additional d/l location for them.

There are a number of random .pets in there, so they're in a named folder to make them easier to find. The url is:
http://www.puppylinuxstuff.meownplanet.net/PETS/Iguleder/

_________________
This aging business really bugs me - it didn't bother me years ago, so why is it happening now??
meownplanet - puppylinuxstuff
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 24 Jun 2011, 14:26    Post subject:  

Nice idea. I just used it to update Homebank. The GUI got stuck, but running "pur-build homebank" from the command line immediately produced a prompt requesting installation of the targz. It doesn't search for a previously installed desktop file, so created another menu entry without an icon. Since the files were updated, deleting the file left the original loading the updated version in Lucid 5.2.5. Thanks for the useful app!
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1872
Location: Israel, somewhere in the beautiful desert

PostPosted: Fri 24 Jun 2011, 14:30    Post subject:  

It doesn't get stuck - Homebank has heaps of PNG files and optimizing them takes ages.

Regarding the menu entry - yes, the menu looks horrible unless you use some normal icon theme (e.g the GNOME one) with a full-featured DE or WM (Xfce, E17, etc').

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 24 Jun 2011, 14:37    Post subject:  

Iguleder wrote:
It doesn't get stuck - Homebank has heaps of PNG files and optimizing them takes ages.


Yeah, it did. I went out to do an errand, and came back a few hours later and the original "building homebank" (or something to that effect) was still there. I closed it out, and tried running the CLI, and the installation GUI appeared.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3400
Location: West Lothian, Scotland, UK

PostPosted: Sat 25 Jun 2011, 05:50    Post subject:  

Could someone list the steps they've taken during the successful use of this?

So that perhaps even a non-expert like myself may be able to use it?

Some key terms may need to be explained.
e.g.
What is a "source" [I've seen "source code" mentioned in my travels]
Stripping and trimming a package->of what?
What are "Static Libraries"?

p.s. Added a link to this thread in my PC-Guide->"Puppy Linux" thread. Very Happy
So I ALWAYS know how/where to find it.
And so will others.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 25 Jun 2011, 06:03    Post subject:  

Sylvander wrote:

What is a "source" [I've seen "source code" mentioned in my travels]


wiki to rescue

http://en.wikipedia.org/wiki/Source_code

Quote:
In computer science, source code is text written in a computer programming language. Such a language is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code, which can then be automatically translated to binary machine code that the computer can directly read and execute.

An interpreter translates to machine code and executes it on the fly, while a compiler only translates to machine code that it stores as executable files; these can then be executed as a separate step.

Most computer applications are distributed in a form that includes executable files, but not their source code, which is only useful to a computer programmer who wishes to understand or modify the program.

The source code which constitutes a program is usually held in one or more text files stored on a computer's hard disk; usually these files are carefully arranged into a directory tree, known as a source tree.

Source code can also be stored in a database (as is common for stored procedures) or elsewhere.


The most important thing about source code is that it allows others to understand how the program is set up to achieve it's goals and if the documentation the human comments that is for us to read and the computer to ignore is that one can modify it so it suites our need. That is why we have "Free Open Source Software" FOSS so we don't have to pay incredible high sum to use that code?

QNX OS that is used now in latest RIM BlackBerry Playbook most likely is proprietary source code that you need a license to use.

Some 25 years ago I trusted the then "dogma that everybody can learn anything if one set ones mind to it and that talent was another word for hard work" so I tried to learn Assembler and C++ and all the other computer languages. It was not true. Not everybody can be a programmer.

Last edited by nooby on Sat 25 Jun 2011, 06:11; edited 1 time in total
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1872
Location: Israel, somewhere in the beautiful desert

PostPosted: Sat 25 Jun 2011, 06:06    Post subject:  

Software is written in programming languages, which define a certain syntax in which software can be written. This text (i.e, code) defines the algorithm and the flow of the program. In other words, the code of a program is written in a programming language and defines what the program does.

However, computers don't speak programming langauges - they speak machine language, which consists of long sequences of 0 and 1 - 1 indicates high voltage and 0 indicates little or none.

The procedure in which a software product is converted from the human-readable programming language into machine language is called compiling; the tool that performs this operation is a compiler. In our case, it's GCC, GNU's compiler.

The compiled software (i.e in the format the computer can understand and run) is called a binary package ("binary language" is a synonym for "machine language"), while the code (the text written in a programming language) is called the source; that's the source code.

Packages come in two forms: source packages and binary packages. For example, Slackware's packages come as binary packages, after someone compiled them for you. You just install the binary package and that's it. However, each package is built using a build script which patches the source package, compiles it and turns it into a binary package.

This tool allows you to automatically download a source package and build it using a build script that comes with the tool, in order to produce a binary package on your computer and not on someone else's computer.

Regarding static libraries - there are two kinds of libraries. One called "shared libraries" - these libraries appear once on the system and each application which relies on them simply loads them. The other kind is "static libraries" - these are compiled into the package that rely on them, so each application has its little, built-in copy. This wastes space but provides a very marginal performance gain; Puppy's approach is to use shared libraries, as many as possible, because static libraries waste space.

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 25 Jun 2011, 06:22    Post subject: Puppy Ports 002  

Sylvander wrote:
Could someone list the steps they've taken during the successful use of this?

simple steps I have used to get latest full featured yad:
- install pur-tools-o.2.pet (see 1st post)
- Menu > System > Puppizard
- select yad
- needed some patience
- yad 0.12.2 was offered to be installed

Really easy Smile
Thank you iguleder
Edited
and thank you for your example of simple English too Wink
edited once again
yes devx of course

Last edited by L18L on Sat 25 Jun 2011, 06:30; edited 3 times in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 25 Jun 2011, 06:25    Post subject: Re: Puppy Ports 002  

L18L wrote:
Sylvander wrote:
Could someone list the steps they've taken during the successful use of this?

simple steps I have used to get latest full featured yad:
- install pur-tools-o.2.pet (see 1st post)
- Menu > System > Puppizard
- select yad
- needed some patience
- yad 0.12.2 was offered to be installed

Really easy Smile
Thank you iguleder


Sylvander if I get it this means he already had Devs sfs installed?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1872
Location: Israel, somewhere in the beautiful desert

PostPosted: Sat 25 Jun 2011, 06:38    Post subject:  

Uploaded a version with small bug-fixes and overall cleanup.

I'm also uploading a new kernel I just built (using a script, too ... hehe) ... my puplet sense tickles Wink

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 25 Jun 2011, 07:31    Post subject: pur
Subject description: 0.3 in wary 511
 

Iguleder wrote:
Uploaded a version with small bug-fixes and overall cleanup.

Now my unspoken question where to get advancecomp and optipng from in answered.

BTW, compiling from source means that compiler is using i686 if on a 686 machine. Right?

Thanks again.
pur-0.3.png
 Description   menu > system > puppizard
 Filesize   21.28 KB
 Viewed   876 Time(s)

pur-0.3.png

Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1872
Location: Israel, somewhere in the beautiful desert

PostPosted: Sat 25 Jun 2011, 07:37    Post subject:  

Install AdvanceCOMP and OptiPNG through Puppizard itself Smile

The packages won't be ultra-stripped, so after you install them, do another round.

And regarding the i686 issue - see /usr/share/pur/profiles/default. The default CFLAGS are "safe" - i386 and size. I don't know why, many say i386 optimization makes packages uber-fast and it works well for me.

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 25 Jun 2011, 07:53    Post subject:  

AJ told me that Vector Linux was compiled from Arch but done for 486 while Arch Linux themselves compiled for 686.

And you talk about 386? How come that different Devs prefer different compile targets like that?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 25 Jun 2011, 08:01    Post subject: pur
Subject description: compiling
 

Iguleder wrote:
And regarding the i686 issue - see /usr/share/pur/profiles/default. The default CFLAGS are "safe" - i386 and size. I don't know why, many say i386 optimization makes packages uber-fast and it works well for me.

Mh, hard to believe (the uber-fast), i386 had no floating point algebra

But why not just try, measure and compare it?
Using cpufamily in /proc/cpuinfo.

Anyone else interested in investigation of this?
edited
I am trying now
Code:
case $(uname -m) in
   i686)
      LIBDIR_SUFFIX=""
      CFLAGS="-march=i686 -Os -fomit-frame-pointer -pipe "
      ARCH="i386"
      ;;
   i?86)

Last edited by L18L on Sat 25 Jun 2011, 08:11; edited 1 time in total
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1872
Location: Israel, somewhere in the beautiful desert

PostPosted: Sat 25 Jun 2011, 08:08    Post subject:  

Just remove the CFLAGS and CXXFLAGS from /usr/share/pur/default/profile and packages will automatically build with optimizations suitable for your system.

Regarding the FPU thing - these are just optimizations, it doesn't mean your FPU isn't used.

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Display posts from previous:   Sort by:   
Page 2 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 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.0978s ][ Queries: 12 (0.0085s) ][ GZIP on ]