From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-text/qpdfview/Manifest | 2 + .../qpdfview/files/qpdfview-0.4.12-no_sql.patch | 14 ++++ .../files/qpdfview-0.4.7-fix-sqlite-build.patch | 21 +++++ app-text/qpdfview/metadata.xml | 15 ++++ app-text/qpdfview/qpdfview-0.4.13-r1.ebuild | 89 ++++++++++++++++++++++ app-text/qpdfview/qpdfview-0.4.15.ebuild | 89 ++++++++++++++++++++++ 6 files changed, 230 insertions(+) create mode 100644 app-text/qpdfview/Manifest create mode 100644 app-text/qpdfview/files/qpdfview-0.4.12-no_sql.patch create mode 100644 app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch create mode 100644 app-text/qpdfview/metadata.xml create mode 100644 app-text/qpdfview/qpdfview-0.4.13-r1.ebuild create mode 100644 app-text/qpdfview/qpdfview-0.4.15.ebuild (limited to 'app-text/qpdfview') diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest new file mode 100644 index 000000000000..c1a18069a3cf --- /dev/null +++ b/app-text/qpdfview/Manifest @@ -0,0 +1,2 @@ +DIST qpdfview-0.4.13.tar.gz 563548 SHA256 8ff563055fb4df476afed08ead465e6204c16fc419a483ebf3dbe89779f28e41 SHA512 0246a2954ca01a1b3df69473ee53c7674ee891c460a26aebbf8acf2505692ec40eb712388893eddf6954180ddadb7965f173b9e55a3574f2cc8c0820d78be952 WHIRLPOOL 702ba4b5f1c597dfb4483775d9b089ff263594d99f7c9866c81ffb1a7755615b960c90a3b6c7cb8ea4b0d078c7d80b645612b5ce2eb618b2fedb785a6c67a725 +DIST qpdfview-0.4.15.tar.gz 611036 SHA256 a2dca83bc12c1241fc0603f8fb029a5d5011c68f9266d4a3a804fb75bf00f271 SHA512 dd87bcb62af75e3d96197f2ff6a76dde5c4a418dd6989050b9a606370b4a7f437a8a94fdef5f947e519b2880cb374af5f406ff4201bcd52da7a98949e63b02e4 WHIRLPOOL b78b76fa29f7775c3120bfd4487fb0dbcad82da923d5f02ba160912a9ecc1cc5831353b999c2ec36d9dbc7e464b650e4c1f753eb0f5ebe7d3014c0fb568dcf82 diff --git a/app-text/qpdfview/files/qpdfview-0.4.12-no_sql.patch b/app-text/qpdfview/files/qpdfview-0.4.12-no_sql.patch new file mode 100644 index 000000000000..874c89357e34 --- /dev/null +++ b/app-text/qpdfview/files/qpdfview-0.4.12-no_sql.patch @@ -0,0 +1,14 @@ +--- sources/database.cpp.org 2014-10-22 12:28:30.305031435 +0200 ++++ sources/database.cpp 2014-10-22 12:29:14.735028437 +0200 +@@ -366,11 +366,6 @@ + + transaction.commit(); + } +- +-#else +- +- Q_UNUSED(bookmarks); +- + #endif // WITH_SQL + } + diff --git a/app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch b/app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch new file mode 100644 index 000000000000..1a5e16124807 --- /dev/null +++ b/app-text/qpdfview/files/qpdfview-0.4.7-fix-sqlite-build.patch @@ -0,0 +1,21 @@ +Upstream: +http://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/1391 +Gentoo bugzilla: +https://bugs.gentoo.org/show_bug.cgi?id=493514 +=== modified file 'sources/database.h' +--- sources/database.h 2013-11-25 16:06:34 +0000 ++++ sources/database.h 2013-12-07 12:28:03 +0000 +@@ -64,10 +64,10 @@ + static Database* s_instance; + Database(QObject* parent = 0); + +-#ifdef WITH_SQL +- + static QString instanceName(); + ++#ifdef WITH_SQL ++ + void migrateTabs_v1_v2(); + void migrateBookmarks_v1_v2(); + + diff --git a/app-text/qpdfview/metadata.xml b/app-text/qpdfview/metadata.xml new file mode 100644 index 000000000000..40dcf6c24c57 --- /dev/null +++ b/app-text/qpdfview/metadata.xml @@ -0,0 +1,15 @@ + + + + qt + + + Use experimental fitz rendering, provided by app-text/mupdf, + instead of poppler + + Add support for searching TeX sources + + + qpdfview + + diff --git a/app-text/qpdfview/qpdfview-0.4.13-r1.ebuild b/app-text/qpdfview/qpdfview-0.4.13-r1.ebuild new file mode 100644 index 000000000000..cde4684c9090 --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.4.13-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PLOCALES="ast az bg bs ca cs da de el en_GB eo es eu fi fr gl he hr id it kk ko ky lt ms my pl pt pt_BR ro ru sk sv tr ug uk vi zh_CN" +inherit eutils l10n multilib qmake-utils + +DESCRIPTION="A tabbed document viewer" +HOMEPAGE="http://launchpad.net/qpdfview" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux" +IUSE="cups dbus djvu fitz +pdf postscript +qt4 qt5 sqlite +svg synctex" + +REQUIRED_USE="^^ ( qt4 qt5 ) + ?? ( fitz pdf )" + +RDEPEND="cups? ( net-print/cups ) + djvu? ( app-text/djvu ) + fitz? ( app-text/mupdf:0/1.4 ) + postscript? ( app-text/libspectre ) + qt4? ( dev-qt/qtcore:4[iconv] + dev-qt/qtgui:4 + dbus? ( dev-qt/qtdbus:4 ) + pdf? ( app-text/poppler[qt4] ) + sqlite? ( dev-qt/qtsql:4[sqlite] ) + svg? ( dev-qt/qtsvg:4 ) ) + qt5? ( dev-qt/linguist-tools:5 + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dbus? ( dev-qt/qtdbus:5 ) + pdf? ( >=app-text/poppler-0.26.4[qt5] ) + sqlite? ( dev-qt/qtsql:5[sqlite] ) + svg? ( dev-qt/qtsvg:5 ) ) + !svg? ( virtual/freedesktop-icon-theme )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( CHANGES CONTRIBUTORS README TODO ) + +src_prepare() { + prepare_locale() { + local _lrel + use qt4 && _lrel="$(qt4_get_bindir)/lrelease" + use qt5 && _lrel="$(qt5_get_bindir)/lrelease" + ${_lrel} "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed" + } + + rm_help() { + rm -f "miscellaneous/help_${1}.html" || die "removing extraneous help files failed" + } + + l10n_find_plocales_changes translations "${PN}_" '.ts' + l10n_for_each_locale_do prepare_locale + l10n_for_each_disabled_locale_do rm_help + + # adapt for prefix + sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die +} + +src_configure() { + local config i + for i in cups dbus pdf djvu svg synctex; do + if ! use ${i}; then + config+=" without_${i}" + fi + done + + use fitz && config+=" with_fitz" + use postscript || config+=" without_ps" + use sqlite || config+=" without_sql" + + if use qt4; then + eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" + else + eqmake5 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" qpdfview.pro + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} diff --git a/app-text/qpdfview/qpdfview-0.4.15.ebuild b/app-text/qpdfview/qpdfview-0.4.15.ebuild new file mode 100644 index 000000000000..072edd3e3392 --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.4.15.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PLOCALES="ast az be bg bs ca cs da de el en_GB eo es eu fi fr gl he hr id it kk ky lt ms my pl pt pt_BR ro ru sk sv th tr ug uk vi zh_CN" +inherit eutils l10n multilib qmake-utils + +DESCRIPTION="A tabbed document viewer" +HOMEPAGE="http://launchpad.net/qpdfview" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="cups dbus djvu fitz +pdf postscript +qt4 qt5 sqlite +svg synctex" + +REQUIRED_USE="^^ ( qt4 qt5 ) + ?? ( fitz pdf )" + +RDEPEND="cups? ( net-print/cups ) + djvu? ( app-text/djvu ) + fitz? ( >=app-text/mupdf-1.7:= ) + postscript? ( app-text/libspectre ) + qt4? ( dev-qt/qtcore:4[iconv] + dev-qt/qtgui:4 + dbus? ( dev-qt/qtdbus:4 ) + pdf? ( app-text/poppler[qt4] ) + sqlite? ( dev-qt/qtsql:4[sqlite] ) + svg? ( dev-qt/qtsvg:4 ) ) + qt5? ( dev-qt/linguist-tools:5 + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dbus? ( dev-qt/qtdbus:5 ) + pdf? ( >=app-text/poppler-0.26.4[qt5] ) + sqlite? ( dev-qt/qtsql:5[sqlite] ) + svg? ( dev-qt/qtsvg:5 ) ) + !svg? ( virtual/freedesktop-icon-theme )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( CHANGES CONTRIBUTORS README TODO ) + +src_prepare() { + prepare_locale() { + local _lrel + use qt4 && _lrel="$(qt4_get_bindir)/lrelease" + use qt5 && _lrel="$(qt5_get_bindir)/lrelease" + ${_lrel} "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed" + } + + rm_help() { + rm -f "miscellaneous/help_${1}.html" || die "removing extraneous help files failed" + } + + l10n_find_plocales_changes translations "${PN}_" '.ts' + l10n_for_each_locale_do prepare_locale + l10n_for_each_disabled_locale_do rm_help + + # adapt for prefix + sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die +} + +src_configure() { + local config i + for i in cups dbus pdf djvu svg synctex; do + if ! use ${i}; then + config+=" without_${i}" + fi + done + + use fitz && config+=" with_fitz" + use postscript || config+=" without_ps" + use sqlite || config+=" without_sql" + + if use qt4; then + eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" + else + eqmake5 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" qpdfview.pro + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} -- cgit v1.2.3-65-gdbad