amrein
2c7ceeb3ad
Cosmetic
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10924 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-08 17:51:49 +00:00
amrein
e026b38ab6
Bump c++ standard support from c++11 to c++14
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10923 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-08 17:29:20 +00:00
amrein
068f9b2e73
Cosmetic: remove or add '/' from DESTDIR so users won't see '//' in path while installing
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10900 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-05 11:44:55 +00:00
amrein
f68619d252
Create doc and licence directories only if installdoc=true
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10836 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-10 10:06:18 +00:00
amrein
8d1feebfac
Cosmetic: show all Makefiles and .bm files in logs and add --installdoc=false option in doinstall
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10835 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-10 09:49:01 +00:00
amrein
5d62d53d06
Cosmetic: g++ "-e" parameter not needed more than once, and enable the automatic detection of *.bm.in and uppsrc/*Makefile.in (for future addition)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10829 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-09 09:28:23 +00:00
amrein
b3a306b8e0
POSIX/X11 documentation cosmetic
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10821 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-04 07:30:57 +00:00
amrein
bab81aef26
Use $(Dollar) to escape the "$" char (see doc for howto use it with BSD make), Fix Makefiles using $(OutFile) (compilation would fail if they used spaces) and update POSIX/X11 documentation
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10820 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-03 18:02:34 +00:00
amrein
fe95a1c47a
Revert automatic Macro generation in umk Makefiles to prevent bugs for OS without sed (like Windows)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10819 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-03 14:07:06 +00:00
amrein
7d703e28e7
Enable Flags in Makefiles (same as umk), fix Makefiles 'clean' rules and update rpm history
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10815 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-01 22:32:57 +00:00
amrein
4365bd4468
Don't install licence and readme.md because rpm based distributions with other directory structure than Fedora won't like it
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10800 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-29 21:43:27 +00:00
amrein
b320303ca9
Be sure to use '/usr/bin/env bash' in all scripts for compatibility and portability
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10779 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-28 14:35:37 +00:00
amrein
94f09e3d5c
Allow to specify custom platform flags (and create Makefiles for other platforms than the current running one or Linux when using snapshots)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10778 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-27 23:11:09 +00:00
amrein
6786f4c824
Add suffix back on 'sed -i' command to be Mac OS X compatible
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10772 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-26 16:38:06 +00:00
amrein
4b616bf2db
If flagNOGTK is set, remove gtk libraries and includes from generated Makefiles, GCC.bm and CLANG.bm
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10761 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-25 23:01:59 +00:00
amrein
9710764473
If flagNOGTK is set, remove gtk libraries from Makefiles for all platforms
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10760 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-25 22:29:15 +00:00
andreincx
3e974cbfc4
Remove linker optimisation directly in domake (for Mac OS X)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-25 21:21:07 +00:00
amrein
9ad5316b48
Remove linker optimisation directly in domake (for Mac OS X)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10758 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-25 19:09:16 +00:00
amrein
6e6b46618c
Force clang++ and specific flags for Mac OS X + remove linker optimisation (not relevant for exec) + Cosmetic
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10757 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-25 18:55:18 +00:00
amrein
4a1f1e6507
Cosmetic: don't test make_parameter_array size twice. Use the first test to show info message
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10752 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-24 13:47:15 +00:00
amrein
612e16a1f0
Add umk and ide targets to Makefile and domake
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10748 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-23 09:56:45 +00:00
amrein
aed599b50a
Cosmetic in info message: destop -> desktop
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10741 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-22 08:55:00 +00:00
amrein
8ec97cb1da
Rename readme as readme.md for github syntax to take effect ( https://github.com/ultimatepp/mirror/tree/master/uppbox/Scripts )
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10740 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-21 21:52:48 +00:00
amrein
1c1f010ed7
Fix github syntax: remove '#' at the end of titles and remove space before '*'
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10739 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-21 21:31:37 +00:00
amrein
7a64bb2c29
Add missing files and sort
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10734 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-20 19:18:07 +00:00
amrein
dccc7fe00b
Fix warning message about using clang++
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10732 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-19 11:47:24 +00:00
amrein
962cc02f30
Cosmetic
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10731 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-18 12:40:32 +00:00
amrein
5b049570fc
Cosmetic
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10730 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-18 12:39:14 +00:00
amrein
c06e006c27
Define bindir environment variable to be sure that bindir is correct (just in case)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10726 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-17 09:59:34 +00:00
amrein
75ab193ec0
Makefile doesn't create ide.out and umk.out in $UPPOUT so we shouldn't look for them there when $UPPOUT is defined
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10725 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-17 09:42:51 +00:00
amrein
8ff833ae37
Documentation: replace llvm39 build dependancy by clang-devel on BSD
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10723 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-17 08:35:00 +00:00
amrein
02584c0987
Several modifications in domake:
...
- Add show_usage()
- Add parameters
- Enable c++ compiler
- Use environment variables
Other modifications:
- Make bash the default shell in Makefile domake and doinstall
- Simplify upp-devel (using make make install directly)
- Fix documentation accordingly
git-svn-id: svn://ultimatepp.org/upp/trunk@10722 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-17 01:34:42 +00:00
amrein
e0958926cd
Fix snapshots build: scripts domake and doinstall need function_library
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10721 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-16 13:19:55 +00:00
amrein
5b038e1b06
Documentation: add gmake to BSD build requires and explain why standard BSD 'make' will fail (and how to resolve this)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10720 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-16 12:49:46 +00:00
amrein
d668aeb488
Replace ' * Message' by ' - Message' to prevent shell substitution in error message
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10713 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-15 21:21:41 +00:00
amrein
24cd536401
Now U++ should compile on almost any POSIX/X11 operating system: Added ((LIBRARIES)) into GCCMK.bm and CLANGMK.bm and fixed domake and upp-devel.spec accordingly
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10712 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-15 20:54:35 +00:00
amrein
4039062fe6
Add BSD installation details to current POSIX/X11 installation documention
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10711 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-15 18:34:15 +00:00
amrein
a2d645a538
Must use %if %else because rpmbuild doesn't reconize '\!' in %if statement
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10710 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-15 18:12:08 +00:00
amrein
eaefcf79e8
Add more verification code and fix a few compatibility issue with other POSIX OS:
...
- remove '\n' to prevent bad output (some buildin echo functions don't handle it correctly)
- tells if package config for gtk+-2.0, x11, libnotify and freetype2 are availables
- export logging functions into 'function_library' and source it from domake and doinstall
- cosmetic on logging messages to follow GNU standards (do not use dot at the end of messages)
git-svn-id: svn://ultimatepp.org/upp/trunk@10709 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-15 18:03:33 +00:00
amrein
3dc674ac47
Remove U++ home directory reference from Makefile.in and uMakefile.in
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10702 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-12 22:09:59 +00:00
amrein
47e75ba11b
New Fedora release uses a different variable for versionning. Must use 0%{?fedora_version} || 0%{?fedora} to cover them all.
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10701 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-12 15:16:58 +00:00
amrein
8d7a331cf9
- used 'tr' instead of ${variable^^} that only works in bash (for uppercase letter substitutions)
...
- removed 'function' keyword (only work in bash)
- replaced 'echo' by 'which echo' because in old /bin/sh, echo is replaced by an internal version that doesn't support escape character (-> we had no color in stdout)
- add --verbose parameter to 'doinstall' in Makefile in order to see installation details
git-svn-id: svn://ultimatepp.org/upp/trunk@10695 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-11 14:13:21 +00:00
amrein
6649ca6921
Take all type of colorisation attributes out of the output stream when output stream is redirected (not tty)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10694 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-11 04:34:27 +00:00
amrein
57797a7231
Terminal palette is 0->255 (so 1 to 3 digits)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10693 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-11 03:52:09 +00:00
amrein
c6c84dde59
Complete rewrite of doinstall: adding standard option parameters (POSIX installation), error handling and logging
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10692 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-11 03:38:02 +00:00
amrein
7720ece4f5
Complete rewrite of doinstall: adding standard option parameters (POSIX installation), error handling and logging
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10691 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-11 03:37:10 +00:00
amrein
b5c6db84b3
Now, you can compile U++ using threads (example: 'gmake -j8'). It's so mutch faster...
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10689 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-10 14:35:47 +00:00
amrein
a69f1d684c
Man pages are in uppsrc now
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10685 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-09 09:40:29 +00:00
amrein
45e4b5a62b
Added missing symlink in %file
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10682 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 23:11:57 +00:00
amrein
1795f3e810
Fix creation of the source code installation directory
...
git-svn-id: svn://ultimatepp.org/upp/trunk@10681 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 22:47:00 +00:00