OSDN Git Service

version bump
[mypaint-anime/master.git] / README
diff --git a/README b/README
index 13f7ffb..4a71710 100644 (file)
--- a/README
+++ b/README
@@ -2,29 +2,71 @@ MyPaint - drawing program with dynamic brushes for graphic tablets
 
 The license is described in the file LICENSE.
 Documentation can be found within the program and on the homepage:
-http://mypaint.intilinux.com/
-http://gna.org/projects/mypaint/
+http://mypaint.info/
 A list of contributors can be found in the about dialog.
 
 Building on Linux:
 
     Compile and run:
-    scons && ./mypaint
+
+        $ scons
+        $ ./mypaint
 
     Install:
-    scons prefix=/usr/local install
 
-    Required: pygtk, python, swig, gtk, numpy, pycairo(>=1.4)
-    Debian and derivatives need: python2.6-dev libglib2.0-dev python-numpy swig scons
+        # scons prefix=/usr/local install
+
+    Uninstall:
+
+        # scons prefix=/usr/local install --clean
+
+    Install (for packagers):
+
+        $ scons prefix=/usr --install-sandbox=path/to/sandbox
+
+            (NOTE: the sandbox location must be located under the
+            current working directory. The above installs the main
+            launch script as "./path/to/sandbox/usr/bin/mypaint".
+            Use a symlink if that's too limiting.)
+
+
+    Required: pygtk, python, swig, gtk, numpy, pycairo(>=1.4), libpng
+
+    Debian users can fetch these dependencies by running:
+
+        # apt-get install g++ python-dev libglib2.0-dev python-numpy \
+                          swig scons gettext libpng12-dev
 
     Recommended: a pressure sensitive input device (graphic tablet)
 
+
+    Take care to update the icon theme cache for your $prefix if you're
+    installing mypaint to a location which has one of these files already. If
+    you install new icons, any existing icon cache must be updated too,
+    otherwise MyPaint won't be able to find its icons even if it looks in the
+    right place. For example for an install into /usr (which has one on most
+    systems), you should run
+
+        $ gtk-update-icon-cache /usr/share/icons/hicolor
+        $ chmod a+r /usr/share/icons/hicolor/icon-theme.cache
+
+    after installation to ensure that the cache is up to date. Scons won't
+    do this for you because the cache file is optional.
+
+    If you install to /usr/local, you may need to run this instead:
+
+        $ gtk-update-icon-cache --ignore-theme-index /usr/local/share/icons/hicolor
+
+
 Building on Windows:
 
     NOTE: This is still very experimental.
     If you'd much rather simply have a semi-recent pre-build version of MyPaint for Windows,
     downloads should be available on the website.
 
+    NOTE: This page might contain more up to date instructions:
+    http://opensourcepack.blogspot.com/2009/08/building-mypaint-in-windows.html
+
     To build on a Windows platform there are a handful of things you need to setup before building.
     As the very first step you should make sure you have the following things installed correctly on your system: