summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2010-01-06 20:02:58 +0000
committerDominik Kapusta <ayoy@gentoo.org>2010-01-06 20:02:58 +0000
commit0bb0ecb00b5713238eb2df7f4eeb9e5f31b4495d (patch)
treee1c46360268800d4cd5ac7f13bc6475bab9309e8 /app-text/cb2bib
parentRemove old. (diff)
downloadgentoo-2-0bb0ecb00b5713238eb2df7f4eeb9e5f31b4495d.tar.gz
gentoo-2-0bb0ecb00b5713238eb2df7f4eeb9e5f31b4495d.tar.bz2
gentoo-2-0bb0ecb00b5713238eb2df7f4eeb9e5f31b4495d.zip
Initial commit of cb2bib. Thanks to Hugo Mildenberger and Andreas K. Huettel (dilfridge) - bug #123627
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-text/cb2bib')
-rw-r--r--app-text/cb2bib/ChangeLog11
-rw-r--r--app-text/cb2bib/cb2bib-1.3.6.ebuild56
-rw-r--r--app-text/cb2bib/metadata.xml17
3 files changed, 84 insertions, 0 deletions
diff --git a/app-text/cb2bib/ChangeLog b/app-text/cb2bib/ChangeLog
new file mode 100644
index 000000000000..f9e121fd2a71
--- /dev/null
+++ b/app-text/cb2bib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/cb2bib
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/cb2bib/ChangeLog,v 1.1 2010/01/06 20:02:58 ayoy Exp $
+
+*cb2bib-1.3.6 (06 Jan 2010)
+
+ 06 Jan 2010; Dominik Kapusta <ayoy@gentoo.org> +cb2bib-1.3.6.ebuild,
+ +metadata.xml:
+ Initial commit of cb2bib. Thanks to Hugo Mildenberger and Andreas K.
+ Huettel (dilfridge) - bug #123627
+
diff --git a/app-text/cb2bib/cb2bib-1.3.6.ebuild b/app-text/cb2bib/cb2bib-1.3.6.ebuild
new file mode 100644
index 000000000000..b708729dadbb
--- /dev/null
+++ b/app-text/cb2bib/cb2bib-1.3.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/cb2bib/cb2bib-1.3.6.ebuild,v 1.1 2010/01/06 20:02:58 ayoy Exp $
+
+EAPI="2"
+
+inherit qt4-r2
+
+DESCRIPTION="Tool for extracting unformatted bibliographic references"
+HOMEPAGE="http://www.molspaces.com/cb2bib/"
+SRC_URI="http://www.molspaces.com/dl/progs/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +lzo +poll"
+
+DEPEND="x11-libs/qt-webkit:4
+ lzo? ( dev-libs/lzo )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ echo "CONFIG += ordered" >> "${PN}.pro" || die "patching project file failed"
+ sed -i 's:\.\./COPYRIGHT \.\.\/LICENSE::' src/src.pro || die "sed src.pro failed"
+}
+
+src_configure() {
+ # Custom configure script has only few options, so call ./configure manually...
+ # We need to unset QTDIR here, else we may end up with qt3 if it is installed.
+ # TODO: remove QTDIR when qt3 goes away
+ QTDIR="" ./configure \
+ $(use_enable lzo) \
+ $(use_enable poll cbpoll) \
+ --disable-qmake-call \
+ --qmakepath /usr/bin/qmake \
+ --prefix /usr \
+ --bindir /usr/bin \
+ --datadir /usr/share \
+ --desktopdatadir /usr/share/applications \
+ --icondir /usr/share/pixmaps \
+ || die "cb2bib provided configure failed"
+
+ eqmake4 $(cat qmake-additional-args)
+}
+
+pkg_postinst() {
+ elog "For best functionality, emerge the following packages:"
+ elog " app-text/poppler-utils - for data import from PDF files"
+ elog " app-text/dvipdfm - for data import from DVI files"
+ elog " app-text/bibutils - for data import from ISI, endnote format"
+ elog " media-fonts/jsmath - for displaying mathematical notation"
+ elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF"
+ elog " text strings"
+ elog " virtual/latex-base - to check for BibTeX file correctness and to get"
+ elog " nice printing through the shell script bib2pdf"
+}
diff --git a/app-text/cb2bib/metadata.xml b/app-text/cb2bib/metadata.xml
new file mode 100644
index 000000000000..04650c6cd026
--- /dev/null
+++ b/app-text/cb2bib/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <maintainer>
+ <email>ayoy@gentoo.org</email>
+ <name>Dominik Kapusta</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>webmaster@molspaces.com</bugs-to>
+ </upstream>
+ <use>
+ <flag name='poll'>use clipboard polling</flag>
+ </use>
+</pkgmetadata>
+
+