Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Community Edition
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Syllable Forum Index -> Community Project
View previous topic :: View next topic  
Author Message
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Thu Jul 19, 2012 11:55 pm    Post subject: Community Edition Reply with quote

I had an idea for a community edition of Syllable. I definitely want it to have a developmental aspect to it.

I would like to have eventually the building/compiling environment setup on the install.

I have done an initial remake of the Syllable ISO
www.jazzrus.com/Jazz.01-S.0.6.7.7z

under the home directory you will find development files and a number of sdl program to compile (instructions and source files included for the sdl programs)

@Bogomips I grab the compiling instruction from your site for a number of SDL programs I thought they would make a nice way to start to learn how to cross compile. Hope you don't mind( I gave you credit in the folder).
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2201
Location: Friesland

PostPosted: Fri Jul 20, 2012 8:05 am    Post subject: Reply with quote

Cool. Smile I had been thinking about a new developer edition, like we had in the past. We never liked the size it adds to the distribution, but I may decide to include the minimum needed to compile programs. However, it would also be a good solution to have it as a community edition.

You can use Packager to install packages in a system image that has already been built. Have a look at the extra parameters by doing

package

To work in system build mode, you have to work in a directory called system and unpack the base package from the Syllable installation CD in a subdirectory stage/image/:

cd /home/nos
mkdir -p system/stage/image/
cd system/stage/image/

Now unpack the base package in there. You should do this all logged in as the root user to preserve the attributes on the files.

You can unzip extra packages you want to add into the resources/ directory in the Syllable image. To have Packager symlink them, do:

package register /home/nos/system/stage/image/resources/PACKAGE /home/nos/system/stage/image/resources/index

It will detect that it is a system image and adjust the symlinks appropriately.

You can install the development files pack in a similar way. Unpack it into

/home/nos/system/stage/image/system/

so that you end up with an extra directory:

/home/nos/system/stage/image/system/development/

Then for each package in /home/nos/system/stage/image/system/development/resources/ do:

package register /home/nos/system/stage/image/system/development/resources/PACKAGE/VERSION /home/nos/system/stage/image/system/index

Now you can repack the contents of system/stage/image/ into a new base package and replace the one on the installation CD.
Back to top
View user's profile Send private message Visit poster's website
Bogomips



Joined: 23 Feb 2011
Posts: 307
Location: France

PostPosted: Sat Jul 21, 2012 2:45 am    Post subject: Reply with quote

hello,

I tried the "Community Edition". It's Cool. Smile

At first I wondered why the ISO image was fat. It was Warmux. Smile

On the site you can take all that you want. It's free.
Thank you for the credits.

I think that it would be interesting to have in the same style, a "Developer Edition" with tools and libraries like libxml2, Python, CMake, etc ...
Back to top
View user's profile Send private message
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Sat Jul 21, 2012 5:18 am    Post subject: Reply with quote

Thanks guys

I have done a small update - This version does not have the SDL programs in it so it smaller in size.
What it does have is
Developers Delight
Network Necessities
Perl Pit
Shell Essentials
And SyllableDesktop-0.6.7-development-1.i586.zip

All are install by default and I did test compile after a clean install with RiLi (SDL game)

Kaj I went a different way - I install a 2nd copy of Syllable to a 2nd partition and installed what I wanted and rebooted to my first copy of Syllable and ran zip -r -y base-syllable * over the 2nd partition. Seems to work Very Happy What's cool is I can quickly add or remove anything to the system, make sure it's working and then just zip it up - good to go.

I thought I would post this version in case anybody wanted a basic development version without all the stuff I am planning to add

Note: Webster and whispher are also install by default now in the base system since I just zip up my drive. you get prompted if you want to install them again. I said no to everything and Webster still worked Smile

http://www.jazzrus.com/Jazz.02-S.0.6.7.7z

Bogomips said
I think that it would be interesting to have in the same style, a "Developer Edition" with tools and libraries like libxml2, Python, CMake, etc ...

Yes very much so I will need to get a list of what tools are useful
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2201
Location: Friesland

PostPosted: Sat Jul 21, 2012 9:56 am    Post subject: Reply with quote

Be careful not to run any programs that initialise themselves by putting personal data in the system. In fact, having run your second installed system only once, it has generated SSH keys to identify the system. This will now be the same on all installations copied from it, endangering their security. So this is not a clean way to produce a system.

Did you update Builder before including it?

build update

This will pull down major updates.
Back to top
View user's profile Send private message Visit poster's website
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Sat Jul 21, 2012 5:10 pm    Post subject: Reply with quote

[quote="Kaj"] it has generated SSH keys to identify the system. This will now be the same on all installations copied from it, endangering their security. So this is not a clean way to produce a system.

Did you update Builder before including it?

build update

This will pull down major updates.[/quote]

SSH KEYS - oops thats not good.

I would like to try and find a more automated way then like

each package in /home/nos/system/stage/image/system/development/resources/ do:

package register /home/nos/system/stage/image/system/development/resources/PACKAGE/VERSION /home/nos/system/stage/image/system/index


could a modified do_install.rb script off the install cd work for others packages as well. currently I see


Packages = {
"Webster" => ["1.0a", "webster-%s.bin.zip"],
"Whisper" => ["1.0a", "whisper-%s.bin.zip"],
}

.......
.......


# Install Syllable-Net packages
Packages.sort_by{|name, info| name}.each {|pkgname, info|
puts "Installing #{pkgname}"
pkg = sprintf(info[1], info[0])
system "unzip", "/boot/Packages/net/#{pkg}", "-d", "/inst/Applications/"

That would not be to hard even for me to repeat that for a different list of packages and get to unzip to another directory but how would one register them?
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2201
Location: Friesland

PostPosted: Sun Jul 22, 2012 5:37 pm    Post subject: Reply with quote

You could use that as an example if you want to do it in Ruby, but it's about application packages, so it doesn't do registration. Registration of resource packages would be as I showed before.

You can also do it in shell script and use the install.sh scripts in the collection packs and the development files pack as examples.
Back to top
View user's profile Send private message Visit poster's website
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Mon Jul 23, 2012 3:57 am    Post subject: Reply with quote

Thanks Kaj - Success I hope by using the install.sh scripts Confused

www.jazzrus.com/Jazz.03-S.0.6.7.7z

I did one quick check will check it more through the week.

Again this just contains
Developers Delight
Network Necessities
Perl Pit
Shell Essentials
And SyllableDesktop-0.6.7-development-1.i586.zip

once I get over the hurdle of having a basic development environment setup on install I will try and expand the edition a bit more. Very Happy
Back to top
View user's profile Send private message
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Wed Jul 25, 2012 3:38 pm    Post subject: Reply with quote

[quote="Bogomips"]hello,



I think that it would be interesting to have in the same style, a "Developer Edition" with tools and libraries like libxml2, Python, CMake, etc ...[/quote]



My little bit of testing went ok so I am happy I can add files to an image in a clean way. So I would like to open it up and get a list of what people think should be included or would be nice to include in a developmental type version of Syllable.
libxml2 and sdl-gfx are requirements of warmux so I will be adding thous.

Very Happy
Back to top
View user's profile Send private message
Bogomips



Joined: 23 Feb 2011
Posts: 307
Location: France

PostPosted: Thu Jul 26, 2012 9:10 am    Post subject: Reply with quote

For additional packages:

CMake
Scons(rebuilt with the new version of Python)
Python
LibXml2
ImLib2
SDL-gfx
Lua
Boost
C-Ares
Libid3tag
LibMpeg2
Libsigc++
Expat
Fontconfig
Freetype2
Glib2
Openssl
Readline
Yasm
PDCurses

For now, I see these packages until I found other dependencies. Smile
Back to top
View user's profile Send private message
Bogomips



Joined: 23 Feb 2011
Posts: 307
Location: France

PostPosted: Thu Jul 26, 2012 9:22 am    Post subject: Reply with quote

There will be maybe other languages like Boron, a small Basic, Rhope, etc. ... The developer version should allow a rapid development with easy access to the tools.

More editors like Nano, Joe or Elvis, etc... because the developers have some preferences.
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2201
Location: Friesland

PostPosted: Thu Jul 26, 2012 10:07 am    Post subject: Reply with quote

Boron is already included in 0.6.7.

If I'm not mistaken, ReadLine and OpenSSL are now also in there as shared libraries.
Back to top
View user's profile Send private message Visit poster's website
Bogomips



Joined: 23 Feb 2011
Posts: 307
Location: France

PostPosted: Thu Jul 26, 2012 10:18 am    Post subject: Reply with quote

That's right. Embarassed But I wondered why on the site of Syllable, there isn't more information about Rhope ?
I tried it and it's good, the script is easy to understand. It would be nice in Syllable Desktop Developer Edition. Rolling Eyes
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2201
Location: Friesland

PostPosted: Thu Jul 26, 2012 10:52 am    Post subject: Reply with quote

We link to Rhope in the download sections, and there have been several news articles about it. But it's not developed anymore, so we can't promote it as a sustainable way to develop for Syllable.
Back to top
View user's profile Send private message Visit poster's website
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Fri Jul 27, 2012 5:56 am    Post subject: Reply with quote

I have done up a pack with the following files - there is an install.sh script

boost-1.35.0-1.i586.resource
c-ares-1.3.2-1.i586.resource
CMake-2.8.4-1.i586.resource
expat-2.0.0-1.i586.resource
fontconfig-2.5.0-1.i586.resource
freetype-2.3.5-1.i586.resource
glib-2.14.4-1.i586.resource
ImLib2-1.4.0-i586.resource
libid3tag-0.15.1b-1.i586.resource
libmpeg2-0.4.1-1.i586.resource
LibPNG-1.2.37-1.i586.resource
LibraryXML2-2.7.8-1.i586.resource
libsigcplusplus-2.0.18-1.i586.resource
lua-5.1.1-1.i586.resource
PDCurses_3_4.resource
Python-2.5.1-2.i586.resource
sdl-gfx-2-0-22.resource
yasm-0.7.1-1.i586.resource

I can't see Scons anywhere Openssl and Readline are Included in Syllable Desktop.

Hopefully I will be able to bring everything together soon Very Happy

www.jazzrus.com/dev_pack_b.zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Community Project All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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


Powered by phpBB © 2001, 2005 phpBB Group