summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2018-11-01 11:37:38 +0100
committerGard Spreemann <gspreemann@gmail.com>2018-11-01 11:37:38 +0100
commit13a05e33e2e33a51d030312c02def9375238dd97 (patch)
tree74a5f8f60d60ac473e52960e6a1199e57200ca32
parent79185a3183f2ce4423998871ce7c470a756215dd (diff)
parent87b50b1f93b34a0da6e784459931feabb7f15bc9 (diff)
Merge commit '87b50b1f93b34a0da6e784459931feabb7f15bc9' into debian/sid
-rw-r--r--.appveyor.yml4
-rw-r--r--.travis.yml4
-rw-r--r--README.md8
-rwxr-xr-xdeploy-linux.sh5
-rwxr-xr-xshare/applications/tikzit.desktop1
-rw-r--r--share/man/man1/tikzit.116
6 files changed, 34 insertions, 4 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 7970b58..c8c4424 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,5 +1,9 @@
version: '{branch}-{build}'
+branches:
+ only:
+ - master
+
image:
- Ubuntu1804
- Visual Studio 2015
diff --git a/.travis.yml b/.travis.yml
index 1e8c421..1c814d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,9 @@
language: cpp
+branches:
+ only:
+ - master
+
matrix:
include:
- os: osx
diff --git a/README.md b/README.md
index 5ae4ba9..797b653 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# TikZiT
-TikZiT is a graphical tool for rapidly creating graphs and diagrams using PGF/TikZ. It was used, for example, to make all of the 2500+ diagrams in <a href="http://cambridge.org/pqp">this book</a>. It is currently undergoing a port to Qt5 for better cross-platform support. As such, the code on this branch, and these instructions are a work in progress.
+TikZiT is a graphical tool for rapidly creating graphs and string diagrams using PGF/TikZ. It was used, for example, to make all of the 2500+ diagrams in <a href="http://cambridge.org/pqp">this book</a>.
## Building on Windows
@@ -11,7 +11,7 @@ To build with Qt Creator, simply click 'Open Project' and navigate to the `.pro`
To install Qt VS Tools in Visual Studio 2017, go to `Tools > Extensions and Updates`, then click "Online" in the sidebar and search for Qt. Configure your Qt install under `Qt VS Tools > Qt Options`. If you installed Qt using the Windows package above, the path to Qt is probably something like `C:\Qt\5.XXX\msvc2017_64`. Once that is done, open the `.pro` file in the TikZiT repo via `Qt VS Tools > Open Qt Project File`.
-The only dependency besides Qt itself is flex/bison, which is used to build the TikZ parser. The simplest way to install this is to download <a href="https://github.com/lexxmark/winflexbison">WinFlexBison</a>, then rename or copy `win_flex.exe` and `win_bison.exe` to `flex.exe` and `bison.exe` respectively, and make sure both are in your `%PATH%` so the build tools can find them.
+The only dependency besides Qt itself is flex/bison, which is used to build the TikZ parser. The simplest way to install this is to download <a href="https://github.com/lexxmark/winflexbison">WinFlexBison</a>, then make sure both are in your `%PATH%` so the build tools can find them.
You can alternatively build from the command line with mingw or Visual Studio, and install necessary dependencies via <a href="https://chocolatey.org">Chocolatey</a>. This setup has been tested on Windows 10 with Visual Studio 2015 and Qt 5.11.1. After installing Qt 5.11 and Visual Studio, run the following commands in a `cmd` prompt:
@@ -21,7 +21,7 @@ You can alternatively build from the command line with mingw or Visual Studio, a
call "C:\ProgramFiles (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
cd C:\path\to\tikzit
qmake
- nmake.exe
+ nmake
@@ -41,7 +41,7 @@ Building on other distributions should be similar. For Qt setup, you can find in
## Building on MacOS
-You'll need Qt5 and poppler with Qt5 bindings. Qt5 can be installed using e.g. Homebrew, as follows:
+You'll need developer tools and Qt5 installed. The latter can be installed using e.g. Homebrew, as follows:
$ brew install qt5
diff --git a/deploy-linux.sh b/deploy-linux.sh
index 4e92b95..3a30f3b 100755
--- a/deploy-linux.sh
+++ b/deploy-linux.sh
@@ -42,6 +42,7 @@ update-desktop-database ~/.local/share/applications
EOF
chmod +x install-local.sh
+
cat > bin/tikzit << 'EOF'
#!/bin/bash
@@ -70,6 +71,10 @@ cp --no-dereference $LIBDIR/libicuuc.so* lib
cp --no-dereference $LIBDIR/libicui18n.so* lib
cp --no-dereference $LIBDIR/libicudata.so* lib
+# add openssl from the build system, as this seems to create some problems if the wrong version
+cp --no-dereference $LIBDIR/libssl.so* lib
+cp --no-dereference $LIBDIR/libcrypto.so* lib
+
# add Qt plugins used by TikZiT
cp -R $PLUGINDIR/platforms plugins
cp -R $PLUGINDIR/imageformats plugins
diff --git a/share/applications/tikzit.desktop b/share/applications/tikzit.desktop
index 1e767f7..2795c46 100755
--- a/share/applications/tikzit.desktop
+++ b/share/applications/tikzit.desktop
@@ -6,3 +6,4 @@ Icon=tikzit
Terminal=false
Type=Application
MimeType=application/x-tikz-document
+Categories=Graphics;Science;
diff --git a/share/man/man1/tikzit.1 b/share/man/man1/tikzit.1
new file mode 100644
index 0000000..24989e8
--- /dev/null
+++ b/share/man/man1/tikzit.1
@@ -0,0 +1,16 @@
+.TH TIKZIT 1
+.SH NAME
+tikzit \- a simple GUI editor for making graphs and string diagrams
+.SH SYNOPSIS
+.B tikzit
+[\fIfile\fR]
+.SH DESCRIPTION
+.B tikzit
+is a super simple GUI editor for graphs and string diagrams. Its
+native file format is a subset of PGF/TikZ, which means TikZiT files
+can be included directly in papers typeset using LaTeX.
+.SH ARGUMENTS
+.TP
+.BR file
+An optional file name to open.
+