From db668a9170ebcac385793ee994c9b4d940485c44 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 13 Oct 2013 02:29:09 +0000 Subject: [PATCH] removed community/texmaker --- community/texmaker/PKGBUILD | 34 ------------- community/texmaker/arm.patch | 78 ----------------------------- community/texmaker/texmaker.install | 7 --- 3 files changed, 119 deletions(-) delete mode 100644 community/texmaker/PKGBUILD delete mode 100644 community/texmaker/arm.patch delete mode 100644 community/texmaker/texmaker.install diff --git a/community/texmaker/PKGBUILD b/community/texmaker/PKGBUILD deleted file mode 100644 index db4f15f01..000000000 --- a/community/texmaker/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# $Id$ -#Maintainer: Federico Cinelli - -# ALARM: Kevin Mihelich -# - ARM patch to fix qreal issue - -pkgname=texmaker -pkgver=4.0.4 -pkgrel=1 -pkgdesc='Free cross-platform LaTeX editor' -arch=('i686' 'x86_64') -url="http://www.xm1math.net/texmaker/index.html" -license=('GPL') -depends=('poppler-qt' 'qtwebkit') -optdepends=('ghostscript: LaTeX to HTML conversion command' - 'ibus-qt: accented characters support'bu - 'poppler: PDF rendering support') -install="$pkgname.install" -source=("http://www.xm1math.net/$pkgname/$pkgname-$pkgver.tar.bz2" arm.patch) -md5sums=('5abe8618367bd7923f792378751648f7' - '1457390a811e66ca0587828666122b9d') - -build() { - cd "$pkgname-$pkgver" - patch -p0 -i "$srcdir"/arm.patch - qmake-qt4 PREFIX=/usr texmaker.pro - make -} -package() { - cd "$srcdir/$pkgname-$pkgver" - - install -dm755 "$pkgdir/usr/share" - make INSTALL_PATH="$pkgdir" INSTALL_ROOT="$pkgdir" PREFIX="/usr" install -} diff --git a/community/texmaker/arm.patch b/community/texmaker/arm.patch deleted file mode 100644 index 5d68de372..000000000 --- a/community/texmaker/arm.patch +++ /dev/null @@ -1,78 +0,0 @@ ---- documentview.cpp 2012-10-30 14:17:33.000000000 +0000 -+++ documentview.cpp 2012-11-22 23:15:58.901398313 +0000 -@@ -673,12 +673,12 @@ - { - PageItem* page = m_pages.at(m_currentPage - 1); - -- setScaleFactor(qMin(page->scaleFactor() + 0.1, s_maximumScaleFactor)); -+ setScaleFactor(qMin(qreal(page->scaleFactor() + 0.1), s_maximumScaleFactor)); - setScaleMode(ScaleFactor); - } - else - { -- setScaleFactor(qMin(scaleFactor() + 0.1, s_maximumScaleFactor)); -+ setScaleFactor(qMin(qreal(scaleFactor() + 0.1), s_maximumScaleFactor)); - } - } - -@@ -689,12 +689,12 @@ - { - PageItem* page = m_pages.at(m_currentPage - 1); - -- setScaleFactor(qMax(page->scaleFactor() - 0.1, s_minimumScaleFactor)); -+ setScaleFactor(qMax(qreal(page->scaleFactor() - 0.1), s_minimumScaleFactor)); - setScaleMode(ScaleFactor); - } - else - { -- setScaleFactor(qMax(scaleFactor() - 0.1, s_minimumScaleFactor)); -+ setScaleFactor(qMax(qreal(scaleFactor() - 0.1), s_minimumScaleFactor)); - } - } - -@@ -1342,7 +1342,7 @@ - - pageHeight = boundingRect.height(); - -- left = qMin(left, -boundingRect.width() - 1.5 * s_pageSpacing); -+ left = qMin(left, qreal(-boundingRect.width() - 1.5 * s_pageSpacing)); - } - else - { -@@ -1350,7 +1350,7 @@ - - pageHeight = qMax(pageHeight, boundingRect.height()); - -- right = qMax(right, boundingRect.width() + 1.5 * s_pageSpacing); -+ right = qMax(right, qreal(boundingRect.width() + 1.5 * s_pageSpacing)); - height += pageHeight + s_pageSpacing; - } - } -@@ -1362,15 +1362,15 @@ - - pageHeight = boundingRect.height(); - -- left = qMin(left, -0.5 * boundingRect.width() - s_pageSpacing); -- right = qMax(right, 0.5 * boundingRect.width() + s_pageSpacing); -+ left = qMin(left, qreal(-0.5 * boundingRect.width() - s_pageSpacing)); -+ right = qMax(right, qreal(0.5 * boundingRect.width() + s_pageSpacing)); - height += pageHeight + s_pageSpacing; - } - } - - if(m_twoPagesMode && m_numberOfPages % 2 != 0) - { -- right = qMax(right, 0.5 * s_pageSpacing); -+ right = qMax(right, qreal(0.5 * s_pageSpacing)); - height += pageHeight + s_pageSpacing; - } - -@@ -1424,7 +1424,7 @@ - QRectF boundingRect = page->boundingRect().translated(page->pos()); - - top = qMin(top, boundingRect.top() - s_pageSpacing); -- height = qMax(height, boundingRect.height() + 2.0 * s_pageSpacing); -+ height = qMax(height, qreal(boundingRect.height() + 2.0 * s_pageSpacing)); - } - else - { diff --git a/community/texmaker/texmaker.install b/community/texmaker/texmaker.install deleted file mode 100644 index 9591f6c5d..000000000 --- a/community/texmaker/texmaker.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_remove() { - update-desktop-database -q -}