diff options
-rw-r--r-- | media-gfx/.directory | 5 | ||||
-rw-r--r-- | media-gfx/ktikz/.directory | 5 | ||||
-rw-r--r-- | media-gfx/ktikz/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/ktikz/files/ktikz-0.10-currenthighlight.patch | 29 | ||||
-rw-r--r-- | media-gfx/ktikz/ktikz-0.10-r1.ebuild | 47 | ||||
-rw-r--r-- | media-gfx/ktikz/ktikz-0.10.ebuild | 43 | ||||
-rw-r--r-- | metadata/layout.conf | 1 | ||||
-rw-r--r-- | profiles/repo_name | 1 |
8 files changed, 135 insertions, 0 deletions
diff --git a/media-gfx/.directory b/media-gfx/.directory new file mode 100644 index 0000000..8dc4ed5 --- /dev/null +++ b/media-gfx/.directory @@ -0,0 +1,5 @@ +[Dolphin] +SortOrder=1 +Timestamp=2013,10,6,4,30,53 +Version=3 +ViewMode=1 diff --git a/media-gfx/ktikz/.directory b/media-gfx/ktikz/.directory new file mode 100644 index 0000000..6098f3b --- /dev/null +++ b/media-gfx/ktikz/.directory @@ -0,0 +1,5 @@ +[Dolphin] +SortOrder=1 +Timestamp=2013,10,6,3,4,2 +Version=3 +ViewMode=1 diff --git a/media-gfx/ktikz/Manifest b/media-gfx/ktikz/Manifest new file mode 100644 index 0000000..333de4c --- /dev/null +++ b/media-gfx/ktikz/Manifest @@ -0,0 +1,4 @@ +AUX ktikz-0.10-currenthighlight.patch 1109 SHA256 7e52843ff0ecfbd6bef6d6c15be5e88882a2c248d4ef971bc0fe72771d224881 SHA512 24e691e9841254171c7d790e39896b7f383ce5c7fe58fe581348e865ca151cb59d7ca6d800ccfcc45efe606c24a16f91f61f95baf88579f716a058a5ba61561c WHIRLPOOL 7361f6420cd17553ed7ae8b54713b9ae768ec144d71041e3622c49e59ceb530189273d064a4b26ca5438784f2c780220f2e7008f38b0d27cd80445401b32cae5 +DIST ktikz_0.10.tar.gz 1527034 SHA256 31d18ab2e9207acf5507ed74bb6f38f06b2a2eb2aa8af2e0587bf076722254a6 SHA512 20aa7b5bb9b764e18492258a8e56b9912a5624173289d00a388e9273030c3d5fd6149445c5e97dd0b5ec12baef541884bf03a1b4165968238fa54479169d013f WHIRLPOOL 0f59d74f5090406b80ffdc859dac735c6962825d21a179c0ce0524973ab21642b457681914b8af1099ed11b632dd75ba5114f17d98a0a7ba40b701f675e2d395 +EBUILD ktikz-0.10-r1.ebuild 1078 SHA256 9a33ba752123cecfdb1684849d2a225961acd7b98127d55ac96aeeb8f7e230cf SHA512 d57ebfad8439285a70eb5432dcef9263e0188ee6ba377b691175ff49cceea09cd0825dfcfe9c853b7b43a0aaca6d846a5188b13d770d9cd00ccfb999876fcffc WHIRLPOOL 2f1d9cee56839fb8d79603fa845e7951594b97f749a96e4d0dc306c6c0084f4e281bf8e64fac4ee8cf9ea12193681914dabeef9f1ee4e236a6a9bf5857e559a4 +EBUILD ktikz-0.10.ebuild 997 SHA256 28d55d5f025ccb61c39cb76d3cb759590de3b2f08d867d24e0268891e39cb2dd SHA512 0eb4bdd2dd67100c8243ec63392302bb090947e8c92bf2ea276622169fdc14fa78a45b9a4aa61ad19e7959cbc463dfb5dbc17c2d9cb58540f1e2f1708fd6d919 WHIRLPOOL 6fbe019ed6fe0e489de00bc2bddec3d036bfce7e15b4c63ab5a7ef69ef5c71eb3af568e32beb17e3978ec87dd51110a7e2b5753fa1de4a7e3aec5b8c18398f54 diff --git a/media-gfx/ktikz/files/ktikz-0.10-currenthighlight.patch b/media-gfx/ktikz/files/ktikz-0.10-currenthighlight.patch new file mode 100644 index 0000000..0b9c98e --- /dev/null +++ b/media-gfx/ktikz/files/ktikz-0.10-currenthighlight.patch @@ -0,0 +1,29 @@ +--- ktikz/app/tikzeditor.cpp 2010-10-13 21:41:45.000000000 +0100 ++++ ktikz/app/tikzeditor.cpp 2013-08-15 11:15:01.154310312 +0100 +@@ -67,6 +67,7 @@ + m_highlightCurrentLineColor = lineColor.darker(105); + else + m_highlightCurrentLineColor = altLineColor; ++ m_highlightCurrentLineColor = lineColor.darker(0); + connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine())); + highlightCurrentLine(); + +@@ -321,12 +322,13 @@ + void TikzEditor::paintEvent(QPaintEvent *event) + { + QPainter painter(viewport()); +- ++ const QColor lineColor(QApplication::style()->standardPalette().color(QPalette::Normal, QPalette::Base)); + // highlight current line +- QRect rect = cursorRect(); +- rect.setX(0); +- rect.setWidth(viewport()->width()); +- painter.fillRect(rect, QBrush(m_highlightCurrentLineColor)); ++ QRect rect = cursorRect(); ++ rect.setX(0); ++ rect.setWidth(viewport()->width()); ++ //painter.fillRect(rect, QBrush(m_highlightCurrentLineColor)); ++ painter.fillRect(rect, QBrush(lineColor.black() )); + + // show white spaces and tabulators + if (m_showWhiteSpaces || m_showTabulators) diff --git a/media-gfx/ktikz/ktikz-0.10-r1.ebuild b/media-gfx/ktikz/ktikz-0.10-r1.ebuild new file mode 100644 index 0000000..2d849bc --- /dev/null +++ b/media-gfx/ktikz/ktikz-0.10-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit eutils qt4-r2 + +MY_P="${PN}_${PV}" + +DESCRIPTION="A QT4-based editor for the TikZ language" +HOMEPAGE="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language" +SRC_URI="http://www.hackenberger.at/${PN}/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +#DEPEND="x11-libs/qt-gui:4 +DEPEND="dev-qt/qtgui:4 + dev-qt/qthelp:4 + app-text/poppler[qt4] + virtual/latex-base + dev-texlive/texlive-latexextra + dev-tex/pgf" +RDEPEND="${DEPEND}" + +DOCS="Changelog TODO" + +S="${WORKDIR}/${PN}" + +src_prepare() { + + # patch some diffs + epatch "${FILESDIR}/${PN}-${PV}-currenthighlight.patch" + + # libs are not equal ldflags, make that sure: + sed -i -e 's|QMAKE_LFLAGS|LIBS|' macros.pri || die "sed failed" + + # our lrelease is not versioned + sed -i -e 's|lrelease-qt4|lrelease|' conf.pri || die "sed failed" +} + +src_configure() { + KDECONFIG="CONFIG-=usekde" + eqmake4 qtikz.pro PREFIX="${D}/usr" "CONFIG+=nostrip" "$KDECONFIG" +} diff --git a/media-gfx/ktikz/ktikz-0.10.ebuild b/media-gfx/ktikz/ktikz-0.10.ebuild new file mode 100644 index 0000000..d0e36d1 --- /dev/null +++ b/media-gfx/ktikz/ktikz-0.10.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit eutils qt4-r2 + +MY_P="${PN}_${PV}" + +DESCRIPTION="A QT4-based editor for the TikZ language" +HOMEPAGE="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language" +SRC_URI="http://www.hackenberger.at/${PN}/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +#DEPEND="x11-libs/qt-gui:4 +DEPEND="dev-qt/qtgui:4 + dev-qt/qthelp:4 + app-text/poppler[qt4] + virtual/latex-base + dev-texlive/texlive-latexextra + dev-tex/pgf" +RDEPEND="${DEPEND}" + +DOCS="Changelog TODO" + +S="${WORKDIR}/${PN}" + +src_prepare() { + # libs are not equal ldflags, make that sure: + sed -i -e 's|QMAKE_LFLAGS|LIBS|' macros.pri || die "sed failed" + + # our lrelease is not versioned + sed -i -e 's|lrelease-qt4|lrelease|' conf.pri || die "sed failed" +} + +src_configure() { + KDECONFIG="CONFIG-=usekde" + eqmake4 qtikz.pro PREFIX="${D}/usr" "CONFIG+=nostrip" "$KDECONFIG" +} diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..d43e61c --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1 @@ +masters = gentoo diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..ef145ea --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +carreira-overlay |