Commit graph

54 commits

Author SHA1 Message Date
amrein
29b64829c6 Fix gtk+-3.0 requires
git-svn-id: svn://ultimatepp.org/upp/trunk@14211 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-03 10:10:18 +00:00
amrein
38df12a9b9 Use pkg-config to find available libraries and warm if not found
git-svn-id: svn://ultimatepp.org/upp/trunk@14204 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-30 11:35:37 +00:00
amrein
7c9dfbbf28 Remove .bm files from tarball
No more bm file handling in tarball build scripts

git-svn-id: svn://ultimatepp.org/upp/trunk@14203 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-30 11:10:00 +00:00
amrein
38946de0f3 Enable *.bm files generation for umk users
git-svn-id: svn://ultimatepp.org/upp/trunk@14197 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-28 12:19:30 +00:00
amrein
5c9e06c422 - Remove gcc.bm and clang.bm file generation as U++ use pkg-config now
- Use gtk3 dependencies
- Fix domake and doinstall accordingly

git-svn-id: svn://ultimatepp.org/upp/trunk@14196 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-28 12:06:27 +00:00
cxl
8005b4dfde .scripts
git-svn-id: svn://ultimatepp.org/upp/trunk@13924 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-21 09:08:43 +00:00
amrein
f6595cb2f3 Switch to gtk+3
git-svn-id: svn://ultimatepp.org/upp/trunk@13885 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-14 21:50:11 +00:00
amrein
2cf9d7f0de Small cosmetic change to try to fix an issue on svn server (bad linux tarball)
git-svn-id: svn://ultimatepp.org/upp/trunk@11474 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-18 11:42:31 +00:00
amrein
f77eb146e0 senderghost patch: merge sed scripts acting on *.bm.in files
git-svn-id: svn://ultimatepp.org/upp/trunk@11467 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-14 09:50:48 +00:00
amrein
91350a945b Fix "sed -i" error message on Linux
(sed has two different backup behaviour between BSD and Linux)

git-svn-id: svn://ultimatepp.org/upp/trunk@11460 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-13 09:48:00 +00:00
cxl
ba11ffde5c do make - minimum version now gcc 4.9, clang 3.4
git-svn-id: svn://ultimatepp.org/upp/trunk@11451 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-12 17:15:06 +00:00
cxl
60f3f22d93 Tarball installation now chooses c++11 or c++14 based on what is available
git-svn-id: svn://ultimatepp.org/upp/trunk@11450 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-12 17:11:49 +00:00
amrein
acf142427b "clang -dumpversion" doesn't match the real "clang --version" => switching to "clang --version"
git-svn-id: svn://ultimatepp.org/upp/trunk@11436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-06 16:18:32 +00:00
amrein
1cac1ce9e3 Minimum Gcc version now 5.4.0
git-svn-id: svn://ultimatepp.org/upp/trunk@11435 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-06 15:14:11 +00:00
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
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
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
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
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
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
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
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
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
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
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
79aec29ee9 Add bash script header in top of file to prevent bad file type guessing
git-svn-id: svn://ultimatepp.org/upp/trunk@10673 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 07:33:18 +00:00
amrein
66eb9651a3 Add "buildrequires." prefix on debian and fedora files
git-svn-id: svn://ultimatepp.org/upp/trunk@10646 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-05 09:56:49 +00:00
amrein
7065f9c710 Rename upp.spec to upp-devel spec and fix U++ description line for rpmlint, fix "src" script accordingly and simplify sed command and remove tabs from "domake" script
git-svn-id: svn://ultimatepp.org/upp/trunk@10630 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-03 10:18:36 +00:00
cxl
9c6c397fc2 uppbox: domake fixed (thanks vegaonline)
git-svn-id: svn://ultimatepp.org/upp/trunk@9363 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-01 08:33:04 +00:00
cxl
6eb210df53 .uppdew
git-svn-id: svn://ultimatepp.org/upp/trunk@9254 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-12-01 19:40:32 +00:00
cxl
4eee9a2853 uppbox: Scripts: Better clang support on install
git-svn-id: svn://ultimatepp.org/upp/trunk@9246 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-29 14:15:15 +00:00
cxl
dae1b39a09 scripts: umk support fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@9085 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-10-26 13:06:05 +00:00
cxl
ec2a5ea036 uppbox: src release now should produce umk
git-svn-id: svn://ultimatepp.org/upp/trunk@9083 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-10-26 10:19:20 +00:00
cxl
090174a675 .uppbox
git-svn-id: svn://ultimatepp.org/upp/trunk@5331 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-09-07 17:45:05 +00:00