[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-10-29 Thread Michael Palimaka
commit: 615dca623599f5c7cf0f811183fca0f58a1aae84
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Oct 29 10:59:20 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Oct 29 10:59:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615dca62

app-office/texstudio: revision bump with various fixes

* Port to EAPI 6 and remove deprecated Qt 4 support (by Andreas Sturmlechner)
* Fix build with quazip-0.7.2
* Add missing sys-libs/zlib dependency
* Sort dependencies
* Update GTK icon cache
* Add subslot operator for app-text/hunspell and remove from app-text/poppler
  (since the stable qt5 interface is used)

Gentoo-bug: 597876
Gentoo-bug: 597930

Package-Manager: portage-2.3.2

 app-office/texstudio/texstudio-2.11.2-r1.ebuild | 97 +
 1 file changed, 97 insertions(+)

diff --git a/app-office/texstudio/texstudio-2.11.2-r1.ebuild 
b/app-office/texstudio/texstudio-2.11.2-r1.ebuild
new file mode 100644
index ..2003689
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.11.2-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video"
+
+COMMON_DEPEND="
+   app-text/hunspell:=
+   app-text/poppler[qt5]
+   >=dev-libs/quazip-0.7.2[qt5]
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsingleapplication[qt5,X]
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   sys-libs/zlib
+   x11-libs/libX11
+   x11-libs/libXext
+   video? ( media-libs/phonon[qt5] )"
+RDEPEND="${COMMON_DEPEND}
+   app-text/ghostscript-gpl
+   app-text/psutils
+   media-libs/netpbm
+   virtual/latex-base"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S=${WORKDIR}
+
+src_prepare() {
+   default
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+   fi
+
+   sed \
+   -e '/qtsingleapplication.pri/d' \
+   -i ${PN}.pro || die
+
+#  cat >> ${PN}.pro <<- EOF
+#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#  EOF
+
+   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+   eprefixify ${PN}.pri
+
+   # fix build with quazip-0.7.2 - bug 597930
+   sed -i ${PN}.pro -e "s|include/quazip|&5|" || die
+   sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die
+}
+
+src_configure() {
+   eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+}
+
+src_install() {
+   local i
+   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+   insinto /usr/share/icons/hicolor/${i}/apps
+   newins utilities/${PN}${i}.png ${PN}.png
+   done
+   emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+
+pkg_preinst() {
+   gnome2_icon_savelist
+}
+
+pkg_postinst() {
+   fdo-mime_desktop_database_update
+   gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   fdo-mime_desktop_database_update
+   gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/files/, app-office/texstudio/

2016-10-10 Thread Manuel Rüger
commit: 70450d2900eb9ba60fe16c4c53f6f9f11d5fdefd
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Oct 10 22:34:30 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Oct 10 22:34:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70450d29

app-office/texstudio: Remove old

Package-Manager: portage-2.3.1

 app-office/texstudio/Manifest  |   1 -
 .../files/texstudio-2.5-viewers-use-xdg-open.patch |  42 
 .../texstudio/files/texstudio-2.8.2-desktop.patch  |  22 
 app-office/texstudio/texstudio-2.10.2.ebuild   | 113 -
 4 files changed, 178 deletions(-)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 291a661..ecf563f 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,4 +1,3 @@
-DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.10.8.tar.gz 26003322 SHA256 
0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 
3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949
 WHIRLPOOL 
626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f
 DIST texstudio-2.11.0.tar.gz 26263749 SHA256 
170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 
773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be
 WHIRLPOOL 
3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142
 DIST texstudio-2.11.2.tar.gz 24143941 SHA256 
d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 
774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7
 WHIRLPOOL 
8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9

diff --git 
a/app-office/texstudio/files/texstudio-2.5-viewers-use-xdg-open.patch 
b/app-office/texstudio/files/texstudio-2.5-viewers-use-xdg-open.patch
deleted file mode 100644
index 667ee31..
--- a/app-office/texstudio/files/texstudio-2.5-viewers-use-xdg-open.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From f9a633402c81b7c252e33c0d9386ba4b48fcde7c Mon Sep 17 00:00:00 2001
-From: hannes 
-Date: Sun, 9 Sep 2012 10:56:06 +0200
-Subject: [PATCH] viewer
-

- buildmanager.cpp | 18 +++---
- 1 file changed, 3 insertions(+), 15 deletions(-)
-
-diff --git buildmanager.cpp buildmanager.cpp
-index ac7027a..ac913d0 100644
 buildmanager.cpp
-+++ buildmanager.cpp
-@@ -762,25 +762,13 @@
- // xdvi %.dvi  -sourceposition @:%.tex
- // kdvi "file:%.dvi#src:@ %.tex"
- QString getCommandLineViewDvi(){
--  switch (x11desktop_env()) {
--  case 3: return "kdvi %.dvi > /dev/null";
--  case 4: return "okular %.dvi > /dev/null";
--  default:return "evince %.dvi > /dev/null";
--  }
-+  return "xdg-open %.dvi > /dev/null";
- };
- QString getCommandLineViewPs(){
--  switch (x11desktop_env()) {
--  case 3:  return "kghostview %.ps > /dev/null";
--  case 4:  return "okular %.ps > /dev/null";
--  default: return "evince %.ps > /dev/null";
--  };
-+  return "xdg-open %.ps > /dev/null";
- }
- QString getCommandLineViewPdfExternal(){
--  switch (x11desktop_env()) {
--  case 3:  return "kpdf %.pdf > /dev/null";
--  case 4:  return "okular %.pdf > /dev/null";
--  default: return "evince %.pdf > /dev/null";
--  };
-+  return "xdg-open %.pdf > /dev/null";
- }
- QString getCommandLineGhostscript(){ return ""; }
- 

diff --git a/app-office/texstudio/files/texstudio-2.8.2-desktop.patch 
b/app-office/texstudio/files/texstudio-2.8.2-desktop.patch
deleted file mode 100644
index d464e8a..
--- a/app-office/texstudio/files/texstudio-2.8.2-desktop.patch
+++ /dev/null
@@ -1,22 +0,0 @@
- utilities/texstudio.desktop | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/utilities/texstudio.desktop b/utilities/texstudio.desktop
-index 199255f..9c95afd 100644
 a/utilities/texstudio.desktop
-+++ b/utilities/texstudio.desktop
-@@ -1,13 +1,12 @@
- [Desktop Entry]
- 
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
--Encoding=UTF-8
- Exec=texstudio %F
- GenericName=LaTeX Editor
- GenericName[fr]=Editeur LaTeX
- Comment=LaTeX development environment
- Comment[fr]=Environnement de développement LaTeX
- 

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-10-10 Thread Manuel Rüger
commit: 581b065cc6f646bf5be95ae3955612448fe34856
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Oct 10 22:30:25 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Oct 10 22:30:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581b065c

app-office/texstudio: Version bump to 2.11.2

Gentoo-Bug: #595996

Package-Manager: portage-2.3.1

 app-office/texstudio/Manifest|   1 +
 app-office/texstudio/texstudio-2.11.2.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 1b1fb4e..291a661 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,3 +1,4 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.10.8.tar.gz 26003322 SHA256 
0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 
3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949
 WHIRLPOOL 
626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f
 DIST texstudio-2.11.0.tar.gz 26263749 SHA256 
170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 
773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be
 WHIRLPOOL 
3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142
+DIST texstudio-2.11.2.tar.gz 24143941 SHA256 
d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 
774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7
 WHIRLPOOL 
8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9

diff --git a/app-office/texstudio/texstudio-2.11.2.ebuild 
b/app-office/texstudio/texstudio-2.11.2.ebuild
new file mode 100644
index ..0922d24
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.11.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+   app-text/hunspell
+   app-text/poppler:=[qt4?,qt5?]
+   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
+   dev-qt/qtsingleapplication[X,qt4?,qt5?]
+   x11-libs/libX11
+   x11-libs/libXext
+   qt4? (
+   dev-qt/designer:4
+   >=dev-qt/qtgui-4.8.5:4
+   >=dev-qt/qtcore-4.6.1:4
+   >=dev-qt/qtscript-4.6.1:4
+   >=dev-qt/qtsvg-4.6.1:4
+   >=dev-qt/qttest-4.6.1:4
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   )
+   video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+   virtual/latex-base
+   app-text/psutils
+   app-text/ghostscript-gpl
+   media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S=${WORKDIR}
+
+src_prepare() {
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+   fi
+
+   sed \
+   -e '/qtsingleapplication.pri/d' \
+   -i ${PN}.pro || die
+
+#  cat >> ${PN}.pro <<- EOF
+#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#  EOF
+
+   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+   eprefixify ${PN}.pri
+}
+
+src_configure() {
+   if use qt5; then
+   eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+   else
+   eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+   fi
+}
+
+src_install() {
+   local i
+   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+ 

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/files/

2016-09-30 Thread Patrice Clement
commit: 3fecf7db505b68c6a25517193e29e4c3328d3591
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Sep 30 17:33:44 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Sep 30 17:34:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fecf7db

app-office/texstudio: remove unused patches.

Courtesy of Michael Mair-Keimberger  gmail.com>.

Closes: https://github.com/gentoo/gentoo/pull/1916
Signed-off-by: Patrice Clement  gentoo.org>

 .../texstudio/files/texstudio-2.6.0-desktop.patch  | 22 -
 .../files/texstudio-2.6.0-hunspell-quazip.patch| 93 --
 2 files changed, 115 deletions(-)

diff --git a/app-office/texstudio/files/texstudio-2.6.0-desktop.patch 
b/app-office/texstudio/files/texstudio-2.6.0-desktop.patch
deleted file mode 100644
index 6d23788..
--- a/app-office/texstudio/files/texstudio-2.6.0-desktop.patch
+++ /dev/null
@@ -1,22 +0,0 @@
- utilities/texstudio.desktop | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/utilities/texstudio.desktop b/utilities/texstudio.desktop
-index 199255f..9c95afd 100644
 a/utilities/texstudio.desktop
-+++ b/utilities/texstudio.desktop
-@@ -1,13 +1,12 @@
- [Desktop Entry]
- 
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
--Encoding=UTF-8
- Exec=texstudio %F
- GenericName=LaTeX Editor
- GenericName[fr]=Editeur LaTeX
- Comment=LaTeX development environment
- Comment[fr]=Environnement de développement LaTeX
- Icon=/usr/share/texstudio/texstudio.svg
--MimeType=text/x-tex;
-+MimeType=text/X-tex;
- Name=TeXstudio
- StartupNotify=false
- Terminal=false

diff --git a/app-office/texstudio/files/texstudio-2.6.0-hunspell-quazip.patch 
b/app-office/texstudio/files/texstudio-2.6.0-hunspell-quazip.patch
deleted file mode 100644
index 2cf2ec0..
--- a/app-office/texstudio/files/texstudio-2.6.0-hunspell-quazip.patch
+++ /dev/null
@@ -1,93 +0,0 @@
- spellerutility.h |  2 +-
- texstudio.pro| 45 -
- 2 files changed, 13 insertions(+), 34 deletions(-)
-
-diff --git a/spellerutility.h b/spellerutility.h
-index 7e1b980..b0bc8b8 100644
 a/spellerutility.h
-+++ b/spellerutility.h
-@@ -13,7 +13,7 @@
- 
- #include "mostQtHeaders.h"
- 
--#include "hunspell/hunspell.hxx"
-+#include 
- class SpellerUtility: public QObject {
-   Q_OBJECT
- public:
-diff --git a/texstudio.pro b/texstudio.pro
-index b073255..3d4ee64 100644
 a/texstudio.pro
-+++ b/texstudio.pro
-@@ -53,25 +53,6 @@ HEADERS += texmaker.h \
- debughelper.h \
- thesaurusdialog.h \
- xmltagslistwidget.h \
--hunspell/affentry.hxx \
--hunspell/affixmgr.hxx \
--hunspell/atypes.hxx \
--hunspell/baseaffix.hxx \
--hunspell/csutil.hxx \
--hunspell/dictmgr.hxx \
--hunspell/hashmgr.hxx \
--hunspell/htypes.hxx \
--hunspell/hunspell.hxx \
--hunspell/hunspell.h \
--hunspell/langnum.hxx \
--hunspell/license.hunspell \
--hunspell/phonet.hxx \
--hunspell/suggestmgr.hxx \
--hunspell/license.myspell \
--hunspell/filemgr.hxx \
--hunspell/hunzip.hxx \
--hunspell/w_char.hxx \
--hunspell/replist.hxx \
- qcodeedit/lib/qeditorinputbinding.h \
- qcodeedit/lib/qeditorinputbindinginterface.h \
- qcodeedit/lib/qformat.h \
-@@ -171,18 +152,6 @@ SOURCES += main.cpp \
- codesnippet.cpp \
- thesaurusdialog.cpp \
- xmltagslistwidget.cpp \
--hunspell/affentry.cxx \
--hunspell/affixmgr.cxx \
--hunspell/csutil.cxx \
--hunspell/dictmgr.cxx \
--hunspell/hashmgr.cxx \
--hunspell/hunspell.cxx \
--hunspell/phonet.cxx \
--hunspell/replist.cxx \
--hunspell/suggestmgr.cxx \
--hunspell/utf_info.cxx \
--hunspell/filemgr.cxx \
--hunspell/hunzip.cxx \
- encodingdialog.cpp \
- qcodeedit/lib/qeditorinputbinding.cpp \
- qcodeedit/lib/qformat.cpp \
-@@ -537,10 +506,14 @@ SOURCES += qcodeedit/lib/qnfa/qnfa.cpp \
- # ###
- 
- # ##QUAZIP###
--DEFINES += QUAZIP_STATIC
-+#DEFINES += QUAZIP_STATIC
- 
- # Input
--include(quazip/quazip/quazip.pri)
-+#include(quazip/quazip/quazip.pri)
-+unix {
-+  INCLUDEPATH += $${PREFIX}/include/quazip
-+  LIBS += -lquazip
-+}
- 
- # ###
- 
-@@ -677,3 +650,9 @@ else {
-   QMAKE_LFLAGS_RELEASE -= -Wl,-s
- }
- 
-+unix {
-+  CONFIG   += link_pkgconfig
-+  # use system quazip
-+  # use system hunspell
-+  PKGCONFIG += hunspell
-+}



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-08-25 Thread Manuel Rüger
commit: 5ab76a7c58637868046230813fbc28571441afa3
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Aug 25 15:43:36 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Aug 25 15:43:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab76a7c

app-office/texstudio: Version bump to 2.11.0

Gentoo-Bug: #581520
Gentoo-Bug: #586854
Gentoo-Bug: #584888
Gentoo-Bug: #590702

Package-Manager: portage-2.3.0

 app-office/texstudio/Manifest|   1 +
 app-office/texstudio/texstudio-2.11.0.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 643e4d7..1b1fb4e 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,2 +1,3 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.10.8.tar.gz 26003322 SHA256 
0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 
3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949
 WHIRLPOOL 
626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f
+DIST texstudio-2.11.0.tar.gz 26263749 SHA256 
170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 
773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be
 WHIRLPOOL 
3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142

diff --git a/app-office/texstudio/texstudio-2.11.0.ebuild 
b/app-office/texstudio/texstudio-2.11.0.ebuild
new file mode 100644
index ..3fbe7c3
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.11.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+   app-text/hunspell
+   app-text/poppler:=[qt4?,qt5?]
+   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
+   dev-qt/qtsingleapplication[X,qt4?,qt5?]
+   x11-libs/libX11
+   x11-libs/libXext
+   qt4? (
+   dev-qt/designer:4
+   >=dev-qt/qtgui-4.8.5:4
+   >=dev-qt/qtcore-4.6.1:4
+   >=dev-qt/qtscript-4.6.1:4
+   >=dev-qt/qtsvg-4.6.1:4
+   >=dev-qt/qttest-4.6.1:4
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   )
+   video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+   virtual/latex-base
+   app-text/psutils
+   app-text/ghostscript-gpl
+   media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}"/${P/-/}
+
+src_prepare() {
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+   fi
+
+   sed \
+   -e '/qtsingleapplication.pri/d' \
+   -i ${PN}.pro || die
+
+#  cat >> ${PN}.pro <<- EOF
+#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#  EOF
+
+   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+   eprefixify ${PN}.pri
+}
+
+src_configure() {
+   if use qt5; then
+   eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+   else
+   eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+   fi
+}
+
+src_install() {
+   local i
+   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+   insinto /usr/share/icons/hicolor/${i}/apps
+   newins utilities/${PN}${i}.png ${PN}.png
+   done
+   emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+
+pkg_postinst() {
+   fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+   fdo-mime_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-07-17 Thread Michael Palimaka
commit: 0a0b4d02f7f57445f01232c8abe26ffb24cc34c5
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jul 17 19:53:11 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jul 17 19:55:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0b4d02

app-office/texstudio: amd64/x86 stable

Gentoo-bug: 585292

Package-Manager: portage-2.3.0

 app-office/texstudio/texstudio-2.10.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.10.8.ebuild 
b/app-office/texstudio/texstudio-2.10.8.ebuild
index 668b92a..bdf22a0 100644
--- a/app-office/texstudio/texstudio-2.10.8.ebuild
+++ b/app-office/texstudio/texstudio-2.10.8.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
 IUSE="video qt4 +qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-01-23 Thread Manuel Rüger
commit: 27b66c30dd1cedb13d891b3fa9d90d7c3c026a3f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Jan 23 12:10:37 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Jan 23 12:10:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b66c30

app-office/texstudio: Version bump

Package-Manager: portage-2.2.27

 app-office/texstudio/Manifest|   1 +
 app-office/texstudio/texstudio-2.10.8.ebuild | 111 +++
 2 files changed, 112 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 25a51b1..6928c08 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,3 +1,4 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.10.4.tar.gz 25810583 SHA256 
87e7b7c52d51791178fac4c48feeded7a920bc39bcfb710a745b467d80111c3c SHA512 
13c6624bf38ee2633f9a86eb9c7ba03503b63de1f954c3f7c4a24182127b9d4db1e8524a122552412a2ceccb288a0dad3d70e9368fd897d6ec123a16e37816e5
 WHIRLPOOL 
357796f638d3e558a9560a62d972555474850ebd6b5a61bdaa14037b728113222ce9c9f2438b851fdaa20687e1444a8913cd222d5849de67293b0589085a6dc9
 DIST texstudio-2.10.6.tar.gz 25956475 SHA256 
16368d7334f809aebe7a656f9bfa97f0ececb09d437fdb35ae7fc1888f1525e1 SHA512 
061bad8530503aa611a09e5e2013fb5e956f436de00e2cd773fbd5e76c7a198fc9a628e4785e45f63dae5a2d0fed3e7f88d4a1a4a1f6fd0babdc44cc51eee0ab
 WHIRLPOOL 
42d34dcae31f941b4d43af948e91a00be34d002bc85476f12e8e38b83d518f439b012c0c53aeb22728de984a55d2ee6a9139ff96c4aa1fe993059c935727a780
+DIST texstudio-2.10.8.tar.gz 26003322 SHA256 
0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 
3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949
 WHIRLPOOL 
626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f

diff --git a/app-office/texstudio/texstudio-2.10.8.ebuild 
b/app-office/texstudio/texstudio-2.10.8.ebuild
new file mode 100644
index 000..668b92a
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.10.8.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+   app-text/hunspell
+   app-text/poppler:=[qt4?,qt5?]
+   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
+   dev-qt/qtsingleapplication[X,qt4?,qt5?]
+   x11-libs/libX11
+   x11-libs/libXext
+   qt4? (
+   dev-qt/designer:4
+   >=dev-qt/qtgui-4.8.5:4
+   >=dev-qt/qtcore-4.6.1:4
+   >=dev-qt/qtscript-4.6.1:4
+   >=dev-qt/qtsvg-4.6.1:4
+   >=dev-qt/qttest-4.6.1:4
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   )
+   video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+   virtual/latex-base
+   app-text/psutils
+   app-text/ghostscript-gpl
+   media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}"/${P/-/}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
+   "${FILESDIR}"/${PN}-2.10.6-desktop.patch
+   )
+
+src_prepare() {
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+   fi
+
+   sed \
+   -e '/hunspell.pri/d' \
+   -e '/quazip.pri/d' \
+   -e '/qtsingleapplication.pri/d' \
+   -e '/QUAZIP_STATIC/d' \
+   -i ${PN}.pro || die
+
+#  cat >> ${PN}.pro <<- EOF
+#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#  EOF
+
+   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+   eprefixify ${PN}.pri
+
+   epatch ${PATCHES[@]}
+}
+
+src_configure() {
+   if use qt5; then
+

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-01-23 Thread Manuel Rüger
commit: 46d045e37913a77f03397b500ff6b447fd5d9ae1
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Jan 23 12:11:15 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Jan 23 12:11:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d045e3

app-office/texstudio: Remove old

Package-Manager: portage-2.2.27

 app-office/texstudio/Manifest|   2 -
 app-office/texstudio/texstudio-2.10.4.ebuild | 111 ---
 app-office/texstudio/texstudio-2.10.6.ebuild | 111 ---
 3 files changed, 224 deletions(-)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 6928c08..643e4d7 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,4 +1,2 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
-DIST texstudio-2.10.4.tar.gz 25810583 SHA256 
87e7b7c52d51791178fac4c48feeded7a920bc39bcfb710a745b467d80111c3c SHA512 
13c6624bf38ee2633f9a86eb9c7ba03503b63de1f954c3f7c4a24182127b9d4db1e8524a122552412a2ceccb288a0dad3d70e9368fd897d6ec123a16e37816e5
 WHIRLPOOL 
357796f638d3e558a9560a62d972555474850ebd6b5a61bdaa14037b728113222ce9c9f2438b851fdaa20687e1444a8913cd222d5849de67293b0589085a6dc9
-DIST texstudio-2.10.6.tar.gz 25956475 SHA256 
16368d7334f809aebe7a656f9bfa97f0ececb09d437fdb35ae7fc1888f1525e1 SHA512 
061bad8530503aa611a09e5e2013fb5e956f436de00e2cd773fbd5e76c7a198fc9a628e4785e45f63dae5a2d0fed3e7f88d4a1a4a1f6fd0babdc44cc51eee0ab
 WHIRLPOOL 
42d34dcae31f941b4d43af948e91a00be34d002bc85476f12e8e38b83d518f439b012c0c53aeb22728de984a55d2ee6a9139ff96c4aa1fe993059c935727a780
 DIST texstudio-2.10.8.tar.gz 26003322 SHA256 
0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 
3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949
 WHIRLPOOL 
626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f

diff --git a/app-office/texstudio/texstudio-2.10.4.ebuild 
b/app-office/texstudio/texstudio-2.10.4.ebuild
deleted file mode 100644
index ebb3223..000
--- a/app-office/texstudio/texstudio-2.10.4.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit fdo-mime prefix qmake-utils
-
-DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
-HOMEPAGE="http://texstudio.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="video qt4 +qt5"
-
-REQUIRED_USE="^^ ( qt4 qt5 )"
-
-COMMON_DEPEND="
-   app-text/hunspell
-   app-text/poppler:=[qt4?,qt5?]
-   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
-   dev-qt/qtsingleapplication[X,qt4?,qt5?]
-   x11-libs/libX11
-   x11-libs/libXext
-   qt4? (
-   dev-qt/designer:4
-   >=dev-qt/qtgui-4.8.5:4
-   >=dev-qt/qtcore-4.6.1:4
-   >=dev-qt/qtscript-4.6.1:4
-   >=dev-qt/qtsvg-4.6.1:4
-   >=dev-qt/qttest-4.6.1:4
-   )
-   qt5? (
-   dev-qt/designer:5
-   dev-qt/qtcore:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtprintsupport:5
-   dev-qt/qtscript:5
-   dev-qt/qtsvg:5
-   dev-qt/qttest:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtxml:5
-   )
-   video? ( media-libs/phonon[qt4?,qt5?] )"
-RDEPEND="${COMMON_DEPEND}
-   virtual/latex-base
-   app-text/psutils
-   app-text/ghostscript-gpl
-   media-libs/netpbm"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}"/${P/-/}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
-   "${FILESDIR}"/${PN}-2.8.2-desktop.patch
-   )
-
-src_prepare() {
-   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
-
-   if use video; then
-   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
-   fi
-
-   sed \
-   -e '/hunspell.pri/d' \
-   -e '/quazip.pri/d' \
-   -e '/qtsingleapplication.pri/d' \
-   -e '/QUAZIP_STATIC/d' \
-   -i ${PN}.pro || die
-
-#  cat >> ${PN}.pro <<- EOF
-#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
-#  EOF
-
-   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
-   eprefixify ${PN}.pri
-
-   

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/files/, app-office/texstudio/

2016-01-17 Thread Manuel Rüger
commit: a95ec810e9abe928e0e07b84ce8837b473489c77
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jan 17 15:46:16 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jan 17 15:46:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a95ec810

app-office/texstudio: Version bump

Gentoo-Bug: 571950

Package-Manager: portage-2.2.26

 app-office/texstudio/Manifest  |   1 +
 .../texstudio/files/texstudio-2.10.6-desktop.patch |  18 
 app-office/texstudio/texstudio-2.10.6.ebuild   | 111 +
 3 files changed, 130 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 4486699..25a51b1 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,2 +1,3 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.10.4.tar.gz 25810583 SHA256 
87e7b7c52d51791178fac4c48feeded7a920bc39bcfb710a745b467d80111c3c SHA512 
13c6624bf38ee2633f9a86eb9c7ba03503b63de1f954c3f7c4a24182127b9d4db1e8524a122552412a2ceccb288a0dad3d70e9368fd897d6ec123a16e37816e5
 WHIRLPOOL 
357796f638d3e558a9560a62d972555474850ebd6b5a61bdaa14037b728113222ce9c9f2438b851fdaa20687e1444a8913cd222d5849de67293b0589085a6dc9
+DIST texstudio-2.10.6.tar.gz 25956475 SHA256 
16368d7334f809aebe7a656f9bfa97f0ececb09d437fdb35ae7fc1888f1525e1 SHA512 
061bad8530503aa611a09e5e2013fb5e956f436de00e2cd773fbd5e76c7a198fc9a628e4785e45f63dae5a2d0fed3e7f88d4a1a4a1f6fd0babdc44cc51eee0ab
 WHIRLPOOL 
42d34dcae31f941b4d43af948e91a00be34d002bc85476f12e8e38b83d518f439b012c0c53aeb22728de984a55d2ee6a9139ff96c4aa1fe993059c935727a780

diff --git a/app-office/texstudio/files/texstudio-2.10.6-desktop.patch 
b/app-office/texstudio/files/texstudio-2.10.6-desktop.patch
new file mode 100644
index 000..ab2822f
--- /dev/null
+++ b/app-office/texstudio/files/texstudio-2.10.6-desktop.patch
@@ -0,0 +1,18 @@
+--- utilities/texstudio.desktop.old2016-01-17 16:38:44.283878626 +0100
 utilities/texstudio.desktop2016-01-17 16:39:08.374876711 +0100
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ 
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
+-Encoding=UTF-8
+ Exec=texstudio %F
+ GenericName=LaTeX Editor
+ GenericName[fr]=Editeur LaTeX
+@@ -8,7 +7,7 @@
+ Comment[fr]=Environnement de développement LaTeX
+ Icon=texstudio
+ Keywords=LaTeX;TeX;editor;
+-MimeType=text/x-tex;
++MimeType=text/X-tex;
+ Name=TeXstudio
+ StartupNotify=false
+ Terminal=false

diff --git a/app-office/texstudio/texstudio-2.10.6.ebuild 
b/app-office/texstudio/texstudio-2.10.6.ebuild
new file mode 100644
index 000..668b92a
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.10.6.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+   app-text/hunspell
+   app-text/poppler:=[qt4?,qt5?]
+   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
+   dev-qt/qtsingleapplication[X,qt4?,qt5?]
+   x11-libs/libX11
+   x11-libs/libXext
+   qt4? (
+   dev-qt/designer:4
+   >=dev-qt/qtgui-4.8.5:4
+   >=dev-qt/qtcore-4.6.1:4
+   >=dev-qt/qtscript-4.6.1:4
+   >=dev-qt/qtsvg-4.6.1:4
+   >=dev-qt/qttest-4.6.1:4
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   )
+   video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+   virtual/latex-base
+   app-text/psutils
+   app-text/ghostscript-gpl
+   media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}"/${P/-/}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
+   "${FILESDIR}"/${PN}-2.10.6-desktop.patch
+   )
+
+src_prepare() {
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2016-01-10 Thread Manuel Rüger
commit: f739344331788bbb1af48b49f966edcd5d9f663d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jan 10 11:52:34 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jan 10 11:52:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7393443

app-office/texstudio: Add myself as maintainer

Package-Manager: portage-2.2.26

 app-office/texstudio/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-office/texstudio/metadata.xml 
b/app-office/texstudio/metadata.xml
index 5f9da8a..b605075 100644
--- a/app-office/texstudio/metadata.xml
+++ b/app-office/texstudio/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   mr...@gentoo.org
+   Manuel Rüger
+   
tex

Use phonon for video embedding



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-11-19 Thread Justin Lecher
commit: 99cf7ec6b50e744660519237c30937beafd5f20c
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Nov 19 12:18:19 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Nov 19 12:26:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cf7ec6

app-office/texstudio: Add USE=X requirement to dev-qt/qtsingleapplication

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566194

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/texstudio-2.10.2.ebuild | 2 +-
 app-office/texstudio/texstudio-2.10.4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/texstudio/texstudio-2.10.2.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
index 12e8ccd..0e705b5 100644
--- a/app-office/texstudio/texstudio-2.10.2.ebuild
+++ b/app-office/texstudio/texstudio-2.10.2.ebuild
@@ -21,7 +21,7 @@ COMMON_DEPEND="
app-text/hunspell
app-text/poppler:=[qt4?,qt5?]
>=dev-libs/quazip-0.7.1[qt4?,qt5?]
-   dev-qt/qtsingleapplication[qt4?,qt5?]
+   dev-qt/qtsingleapplication[X,qt4?,qt5?]
x11-libs/libX11
x11-libs/libXext
qt4? (

diff --git a/app-office/texstudio/texstudio-2.10.4.ebuild 
b/app-office/texstudio/texstudio-2.10.4.ebuild
index fe75daf..a90f53f 100644
--- a/app-office/texstudio/texstudio-2.10.4.ebuild
+++ b/app-office/texstudio/texstudio-2.10.4.ebuild
@@ -21,7 +21,7 @@ COMMON_DEPEND="
app-text/hunspell
app-text/poppler:=[qt4?,qt5?]
>=dev-libs/quazip-0.7.1[qt4?,qt5?]
-   dev-qt/qtsingleapplication[qt4?,qt5?]
+   dev-qt/qtsingleapplication[X,qt4?,qt5?]
x11-libs/libX11
x11-libs/libXext
qt4? (



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-11-19 Thread Justin Lecher
commit: 9fd2b97c5583ba9f5ebf6e04a8bf6884f84a7a6a
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Nov 19 12:21:18 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Nov 19 12:26:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd2b97c

app-office/texstudio: Drop base.eclass

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/texstudio-2.10.2.ebuild | 2 +-
 app-office/texstudio/texstudio-2.10.4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/texstudio/texstudio-2.10.2.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
index 0e705b5..d8a74e0 100644
--- a/app-office/texstudio/texstudio-2.10.2.ebuild
+++ b/app-office/texstudio/texstudio-2.10.2.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit base fdo-mime prefix qmake-utils
+inherit fdo-mime prefix qmake-utils
 
 DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
 HOMEPAGE="http://texstudio.sourceforge.net/;

diff --git a/app-office/texstudio/texstudio-2.10.4.ebuild 
b/app-office/texstudio/texstudio-2.10.4.ebuild
index a90f53f..ebb3223 100644
--- a/app-office/texstudio/texstudio-2.10.4.ebuild
+++ b/app-office/texstudio/texstudio-2.10.4.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit base fdo-mime prefix qmake-utils
+inherit fdo-mime prefix qmake-utils
 
 DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
 HOMEPAGE="http://texstudio.sourceforge.net/;



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-11-12 Thread Agostino Sarubbo
commit: 6d503328666c143108fca448b79a683305d37c16
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 12 10:53:52 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 12 10:53:52 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d503328

app-office/texstudio: ppc stable wrt bug #564256

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 app-office/texstudio/texstudio-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.10.2.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
index c7f8068..12e8ccd 100644
--- a/app-office/texstudio/texstudio-2.10.2.ebuild
+++ b/app-office/texstudio/texstudio-2.10.2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
 IUSE="video qt4 +qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-11-12 Thread Justin Lecher
commit: 1c64d3503e3412de9b4adcdcdd1b2f7650f89743
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Nov 12 11:20:50 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Nov 12 11:20:58 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c64d350

app-office/texstudio: Drop old

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/Manifest   |   1 -
 app-office/texstudio/texstudio-2.9.4.ebuild | 113 
 2 files changed, 114 deletions(-)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 211faf6..4486699 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,3 +1,2 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.10.4.tar.gz 25810583 SHA256 
87e7b7c52d51791178fac4c48feeded7a920bc39bcfb710a745b467d80111c3c SHA512 
13c6624bf38ee2633f9a86eb9c7ba03503b63de1f954c3f7c4a24182127b9d4db1e8524a122552412a2ceccb288a0dad3d70e9368fd897d6ec123a16e37816e5
 WHIRLPOOL 
357796f638d3e558a9560a62d972555474850ebd6b5a61bdaa14037b728113222ce9c9f2438b851fdaa20687e1444a8913cd222d5849de67293b0589085a6dc9
-DIST texstudio-2.9.4.tar.gz 25292627 SHA256 
dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 
6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49
 WHIRLPOOL 
9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf

diff --git a/app-office/texstudio/texstudio-2.9.4.ebuild 
b/app-office/texstudio/texstudio-2.9.4.ebuild
deleted file mode 100644
index 6a60e3b..000
--- a/app-office/texstudio/texstudio-2.9.4.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit base fdo-mime prefix qmake-utils
-
-DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
-HOMEPAGE="http://texstudio.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
-IUSE="video +qt4 qt5"
-
-REQUIRED_USE="^^ ( qt4 qt5 )"
-
-COMMON_DEPEND="
-   app-text/hunspell
-   app-text/poppler:=[qt4?,qt5?]
-   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
-   dev-qt/qtsingleapplication[qt4?,qt5?]
-   x11-libs/libX11
-   x11-libs/libXext
-   qt4? (
-   dev-qt/designer:4
-   >=dev-qt/qtgui-4.8.5:4
-   >=dev-qt/qtcore-4.6.1:4
-   >=dev-qt/qtscript-4.6.1:4
-   >=dev-qt/qtsvg-4.6.1:4
-   >=dev-qt/qttest-4.6.1:4
-   )
-   qt5? (
-   dev-qt/designer:5
-   dev-qt/qtcore:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtprintsupport:5
-   dev-qt/qtscript:5
-   dev-qt/qtsvg:5
-   dev-qt/qttest:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtxml:5
-   )
-   video? ( media-libs/phonon[qt4?,qt5?] )"
-RDEPEND="${COMMON_DEPEND}
-   virtual/latex-base
-   app-text/psutils
-   app-text/ghostscript-gpl
-   media-libs/netpbm"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}"/${P/-/}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
-   "${FILESDIR}"/${PN}-2.8.2-desktop.patch
-# Get it from fedora
-   "${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
-   )
-
-src_prepare() {
-   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
-
-   if use video; then
-   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
-   fi
-
-   sed \
-   -e '/hunspell.pri/d' \
-   -e '/quazip.pri/d' \
-   -e '/qtsingleapplication.pri/d' \
-   -e '/QUAZIP_STATIC/d' \
-   -i ${PN}.pro || die
-
-#  cat >> ${PN}.pro <<- EOF
-#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
-#  EOF
-
-   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
-   eprefixify ${PN}.pri
-
-   epatch ${PATCHES[@]}
-}
-
-src_configure() {
-   if use qt5; then
-   eqmake5
-   else
-   eqmake4
-   fi
-}
-
-src_install() {
-   local i
-   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
-   insinto /usr/share/icons/hicolor/${i}
-   newins utilities/${PN}${i}.png ${PN}.png
-   

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-11-11 Thread Agostino Sarubbo
commit: d153c1a8497f30d14e733ef57107d7699604d924
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 11 09:51:50 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 11 09:51:50 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d153c1a8

app-office/texstudio: x86 stable wrt bug #564256

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 app-office/texstudio/texstudio-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.10.2.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
index bdaea40..c7f8068 100644
--- a/app-office/texstudio/texstudio-2.10.2.ebuild
+++ b/app-office/texstudio/texstudio-2.10.2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd"
 IUSE="video qt4 +qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-11-10 Thread Agostino Sarubbo
commit: 1740e91aba435ca640e15400384d61d2f78c8354
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 10 11:44:15 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 10 11:44:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1740e91a

app-office/texstudio: amd64 stable wrt bug #564256

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 app-office/texstudio/texstudio-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.10.2.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
index d9d1965..bdaea40 100644
--- a/app-office/texstudio/texstudio-2.10.2.ebuild
+++ b/app-office/texstudio/texstudio-2.10.2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc ppc64 ~x86 ~x86-fbsd"
 IUSE="video qt4 +qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-10-31 Thread Jeroen Roovers
commit: 64463d671fa7a08a2460847e6742eb438b514f0e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct 31 07:12:26 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct 31 07:13:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64463d67

app-office/texstudio: Stable for PPC64 (bug #564256).

Package-Manager: portage-2.2.23
RepoMan-Options: --ignore-arches

 app-office/texstudio/texstudio-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.10.2.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
index 4a6d581..d9d1965 100644
--- a/app-office/texstudio/texstudio-2.10.2.ebuild
+++ b/app-office/texstudio/texstudio-2.10.2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~ppc ppc64 ~x86 ~x86-fbsd"
 IUSE="video qt4 +qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-10-27 Thread Justin Lecher
commit: d459e1c7f608c32d7e6efd4ba5513d6077440a51
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Oct 27 12:22:01 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Oct 27 12:34:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d459e1c7

app-office/texstudio: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/Manifest|   1 +
 app-office/texstudio/texstudio-2.10.4.ebuild | 111 +++
 2 files changed, 112 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 4a92895..211faf6 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,2 +1,3 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
+DIST texstudio-2.10.4.tar.gz 25810583 SHA256 
87e7b7c52d51791178fac4c48feeded7a920bc39bcfb710a745b467d80111c3c SHA512 
13c6624bf38ee2633f9a86eb9c7ba03503b63de1f954c3f7c4a24182127b9d4db1e8524a122552412a2ceccb288a0dad3d70e9368fd897d6ec123a16e37816e5
 WHIRLPOOL 
357796f638d3e558a9560a62d972555474850ebd6b5a61bdaa14037b728113222ce9c9f2438b851fdaa20687e1444a8913cd222d5849de67293b0589085a6dc9
 DIST texstudio-2.9.4.tar.gz 25292627 SHA256 
dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 
6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49
 WHIRLPOOL 
9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf

diff --git a/app-office/texstudio/texstudio-2.10.4.ebuild 
b/app-office/texstudio/texstudio-2.10.4.ebuild
new file mode 100644
index 000..fe75daf
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.10.4.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit base fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+   app-text/hunspell
+   app-text/poppler:=[qt4?,qt5?]
+   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
+   dev-qt/qtsingleapplication[qt4?,qt5?]
+   x11-libs/libX11
+   x11-libs/libXext
+   qt4? (
+   dev-qt/designer:4
+   >=dev-qt/qtgui-4.8.5:4
+   >=dev-qt/qtcore-4.6.1:4
+   >=dev-qt/qtscript-4.6.1:4
+   >=dev-qt/qtsvg-4.6.1:4
+   >=dev-qt/qttest-4.6.1:4
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   )
+   video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+   virtual/latex-base
+   app-text/psutils
+   app-text/ghostscript-gpl
+   media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}"/${P/-/}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
+   "${FILESDIR}"/${PN}-2.8.2-desktop.patch
+   )
+
+src_prepare() {
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+   fi
+
+   sed \
+   -e '/hunspell.pri/d' \
+   -e '/quazip.pri/d' \
+   -e '/qtsingleapplication.pri/d' \
+   -e '/QUAZIP_STATIC/d' \
+   -i ${PN}.pro || die
+
+#  cat >> ${PN}.pro <<- EOF
+#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#  EOF
+
+   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+   eprefixify ${PN}.pri
+
+   epatch ${PATCHES[@]}
+}
+
+src_configure() {
+   if use qt5; then
+   eqmake5
+   else
+   eqmake4
+   fi
+}
+
+src_install() {
+   local i
+   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+   insinto /usr/share/icons/hicolor/${i}
+   newins utilities/${PN}${i}.png ${PN}.png
+   done
+   emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+

[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-09-25 Thread Justin Lecher
commit: ee1e9dc8a6b7c33826649f4611782d4ac2f563fc
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Sep 25 17:23:59 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Sep 25 18:27:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1e9dc8

app-office/texstudio: Drop old

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/Manifest   |  1 -
 app-office/texstudio/texstudio-2.8.8.ebuild | 88 -
 2 files changed, 89 deletions(-)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 77897a1..4a92895 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,3 +1,2 @@
 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
-DIST texstudio-2.8.8.tar.gz 25198033 SHA256 
5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 
b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152
 WHIRLPOOL 
08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
 DIST texstudio-2.9.4.tar.gz 25292627 SHA256 
dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 
6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49
 WHIRLPOOL 
9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf

diff --git a/app-office/texstudio/texstudio-2.8.8.ebuild 
b/app-office/texstudio/texstudio-2.8.8.ebuild
deleted file mode 100644
index 0a3817b..000
--- a/app-office/texstudio/texstudio-2.8.8.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit base fdo-mime prefix qt4-r2
-
-DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
-HOMEPAGE="http://texstudio.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
-IUSE="video"
-
-COMMON_DEPEND="
-   app-text/hunspell
-   app-text/poppler:=[qt4]
-   dev-libs/quazip
-   x11-libs/libX11
-   x11-libs/libXext
-   dev-qt/designer:4
-   >=dev-qt/qtgui-4.8.5:4
-   >=dev-qt/qtcore-4.6.1:4
-   >=dev-qt/qtscript-4.6.1:4
-   dev-qt/qtsingleapplication[qt4(+)]
-   >=dev-qt/qtsvg-4.6.1:4
-   >=dev-qt/qttest-4.6.1:4
-   video? ( media-libs/phonon[qt4] )"
-RDEPEND="${COMMON_DEPEND}
-   virtual/latex-base
-   app-text/psutils
-   app-text/ghostscript-gpl
-   media-libs/netpbm"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}"/${P/-/}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
-   "${FILESDIR}"/${PN}-2.8.2-desktop.patch
-# Get it from fedora
-   "${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
-   )
-
-src_prepare() {
-   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
-
-   if use video; then
-   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
-   fi
-
-   sed \
-   -e '/hunspell.pri/d' \
-   -e '/quazip.pri/d' \
-   -e '/qtsingleapplication.pri/d' \
-   -e '/QUAZIP_STATIC/d' \
-   -i ${PN}.pro || die
-
-#  cat >> ${PN}.pro <<- EOF
-#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
-#  EOF
-
-   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
-   eprefixify ${PN}.pri
-
-   qt4-r2_src_prepare
-}
-
-src_install() {
-   local i
-   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
-   insinto /usr/share/icons/hicolor/${i}
-   newins utilities/${PN}${i}.png ${PN}.png
-   done
-   qt4-r2_src_install
-}
-
-pkg_postinst() {
-   fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
-   fdo-mime_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-09-25 Thread Agostino Sarubbo
commit: c4f541e3248ebd75571ed56c481914984e3993a6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 25 14:12:21 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 25 14:12:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f541e3

app-office/texstudio: x86 stable wrt bug #560188

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 app-office/texstudio/texstudio-2.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.9.4.ebuild 
b/app-office/texstudio/texstudio-2.9.4.ebuild
index f13b48b..6a60e3b 100644
--- a/app-office/texstudio/texstudio-2.9.4.ebuild
+++ b/app-office/texstudio/texstudio-2.9.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
 IUSE="video +qt4 qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-09-24 Thread Agostino Sarubbo
commit: 9feb2e2795493b9c66e02bbc2d3af59340a9b9a4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 10:35:50 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 10:35:50 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9feb2e27

app-office/texstudio: amd64 stable wrt bug #560188

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 app-office/texstudio/texstudio-2.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/texstudio-2.9.4.ebuild 
b/app-office/texstudio/texstudio-2.9.4.ebuild
index 27704eb..f13b48b 100644
--- a/app-office/texstudio/texstudio-2.9.4.ebuild
+++ b/app-office/texstudio/texstudio-2.9.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE="video +qt4 qt5"
 
 REQUIRED_USE="^^ ( qt4 qt5 )"



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-09-17 Thread Justin Lecher
commit: 1b815edd192cabdf5ee08703af1a1b47143a29fb
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Sep 17 07:47:49 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Sep 17 08:05:14 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b815edd

app-office/texstudio: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=560684

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/Manifest   | 2 +-
 .../texstudio/{texstudio-2.10.0.ebuild => texstudio-2.10.2.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 85c4ae6..77897a1 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,3 +1,3 @@
-DIST texstudio-2.10.0.tar.gz 25674717 SHA256 
cb055b5c5d40e129ff6fc87362501f45bdf11a6ee24bd733d9f7f28ae69169e8 SHA512 
c8df9f8176e4d776b76efcf9abe1ff56b87e8ea7093b04f1d5766f8c8b4e5aafbdb6f40c811e7e08d3c5c8ae030327767beca2f1e79ff712c2a2a281fe8a6543
 WHIRLPOOL 
1eef24c4b923cda51a99fb63aa216df59e4605df81dff5bfc86b1a49c1e50f7f46173d38a4965a8640e636beff4a38971a4c6786b125067353a62d5d0a222ed8
+DIST texstudio-2.10.2.tar.gz 25669897 SHA256 
0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 
3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c
 WHIRLPOOL 
e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
 DIST texstudio-2.8.8.tar.gz 25198033 SHA256 
5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 
b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152
 WHIRLPOOL 
08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
 DIST texstudio-2.9.4.tar.gz 25292627 SHA256 
dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 
6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49
 WHIRLPOOL 
9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf

diff --git a/app-office/texstudio/texstudio-2.10.0.ebuild 
b/app-office/texstudio/texstudio-2.10.2.ebuild
similarity index 100%
rename from app-office/texstudio/texstudio-2.10.0.ebuild
rename to app-office/texstudio/texstudio-2.10.2.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/

2015-09-14 Thread Justin Lecher
commit: 7117e6740482bc00d55f077827fa48791c58b385
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Sep 14 08:14:08 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Sep 14 08:14:20 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7117e674

app-office/texstudio: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=560292

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 app-office/texstudio/Manifest|   1 +
 app-office/texstudio/texstudio-2.10.0.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index efb3662..85c4ae6 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,2 +1,3 @@
+DIST texstudio-2.10.0.tar.gz 25674717 SHA256 
cb055b5c5d40e129ff6fc87362501f45bdf11a6ee24bd733d9f7f28ae69169e8 SHA512 
c8df9f8176e4d776b76efcf9abe1ff56b87e8ea7093b04f1d5766f8c8b4e5aafbdb6f40c811e7e08d3c5c8ae030327767beca2f1e79ff712c2a2a281fe8a6543
 WHIRLPOOL 
1eef24c4b923cda51a99fb63aa216df59e4605df81dff5bfc86b1a49c1e50f7f46173d38a4965a8640e636beff4a38971a4c6786b125067353a62d5d0a222ed8
 DIST texstudio-2.8.8.tar.gz 25198033 SHA256 
5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 
b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152
 WHIRLPOOL 
08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
 DIST texstudio-2.9.4.tar.gz 25292627 SHA256 
dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 
6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49
 WHIRLPOOL 
9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf

diff --git a/app-office/texstudio/texstudio-2.10.0.ebuild 
b/app-office/texstudio/texstudio-2.10.0.ebuild
new file mode 100644
index 000..4a6d581
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.10.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit base fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+   app-text/hunspell
+   app-text/poppler:=[qt4?,qt5?]
+   >=dev-libs/quazip-0.7.1[qt4?,qt5?]
+   dev-qt/qtsingleapplication[qt4?,qt5?]
+   x11-libs/libX11
+   x11-libs/libXext
+   qt4? (
+   dev-qt/designer:4
+   >=dev-qt/qtgui-4.8.5:4
+   >=dev-qt/qtcore-4.6.1:4
+   >=dev-qt/qtscript-4.6.1:4
+   >=dev-qt/qtsvg-4.6.1:4
+   >=dev-qt/qttest-4.6.1:4
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtcore:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qttest:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   )
+   video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+   virtual/latex-base
+   app-text/psutils
+   app-text/ghostscript-gpl
+   media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}"/${P/-/}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
+   "${FILESDIR}"/${PN}-2.8.2-desktop.patch
+# Get it from fedora
+   "${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
+   )
+
+src_prepare() {
+   find hunspell quazip utilities/poppler-data qtsingleapplication -delete 
|| die
+
+   if use video; then
+   sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+   fi
+
+   sed \
+   -e '/hunspell.pri/d' \
+   -e '/quazip.pri/d' \
+   -e '/qtsingleapplication.pri/d' \
+   -e '/QUAZIP_STATIC/d' \
+   -i ${PN}.pro || die
+
+#  cat >> ${PN}.pro <<- EOF
+#  exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#  EOF
+
+   cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+   eprefixify ${PN}.pri
+
+   epatch ${PATCHES[@]}
+}
+
+src_configure() {
+   if use qt5; then
+   eqmake5
+   else
+   eqmake4
+   fi
+}
+
+src_install() {
+   local i
+   for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+   insinto 

<    1   2