[arch-commits] Commit in sigil/repos/community-x86_64 (4 files)
Eli Schwartz
eschwartz at archlinux.org
Sun Jun 7 04:47:31 UTC 2020
Date: Sunday, June 7, 2020 @ 04:47:30
Author: eschwartz
Revision: 639580
archrelease: copy trunk to community-x86_64
Added:
sigil/repos/community-x86_64/PKGBUILD
(from rev 639579, sigil/trunk/PKGBUILD)
sigil/repos/community-x86_64/sigil.install
(from rev 639579, sigil/trunk/sigil.install)
Deleted:
sigil/repos/community-x86_64/PKGBUILD
sigil/repos/community-x86_64/sigil.install
---------------+
PKGBUILD | 144 +++++++++++++++++++++++++++++---------------------------
sigil.install | 20 +++----
2 files changed, 86 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-07 04:47:06 UTC (rev 639579)
+++ PKGBUILD 2020-06-07 04:47:30 UTC (rev 639580)
@@ -1,68 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Maintainer: Alad Wenter <alad at mailbox.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
-pkgname=sigil
-pkgver=1.2.1
-pkgrel=1
-pkgdesc="multi-platform EPUB2/EPUB3 ebook editor"
-arch=('x86_64')
-url="https://sigil-ebook.com/"
-license=('GPL3')
-depends=('hicolor-icon-theme' 'hunspell' 'mathjax2' 'minizip' 'python-css-parser'
- 'python-dulwich' 'python-lxml' 'qt5-webengine')
-makedepends=('qt5-tools' 'cmake')
-optdepends=('hunspell-en_US: for English dictionary support'
- 'hyphen-en: for English hyphenation support in plugins'
- 'pageedit: external editor to replace BookView'
- 'python-html5lib: recommended for plugins'
- 'python-chardet: recommended for plugins'
- 'python-cssselect: recommended for plugins'
- 'python-pillow: recommended for plugins'
- 'python-regex: recommended for plugins'
- 'python-pyqt5: recommended for plugins'
- 'tk: recommended for plugins')
-install=${pkgname}.install
-source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz"
- "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig")
-sha256sums=('5187084486513f9bd3239eb4f4961cd98192c34fe6e161f277b52511fd760861'
- 'SKIP')
-b2sums=('b615304d80ae1bc8b202398e4e00e25e6f13130ba5f27239d78cb847813fac6d13ddd868ed8daa496b5a5f2f37914603b3014b2c0ecb9f8ae2f0e5f6f2bdf84b'
- 'SKIP')
-validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at gmail.com>
-
-build() {
- mkdir -p "${srcdir}"/Sigil-${pkgver}/build
- cd "${srcdir}"/Sigil-${pkgver}/build
-
- cmake -G "Unix Makefiles" \
- -DUSE_SYSTEM_LIBS=1 \
- -DSYSTEM_LIBS_REQUIRED=1 \
- -DINSTALL_BUNDLED_DICTS=0 \
- -DMATHJAX_DIR=/usr/share/mathjax2 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON ..
-
- make
-}
-
-package() {
- cd "${srcdir}"/Sigil-${pkgver}/build
- make install DESTDIR="${pkgdir}"
-
- for _pic in 16 32 48 128 256; do
- install -D -m 0644 ../src/Resource_Files/icon/app_icon_${_pic}.png \
- "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png
- done
- install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \
- "$pkgdir/usr/share/pixmaps/$pkgname.png"
-
- # Compile python bytecode
- python -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib}
- python -O -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib}
-}
Copied: sigil/repos/community-x86_64/PKGBUILD (from rev 639579, sigil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-07 04:47:30 UTC (rev 639580)
@@ -0,0 +1,76 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="multi-platform EPUB2/EPUB3 ebook editor"
+arch=('x86_64')
+url="https://sigil-ebook.com/"
+license=('GPL3')
+depends=('hicolor-icon-theme' 'hunspell' 'mathjax2' 'minizip' 'python-css-parser'
+ 'python-dulwich' 'python-lxml' 'qt5-webengine')
+makedepends=('qt5-tools' 'cmake')
+optdepends=('hunspell-en_US: for English dictionary support'
+ 'hyphen-en: for English hyphenation support in plugins'
+ 'pageedit: external editor to replace BookView'
+ 'python-html5lib: recommended for plugins'
+ 'python-chardet: recommended for plugins'
+ 'python-cssselect: recommended for plugins'
+ 'python-pillow: recommended for plugins'
+ 'python-regex: recommended for plugins'
+ 'python-pyqt5: recommended for plugins'
+ 'tk: recommended for plugins')
+install=${pkgname}.install
+source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz"
+ "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig"
+ "https://github.com/Sigil-Ebook/Sigil/commit/50280fae48717e76d56685bf0fda19783c8904e1.patch")
+sha256sums=('5187084486513f9bd3239eb4f4961cd98192c34fe6e161f277b52511fd760861'
+ 'SKIP'
+ '5c57da8d1bc29fdaddcf6b52747bf453bc40af166fb4c77e49b7869a2776458f')
+b2sums=('b615304d80ae1bc8b202398e4e00e25e6f13130ba5f27239d78cb847813fac6d13ddd868ed8daa496b5a5f2f37914603b3014b2c0ecb9f8ae2f0e5f6f2bdf84b'
+ 'SKIP'
+ '61c4b8de1d7e6a65668f45b6aadebb7c93bad6c82ed415caad3900f009f88f253aa10ca678c76580ef5d3b344cead91390b001aa824e49ad963a45ff259971d3')
+validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at gmail.com>
+
+prepare() {
+ cd "${srcdir}"/Sigil-${pkgver}
+
+ patch -p1 -i ../50280fae48717e76d56685bf0fda19783c8904e1.patch
+}
+
+build() {
+ mkdir -p "${srcdir}"/Sigil-${pkgver}/build
+ cd "${srcdir}"/Sigil-${pkgver}/build
+
+ cmake -G "Unix Makefiles" \
+ -DUSE_SYSTEM_LIBS=1 \
+ -DSYSTEM_LIBS_REQUIRED=1 \
+ -DINSTALL_BUNDLED_DICTS=0 \
+ -DMATHJAX_DIR=/usr/share/mathjax2 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+ -DCMAKE_SKIP_RPATH=ON ..
+
+ make
+}
+
+package() {
+ cd "${srcdir}"/Sigil-${pkgver}/build
+ make install DESTDIR="${pkgdir}"
+
+ for _pic in 16 32 48 128 256; do
+ install -D -m 0644 ../src/Resource_Files/icon/app_icon_${_pic}.png \
+ "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png
+ done
+ install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+ # Compile python bytecode
+ python -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib}
+ python -O -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib}
+}
Deleted: sigil.install
===================================================================
--- sigil.install 2020-06-07 04:47:06 UTC (rev 639579)
+++ sigil.install 2020-06-07 04:47:30 UTC (rev 639580)
@@ -1,10 +0,0 @@
-post_upgrade() {
- if (( $(vercmp 0.9.13 "$2") > 0 )); then
- cat << __EOF__
-Sigil will very possibly not work at first due to bugs in the 0.9.11 - 0.9.12 preferences code.
-Please see the following resources for migration instructions:
- https://www.mobileread.com/forums/showthread.php?t=315748
- https://github.com/Sigil-Ebook/Sigil/wiki#if-youre-here-because
-__EOF__
- fi
-}
Copied: sigil/repos/community-x86_64/sigil.install (from rev 639579, sigil/trunk/sigil.install)
===================================================================
--- sigil.install (rev 0)
+++ sigil.install 2020-06-07 04:47:30 UTC (rev 639580)
@@ -0,0 +1,10 @@
+post_upgrade() {
+ if (( $(vercmp 1.2.1-2 "$2") > 0 )); then
+ cat << __EOF__
+Warning: Qt5 5.15 has broken the security sandbox for ebooks with javascript.
+If you've enabled javascript support, be aware that untrusted EPUBs can now
+exfiltrate user data. See
+https://www.mobileread.com/forums/showthread.php?t=330486
+__EOF__
+ fi
+}
More information about the arch-commits
mailing list