diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 495053b..52605c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,8 @@ jobs: with: path: ~/cLaTeXMath/ key: ${{ runner.os }}-clatexmath + - name: Updating apt package lists + run: sudo apt-get update - name: Downloading dependencies 📥 run: sudo apt-get install build-essential libfontconfig1-dev zlib1g-dev libjsoncpp-dev libgtksourceviewmm-3.0-dev libgtkmm-3.0-dev libtinyxml2-dev python3 python3-pip python3-setuptools - name: Download the latest version of Meson 🧰 diff --git a/.github/workflows/latest-release.yml b/.github/workflows/latest-release.yml index ddf806c..abcabf4 100644 --- a/.github/workflows/latest-release.yml +++ b/.github/workflows/latest-release.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v2 + - name: updating apt package archives + run: sudo apt-get update - name: setting the dependencies up run: sudo apt install libfontconfig1-dev zlib1g-dev libjsoncpp-dev libgtksourceviewmm-3.0-dev libtinyxml2-dev libgtkmm-3.0-dev cmake ninja-build - name: installing cLaTeXMath diff --git a/.github/workflows/package-deb.yml b/.github/workflows/package-deb.yml index 56f0dc5..52f0e73 100644 --- a/.github/workflows/package-deb.yml +++ b/.github/workflows/package-deb.yml @@ -25,5 +25,5 @@ jobs: automatic_release_tag: "latest-deb" prerelease: true title: "Ubuntu 18.04 package for development version" - files: ../notekit_0.1-1_amd64.deb + files: ../notekit_0.2_amd64.deb diff --git a/debian/changelog b/debian/changelog index aac28d0..64ea39e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +notekit (0.2) unstable; urgency=medium + + * Various bugfixes. + * Add support for inline images and image pasting. + * Misc improvements. + + -- Matvey Soloviev Tue, 23 Nov 2021 16:20:00 -0500 + notekit (0.1-1) unstable; urgency=medium * Initial release diff --git a/install-clatexmath.sh b/install-clatexmath.sh index 0a46e90..69913a8 100755 --- a/install-clatexmath.sh +++ b/install-clatexmath.sh @@ -2,6 +2,40 @@ git clone https://github.com/NanoMichael/cLaTeXMath.git cd cLaTeXMath git reset --hard HEAD +# patch out C++17 feature use in code, but compile with -std=c++17 +(cat <= 201703L) || (defined(_MSC_VER) && defined(_HAS_CXX17) && _HAS_CXX17) +-#define CLATEX_CXX17 1 +-#else + #define CLATEX_CXX17 0 +-#endif + + #endif // CONFIG_H_INCLUDED +EOF +) | patch -p1 cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_LOG=OFF -DGRAPHICS_DEBUG=OFF . make -cp -r res ../data/latex \ No newline at end of file +cp -r res ../data/latex