misc: import many new libraries

Fri, 23 Nov 2018 12:44:02 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 23 Nov 2018 12:44:02 +0100
changeset 23
eb65d65a9828
parent 22
a783a3fff834
child 24
771dbdd807d6

misc: import many new libraries

libogg.md file | annotate | diff | comparison | revisions
libpng.md file | annotate | diff | comparison | revisions
libsdl-image.md file | annotate | diff | comparison | revisions
libsdl-mixer.md file | annotate | diff | comparison | revisions
libsdl-ttf.md file | annotate | diff | comparison | revisions
libvorbis.md file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libogg.md	Fri Nov 23 12:44:02 2018 +0100
@@ -0,0 +1,33 @@
+Build libogg
+============
+
+Version:    1.3.3
+Date:       20181123
+
+Download
+--------
+
+- http://downloads.xiph.org/releases/ogg/libogg-1.3.3.zip
+
+Configure
+---------
+
+1. Open win32\VS2010\libogg_dynamic.sln
+2. Select Release or Debug and x64 Visual Studio configuration
+
+Build
+-----
+
+1. Press F7
+2. Copy include\ogg\*.h to C:\pkg\vs\<release|debug>\include\ogg
+
+Debug
+
+1. Copy win32\VS2010\x64\Debug\libogg.dll to C:\pkg\vs\debug\bin
+2. Copy win32\VS2010\x64\Debug\libogg.pdb to C:\pkg\vs\debug\bin
+3. Copy win32\VS2010\x64\Debug\libogg.lib to C:\pkg\vs\debug\lib
+
+Release
+
+1. Copy win32\VS2010\x64\Release\libogg.dll to C:\pkg\vs\release\bin
+3. Copy win32\VS2010\x64\Release\libogg.lib to C:\pkg\vs\release\lib
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libpng.md	Fri Nov 23 12:44:02 2018 +0100
@@ -0,0 +1,42 @@
+Build libpng
+============
+
+Version:    1.6.35
+Date:       20181113
+
+Download
+--------
+
+  - http://prdownloads.sourceforge.net/libpng/lpng1635.zip?download
+
+Dependencies
+------------
+
+  - [CMake](https://cmake.org).
+
+Configure
+---------
+
+### Visual Studio (debug)
+
+    cmake .
+        -DCMAKE_BUILD_TYPE=Debug
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
+
+### Visual Studio (release)
+
+    cmake .
+        -DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
+
+Build
+-----
+
+### Visual Studio
+
+    nmake
+    nmake install
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libsdl-image.md	Fri Nov 23 12:44:02 2018 +0100
@@ -0,0 +1,55 @@
+Build libsdl-image
+==================
+
+Version:    2.0.4
+Date:       20181123
+
+Dependencies
+------------
+
+- libsdl
+- libpng
+  - libz
+
+Download
+--------
+
+- https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.zip
+
+Configure
+---------
+
+1. Remove VisualC/external directory,
+2. Open VisualC/SDL_image.sln,
+3. Remove showimage project,
+4. Remove x64, x86 from SDL2_image project
+4. Select Release or Debug and x64 Visual Studio configuration
+5. Open SDL2_image properties
+  5.1 C/C++ -> General -> Additional Include Directories
+    5.1.1 Clear old values
+    5.1.2 Add C:\pkg\vs\<release|debug>\include\SDL2
+    5.1.3 Add C:\pkg\vs\<release|debug>\include
+  5.2 C/C++ -> Preprocessor -> Preprocessor Definitions
+    5.2.1 Remove all LOAD_* values and keep LOAD_PNG
+  5.3 Linker -> General -> Additional Library Directories
+    5.3.1 Set to C:\pkg\vs\<release|debug>\lib
+  5.4 Linker -> Input -> Additional Dependencies
+    5.4.1 (Debug) Set to SDL2d.lib libpng16d.lib
+    5.4.2 (Release) Set to SDL2.lib libpng16.lib
+
+Build
+-----
+
+1. Press F7
+2. Copy SDL_image.h to C:\pkg\vs\<release|debug>\include\SDL2
+
+Debug
+
+1. Copy VisualC\x64\Debug\SDL2_image.dll to C:\pkg\vs\debug\bin
+2. Copy VisualC\x64\Debug\SDL2_image.pdb to C:\pkg\vs\debug\bin
+3. Copy VisualC\x64\Debug\SDL2_image.lib to C:\pkg\vs\debug\lib
+
+Release
+
+1. Copy VisualC\x64\Release\SDL2_image.dll to C:\pkg\vs\release\bin
+3. Copy VisualC\x64\Release\SDL2_image.lib to C:\pkg\vs\release\lib
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libsdl-mixer.md	Fri Nov 23 12:44:02 2018 +0100
@@ -0,0 +1,57 @@
+Build libsdl-mixer
+==================
+
+Version:    2.0.4
+Date:       20181123
+
+Dependencies
+------------
+
+- libsdl
+- libvorbis
+  - libogg
+
+Download
+--------
+
+- https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.zip
+
+Configure
+---------
+
+1. Remove VisualC/external directory,
+2. Open VisualC/SDL_mixer.sln,
+3. Remove native_midi, playmus playwave, timidity project,
+4. Remove x64, x86 from SDL2_mixer project
+4. Select Release or Debug and x64 Visual Studio configuration
+5. Open SDL2_mixer properties
+  5.1 C/C++ -> General -> Additional Include Directories
+    5.1.1 Clear old values
+    5.1.2 Add C:\pkg\vs\<release|debug>\include\SDL2
+    5.1.3 Add C:\pkg\vs\<release|debug>\include
+  5.2 C/C++ -> Preprocessor -> Preprocessor Definitions
+    5.2.1 Remove all MUSIC_* and *_DYNAMIC values and keep MUSIC_OGG
+  5.3 Linker -> General -> Additional Library Directories
+    5.3.1 Set to C:\pkg\vs\<release|debug>\lib
+  5.4 Linker -> Input -> Additional Dependencies
+    5.4.1 (Debug) Set to SDL2d.lib libvorbisfile.lib
+    5.4.2 (Release) Set to SDL2.lib libvorbisfile.lib
+  5.5 C/C++ -> All Options -> Additional Options
+    5.5.1 Remove /D OGG_DYNAMIC=...
+
+Build
+-----
+
+1. Press F7
+2. Copy SDL_mixer.h to C:\pkg\vs\<release|debug>\include\SDL2
+
+Debug
+
+1. Copy VisualC\x64\Debug\SDL2_mixer.dll to C:\pkg\vs\debug\bin
+2. Copy VisualC\x64\Debug\SDL2_mixer.pdb to C:\pkg\vs\debug\bin
+3. Copy VisualC\x64\Debug\SDL2_mixer.lib to C:\pkg\vs\debug\lib
+
+Release
+
+1. Copy VisualC\x64\Release\SDL2_mixer.dll to C:\pkg\vs\release\bin
+3. Copy VisualC\x64\Release\SDL2_mixer.lib to C:\pkg\vs\release\lib
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libsdl-ttf.md	Fri Nov 23 12:44:02 2018 +0100
@@ -0,0 +1,52 @@
+Build libsdl-ttf
+================
+
+Version:    2.0.14
+Date:       20181123
+
+Dependencies
+------------
+
+- libsdl
+- libfreetype
+
+Download
+--------
+
+- https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.zip
+
+Configure
+---------
+
+1. Remove VisualC/external directory,
+2. Open VisualC/SDL_ttf.sln,
+3. Remove glfont and showfont projects,
+4. Remove x64, x86 from SDL2_ttf project
+4. Select Release or Debug and x64 Visual Studio configuration
+5. Open SDL2_ttf properties
+  5.1 C/C++ -> General -> Additional Include Directories
+    5.1.1 Clear old values
+    5.1.2 Add C:\pkg\vs\<release|debug>\include\SDL2
+    5.1.3 Add C:\pkg\vs\<release|debug>\include\freetype2
+  5.2 Linker -> General -> Additional Library Directories
+    5.2.1 Set to C:\pkg\vs\<release|debug>\lib
+  5.3 Linker -> Input -> Additional Dependencies
+    5.3.1 (Debug) Set to SDL2d.lib freetyped.lib
+    5.3.2 (Release) Set to SDL2.lib freetype.lib
+
+Build
+-----
+
+1. Press F7
+2. Copy SDL_ttf.h to C:\pkg\vs\<release|debug>\include\SDL2
+
+Debug
+
+1. Copy VisualC\x64\Debug\SDL2_ttf.dll to C:\pkg\vs\debug\bin
+2. Copy VisualC\x64\Debug\SDL2_ttf.pdb to C:\pkg\vs\debug\bin
+3. Copy VisualC\x64\Debug\SDL2_ttf.lib to C:\pkg\vs\debug\lib
+
+Release
+
+1. Copy VisualC\x64\Release\SDL2_ttf.dll to C:\pkg\vs\release\bin
+3. Copy VisualC\x64\Release\SDL2_ttf.lib to C:\pkg\vs\release\lib
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libvorbis.md	Fri Nov 23 12:44:02 2018 +0100
@@ -0,0 +1,48 @@
+Build libvorbis
+===============
+
+Version:    1.3.6
+Date:       20181123
+
+Dependencies
+------------
+
+- libvorbis
+
+Download
+--------
+
+- http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.6.zip
+
+Configure
+---------
+
+1. Open win32\VS2010\libvorbis_dynamic.sln,
+2. Select Release or Debug and x64 Visual Studio configuration,
+3. Remove vorbisdec and vorbisenc projects,
+4. Open libvorbis properties:
+  4.1 C/C++ -> General -> Additional Include Directories
+    4.1.1 Replace ..\..\..\..\libogg\include with C:\pkg\vs\<release|debug>\include
+  4.2 Linker -> General -> Additional Library Directories
+    4.2.1 Remove ..\..\..\libogg\win32\VS2010\...
+    4.2.2 Add C:\pkg\vs\<release|debug>\lib
+  4.2 Linker -> Input -> Additional Dependencies
+    4.2.1 Rename libogg_static.lib to libogg.lib
+5. Repeat the step 4 with libvorbisfile.
+
+Build
+-----
+
+1. Press F7
+2. Copy include\vorbis\*.h to C:\pkg\vs\<release|debug>\include\vorbis
+
+Debug
+
+1. Copy win32\VS2010\x64\Debug\libvorbis.dll to C:\pkg\vs\debug\bin
+2. Copy win32\VS2010\x64\Debug\libvorbis.pdb to C:\pkg\vs\debug\bin
+3. Copy win32\VS2010\x64\Debug\libvorbis.lib to C:\pkg\vs\debug\lib
+
+Release
+
+1. Copy win32\VS2010\x64\Release\libvorbis.dll to C:\pkg\vs\release\bin
+3. Copy win32\VS2010\x64\Release\libvorbis.lib to C:\pkg\vs\release\lib
\ No newline at end of file

mercurial