Main place for discussions about U++ cross platform development framework.
SVN UPDATE & .deb BUILD : Revision 951 - 2009-03-12
Sorry for the long time since last build New builds available here : http://www.ultimatepp.org/svnbuilds Ciao Max
Re: SVN UPDATE & .deb BUILD : Revision 453 - 2008-09-16
Excellent! BTW, I would like to have this automated soon (and performed each night). The idea is that maintainers should control the process via svn script updates. Do you eventually have any ideas what the infrastructure should look like? So far, I think that there should be something like 'builders' folder in svn. Each night, user 'upp' on server should export latest svn into ~/upp.src (with subfolders 'uppsrc', 'examples' etc...). Then it would run all scripts in 'builders'. These scripts should create output packages (e.g. .debs) and upload them somewhere (either website, or googlecode or maybe both). Any comments? Mirek
There should be a simple stuff to implement.... a cron job that does a copy (with rsync, it can skip easily .svn stuffs) in a folder, launch build scripts and upload to ftp server. It's almost all ready, at least about Linux. About windows, I'm using UPP under wine and it works perfectly, so it shouldn't be difficult to use UMK to do the same stuff as in Linux and FROM inside Linux. The script could also update a web page, but that's beyond my skills... maybe Bytefield can cope with it Ciao Max
mdelfede wrote on Wed, 17 September 2008 14:21 The script could also update a web page, but that's beyond my skills... maybe Bytefield can cope with it Well, I guess you have overlooked it, but that part is already working Mirek
Ahh, ok ! So if you want I can do as try about the rest.... I need an ssh access to your server, of course. Do I have it ? not yet tested... Max
mdelfede wrote on Wed, 17 September 2008 16:12 I need an ssh access to your server, of course. No, there is no ssh access. In fact, I will try to get as far as possible without it, I mean I would like to build the infrastructure without the need for any developer to have ssh, I believe that long-term it is much better solution. Means everything should be managed by svn content... Mirek
luzr wrote on Fri, 19 September 2008 11:12 mdelfede wrote on Wed, 17 September 2008 16:12 I need an ssh access to your server, of course. No, there is no ssh access. In fact, I will try to get as far as possible without it, I mean I would like to build the infrastructure without the need for any developer to have ssh, I believe that long-term it is much better solution. Means everything should be managed by svn content... Mirek It's not hard to do everything just with svn. You have to create a script which do the job and an entry to cron to check from time to time if there are changes to script(which get updated by developers in svn repo) and if there are changes it will update the script which get called by another entry for cron every night to do nighty builds. I can talk about my vision on how it may look but sorry, i can't implement it, my knowledge in cron+bash+svn are quite limited and don't have time to improve them right now.
Yes, that can be done, but can also be very limited and cumbersome to maintain. Yet, of course, it's by far less prone to damages. But, to test the build scripts I should reproduce exactly your machine, build and debug the scripts, which can depend on many many factors (for example, wine for windows builds...) and then upload to svn and hope they'll work also on your machine. Then I must ask you to add them to a cron job. Then if something goes wrong I can't see easily what happened, I must ask you to stop the job, retest scripts, ecc ecc. In conclusion, IMHO, ssh access IS necessary for maintaining purposes. For the rest svn is more than enough. Ciao Max EDIT: without ssh, it would be by far easier to setup a build machine locally and use a cron job that builds theide and upload it to an ftp server. The problem would be the updates when my machine is off (for example, holydays)
Quote: EDIT: without ssh, it would be by far easier to setup a build machine locally and use a cron job that builds theide and upload it to an ftp server. The problem would be the updates when my machine is off (for example, holydays) Here is another idea for using some sponsorship money: can get a Virtual Private Server (VPS), choose our own OS and let the hosting company manage the uptime with automated backups etc... Then you can assign *nix user accounts and groups to contributors. Example: http://www.spry.com/
mdelfede wrote on Fri, 19 September 2008 09:04 Yes, that can be done, but can also be very limited and cumbersome to maintain. Yet, of course, it's by far less prone to damages. But, to test the build scripts I should reproduce exactly your machine, build and debug the scripts, which can depend on many many factors (for example, wine for windows builds...) and then upload to svn and hope they'll work also on your machine. In fact I believe this is a GOOD thing. It will make well defined environment that can be used in the future. Quote: Then I must ask you to add them to a cron job. I plan to run ALL scripts from certain svn directory. This part is easy Just add the script there... Quote: Then if something goes wrong I can't see easily what happened, I must ask you to stop the job, retest scripts, ecc ecc. In conclusion, IMHO, ssh access IS necessary for maintaining purposes. For the rest svn is more than enough. IMO, let us try first I believe it is as complicated as you believe. For starters, script runs under "upp" user, theide is on the PATH. FTP access info will be given in environment. Do you need anything else? Mirek
SVN UPDATE & .deb BUILD : Revision 539 - 2008-10-18
New builds available here : http://www.ultimatepp.org/svnbuilds Ciao Max
Re: SVN UPDATE & .deb BUILD : Revision 539 - 2008-10-18
mdelfede wrote on Sat, 18 October 2008 21:05 New builds available here : http://www.ultimatepp.org/svnbuilds Thanks, usually there was a build even for Windows but I cannot see it Luigi
We are doing it for free for pleasure or learning purpose, so please don't expect there is someone forced to do something. What we are doing is because we know that we can help us helping others and even if we don't expect others to help us. In the bible is written "Without cost you have received; without cost you are to give."(Matthew 10:8b) so mainly that is what some of use are doing in fact that's also one part of OSS. And sometimes we cannot do what we want because of unfavorable circumstances, For example when I've entered last night on forum and seen the build i was in my room on my notebook which is 64bit system, so even if i wanted to build 32bit build(for linux) i couldn't done that without waking all my family because the 32 bit pc is somewhere in the middle of the house and it isn't quite silent, so i've decided to wait until this morning. So, please be kind and understand we are all humans Regards, Andrei P.S.: i think you known what i've said above but you were too lazy as sometimes happen me to be to build the package your self
forlano wrote on Sun, 19 October 2008 03:42 mdelfede wrote on Sat, 18 October 2008 21:05 New builds available here : http://www.ultimatepp.org/svnbuilds Thanks, usually there was a build even for Windows but I cannot see it Luigi PM Daniel Anyway, I hope to establish Ubuntu and Win32 nightly builds soon. I just wanted to finish T++ issues first, which in turn ended in endless loop of A++ issues... (I am now working on parser/A++ for the 4th week....) Mirek
luzr wrote on Sun, 19 October 2008 15:21 forlano wrote on Sun, 19 October 2008 03:42 mdelfede wrote on Sat, 18 October 2008 21:05 New builds available here : http://www.ultimatepp.org/svnbuilds Thanks, usually there was a build even for Windows but I cannot see it Luigi PM Daniel Anyway, I hope to establish Ubuntu and Win32 nightly builds soon. I just wanted to finish T++ issues first, which in turn ended in endless loop of A++ issues... (I am now working on parser/A++ for the 4th week....) Mirek Ah... Daniel maintain the windows build. I believed was done by Max. So I thought there were just a problem with some link because the linux version in on. I tried to install and use a svn client to do it by myself but without instructions it is not evident how to do it... at least for me, so I stopped to fight with svn. Anyway thanks a lot for these new exciting features! Luigi
forlano wrote on Sun, 19 October 2008 15:44 Ah... Daniel maintain the windows build. I believed was done by Max. So I thought there were just a problem with some link because the linux version in on. I tried to install and use a svn client to do it by myself but without instructions it is not evident how to do it... at least for me, so I stopped to fight with svn. Anyway thanks a lot for these new exciting features! Luigi Don't give up with svn, it's a strong piece of software I don't maintain window svn build because I'm trying to not use windows anymore.... I've got just a wine upp setup in case I need to build a windows executable. The same is for 32 bit version, we've divided our efforts to be able to provide builds as often as possible. BTW, as Mirek said, there are plans to setup a nighty build machine, but that's not so easy, as we want to target all most used linux distros AND windows. So, we're still thinking on how to implement it using a single build machine using Ubuntu 64 bit. So, if there's here some "expert" on multi-target builds and cross builds, he's wellcome ! Mirek thinks on setting up chrooted environs for the different builds, and I'm quite optimistic on the ability to use wine to build windows version on the Linux machine automatically. If somebody has some chrooted environments ready for building RPMs, 32 bit linux on 64 bit or even other distros, please drop a word here on forum, so we can speed up stuffs ! Ciao Max
mdelfede wrote on Mon, 20 October 2008 14:13 forlano wrote on Sun, 19 October 2008 15:44 I tried to install and use a svn client to do it by myself but without instructions it is not evident how to do it... at least for me, so I stopped to fight with svn. Luigi Don't give up with svn, it's a strong piece of software Today I was able to get in some weird way the full update and compile a new ide. Now I believe to stop to suffer because theide has an automatic way to update the distro. But I am afraid that the sync works in the two way... I want only download and not update spoiling your work . Can I use this feature without problem? Luigi
Basically when you modify files and then update from repository, SVN will try to merge the changes together. In case you did edit different part of file than the new change available in the repository, SVN will merge it automatically. In case both you and someone else did edit the same line of file, and the result is different, you will get "conflict". Try to check SVN book for more information how to work with SVN. http://svnbook.red-bean.com/en/1.5/index.html For example there's also chapter how to resolve conflicts, but you should try to fly trough whole content of it. It's not that huge and it will maybe explain you the basic principles. Anyway, conflicts and merging are not that great in SVN, especially merging between different branches is somewhat more difficult, then it has to be, at least GIT looks more powerful in this aspect. But I can assure you SVN is very luxury way how to handle changes - when compared to some more historical options, like doing backups by hand or some years ago I did met MS Source Safe, and it was more like Source Lose than Safe. But it takes some time to get used to SVN and to learn how to use it in smart way, just like C++. It's powerful, but easy to use in wrong way and cause you big headache later.
forlano wrote on Mon, 20 October 2008 19:34 mdelfede wrote on Mon, 20 October 2008 14:13 forlano wrote on Sun, 19 October 2008 15:44 I tried to install and use a svn client to do it by myself but without instructions it is not evident how to do it... at least for me, so I stopped to fight with svn. Luigi Don't give up with svn, it's a strong piece of software Today I was able to get in some weird way the full update and compile a new ide. Now I believe to stop to suffer because theide has an automatic way to update the distro. But I am afraid that the sync works in the two way... I want only download and not update spoiling your work . Can I use this feature without problem? Luigi I've not tested theide built-in svn stuff, but AFAIK it does work like normal svn, so syncing in both ways. There's no simple way to make it one-way sync. BTW, if you don't change synced content, it should just update yours from svn repository. But, IMHO, it's by far more simple to keep a separate svn repository, update manually and have a script that copies it's content on your upp three, overwriting it and skipping .svn stuffs. In Linux that can be done with rsync command, in windows I guess you should code it by yourself, but that's not hard. Once you have the svn repository on your pc, the update is quite straighforward : 1) - svn update (on svn local copy) 2) - launch your copy script which updates your upp repo 3) - launch theide and recompile itself 4) - copy the new ide executable in place of old one With umk's help and some simple batch scripts all that can be automated, and by far quicker than download a full nighty build. Ciao Max
Max: I don't get it. You can have as many svn working copies at disk, as you want, so in case you do use your own customization of upp sources, you can have "c:\uppsvn" for example, which you will checkout from SVN mirror once. Do all your changes you need to upp sources. And then just keep updating. As long as upp devs don't do changes at the same line, you will get always auto merge of your changes with latest SVN source. In case you need clean SVN upp, just check out it one more time into different directory. For windows I strongly recommend TortoiseSVN client, although I didn't like the "explorer extension" way of how it works, it's the only thing I don't like about it, otherwise it's excellent software and makes using SVN very convenient. In TheIDE (let's say installed from stable release into "c:\upp") you just set up new assembly with "c:\uppsvn" directory (see the origianl upp assembly), select "TheIDE" project from the new uppsvn assembly, compile, exit TheIDE and copy the new ide.exe over the original theide.exe (but make backup! very handy ). There you go, you are running latest SVN TheIDE, including your own customized upp changes. I don't see where you need rsync or copy of files.
SVN UPDATE & .deb BUILD : Revision 567 - 2008-10-25
SVN UPDATE & .deb BUILD : Revision 571 - 2008-10-29
SVN UPDATE & .deb BUILD : Revision 588 - 2008-11-01
SVN UPDATE & .deb BUILD : Revision 589 - 2008-11-01
This build adds a fix on Linux build scripts by Bytefield for new Ubuntu/Debian releases. New builds available here : http://www.ultimatepp.org/svnbuilds Ciao Max
SVN UPDATE & .deb BUILD : Revision 625 - 2008-11-09
SVN UPDATE & .deb BUILD : Revision 643 - 2008-11-15
SVN UPDATE & .deb BUILD : Revision 745 - 2009-01-14
SVN UPDATE & .deb BUILD : Revision 868 - 2009-02-14
Re: SVN UPDATE & .deb BUILD : Revision 951 - 2009-03-12
What about Debian/Ubuntu 32 bit package? Tell me, has an alternative way to update the 32bit linux package? Work in full swing and we look forward to updates.
Hi, I was responsible for building 32bit packages, but now I only have 64bit systems, so it's a bit harder to build 32bit packages. Anyway, U++ infrastructure server will solve this inconvenient in near future.(I hope so, else I have to build in VirtualBox). Andrei
andrei_natanael wrote on Mon, 16 March 2009 05:20 Hi, I was responsible for building 32bit packages, but now I only have 64bit systems, so it's a bit harder to build 32bit packages. Anyway, U++ infrastructure server will solve this inconvenient in near future.(I hope so, else I have to build in VirtualBox). Andrei Well, I still hope it should be possible to build 32bit .deb on 64bit ubuntu.... Mirek
In principle, I have several machines with a wide variety of Linux and the main working machine with a 32bit UBUNTU. As I understand it, the scripts to build the long-established. So get ready for the regular updating of 32bit-assembly.
sergeynikitin wrote on Tue, 17 March 2009 02:34 In principle, I have several machines with a wide variety of Linux and the main working machine with a 32bit UBUNTU. As I understand it, the scripts to build the long-established. So get ready for the regular updating of 32bit-assembly. Well, we are trying to move to nightly builds so that nobody has to care about updating. However, all builds will have to be performed on Ubuntu 64 (because that is what runs on our 'infrastructure server'). Mirek
Thanks a lot. I will try the Windows version. But, is there a Debian/Ubuntu 32 bit package version? Please, I need to try. Thank you very much.
sevenjay wrote on Fri, 03 April 2009 10:52 Thanks a lot. I will try the Windows version. But, is there a Debian/Ubuntu 32 bit package version? Please, I need to try. Thank you very much. I build it on Ubuntu 9.04. It works well.
sevenjay wrote on Tue, 19 May 2009 10:08 sevenjay wrote on Fri, 03 April 2009 10:52 Thanks a lot. I will try the Windows version. But, is there a Debian/Ubuntu 32 bit package version? Please, I need to try. Thank you very much. I build it on Ubuntu 9.04. It works well. Hello! I need U++ installation on Ubuntu 9.04 32bit. Can anybody help me? Thanks in advance!
tojocky wrote on Wed, 20 May 2009 02:32 sevenjay wrote on Tue, 19 May 2009 10:08 sevenjay wrote on Fri, 03 April 2009 10:52 Thanks a lot. I will try the Windows version. But, is there a Debian/Ubuntu 32 bit package version? Please, I need to try. Thank you very much. I build it on Ubuntu 9.04. It works well. Hello! I need U++ installation on Ubuntu 9.04 32bit. Can anybody help me? Thanks in advance! Try src. It should be X11-universal. You might need to install some libs and gcc... Mirek
luzr wrote on Wed, 20 May 2009 09:45 Try src. It should be X11-universal. You might need to install some libs and gcc... Mirek I didn't build this on linux. In readme from src I found to use "make install" I'm new in linux install. Can anybody help me?
Hello tojocky Yes. Quote: Try src. It should be X11-universal. You might need to install some libs and gcc... That is it. Install in Ubuntu "build-essential" package and after that compile the .gz sources doing. make make install If you have problems you can also install the newer .deb in http://www.ultimatepp.org/svnbuilds/, copy over it the last sources .gz and compile TheIDE package. Best regards Koldo
OK! I was compiled the source code... but I thing that readme is incomplete! Need to write list of libraries to install. Thank you your help!
tojocky wrote on Wed, 20 May 2009 04:49 OK! I was compiled the source code... but I thing that readme is incomplete! Need to write list of libraries to install. Thank you your help! Will you? Mirek
luzr wrote on Wed, 20 May 2009 15:05 tojocky wrote on Wed, 20 May 2009 04:49 OK! I was compiled the source code... but I thing that readme is incomplete! Need to write list of libraries to install. Thank you your help! Will you? Mirek OK! I'm not sure that I will write all libraries, I'll try!
Kubuntu 9.04 (should be same as Ubuntu 9.04): I downloaded latest src from google mirror ( upp-x11-src-1214.tar.gz ). Additional packages I did install trough package manager (and all the dependencies for them ... in total it's LOT of packages): build-essentials libx11-dev libxft-dev libgtk2.0-dev To unpack: tar -xvvzf upp-x11-src-1214.tar.gz To compile: make you should get binary "theide" (7MB here now) in your home directory. Then if you wish, run (without sudo!): make install This will prepare theide to be used locally by your current user, i.e. it will set up assemblies, and directories in user's home directory. Or you can simply run theide and set up everything by hand. I think with flagNOGTK flag it would require only first three additional packages, I will maybe try it later, if it works with current src package.
Actually, I guess we could get the complete list of libraries from makefile (stupid me...). I will do it soon. Mirek
luzr wrote on Thu, 21 May 2009 16:35 Actually, I guess we could get the complete list of libraries from makefile (stupid me...). I will do it soon. Mirek While that's certainly a proper first step, a list of .debs in some actual distribution will help to some users more. But it should start with list of needed libs, I produced my list by simply waiting for compilation failure and searching for the file with apt-file utility. So I may have miss any libs which are used by U++ in general, but not by IDE.
mr_ped wrote on Thu, 21 May 2009 15:34 luzr wrote on Thu, 21 May 2009 16:35 Actually, I guess we could get the complete list of libraries from makefile (stupid me...). I will do it soon. Mirek While that's certainly a proper first step, a list of .debs in some actual distribution will help to some users more. But it should start with list of needed libs, I produced my list by simply waiting for compilation failure and searching for the file with apt-file utility. So I may have miss any libs which are used by U++ in general, but not by IDE. Luckily, the set is almost the same for TheIDE and U++. The exceptions are things like OpenGL or database access libraries. But I guess you do not want to have them installed by default anyway.. Mirek
If we are going to improve the readme in src package, I would highly recommend to mention those libs (and package names) too (as "optional"). I don't have problem to support Ubuntu's list of .deb packages needed, I finally tried Ubuntu installation in VirtualBox and while it's far from usable for actual programming (at least untill I figure out how to get bigger resolution then 800x600, probably I need to edit xorg.conf), it works like charm for experiments + compilation under latest OS version from CD ISO image, so I can try every new Ubuntu without endangering production OS and search for needed packages and provide you with the list. To test some OGL/SDL/various DB things, I should probably try some U++ projects from examples/reference? Any idea, which ones are most likely to exercise full dev support of desired libs? I think OGL/SDL have each their own example, so those will be easy, but I'm not sure about DBs.
reference/SQL_* reference/OpenGL Mirek
Hello mr_ped If you use Ubuntu and you can not install the full OS there is one additional option to VirtualBox or other virtualization system. It is called Portable Ubuntu. http://portableubuntu.demonccc.cloudius.com.ar/ It is an Ubuntu system running as a Windows application. You do not need to install it, just run it so it is easy to carry in an usb memory. All Ubuntu applications appear on the Windows desktop. Using it from an XP I have compiled the last theide from an older one that was in a 32 bits .deb package, just like I did in the real Ubuntu. I do know that there is no better GNU/Linux than the real one, but in special cases this could be another option and U++ works well in it. Best regards Koldo