Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » updating portage tree, questions, etc.
updating portage tree, questions, etc. [message #17624] Sat, 23 August 2008 02:48 Go to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
Hello luzr et. al,

After a long hiatus I am back to programming and wanted to sync U++ to the latest. I've cleaned up a new version of the experimental portage tree and was working on setting up a live ebuild (directly from the svn source tree). I have the following questions:

1) has there ever been developed a method for bootstrap generation of the Makefiles without a full blown version of U++ installed? I am having a real chicken and egg problem with getting the live ebuild working, and a clean solution to the problem could clean up all of the patches I am hacking over the Makefiles.

2) at one point we discussed the inclusion of a pkg-config interface to find the includes/libraries/flags. Has any work been done on this?

3) is there anyone would would like to test my new ebuilds before I put them up on the server?

Thanks and best regards,

EBo --
Re: updating portage tree, questions, etc. [message #17627 is a reply to message #17624] Sat, 23 August 2008 12:30 Go to previous messageGo to next message
vcunat is currently offline  vcunat
Messages: 3
Registered: May 2008
Location: Èeské Budìjovice (CZ)
Junior Member
3) I would test the ebuild gladly. But with paludis only, I've stopped using portage... (it shouldn't matter for the ebuild)
Re: updating portage tree, questions, etc. [message #17634 is a reply to message #17627] Sat, 23 August 2008 15:48 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
Thanks for the reply vcunat,

I remember reading that portage was being replaced, but was far and away when the switch really started happening. I'll check into it and see about converting too. I'll put you an a list to for beta testing. Hmmm... before punching the send button I did a quick read on paludis. There are enough subtle changes that I think I will put off switching over until I have a little more time to deal with potential snafoo's (like how I deal with overlays, and it looks like one or two of my packages may be known to be broken). Anyway, I'll send you the tree for testing.

As a note, trying to figure out generating the Makefiles would hugely simplify the ebuilds; any suggestions on that front would be greatly appreciated.

EBo --
Re: updating portage tree, questions, etc. [message #17637 is a reply to message #17634] Sun, 24 August 2008 15:49 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Have you tried recent "Export project.." function?

It is not perfect, but the new way how makefiles are generated is IMO long-term viable option.

I would like to hear comments about this and gradually improve it.

Mirek
Re: updating portage tree, questions, etc. [message #17638 is a reply to message #17637] Sun, 24 August 2008 16:07 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
Mirek,

Sorry for dropping off the face of the earth so long...

A couple of questions/comments:

1) where is the source code for the "Export project.." function? I've been gone so long I have to get reoriented.

2) my desire is to be able to generate the Makefiles from the command line as part of a boot strapping process. So, it might already be done and I just not know about it.

Thanks,

EBo --
Re: updating portage tree, questions, etc. [message #17641 is a reply to message #17638] Sun, 24 August 2008 16:38 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ebojd wrote on Sun, 24 August 2008 10:07

Mirek,

Sorry for dropping off the face of the earth so long...

A couple of questions/comments:

1) where is the source code for the "Export project.." function? I've been gone so long I have to get reoriented.



2008.1 release Smile

Quote:


2) my desire is to be able to generate the Makefiles from the command line as part of a boot strapping process. So, it might already be done and I just not know about it.



Right now it is possible to generate "old style" Makefile from the commandline.

New export will be possible soon.

Mirek
Re: updating portage tree, questions, etc. [message #17643 is a reply to message #17638] Sun, 24 August 2008 17:31 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
Doh... I think I found it -- line in uppsrc/ide/Export.cpp. Is that all of it?

First impressions is that it cannot be easily made into a non GUI standalone tool.

After trying to hack this for a boot strapping tool I see that it is going to take more time that I can break away for the next few weeks. I'll take another look then.

To facilitate collaboration if people are willing, what I would like to see/work-on is a bootstrapping program that generates the Makefile/project files. As a bootstrapping program is a minimal command line program which does not require any upper level Ide or GUI tools to configure or build. They typically have a series of very simple hand coded Makefile/project files for the different architectures supported. Once the bootstrapper is built, the head and ide Makefile/project files are generated and we can begin building the entire system from working Makefiles.

If this sounds good, I'm willing to help, but I will be limited in how much time I can dedicate to this project.
Re: updating portage tree, questions, etc. [message #17644 is a reply to message #17641] Sun, 24 August 2008 17:39 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
luzr wrote on Sun, 24 August 2008 09:38


2008.1 release Smile



Sorry for not being clear... I was asking what the file name of the source code was, but I think I found it...

luzr


Right now it is possible to generate "old style" Makefile from the commandline.

New export will be possible soon.



Ok... searching the forums I do not see any info or documentation on the command line Makefile generation tools. What I have found looking in the code is so dependent on Win* or GUI stuff that I cannot even begin to build it for bootstrapping.

Laters,

EBo --
Re: updating portage tree, questions, etc. [message #17645 is a reply to message #17643] Sun, 24 August 2008 18:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ebojd wrote on Sun, 24 August 2008 11:31

Doh... I think I found it -- line in uppsrc/ide/Export.cpp. Is that all of it?

First impressions is that it cannot be easily made into a non GUI standalone tool.

After trying to hack this for a boot strapping tool I see that it is going to take more time that I can break away for the next few weeks. I'll take another look then.

To facilitate collaboration if people are willing, what I would like to see/work-on is a bootstrapping program that generates the Makefile/project files. As a bootstrapping program is a minimal command line program which does not require any upper level Ide or GUI tools to configure or build. They typically have a series of very simple hand coded Makefile/project files for the different architectures supported. Once the bootstrapper is built, the head and ide Makefile/project files are generated and we can begin building the entire system from working Makefiles.

If this sounds good, I'm willing to help, but I will be limited in how much time I can dedicate to this project.



I see, minor misunderstanding. Different focus, I guess...

For now, what we are trying to achieve is command-line mode of theide. IMO, that almost OK for what you want to do, except the need of X11 libs being present on the system.

Longer term goal is to separate build facilities to completely non-GUI tool, "umk". But that will tak a little bit more time.

Another short term goal is to start automated nightly builds. Commandline theide is of course quite useful. We should start with ubuntu, win32 and then extent to other systems (using either chroot environment or virtualization). I guess portage can be part of it.

Mirek
Re: updating portage tree, questions, etc. [message #17656 is a reply to message #17645] Sun, 24 August 2008 22:21 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
luzr wrote on Sun, 24 August 2008 11:44


I see, minor misunderstanding. Different focus, I guess...

For now, what we are trying to achieve is command-line mode of theide. IMO, that almost OK for what you want to do, except the need of X11 libs being present on the system.

Longer term goal is to separate build facilities to completely non-GUI tool, "umk". But that will tak a little bit more time.

Another short term goal is to start automated nightly builds. Commandline theide is of course quite useful. We should start with ubuntu, win32 and then extent to other systems (using either chroot environment or virtualization). I guess portage can be part of it.

Mirek


I do not think that it is that much different than what I was thinking. If the tool does not have any gui requirements then the question I was asking is how can we build *just that tool* the first time without an entire U++ system installed or someone else generating its Makefiles.

I'm curious though why you think the X11 libs must being present on the system when building umk? If it has no gui requirements then it should be able to be built independently. If you are saying that for umk to configure the Makefiles it has to know where the x11 libs are, then that is different, and I agree.

When do you think the beta version of umk will be available?

EBo -
Re: updating portage tree, questions, etc. [message #17658 is a reply to message #17656] Mon, 25 August 2008 00:21 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ebojd wrote on Sun, 24 August 2008 16:21


I do not think that it is that much different than what I was thinking. If the tool does not have any gui requirements then the question I was asking is how can we build *just that tool* the first time without an entire U++ system installed or someone else generating its Makefiles.



I am afraid that someone else has to generate the Makefile in any case. OTOH, this process can easily be automated (in nightly build).

Quote:


I'm curious though why you think the X11 libs must being present on the system when building umk?



You got it wrong... With X11 we already have 'umk' (it is just called 'theide').

The real goal, with 'umk', is to get rid of X11.

Quote:


When do you think the beta version of umk will be available?



Realistically, OTOH, there is not that high pressure right now.
Most things can be achieved with current 'theide' as commandline tool.

Mirek
Re: updating portage tree, questions, etc. [message #17660 is a reply to message #17658] Mon, 25 August 2008 00:33 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
if the Makefiles were generated every night (or preferably as part of every commit), then me generating a live ebuild would be a snap.

I still think we are not communicating clearly on the X11/umk thing, but I think I see where you are going at this point. umk will lot be usable for boot strapping, and theIde has to already be up and running to process the makefiles.

One other thing... You do not have to worry about makeing u++ great because it already is. It's just making it *better* Wink

Thanks,


EBo --
Re: updating portage tree, questions, etc. [message #17661 is a reply to message #17660] Mon, 25 August 2008 00:36 Go to previous message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
vcunat was kind enough to test the new portage ebuilds which helped me clean up a thing or two...

I would love to have one or more people test them before committing them to the repository. Are there any more takers?

EBo --
Previous Topic: Ultimate make (umk)
Next Topic: Unified locking?
Goto Forum:
  


Current Time: Fri Mar 29 09:57:20 CET 2024

Total time taken to generate the page: 0.01444 seconds