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 21 Oct 2014, 05:30
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Mono / .net related stuff - Monodevelop.sfs
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [39 Posts]   Goto page: 1, 2, 3 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 30 Mar 2009, 12:22    Post subject:  Mono / .net related stuff - Monodevelop.sfs
Subject description: Complete Monodevelop ISO now available + ValaIDE
 

I think I should start a new thread here.

Complete Monodevelop ISO now available:
http://www.murga-linux.com/puppy/viewtopic.php?p=290970#290970

SFS files for other puplets also available further down in this thread.

I finished my Java course last week.
Now I take a course in C# (C sharp) .NET.
It lasts 2 months again, and we develop on XP.
I also installed Puppy 4.12 in Virtualbox.
The computer still runs in school, as it compiles Mono 2.4.
So tomorrow I will try to compile Mono-develop.

I also had tried the mono sfs from here:
http://www.murga-linux.com/puppy/viewtopic.php?p=259146
But it seems to be too old or miss files for Mono-develop.
So I will try to create a sfs with the latest versions on my own.

On XP, we use the Visual Studio 2008.
It can be downloaded without paying, if you use the version for C# only.
So it will be interesting, to test the projects I create in it, in Mono-develop.
I also will try to create a small sfs with a Mono runtime only.
The one from polymath is 33 MB only, so somewhat comparable to a Java runtime.

At home, I use a different setup.
My main system is NYP02rc7, and XP runs in virtualbox here.
I will install here too the Visual studio, and try the Mono I compile at school.
Details concerning XP in virtualbox:
http://www.murga-linux.com/puppy/viewtopic.php?p=288158#288158

I'm curious, if someone else here already has programmed in C#?
At first sight, it seems to be not very different from Vala or Java.
Has someone experience with C# applications on old computers?
I once ran one on a Pentium 700, and it started faster than Java.
But that was almost 3 years ago, Mono has grown since then.

Mark

_________________
my recommended links

Last edited by MU on Thu 02 Apr 2009, 11:43; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 31 Mar 2009, 11:57    Post subject:  

ok, mono compiled fine during the night in Puppy 4.12.
The resulting pet is 35 MB, it includes the mcs compiler.
I could compile and run a simple Windows.forms C# example from the book I have, it was written for .net 3.5.
The book has many examples for Visual Studio 2008 on CD, and so is great for tests.

I also compiled some more addons, and the Visual Basic compiler.
So if I put everything in a sfs finally, it should be 35-40 MB.

Mono-develop was more tricky.
It requires Gnome libs (**edit: only for compilation).
The single pets I had made a while ago, are too old (2.19.2).
I then had success using wows sfs (2.20.3).
I just had to recompile 3 packs, as the developer files were not included (libgnomecanvas, libgnomeprint, libgnomeprintui).
That sfs is 87 MB, so it might be worth a try, to recompile only what absolutely is needed. But that is very timeconsuming, so I am not certain, that I will do it.
The size of the monodevelop.pet itself is 7 MB.

Ufortunately, mono-develop freezes while displaying the splash screen.
I see 2 errors: one because libgio is missing, and one concerning "package dmx" not found.
I must sort out tomorrow, what is the critical one.

Libgio would be bad, we have similar issues with the valaide.
There I could workaround by including a newer glib, but 2 people reported instabilities in Puppy after they ran that ide.
So if we have bad luck, it cannot be used in Puppy 4.12, and we depend on Ultrapup/NYP for mono-develop.

But as long as mono itself (as runtime) works, this would be something, we could live with.
I also wonder, how far the runtime could be reduced, if the mono-compiler mcs is taken out. I must compare with prebuilt packages from other distros, what is required as minimum for a runtime.sfs.

I'll keep you informed tomorrow...

Mark

_________________
my recommended links

Last edited by MU on Thu 02 Apr 2009, 11:46; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10821
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 31 Mar 2009, 13:21    Post subject:  

Hi Mu

A few years back they talked about Paint.Nat being ported with mono, But I've never seen it done, just images, even like almost 3 years later there isn't a package. They even still mention it in the screenshot section, I've always liked Paint.net for a free windows Photoshop type/clone application. Its a shame they never made a linux version, its a lot closer to Photoshop GUI then Gimp or Gimpshop.
http://www.mono-project.com/Screenshots
Well looking forward to you reading about your journey with mono.
ttuuxxx

ps this is the mono/paint sources area
http://code.google.com/p/paint-mono/

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6447
Location: Auckland, New Zealand

PostPosted: Tue 31 Mar 2009, 20:21    Post subject:  

I have a mono-paint binary compiled for Debian. I'll hopefully try it tonight with the sfs I have. I think it is from Polymath. Where is wow's sfs?

I think the binary was from http://forum.ubuntu.org.cn/download/file.php?id=53949

BTW I posted about running the freeware Artweaver in Wine. I haven't really used it, but it seemed a lot like Paint.NET. Have you tried it?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 01 Apr 2009, 02:22    Post subject:  

wow had created a sfs of Gnome (required for monodevelop), not of Mono.
I will upload a sfs of the new mono 2.4 today or tomorrow.

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6447
Location: Auckland, New Zealand

PostPosted: Wed 01 Apr 2009, 05:05    Post subject:  

Ah. Thanks for clarifying that.

FTR the mono-paint binary doesn't work with that Mono sfs
I suspect the mono version is too old - the paint-mono website says you need Mono from svn... although I don't know how long ago that was written Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: Wed 01 Apr 2009, 09:53    Post subject:  

I have uploaded Mono 2.4.
http://puppyisos.org/isos/2009-01-to-06/Newyearspup02/mono/
User: puppy
Password: linux


There are 2 SFS files.

mono-2.4mini_411.sfs
This is 39 MB.
It includes only Mono itself (and Gtk-sharp).
In many cases, it should be enough to run Mono programs.
It includes the C# compiler.


mono-2.4_411.sfs
This is 49 MB.
It includes several addons like Visual Basic Compiler and Monodevelop.
To see, what addons are included, look at:
http://puppyisos.org/isos/2009-01-to-06/Newyearspup02/mono/pets/

That folder contains all the pets, that I extracted to create this sfs.
The database addon as compiled without MySQL, I can add that on request.

The pets were compiled in Puppy 4.12.
Monodevelop however does not work in Puppy 4.12.
But it works fine in Newyearspup; Ultrapup also should work.
I think the most important difference is the newer Glib, that both puplets use.

At startup, Monodevelop will show a warning concerning Platform services.
It appears, if you run it without Gnome.
Simply confirm, and it will continue without problem Exclamation

If you want to use gnome, here are some tips:
I used the one from:
http://www.murga-linux.com/puppy/viewtopic.php?t=27864
It is "just" 87 MB.
Monodevelop will not run with the large Gnome 2.22.3 SFS (600 MB) I once made for Muppy. I think, I would have to recompile Monodevelop for it (may do it on request).
I just added wows Gnome.sfs in the bootmanager, and did not change something else, as I do not want to run Gnome itself.
If you intend to run Gnome, read carefully the instruction, on how to add "haldaemon" as new user.

-------------------------
To test Mono, you can go to the folder /usr/local/monotest/16-2/.
There type:
./compile.sh
./run

This should compile and run a small application, that opens a window with a button.

------------------------
Notes:
I compiled the packs with:
./configure --prefix=usr
make
new2dir make install

For Mono itself I added the options to compile without mime-database and desktop-database.

When I tested the final sfs, it refused to compile applications.
The reason was , that some symlinks were not registered by new2dir.
So I copied them manually to the sfs folders (and the Mono pet folder).
This concerns all the symlinks in /usr/lib/mono/.
I did not sort out in detail, which symlink belongs to which addon, so the small sfs contains some "dead" symlinks, that will become "alive", if you add a matching pet.

I also had to modify the startscript (/usr/bin/monodevelop) slightly, as it was incompatible with our Bash.

------------------------------
developers:
Monodevelop has no "Winforms" project in the Project wizard.
So for the screenshot, I chose a C# terminal application.
With a right-click on "Verweise" (english systems: Links?), you can add the dependencies, that your app has. Like System.Drawing.
I then simply replaced the terminal example code with one from a Visual Studio book, and it compiled and ran fine.

For some features like "ikvm" you might need more addons.
I did not include them, as it was not clear, on how to add them (zipped without makefile).
Or there were errors (like mono-tools, "make" ran fine, but "make install" not).
In case you need more, check out:
http://ftp.novell.com/pub/mono/sources-stable/
---------------------------------
Mark
monodevelop.jpg
 Description   
 Filesize   51.52 KB
 Viewed   7304 Time(s)

monodevelop.jpg


Last edited by MUguest on Thu 02 Apr 2009, 04:57; edited 2 times in total
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 01 Apr 2009, 16:20    Post subject:  

I just saw, that ttuuxx has posted a newer glib for Puppy 4.12 here:
http://www.murga-linux.com/puppy/viewtopic.php?t=39736

Maybe with that one, Monodevelop works in Puppy 4.12.

I did not try it myself.


**edit - no, does not work
here is a Gtk update:
http://murga-linux.com/puppy/viewtopic.php?p=286161#286161
Must try that, too.

Mark

_________________
my recommended links

Last edited by MU on Thu 02 Apr 2009, 12:02; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: Thu 02 Apr 2009, 03:19    Post subject:  

no, glib is not the reason.
I get the same errors with it.
There ist something about Gtk and icons. So one had to try to upgrade Gtk (what also requires a glib upgrade).

It will be easier, to use ultrapup/nyp instead.
Mark
Back to top
View user's profile Send private message 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: Thu 02 Apr 2009, 05:07    Post subject:  

hehe, cool Cool
No Gnome is required for Monodevelop Exclamation

I started it without a Gnomesfs, to see errors, in order to build a reduced set of Gnome libs.
I was pretty astonished:
It will display an error, that some platform services are unavailable, but starts up fine!
So Gnome was only needed to compile Monodevelop, but not to run it!
I quickly created a Gtk# project, and it compiled and ran fine.

I attach a fullscreen screenshot, Monodevelop in NYP02rc7 (running in Virtualbox under Windows XP).

Mark
monodevelop1.jpg
Description 
jpg

 Download 
Filename  monodevelop1.jpg 
Filesize  183.96 KB 
Downloaded  603 Time(s) 
Back to top
View user's profile Send private message 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: Thu 02 Apr 2009, 08:00    Post subject:  

I updated the SFS.
Added /usr/local/bin/pkgconfig.
Like this, the C# compiler also works, if devx_411.sfs is not installed.

I also added 3 more plugins for Monodevelop.
monodevelop-debugger-gdb-2.0-i486.pet
monodevelop-debugger-mdb-2.0-i486.pet
monodevelop-vala-2.0-i486.pet

I currently try to build a Puplet, based on NYP02rc7micro, with a slightly reduced devx, Monodevelop and Vala/Genie/gedit.

Should be finished tomorrow.

Mark
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6447
Location: Auckland, New Zealand

PostPosted: Thu 02 Apr 2009, 08:31    Post subject:  

For the record, paint.net probably would have run with that sfs.
I am now using that binary with MU's sfs and his gdiplus .pet, which is what I was missing.
It doesn't save files... the paint-mono site says save won't work without svn mono... but I suspect it might work if it was compiled against this Mono, which I think is very new?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 02 Apr 2009, 11:31    Post subject:  

I uploaded an Iso (190 MB).
http://puppyisos.org/isos/2009-01-to-06/Newyearspup02/special-edition-Monodevelop/
User: puppy
password: linux

It is based on Newyearspup02rc7 (micro, without 3D graficsdrivers).

I added:
- vala 0.5.7
- val(a)ide with Genie support
- Mono with all addons I compiled
- Monodevelop (with vala-support)
- Gedit
- Opera
- Devx from ultrapup, with files removed (Perl, Python, /opt).

Small bug:
to be able to run gedit with a click on the desktop icon, edit /root/Desktop/gedit.deskop
from:
Exec=gedit
to:
Exec=geditstart

I did not check at all, if Opera works or if I forgot files, as I was in hurry.

I included 2 projects:
- for Valaide my winecolorsetter in /root/valide/. (wine itself is not included, so it will no do sensefull things. I is just an example how to use glade).

- For Monodevelop a simple C# Winforms example in /root/Projects.

What really thrilled me:
When you choose "Open Project", you can select to open Visual Studio Project Maps.
I just had created a simple window with buttons and Textfield with the Formdesigner in VS 2008.
This project could be properly opened in Monodevelop!

So it might be worth a try, to open the original Paint.Net project in Monodevelop.
No idea though, if such a complex project will build correctly.

Paint-mono is old, and included rewritten code for Mono 1.
Maybe the rewrite no longer is needed, as Mono 2.4 meanwhile claims to be compatible with .NET 3.5.

I might release a slightly updated Iso next week, this depends on how usable it is already.

By the way...
If you think that 190 MB is huge, then please look at the small attached screenshot.
It shows an error from .Net 3.5, when I tried to install it in Wine (in NYP Midi) Laughing Laughing Laughing

Mark
-----------
ToDo:
update vala to 0.6.
add Desktop icon for Glade
check opera
fix gedit .desktop files
add more examples
include wine?
netsetup.jpg
 Description   not enought space, just 4.4 gig available *lol*
 Filesize   66.69 KB
 Viewed   7024 Time(s)

netsetup.jpg

monodevelpup.jpg
Description 
jpg

 Download 
Filename  monodevelpup.jpg 
Filesize  206.12 KB 
Downloaded  528 Time(s) 

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6447
Location: Auckland, New Zealand

PostPosted: Fri 03 Apr 2009, 04:28    Post subject:  

Quote:
include wine?

Why? Does Mono integrate with Wine now? Or are you just thinking of making a Puppy for running Windows and .NET programs?
In the past the only way Wine and Mono could work together was to install Windows Mono in Wine... I wonder if anybody tried running Paint.NET like that.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 03 Apr 2009, 04:53    Post subject:  

Wine might be handy, to run some windows utilities, as .net apps are usually developed in windows. E.g. you might need a windows packer to extract a sourcecode.
------------
I spent some hours trying to run paint.net.

using paint.mono with makefiles works, but I also cannot save.
Saving .jpg hangs the application.
Saving png creates 0 byte files.
I used the latest code from 2009. That is the current download, just the instructions on the website are old.

It can not be opened as project, as the .sln files miss.

So I tried paint.net.
Current source I could not find, then found via google the 3.0.5 source.
It can be loaded in Monodevelop.
For compilation, you must set the warning level from 4 to 0 in the compileroptions (several times during compilation).
If an error occurs, double click it to load the file that causes it, then set the options).

The application compiles, but when it launches, it crashes, it cannot find Gdi32.dll.

I gave up then after a while.

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 3 [39 Posts]   Goto page: 1, 2, 3 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.1264s ][ Queries: 13 (0.0282s) ][ GZIP on ]