|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » How to compile svn-package with NoGTK?
|
Re: How to compile svn-package with NoGTK? [message #41596 is a reply to message #41595] |
Sat, 04 January 2014 11:17   |
|
Hi slashupp,
I'm afraid that is not really possible with the pregenerated makefile 
But if you wish, you can grab a copy of the universal makefile and run it like this:cd upp-x11-src-6715
make -f /path/to/mkfile PKG=ide FLAGS=".NOGTK GUI GCC"
That should do the trick. It also works for most other packages. More details about the usage can be found in the makefile itself.
Best regards,
Honza
|
|
|
|
Re: How to compile svn-package with NoGTK? [message #41598 is a reply to message #41597] |
Sat, 04 January 2014 12:28   |
|
Can you please run it once more with make -f /path/to/mkfile PKG=ide FLAGS=".NOGTK GUI GCC" ECHO=1 e=
You can also add "TIME=" to get rid of those ugly timings, which don't work on some shells for some reason I haven't yet found...
Honza
|
|
|
|
|
|
|
Re: How to compile svn-package with NoGTK? [message #41604 is a reply to message #41603] |
Sat, 04 January 2014 16:39   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello slashupp,
Quote: |
well, it compiled and runs .. but only shows an empty package/assembly selector
|
Did you copy "ide" to directory where TheIDE was installed before (or move it to directory where it should be after standard compilation process). If it doesn't help just configure ide one more time.
Quote: |
(this feels like it's getting messy - is there a better way in which I can setup a no-gtk theide where it creates what it needs by itself?)
|
I think, we should think about adding configuration script to POSIX Ultimate++ distribution. BTW standard makefile has got one important limitation it uses only one core. Configure file will enable us getting rid of this limitation.
**********************************
P.S. (Very important!!!)
Make sure that binary file calls "theide" insted of "ide".
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sat, 04 January 2014 17:47] Report message to a moderator
|
|
|
Re: How to compile svn-package with NoGTK? [message #41609 is a reply to message #41595] |
Sun, 05 January 2014 12:44   |
|
First of all, thanks klugier for help, while I was off-line You were only slightly wrong:klugier | P.S.
Flag ".NoGTK" dosen't turn off GTK backend! (Use X11 insted of it).
| This is already fixed, so that NOGTK implies X11 backend 
Now, back to the topic It's good to hear that you got it working slashupp, the configuration shouldn't be that hard now. As Klugier noted, it is important to use 'theide' as an executable name, because it then searches for config in ~/.upp/<name>/. If you're trying to install on fresh system (no previous upp installation), you should take a look into doinstall file in the sources, it contains all commands needed for basic installation. You could probably even run it as is, provided you move the compiled theide binary into the same folder. Alternatively, on fresh install theide should present you with the source management wizard on the first run. That should help you to set up the assemblies etc. correctly...
I already tried to figure that issue out few times, but still no success :-/ Meanwhile, you could use packages from OBS. To add the repository to your system, add following to your /etc/apt/sources.list:deb http://download.opensuse.org/repositories/home:/dolik_rce:/nightly/Debian_7.0 ./
Supported architectures are i586 and x84_64. Debian 6.0 repository exists as well, but GTK backend currently doesn't compile there, so entire package build fails Also note, that the word "nightly" doesn't mean it is updated every night, I just push new version (based on actual nightly sources) from time to time (but still by far more often then the official releases), at least once a month, but usually about once a week or often.
And last bit of information Out of curiosity, I dug out the exact invocation of the makefile that is used when building the debian packages and therefore should be also suitable for you:make -f mkfile JOBS=1 PKG=ide "NESTS=uppsrc" CC="cc -g" CXX="c++ -g" CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="-Wl,--gc-sections -Wl,-O,2" TIME= COLOR=0 USEMAINCFG=0 "FLAGS=GUI NOGTK GCC" TARGET=`pwd`/theide It is bit more complex, but not much Also, it keeps debugging symbols (those would be striped out later when packaging it), so it will produce larger binary. Just remove the CFLAGS, CXXFLAGS, CXX and CC switches to prevent that if you want.
Best regards,
Honza
|
|
|
Re: How to compile svn-package with NoGTK? [message #41635 is a reply to message #41609] |
Mon, 06 January 2014 21:05  |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello dolik.rce,
For me X11 flag works as expectead. It means that GTK is still use as theme base. Rendering is performed using X11. Personally, I use this flag, because GTK backend is still unstable in some cases.
NOGTK totaly removed GTK. The main theme will be "Standard Theme" (No GTK chameleon).
So I don't think that I was wrong.
Sincerely,
Klugier
U++ - one framework to rule them all.
|
|
|
Goto Forum:
Current Time: Sun May 11 08:57:18 CEST 2025
Total time taken to generate the page: 0.00992 seconds
|
|
|