[arch-commits] Commit in tea/repos (10 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 27 14:47:11 UTC 2016
Date: Sunday, November 27, 2016 @ 14:47:10
Author: felixonmars
Revision: 197032
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
tea/repos/community-staging-i686/
tea/repos/community-staging-i686/PKGBUILD
(from rev 197031, tea/trunk/PKGBUILD)
tea/repos/community-staging-i686/hunspell15.patch
(from rev 197031, tea/trunk/hunspell15.patch)
tea/repos/community-staging-i686/tea.desktop
(from rev 197031, tea/trunk/tea.desktop)
tea/repos/community-staging-i686/tea.install
(from rev 197031, tea/trunk/tea.install)
tea/repos/community-staging-x86_64/
tea/repos/community-staging-x86_64/PKGBUILD
(from rev 197031, tea/trunk/PKGBUILD)
tea/repos/community-staging-x86_64/hunspell15.patch
(from rev 197031, tea/trunk/hunspell15.patch)
tea/repos/community-staging-x86_64/tea.desktop
(from rev 197031, tea/trunk/tea.desktop)
tea/repos/community-staging-x86_64/tea.install
(from rev 197031, tea/trunk/tea.install)
-------------------------------------------+
community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++
community-staging-i686/hunspell15.patch | 12 +++++++
community-staging-i686/tea.desktop | 10 ++++++
community-staging-i686/tea.install | 4 ++
community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++
community-staging-x86_64/hunspell15.patch | 12 +++++++
community-staging-x86_64/tea.desktop | 10 ++++++
community-staging-x86_64/tea.install | 4 ++
8 files changed, 142 insertions(+)
Copied: tea/repos/community-staging-i686/PKGBUILD (from rev 197031, tea/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Michal Kaliszka <desmont at gmail.com>
+# Contributor: Zsolt Varadi <sysop_xxl at fibermail.hu>
+
+pkgname=tea
+pkgver=43.1.0
+pkgrel=2
+pkgdesc="A Qt-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions."
+arch=('i686' 'x86_64')
+url="http://semiletov.org/tea/"
+license=('GPL')
+depends=('qt4' 'aspell' 'hunspell')
+install=tea.install
+source=(http://semiletov.org/tea/dloads/tea-$pkgver.tar.bz2
+ hunspell15.patch
+ tea.desktop)
+md5sums=('6e994093c0ee4c8e91cff30e029ae2f1'
+ '546f36ff848a9c66fbbc8abe135d263e'
+ '377ace3363124f4c086de0babb820761')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|/usr/local|/usr|g' src.pro
+ patch -Np1 -i ../hunspell15.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LANG="en_US.UTF-8"
+ export LC_ALL="en_US.UTF-8"
+ qmake-qt4
+ make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LANG="en_US.UTF-8"
+ export LC_ALL="en_US.UTF-8"
+ make INSTALL_ROOT="${pkgdir}" install
+ install -Dm644 "${srcdir}/tea.desktop" "${pkgdir}/usr/share/applications/tea.desktop"
+ install -Dm644 icons/tea_icon_v2.png "${pkgdir}/usr/share/pixmaps/tea.png"
+}
Copied: tea/repos/community-staging-i686/hunspell15.patch (from rev 197031, tea/trunk/hunspell15.patch)
===================================================================
--- community-staging-i686/hunspell15.patch (rev 0)
+++ community-staging-i686/hunspell15.patch 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,12 @@
+diff -uprw tea-43.1.0.orig/spellchecker.h tea-43.1.0/spellchecker.h
+--- tea-43.1.0.orig/spellchecker.h 2016-09-16 22:56:10.000000000 +0300
++++ tea-43.1.0/spellchecker.h 2016-11-27 16:39:56.471555601 +0200
+@@ -100,7 +100,7 @@ public:
+ QString user_dir;
+ QString lng;
+
+- char *encoding;
++ const char *encoding;
+ QString dict_dir;
+
+ CHunspellChecker (const QString &lang, const QString &path = "", const QString &user_path = "");
Copied: tea/repos/community-staging-i686/tea.desktop (from rev 197031, tea/trunk/tea.desktop)
===================================================================
--- community-staging-i686/tea.desktop (rev 0)
+++ community-staging-i686/tea.desktop 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Tea
+Comment=A small programmer's QT editor
+Exec=tea %U
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=tea.png
+Categories=Application;Utility;TextEditor;
Copied: tea/repos/community-staging-i686/tea.install (from rev 197031, tea/trunk/tea.install)
===================================================================
--- community-staging-i686/tea.install (rev 0)
+++ community-staging-i686/tea.install 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,4 @@
+post_upgrade() {
+ echo "############################################"
+ echo "for the old GTK branch of TEA install teagtk"
+}
Copied: tea/repos/community-staging-x86_64/PKGBUILD (from rev 197031, tea/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Michal Kaliszka <desmont at gmail.com>
+# Contributor: Zsolt Varadi <sysop_xxl at fibermail.hu>
+
+pkgname=tea
+pkgver=43.1.0
+pkgrel=2
+pkgdesc="A Qt-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions."
+arch=('i686' 'x86_64')
+url="http://semiletov.org/tea/"
+license=('GPL')
+depends=('qt4' 'aspell' 'hunspell')
+install=tea.install
+source=(http://semiletov.org/tea/dloads/tea-$pkgver.tar.bz2
+ hunspell15.patch
+ tea.desktop)
+md5sums=('6e994093c0ee4c8e91cff30e029ae2f1'
+ '546f36ff848a9c66fbbc8abe135d263e'
+ '377ace3363124f4c086de0babb820761')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|/usr/local|/usr|g' src.pro
+ patch -Np1 -i ../hunspell15.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LANG="en_US.UTF-8"
+ export LC_ALL="en_US.UTF-8"
+ qmake-qt4
+ make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LANG="en_US.UTF-8"
+ export LC_ALL="en_US.UTF-8"
+ make INSTALL_ROOT="${pkgdir}" install
+ install -Dm644 "${srcdir}/tea.desktop" "${pkgdir}/usr/share/applications/tea.desktop"
+ install -Dm644 icons/tea_icon_v2.png "${pkgdir}/usr/share/pixmaps/tea.png"
+}
Copied: tea/repos/community-staging-x86_64/hunspell15.patch (from rev 197031, tea/trunk/hunspell15.patch)
===================================================================
--- community-staging-x86_64/hunspell15.patch (rev 0)
+++ community-staging-x86_64/hunspell15.patch 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,12 @@
+diff -uprw tea-43.1.0.orig/spellchecker.h tea-43.1.0/spellchecker.h
+--- tea-43.1.0.orig/spellchecker.h 2016-09-16 22:56:10.000000000 +0300
++++ tea-43.1.0/spellchecker.h 2016-11-27 16:39:56.471555601 +0200
+@@ -100,7 +100,7 @@ public:
+ QString user_dir;
+ QString lng;
+
+- char *encoding;
++ const char *encoding;
+ QString dict_dir;
+
+ CHunspellChecker (const QString &lang, const QString &path = "", const QString &user_path = "");
Copied: tea/repos/community-staging-x86_64/tea.desktop (from rev 197031, tea/trunk/tea.desktop)
===================================================================
--- community-staging-x86_64/tea.desktop (rev 0)
+++ community-staging-x86_64/tea.desktop 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Tea
+Comment=A small programmer's QT editor
+Exec=tea %U
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=tea.png
+Categories=Application;Utility;TextEditor;
Copied: tea/repos/community-staging-x86_64/tea.install (from rev 197031, tea/trunk/tea.install)
===================================================================
--- community-staging-x86_64/tea.install (rev 0)
+++ community-staging-x86_64/tea.install 2016-11-27 14:47:10 UTC (rev 197032)
@@ -0,0 +1,4 @@
+post_upgrade() {
+ echo "############################################"
+ echo "for the old GTK branch of TEA install teagtk"
+}
More information about the arch-commits
mailing list