@@ -23,7 +23,7 @@ Requirements
2323
2424And following packages with GObject introspection:
2525
26- * GLib 2.36 (meld install also needs GLib binaries like glib-compile-schemas)
26+ * GLib 2.36
2727* Pango
2828* PangoCairo
2929* GTK+ 3.20
@@ -33,77 +33,61 @@ And following packages with GObject introspection:
3333Build requirements
3434------------------
3535
36- System packages:
37-
38- * intltool
39- * itstool
40- * xmllint
41-
42- Python packages:
43-
44- * distro
36+ * Python 3.6
37+ * Meson 0.48
38+ * Ninja
39+ * gettext
40+ * GLib 2.36 and its development utilities such as ` glib-compile-schemas `
4541
46- Building Windows MSIs requires:
42+ For Windows build requirements, see ` mingw-common ` section ` .gitlab-ci.yml `
4743
48- * cx_Freeze 5
49- * pywin32/pypiwin32 (optional, for storing version info in Meld.exe)
5044
5145Running
5246-------
5347
54- Meld can be run directly from this source tree directory. Just type:
55-
56- * ` bin/meld `
57-
58- Alternatively, you can install Meld system-wide by running:
48+ You * do not* need to build Meld in order to run it. Meld can be run directly
49+ from this source directory by running:
5950
60- * ` python3 setup.py install `
51+ ``` sh
52+ $ bin/meld
53+ ```
6154
62- or if you're on Ubuntu, instead try:
55+ Unix users should get Meld from their distribution package manager, or from
56+ [ Flathub] ( https://flathub.org/ ) .
6357
64- * ` python3 setup.py install --prefix=/usr `
58+ Windows users should download the provided MSIs on the
59+ [ Meld home page] ( https://meldmerge.org/ ) .
6560
66- ...but you should probably just get a RPM/deb/installer instead, depending on
67- your system. Meld packages are available for just about every \* nix
68- distribution.
69-
70- For Windows users, MSIs are available from the Meld home page. Also if all
71- dependencies are installed manually, running from source tree is supported:
72- * ` python3.exe bin/meld `
73-
74- For OSX users, Meld can be installed on OSX using MacPorts/Fink/etc. There are
75- also unofficial native builds available for older releases. See the wiki for
76- details.
61+ OSX users can install Meld using Homebrew (or Macports, Fink, etc.), or there
62+ are unofficial native builds available from the
63+ [ Meld for OSX] ( https://yousseb.github.io/meld/ ) project.
7764
7865
7966Building
8067--------
8168
82- Meld uses standard distutils for building. It supports anything that distutils
83- supports, and little else.
84-
85- Additional hacks are added to make life easier for packagers where required,
86- such as:
87-
88- * Passing ` --no-update-icon-cache ` will stop Meld from running
89- ` gtk-update-icon-cache ` post-install
90- * Passing ` --no-compile-schemas ` will stop Meld from trying to compile
91- gsettings schemas post-install
92-
93- These arguments need to be passed to ` setup.py ` itself, * not* to the install
94- command. In other words, do this:
69+ Meld uses [ meson] ( https://mesonbuild.com/ ) build system. Use the following
70+ commands to build Meld from the source directory:
9571
96- python3 setup.py --no-compile-schemas install
72+ ``` sh
73+ $ meson _build
74+ $ cd _build
75+ $ ninja
76+ ```
9777
98- ** not ** this :
78+ You can then install Meld system-wide by running :
9979
100- python3 setup.py install --no-compile-schemas
80+ ``` sh
81+ $ ninja install
82+ ```
10183
102- Windows installer can be built with command
84+ A Windows installer can be built with command
10385
104- C:\Python34\python.exe setup_win32.py bdist_msi
86+ ``` powershell
87+ C:\Python34\python.exe setup_win32.py bdist_msi
88+ ```
10589
106- that creates file ` dist/Meld-VERSION-ARCH.msi `
90+ which will create the file ` dist/Meld-VERSION-ARCH.msi ` .
10791
10892
10993Developing
0 commit comments