|
|
Home » Developing U++ » Releasing U++ » Packages for openSUSE
|
|
Re: Packages for openSUSE [message #30440 is a reply to message #30437] |
Fri, 31 December 2010 11:55   |
|
Hi Fisiu,
You have seen how I package the Arch packages (and the Ubuntu packages are the same). I would recommend you to follow the same structure - separate package for the source codes (the standard set is bazaar,reference,examples,uppsrc and tutorial) and another one for theide binary. As mr_ped said, ide sources are integral part of the framework (some other packages need to include ide to work properly!), so you should probably leave it there.
I hope you are aware that there are already RPM packages being released for stable versions (http://sourceforge.net/projects/upp/files/upp/2791/) and that there was even some attempt to buld packages in OBS https://build.opensuse.org/package/show?package=ultimatepp&a mp;project=Education(but it is apparently not updated). Maybe you could reuse a lot of information from those packages to save you work.
Anyway, if you can arrange regular builds in OBS, it would be definitely great for U++. So good luck and don't be afraid to ask here if you need help 
Best regards,
Honza
|
|
|
|
Re: Packages for openSUSE [message #30442 is a reply to message #30441] |
Fri, 31 December 2010 17:21   |
|
Fisiu wrote on Fri, 31 December 2010 15:06 | I used our (suse) CFLAGS and CXXFLAGS with external Makefile (from http://gitorious.org/upp-mirror/upp-mirror/blobs/master/uppb ox/lpbuild/Makefile) but they aren't applied and rpmlint gives me "I: File is compiled without RPM_OPT_FLAGS". And because of that I can't push package to any official repository... So I need some workaround and build theide with custom {C,CXX}FLAGS...
| The Makefile should support CFLAGS and CXXFLAGS variables. You can try setting VERBOSE=y to see the actual compiler commands, so that you see if the flags are used correctly. If not, than it is probably bug in the Makefile and I will have a look at it.
Honza
PS: I see you had successfully built the packages with the shipped Makefile. Does it help to pass the rpmlint test?
|
|
|
Re: Packages for openSUSE [message #30443 is a reply to message #30437] |
Fri, 31 December 2010 19:42  |
Fisiu
Messages: 3 Registered: December 2010
|
Junior Member |
|
|
I'm waiting for some review now. If it pass, I push this package to openSUSE Contrib repository 
Seems like shipped Makefile did that trick and It accepts given {C,CXX}FLAGS.
I got some RPMLINT warnings... Now I need to fix this one:
I: Program causes undefined operation
(likely same variable used twice and post/pre incremented in the same expression).
e.g. x = x++; Split it in two operations.
W: ultimatepp sequence-point CppBase/Parser.cpp:1210
Any ideas?
[Updated on: Mon, 03 January 2011 17:05] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 21:58:45 CEST 2025
Total time taken to generate the page: 0.00968 seconds
|
|
|