U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Packages for openSUSE
https://www.ultimatepp.org/forums/index.php?t=rview&goto=30437&th=5763#msg_30437
I started build pacakges for openSUSE in obs (openSUSE Build Service). Do we need to ship ide directory with uppscr?]]>Fisiu2010-12-31T01:18:23-00:00Re: Pacakges for openSUSE
https://www.ultimatepp.org/forums/index.php?t=rview&goto=30439&th=5763#msg_30439
In first case I think ide source is sort of integral part of uppsrc, and I don't see any good reason why to omit it. (by terms of license you of course can, but it doesn't make any sense to me)
In second case it's ok to split it, ubuntu packages are split too, especially as you can build TheIDE with different flags (NOGTK), also to build other U++ projects trough makefile you don't need TheIDE, but uppsrc is essential.]]>mr_ped2010-12-31T07:47:34-00:00Re: Packages for openSUSE
https://www.ultimatepp.org/forums/index.php?t=rview&goto=30440&th=5763#msg_30440
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.
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]]>dolik.rce2010-12-31T10:55:21-00:00Re: Packages for openSUSE
https://www.ultimatepp.org/forums/index.php?t=rview&goto=30441&th=5763#msg_30441
https://build.opensuse.org/package/show?package=ultimatepp&a mp;project=home%3AFisiu
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...]]>Fisiu2010-12-31T14:06:17-00:00Re: Packages for openSUSE
https://www.ultimatepp.org/forums/index.php?t=rview&goto=30442&th=5763#msg_30442
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?
]]>dolik.rce2010-12-31T16:21:13-00:00Re: Packages for openSUSE
https://www.ultimatepp.org/forums/index.php?t=rview&goto=30443&th=5763#msg_30443
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