diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-01 18:03:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-06 20:28:20 +0200 |
| commit | f09e17c3c564e8310125a10c03397cbf473ff643 (patch) | |
| tree | 8d0fd4a28e3686c33aaa140d07ddba26ab28bdc2 /README.Unix.txt | |
| parent | b0e0c355edaa2e23148cb0260ada907aec930f05 (diff) | |
Remove $Id$ tags, update URL's, and more
- remove obsolete svn '$Id$' tags from all source files
- update .fl files and generated files accordingly
- replace 'http://www.fltk.org' URL's with 'https://...'
- replace bug report URL 'str.php' with 'bugs.php'
- remove trailing whitespace
- fix other whitespace errors flagged by Git
- add and/or fix missing or wrong standard headers
- convert tabs to spaces in all source files
The only relevant code changes are in the fluid/ folder where
some .fl files and other source files were used to generate
the '$Id' headers and footers.
Diffstat (limited to 'README.Unix.txt')
| -rw-r--r-- | README.Unix.txt | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/README.Unix.txt b/README.Unix.txt index 9450a57d3..60d6961db 100644 --- a/README.Unix.txt +++ b/README.Unix.txt @@ -4,7 +4,7 @@ README.Unix.txt - 2010-11-14 - Building FLTK on Unix CONTENTS -========== +========== 1 INTRODUCTION 2 PREREQUISITES @@ -44,7 +44,7 @@ platforms: - gcc command line tools - Code::Blocks - ... - + The Symbol font and the Zapf Dingbats font do not work on X11. This is correct behavior for UTF-8 platforms. @@ -60,7 +60,7 @@ behavior for UTF-8 platforms. Ubuntu Linux can be downloaded here: http://www.ubuntu.com/ - + If you have not done so yet, download and install Ubuntu. Open a shell and install some software: @@ -71,9 +71,9 @@ Open a shell and install some software: sudo apt-get install autoconf sudo apt-get install libx11-dev sudo apt-get install libglu1-mesa-dev - -These two are optional, but highly recommended: - + +These two are optional, but highly recommended: + sudo apt-get install libasound2-dev sudo apt-get install libxft-dev @@ -84,7 +84,7 @@ If you are planning to use the Code::Blocks IDE, also install this I like to use subversion to install the latest FLTK-1.3.release: svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 - + To update to the latest version, just go into the fltk-1.3 directory and type svn update @@ -96,7 +96,7 @@ To update to the latest version, just go into the fltk-1.3 directory and type Linux Mint 9 can be downloaded here: http://www.linuxmint.com/ - + If you have not done so yet, download and install Linux Mint. Open a shell and install some software: @@ -107,9 +107,9 @@ Open a shell and install some software: sudo apt-get install autoconf sudo apt-get install libx11-dev sudo apt-get install libglu1-mesa-dev - -These two are optional, but highly recommended: - + +These two are optional, but highly recommended: + sudo apt-get install libasound2-dev sudo apt-get install libxft-dev @@ -120,7 +120,7 @@ If you are planning to use the Code::Blocks IDE, also install this I like to use subversion to install the latest FLTK-1.3.release: svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 - + To update to the latest version, just go into the fltk-1.3 directory and type svn update @@ -134,10 +134,10 @@ FIXME: no FL_SYMBOL font (-*-symbol-*), font 15 (Zapf-Dingbats) Fedora 13 Linux can be downloaded here: http://fedoraproject.org/ - + If you have not done so yet, download and install Fedora. -Open a terminal window and install some software. In Fedora, the default user +Open a terminal window and install some software. In Fedora, the default user has no permission to call "sudo", so we will change user a few times: su root @@ -149,14 +149,14 @@ If you are planning to use the Code::Blocks IDE, also install this yum install codeblocks.i686 (for 64 bit machines) -Don't forget to leave root status (Ctrl-D) before loading FLTK. To install FLTK -for every user, you either have to set root user again, or use "visudo" to add +Don't forget to leave root status (Ctrl-D) before loading FLTK. To install FLTK +for every user, you either have to set root user again, or use "visudo" to add yourself to the "sudo" list. I like to use subversion to install the latest FLTK-1.3.release: svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 - + To update to the latest version, just go into the fltk-1.3 directory and type svn update @@ -276,11 +276,11 @@ To install GNU autoconf from pkgsrc: Download FLTK from here: - http://www.fltk.org/software.php + https://www.fltk.org/software.php -If you are familiar with "subversion" and like to stay current with your -version, you will find the subversion access parameters at the bottom of that -page. Unpack FLTK into a convenient location. I like to have everything in my +If you are familiar with "subversion" and like to stay current with your +version, you will find the subversion access parameters at the bottom of that +page. Unpack FLTK into a convenient location. I like to have everything in my dev directory: cd @@ -289,7 +289,7 @@ dev directory: mv ~/Downloads/fltk-1.3.xxxx.tar.gz . tar xvfz fltk-1.3.xxxx.tar.gz cd fltk-1.3.xxxx - + 3.2 Configuring FLTK ----------------------- @@ -303,10 +303,10 @@ following: Now configure your FLTK installation: ./configure - -ADVANCED: type "./configure --help" to get a complete list of optional + +ADVANCED: type "./configure --help" to get a complete list of optional configuration parameters. These should be pretty self-explanatory. Some -more details can be found in README. +more details can be found in README. :END_ADVANCED The configuration script will check your machine for the required resources @@ -317,11 +317,11 @@ Review the Configuration Summary, maybe take some notes. 3.3 Building FLTK -------------------- -Now this is easy. Stay in your FLTK source-code directory and type: +Now this is easy. Stay in your FLTK source-code directory and type: make -The entire FLTK toolkit including many test programs will be built for you. No +The entire FLTK toolkit including many test programs will be built for you. No warnings should appear. If some do, please let the FLTK developer team know via the mailing list or the bug reporting template at www.fltk.org . @@ -340,19 +340,19 @@ After a successful build, you can test FLTK's capabilities: 3.5 Installing FLTK ---------------------- -If you did not change any of the configuration settings, FLTK will be installed +If you did not change any of the configuration settings, FLTK will be installed in "/usr/local/include" and "/usr/local/lib" by typing sudo make install - + If you are using the KDE, GNOME or XFCE desktop environments and want to call "fluid" from the desktop menu, you will need to install additional files and icons under "/usr/share" by typing: sudo make install-desktop - -It is possible to install FLTK without superuser privileges by changing the -installation path to a location within the user account by adding the + +It is possible to install FLTK without superuser privileges by changing the +installation path to a location within the user account by adding the "--prefix=PREFIX" parameters to the "./configure" command. @@ -377,16 +377,16 @@ recommend that you add it to the command search path. Code::Blocks is a free and popular C++ IDE in the Linux world. It also runs on OS X and Windows. Configured correctly, it can also cross-compile between -these platforms. This chapter focuses on creating a new FLTK project for Linux, -assuming that FLTK 1.3 was previously built and installed in its default +these platforms. This chapter focuses on creating a new FLTK project for Linux, +assuming that FLTK 1.3 was previously built and installed in its default location from the command line. -If not done yet, install Code::Blocks as described in the Prerequisites chapter -above, or download it from their web site. This description is based on +If not done yet, install Code::Blocks as described in the Prerequisites chapter +above, or download it from their web site. This description is based on version 10.05: http://www.codeblocks.org/ - + Start Code::Blocks. Select File > New > Project. In the "New from template" dialog box, click on "FLTK project" and follow the instructions. @@ -400,7 +400,7 @@ compiler flags, select your project in the tree view, then select the `fltk-config --cxxflags` in front of the second "`". The linker flags are located in the "Linker Settings" tab under "Other Linker -Options". Add the flags to `fltk-config --ldstaticflags` in front of the +Options". Add the flags to `fltk-config --ldstaticflags` in front of the second "`". CodeBlocks can be set up to use fluid to manage modules. @@ -409,24 +409,24 @@ The following info is from mingodad@gmail.com posted on fltk.general 06/17/2013: """ I have these settings in codeblocks on linux: - Settings -> + Settings -> Compiler and debugging settings -> - Other settings -> - Advanced options: + Other settings -> + Advanced options: -- Add an extension (in my case "fl") -- On command line macro: - cd $file_dir; fluid -c $file + cd $file_dir; fluid -c $file -- Generated files (to be further compiled): - $file_dir/$file_name.cxx - $file_dir/$file_name.h + $file_dir/$file_name.cxx + $file_dir/$file_name.h Settings -> Environment -> Files extension handling : - Wildcard : *.fl - To open file: Launch an external program - External program: fluid + Wildcard : *.fl + To open file: Launch an external program + External program: fluid With that I can double click on any fluid file I include on a project and it opens with fluid. When I press "run" or "build" codeblocks |
