[vlmc-devel] commit: Building and packaging instructions sorted and fixed. (Rohit Yadav )

git at videolan.org git at videolan.org
Tue Jun 8 21:32:44 CEST 2010


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Mon Jun  7 18:20:29 2010 +0200| [a5766172f3119ede67853d444b30ebb2e85ca333] | committer: Hugo Beauzée-Luyssen 

Building and packaging instructions sorted and fixed.

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=a5766172f3119ede67853d444b30ebb2e85ca333
---

 INSTALL        |   67 ++++++++++++++++++++++++-------------------------------
 INSTALL.macosx |   29 ++++++++++++++++++++++++
 README         |    3 +-
 3 files changed, 60 insertions(+), 39 deletions(-)

diff --git a/INSTALL b/INSTALL
index 4c6a944..e70d560 100644
--- a/INSTALL
+++ b/INSTALL
@@ -9,58 +9,49 @@ Dependencies
 Get the sources
 ===============
 
-	git clone git://git.videolan.org/vlmc.git
+  $git clone git://git.videolan.org/vlmc.git
 
-Building VLMC
-=============
+Building and packaging VLMC on Linux
+====================================
 
 A typical way to build VLMC is:
+  $mkdir build && cd build
 
-	cmake .
-	make
-
-Running VLMC
-============
-
-	./vlmc
-
-Building and Packaging on Mac OS
-================================
-
-Download and unzip (libVLC) contribs for Mac OSX (i386), in /contribs:
-#FIXME: Arrange for hosting on videolan.org
-  http://rohityadav.in/projects/videolan/vlmc/contribs/
-
-On Mac OS:
-  mkdir build && cd build
-  cmake ..
-  make
+To set install path: (optional)
+  $cmake -DCMAKE_INSTALL_PREFIX=/usr ..
 
-This will by default create a Mac Bundle, vlmc.app
-To create a dmg image:
- Uncomment #dmg in /src/CMakeLists.txt, at the end of the file.
- and follow the build process, the dmg will be created in /build/bin
+Else:
+  $cmake ..
 
-Packaging
-=========
+Build:
+  $make
 
-On Linux, an easy way to make package is:
-   cmake .
-   make package
+To package:
+  $make package
 
 But this by default will search for available pkg builders and build accordingly.
+
 To force building deb:
-   cpack -G DEB
+  $cpack -G DEB
 To force building rpm:
-   cpack -G RPM
+  $cpack -G RPM
    
-Installing
-==========
+Installing on Linux
+===================
+
+On Linux:
+  $dpkg -i <deb package>
+  $rpm -i <rpm package>
 
-If you have the deb/rpm pkg, install it!
 To remove:
-apt-get remove vlmc
-rpm remove vlmc
+  $dpkg -r vlmc
+  $rpm -e vlmc
+
+
+Running VLMC
+============
+
+	./vlmc
 
 Issues
 ======
diff --git a/INSTALL.macosx b/INSTALL.macosx
new file mode 100644
index 0000000..7e05ade
--- /dev/null
+++ b/INSTALL.macosx
@@ -0,0 +1,29 @@
+Building VLMC on 
+
+Dependencies
+============
+
+- Latest VLC Contribs
+- Qt framework >= 4.5.0
+
+Get the sources
+===============
+
+  $git clone git://git.videolan.org/vlmc.git
+
+Building and Packaging on Mac OS
+================================
+
+Download and unzip (libVLC) contribs for Mac OSX (i386), in /contribs from:
+  http://rohityadav.in/projects/videolan/vlmc/contribs/
+
+On Mac OS:
+  $mkdir build && cd build
+  $cmake ..
+  $make
+
+This will by default create a Mac Bundle, vlmc.app in /build/bin
+
+To create a dmg image:
+ Uncomment #dmg in /src/CMakeLists.txt, at the end of the file.
+ and follow the build process, the dmg will be created in /build/bin
diff --git a/README b/README
index 991cd3f..f3654f7 100644
--- a/README
+++ b/README
@@ -12,7 +12,8 @@ CMakeLists.txt     - Root CMake config file.
 COPYING            - The GPL license.
 ChangeLog          - One day, VLMC will have this file.
 HACKING            - Hacking VLMC.
-INSTALL            - Installation instructions.
+INSTALL            - General Installation instructions.
+INSTALL.macosx     - Installation instructions for Mac OSX version of VLMC.
 INSTALL.win32      - Installation instructions for the Win32 version of VLMC.
 NEWS               - Important modifications between the releases.
 README             - This file.



More information about the Vlmc-devel mailing list