|
|
Home » Developing U++ » Releasing U++ » Gentoo ebuild for Upp
Gentoo ebuild for Upp [message #21343] |
Thu, 14 May 2009 00:32  |
phirox
Messages: 49 Registered: December 2007
|
Member |
|
|
The new method of releasing src packages makes it a lot easier to quickly install a numbered package. I use gentoo and made an ebuild as this makes upgrading really easy.
Download the ebuild and place it in your local repository under "dev-cpp/upp". You will also need to run a digest over it before emerging.
Perhaps later, if there is any interest, I will add it to a layman overlay.
|
|
|
Re: Gentoo ebuild for Upp [message #26386 is a reply to message #21343] |
Thu, 29 April 2010 16:03   |
phirox
Messages: 49 Registered: December 2007
|
Member |
|
|
Just a small update, to emerge the latest stable. For the lazy:
mkdir -p /usr/local/portage/dev-cpp/upp/
cp upp-2467.ebuild /usr/local/portage/dev-cpp/upp/
ebuild /usr/local/portage/dev-cpp/upp/upp-2467.ebuild digest
emerge -av upp
[Updated on: Fri, 02 July 2010 09:47] Report message to a moderator
|
|
|
Re: Gentoo ebuild for Upp [message #26387 is a reply to message #26386] |
Thu, 29 April 2010 17:15   |
|
Hi Phirox!
I don't use gentoo and I don't even know how many people from within U++ community does use it. But since I'm maintaining the ubuntu packages, I can appreciate your effort.
Now, looking on the ebuild, it looks like it doesn't need to be changed between releases, right? If so, it would be nice if it could be placed into svn and linked from the download page, together with instructions how to use it.
I guess there could be also a nightly ebuild, just changing the source address to:SRC_URI="http://upp-mirror.googlecode.com/files/upp-x11-src-${PV}.tar.gz" Is that correct?
Best regards,
Honza
PS: I believe that the line rm -rf ${D}/usr/share/upp/uppsrc/_out is not necessary. Theide should determine the object files need to be rebuilt or not.
|
|
|
|
Re: Gentoo ebuild for Upp [message #26454 is a reply to message #26447] |
Tue, 04 May 2010 08:57   |
|
Hi Phirox,
thank you for explanation. I'll try to put a link & instructions on Download page when I get a little bit time
Just one thing: I'm not 100% sure but i think we don't have any generic download link for google code files. Do you know any workaround to this?
Honza
|
|
|
|
Re: Gentoo ebuild for Upp [message #26477 is a reply to message #26474] |
Thu, 06 May 2010 02:36   |
|
Hi Phirox,
Very nice!
The dependency on previous installation of theide can be overcome. There is a generic Makefile, that can build any U++ project. For this purpose the usage would be something like make -f uppbox/lpbuild/Makefile PKG=ide "FLAGS=GUI MT GCC SHARED" DIRS=uppsrc Would that work?
Honza
|
|
|
|
|
Re: Gentoo ebuild for Upp [message #26488 is a reply to message #26482] |
Thu, 06 May 2010 13:50   |
|
chickenk wrote on Thu, 06 May 2010 09:44 |
dolik.rce wrote on Thu, 06 May 2010 02:36 | Hi Phirox,
Very nice!
The dependency on previous installation of theide can be overcome. There is a generic Makefile, that can build any U++ project. For this purpose the usage would be something like make -f uppbox/lpbuild/Makefile PKG=ide "FLAGS=GUI MT GCC SHARED" DIRS=uppsrc Would that work?
Honza
|
I give my 2 cents since I use Gentoo as well...
Yes it would work perfectly with this Makefile, but the question is how to make it available to the ebuild. I think the best solution is to add it to the files/ subdirectory of the ebuild directory, and copy it in the right place at the end of the unpack step.
phirox, what do you think about it ?
Lionel
|
Hi Lionel,
As far as I can tell without testing, it should be available as soon as you checkout the svn. The above command (with "emake" instead of "make") should work just fine, assuming that it is executed in the top level directory of checked out sources.
Honza
|
|
|
Re: Gentoo ebuild for Upp [message #26489 is a reply to message #26486] |
Thu, 06 May 2010 13:58   |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
phirox wrote on Thu, 06 May 2010 13:29 |
The ebuild already gets the whole trunk, including the uppbox directory which contains the above Makefile. Check the new ebuild to see how I did it.
|
Damn! The whole trunk? Isn't that a huge overhead? I would personally tend to checkout only bazaar, examples, reference, tutorial and uppsrc. But in that case, the Makefile could be checked-out as a single file as well, I did not notice it was under svn now.
Quote: | I also renamed the ebuild to upp-svn, because personally I find it useful to have both a stable and development version installed at the same time. Conflicts are resolved by using 'theide-svn' and '/usr/share/upp-svn'.
|
Very good idea. I also like to have my 'theide-svn' executable.
Lionel
|
|
|
Re: Gentoo ebuild for Upp [message #26491 is a reply to message #26489] |
Thu, 06 May 2010 14:16   |
|
chickenk wrote on Thu, 06 May 2010 13:58 |
phirox wrote on Thu, 06 May 2010 13:29 |
The ebuild already gets the whole trunk, including the uppbox directory which contains the above Makefile. Check the new ebuild to see how I did it.
|
Damn! The whole trunk? Isn't that a huge overhead? I would personally tend to checkout only bazaar, examples, reference, tutorial and uppsrc. But in that case, the Makefile could be checked-out as a single file as well, I did not notice it was under svn now.
Quote: | I also renamed the ebuild to upp-svn, because personally I find it useful to have both a stable and development version installed at the same time. Conflicts are resolved by using 'theide-svn' and '/usr/share/upp-svn'.
|
Very good idea. I also like to have my 'theide-svn' executable.
Lionel
|
You are right, selective checkout is a good idea. It takes quite some time (especially on slow connections) and space to checkout whole trunk. I'm just not sure how to do that in ebuild, but I hope one of you can figure it out 
I used to have two versions of theide as well. But the U++ is so stable now, that I stopped feeling the need for "stable" version 
Honza
|
|
|
Re: Gentoo ebuild for Upp [message #26493 is a reply to message #26486] |
Thu, 06 May 2010 14:25   |
|
phirox wrote on Thu, 06 May 2010 13:29 | I didn't know there was an official Makefile now, very very cool.
|
It is not official I use it to make ubuntu packages, to overcome some troubles with theide-generated makefiles (like double linking zlib on linux).
Honza
PS: Sorry for answering in wrong order, I overlooked you post Phirox
|
|
|
|
Re: Gentoo ebuild for Upp [message #26499 is a reply to message #26498] |
Thu, 06 May 2010 19:24   |
|
phirox wrote on Thu, 06 May 2010 17:55 | Anyway, I'm in the process of getting the ebuild commited to the sunrise layout, so it will be much easier to emerge and maintain. This will take some time though.
|
Great! Getting U++ into distributions or at least community driven repositories is great advertisement.
Honza
|
|
|
Re: Gentoo ebuild for Upp [message #29191 is a reply to message #26498] |
Sat, 09 October 2010 14:57  |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
phirox wrote on Thu, 06 May 2010 17:55 | Anyway, I'm in the process of getting the ebuild commited to the sunrise layout, so it will be much easier to emerge and maintain. This will take some time though.
|
Hi phirox,
any news about sunrise integration? Do you have a version of the live ebuild (9999) that makes use of the generic Makefile ?
Thanks in advance,
Lionel
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:11:23 CEST 2025
Total time taken to generate the page: 0.01296 seconds
|
|
|