Commit graph

138 commits

Author SHA1 Message Date
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
amrein
00bdf3a927 Add "Obsoletes" tag to ease updating from an older binary using "upp" instead of "upp-devel"
git-svn-id: svn://ultimatepp.org/upp/trunk@10680 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 21:54:17 +00:00
amrein
37949d172b Remove bzip2 in pkg-config invocation for more compatibility (new snapshot will compile in Centos)
git-svn-id: svn://ultimatepp.org/upp/trunk@10679 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 19:23:11 +00:00
amrein
cb9136fc7a Add theide and umk man page to snapshots, keep file attributs while copying and cosmetic
git-svn-id: svn://ultimatepp.org/upp/trunk@10677 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 16:31:48 +00:00
amrein
32264ed3fd Fix readme and POSIX/X11 web page typos
git-svn-id: svn://ultimatepp.org/upp/trunk@10675 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 08:11:28 +00:00
amrein
d350299844 Switch readme to GitHub Markdown syntax: https://help.github.com/articles/basic-writing-and-formatting-syntax/
git-svn-id: svn://ultimatepp.org/upp/trunk@10674 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-08 07:57:53 +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
6b29fec138 Requires from domake are not enough. After intense testing, must add back a few in Buildrequires and Requires: libnotify, libbz2 and xorg
git-svn-id: svn://ultimatepp.org/upp/trunk@10662 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-07 03:27:23 +00:00
amrein
1e27aedb3b Thrink Buildrequires and Requires to minimum and add back "make prepare" to prevent stable release to provide a broken spec file (waiting for umk fix to be on server)
git-svn-id: svn://ultimatepp.org/upp/trunk@10661 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-07 00:47:27 +00:00
amrein
984373ba85 Calling "make prepare" not needed any more because Makefile are now multithreads compatible
git-svn-id: svn://ultimatepp.org/upp/trunk@10651 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-05 15:03:16 +00:00
amrein
8ba46948f7 Fix Categories in upp.desktop file for Debian too
git-svn-id: svn://ultimatepp.org/upp/trunk@10649 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-05 14:31:20 +00:00
amrein
e526583877 Move "==" wiki tags on the lines
git-svn-id: svn://ultimatepp.org/upp/trunk@10648 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-05 14:30:04 +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
980f378b59 Drastically improve POSIX/X11 installation documentation in readme file too
git-svn-id: svn://ultimatepp.org/upp/trunk@10645 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-05 09:55:05 +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
amrein
2c3229acf9 Enable clang++ for most distributions and add "devel" to package name for rpmlint (needed because we bundle source files)
git-svn-id: svn://ultimatepp.org/upp/trunk@10620 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-01 23:57:53 +00:00
amrein
9427449d01 Remove requires on xorg-x11-devel for Redhat because of missing package
git-svn-id: svn://ultimatepp.org/upp/trunk@10616 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-01 17:50:49 +00:00
amrein
ec6e577278 Fix Buildrequires
git-svn-id: svn://ultimatepp.org/upp/trunk@10612 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-31 07:38:53 +00:00
amrein
2ccb050363 Add dependancies for several distributions and fix %version and %date (both must stay as variables in svn)
git-svn-id: svn://ultimatepp.org/upp/trunk@10611 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-30 18:38:35 +00:00
amrein
c4d67c7d36 Use new standard rpm group "Development/Tools"
git-svn-id: svn://ultimatepp.org/upp/trunk@10608 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-30 05:45:15 +00:00
amrein
20244d3bfd Add COMMON_CPP_OPTIONS="-std=c++11" into GCC.bm too
git-svn-id: svn://ultimatepp.org/upp/trunk@10607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-29 23:09:15 +00:00
amrein
d5042b9a4d Package all root *.scd files
git-svn-id: svn://ultimatepp.org/upp/trunk@10606 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-29 22:45:37 +00:00
amrein
0b35c93dac Create CLANG.bm inside upp.spec for some new rpm based Linux distribution
git-svn-id: svn://ultimatepp.org/upp/trunk@10605 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-29 12:04:27 +00:00
amrein
2ad9423cab Add quote to fix sed command
git-svn-id: svn://ultimatepp.org/upp/trunk@10604 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-29 08:20:24 +00:00
amrein
fcb17a5a8a Change copied upp.spec on the fly to be able to compile upp snapshots with just one command: "rpmbuild --rebuild snapshot-tarball"
git-svn-id: svn://ultimatepp.org/upp/trunk@10603 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-28 13:50:40 +00:00
amrein
afb335d1b8 Build and add umk tool to rpm package
git-svn-id: svn://ultimatepp.org/upp/trunk@10602 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-28 12:54:04 +00:00
klugier
1677d25bab .uppbox replace -std=c++0x with -std=c++11 for GCC and CLANG build methods.
git-svn-id: svn://ultimatepp.org/upp/trunk@10588 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-25 20:23:58 +00:00
amrein
9b77df2bf0 Disable debug package, remove old _desktopdir variable and fix multithread compilation
git-svn-id: svn://ultimatepp.org/upp/trunk@10585 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-25 17:02:41 +00:00
cxl
42459d602a .uppbox: Scripts
git-svn-id: svn://ultimatepp.org/upp/trunk@10579 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-25 09:43:46 +00:00
cxl
2842fd7b82 .uppbox
git-svn-id: svn://ultimatepp.org/upp/trunk@10578 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-25 08:58:58 +00:00
cxl
def1ec1f92 u++: init files removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10409 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-11-12 06:36:54 +00:00