diff options
author | Noel Kuntze | 2019-05-03 23:48:09 +0200 |
---|---|---|
committer | Noel Kuntze | 2019-05-03 23:48:09 +0200 |
commit | e5fa21cd1af84d187fa7c0bb5a145b8c1107e6bd (patch) | |
tree | 861ffa4823a07c6f6eb20076f91e2b8e281413c3 | |
parent | d5013962429ee108a04f060558aafa3df4018872 (diff) | |
download | aur-e5fa21cd1af84d187fa7c0bb5a145b8c1107e6bd.tar.gz |
Delete old patch, bump to 0.10.1
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | 0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch | 27 | ||||
-rw-r--r-- | PKGBUILD | 16 |
3 files changed, 9 insertions, 46 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Feb 12 19:55:57 UTC 2019 +# Fri May 3 21:47:45 UTC 2019 pkgbase = textext pkgdesc = An inkscape extension which lets you add LaTeX equations to your drawings - pkgver = 0.9.1 - pkgrel = 4 + pkgver = 0.10.1 + pkgrel = 0 url = https://github.com/textext/textext arch = any license = custom:BSD @@ -14,10 +14,8 @@ pkgbase = textext optdepends = pdf2svg optdepends = pygtk optdepends = imagemagick6 - source = textext-0.9.1.tar.gz::https://github.com/textext/textext/releases/download/0.9.1/TexText-Linux-0.9.1.tar.gz - source = 0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch - sha256sums = 5c48544b4c51547792909ba89fd27432b58bfb26d9d9c3131ab65ec809d8198b - sha256sums = 3fc97197fc55a7de3df3ec35955802156a9c9ead07f48fe821792c11f4dcfeab + source = textext-0.10.1.tar.gz::https://github.com/textext/textext/releases/download/0.10.1/TexText-Linux-0.10.1.tar.gz + sha256sums = 084f3f6c1524b9591c976f39232c3d4e314fb4bdbe648ba605e4fd6d03d8d2ba pkgname = textext diff --git a/0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch b/0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch deleted file mode 100644 index 42c56369afa3..000000000000 --- a/0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 55c6847481487e0f2e7a44706b873608705d47bf Mon Sep 17 00:00:00 2001 -From: Alexander Blinne <alexander.blinne@uni-jena.de> -Date: Mon, 4 Feb 2019 15:04:56 +0100 -Subject: [PATCH] Fix Issue 111: Write log file to user-writable dir - ---- - extension/textext/__init__.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/extension/textext/__init__.py b/extension/textext/__init__.py -index 5c26968..65739ae 100644 ---- a/extension/textext/__init__.py -+++ b/extension/textext/__init__.py -@@ -62,7 +62,9 @@ EXIT_CODE_OK = 0 - EXIT_CODE_EXPECTED_ERROR = 1 - EXIT_CODE_UNEXPECTED_ERROR = 60 - --LOG_LOCATION = os.path.dirname(__file__) # todo: check destination is writeable -+LOG_LOCATION = os.path.join(defaults.inkscape_extensions_path, "textext") -+if not os.path.isdir(LOG_LOCATION): -+ os.makedirs(LOG_LOCATION) - LOG_FILENAME = os.path.join(LOG_LOCATION, "textext.log") # todo: check destination is writeable - - --- -2.20.1 - @@ -3,8 +3,8 @@ pkgname=textext _pkgname=TexText -pkgver=0.9.1 -pkgrel=4 +pkgver=0.10.1 +pkgrel=0 pkgdesc="An inkscape extension which lets you add LaTeX equations to your drawings" arch=('any') license=('custom:BSD') @@ -12,17 +12,9 @@ url="https://github.com/textext/textext" makedepends=('dos2unix') depends=('inkscape' 'texlive-core' 'python2') optdepends=('pdf2svg' 'pygtk' 'imagemagick6') -source=("$pkgname-$pkgver.tar.gz::https://github.com/textext/textext/releases/download/$pkgver/${_pkgname}-Linux-$pkgver.tar.gz" - "0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch") +source=("$pkgname-$pkgver.tar.gz::https://github.com/textext/textext/releases/download/$pkgver/${_pkgname}-Linux-$pkgver.tar.gz") -sha256sums=('5c48544b4c51547792909ba89fd27432b58bfb26d9d9c3131ab65ec809d8198b' - '3fc97197fc55a7de3df3ec35955802156a9c9ead07f48fe821792c11f4dcfeab') - -prepare() { - cd "$pkgname-$pkgver" - dos2unix "$srcdir/$pkgname-$pkgver/extension/textext/__init__.py" - patch -l -p1 < "$srcdir/0001-Fix-Issue-111-Write-log-file-to-user-writable-dir.patch" -} +sha256sums=('084f3f6c1524b9591c976f39232c3d4e314fb4bdbe648ba605e4fd6d03d8d2ba') package() { install -d "$pkgdir"/usr/share/inkscape/extensions |