[proaudio] proaudio/proaudio: [3002] xpdf: initial ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 3002
Author:   dominique
Date:     2016-10-30 22:51:14 +0100 (Sun, 30 Oct 2016)
Log Message:
-----------
xpdf: initial ebuild

Modified Paths:
--------------
    trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST

Added Paths:
-----------
    trunk/overlays/proaudio/app-text/
    trunk/overlays/proaudio/app-text/xpdf/
    trunk/overlays/proaudio/app-text/xpdf/ChangeLog
    trunk/overlays/proaudio/app-text/xpdf/Manifest
    trunk/overlays/proaudio/app-text/xpdf/metadata.xml
    trunk/overlays/proaudio/app-text/xpdf/xpdf-3.04.ebuild

Modified: trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST
===================================================================
--- trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST	2016-08-25 12:49:27 UTC (rev 3001)
+++ trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST	2016-10-30 21:51:14 UTC (rev 3002)
@@ -20,6 +20,12 @@
 	Homepage:    http://www.xs4all.nl/~rooversj/gentoo
 
 
+#------- app-text/xpdf --------
+	xpdf-3.04	arch: ~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd
+	Description: An X Viewer for PDF Files
+	Homepage:    http://www.foolabs.com/xpdf/
+
+
 #------- dev-embedded/mios-studio-bin --------
 	mios-studio-bin-2.4.6	arch: -* ~amd64 ~x86
 	Description: uCApps.de MIOS Studio
@@ -1669,8 +1675,8 @@
 
 
 #------- media-sound/guitarix2 --------
-	guitarix2-0.32.1	arch: ~amd64 ~x86
 	guitarix2-0.32.3	arch: ~amd64 ~x86
+	guitarix2-0.35.1	arch: ~amd64 ~x86
 	guitarix2-9999	arch: ~amd64 ~x86
 	Description: A simple Linux Guitar Amplifier for jack
 		 with one input and two outputs

Added: trunk/overlays/proaudio/app-text/xpdf/ChangeLog
===================================================================
--- trunk/overlays/proaudio/app-text/xpdf/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/app-text/xpdf/ChangeLog	2016-10-30 21:51:14 UTC (rev 3002)
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/xpdf
+# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*xpdf-3.04 (30Oct 2016)
+
+  30 Oct 2016: Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx> xpdf-3.04.ebuild
+  initial ebuild. xpdf give me better result than poppler to read some pdf (music)
+  related files, so use plain xpdf. It install files in /usr/local, which breaak
+  gentoo policy, but don't break existing scripts.

Added: trunk/overlays/proaudio/app-text/xpdf/Manifest
===================================================================
--- trunk/overlays/proaudio/app-text/xpdf/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/app-text/xpdf/Manifest	2016-10-30 21:51:14 UTC (rev 3002)
@@ -0,0 +1,4 @@
+DIST xpdf-3.04.tar.gz 825519 SHA256 11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5 SHA512 3fb3c380fdbd13d937449ae3f7d7a163815cc85296d30be7b9907687884385d6171bb48ee5d5c13368d6bba87740b678f491bdcf61b38d130809e9afa260f6cf WHIRLPOOL 0787d42de82f7907a4f7a0e35aa7d95366db003628857da01ed12b3c7008ce88cdfb2dd6a08155b9a6b9bfd1b70c8aedf67b0b1fd41a77f17253576b1d3aac4a
+EBUILD xpdf-3.04.ebuild 1828 SHA256 e89d4a198a5ff84aec00fb4031790037015cf6d2d7cb386d184ffbff3994bc8e SHA512 b9df68d02ed57e1031cf37d78dd86b462eb85dbea984f824a7d5e71590c1acb62bee1fcb75bbdf1c6daf315be406d895dbee0123624cada737b025c7f7606352 WHIRLPOOL aac0af8ce07e9c01c7054961dc981c4b88f32515f4568f3032f1a1aa647f86094d74d61e7c247f7e5dd5a3f6a9917982bf4d4c1e739db71b6b8222aa6b2986d1
+MISC ChangeLog 437 SHA256 a9295e0ab74b736b30961ed84b26af1e0f9e1b53c5ed6ddc37d01e6d19d4a14b SHA512 dc72dd6fa72741b0bcc939c919eda7f0f6bcaa03439323604500190c2efa3867e3b6858c9e91be60fb32febbdc168d176197071abcf0ff112a715942019be3b2 WHIRLPOOL 37618cd9d300b741665a2eab05c0bc228b3dd180eafe219aed60fdc76c6037a4f6aa3746d6005ef3dc5227d6d6d6f9ecc9e328a34d1a229e56efeb56f59f3485
+MISC metadata.xml 332 SHA256 700ea11556a0da5b6412ee653fd44e6730ad930b140940bb9e98f79339e12447 SHA512 83575001beab24ad3968bfc280c0d77e998103d9c6cab3016ceab0d264b4db1807182ef47f07abb82c258c6497da93b8a1e1d93a4869452f187899b4d8310842 WHIRLPOOL 0842fae62d1b86ddd43109e9fb3e6f2829160ca70d4bb9755786cf580290cad5fc03e1b8bd318beb53a21efd5538fb8268d3b9432552bc145d98e38a693d51cf

Added: trunk/overlays/proaudio/app-text/xpdf/metadata.xml
===================================================================
--- trunk/overlays/proaudio/app-text/xpdf/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/app-text/xpdf/metadata.xml	2016-10-30 21:51:14 UTC (rev 3002)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<maintainer type="project">
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+	<use>
+		<flag name="a4">Enable A4 format for ps output</flag>
+	</use>
+</pkgmetadata>

Added: trunk/overlays/proaudio/app-text/xpdf/xpdf-3.04.ebuild
===================================================================
--- trunk/overlays/proaudio/app-text/xpdf/xpdf-3.04.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/app-text/xpdf/xpdf-3.04.ebuild	2016-10-30 21:51:14 UTC (rev 3002)
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit fdo-mime gnome2 eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="An X Viewer for PDF Files"
+HOMEPAGE="http://www.foolabs.com/xpdf/";
+SRC_URI="ftp://ftp.foolabs.com/pub/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="a4"
+
+RDEPEND="media-libs/freetype
+	sys-libs/zlib
+	media-libs/libpng"
+
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+pkg_setup() {
+	append-flags '-DSYSTEM_XPDFRC="\"/etc/xpdfrc\""'
+	# We know it's there, probably won't get rid of it, so let's make
+	# the build output readable by removing it.
+	einfo "Suppressing warning overload with -Wno-write-strings"
+	append-cxxflags -Wno-write-strings
+}
+
+src_configure() {
+	# portage use poppler for all the pdf related software. cups-filters need
+	# poppler[utils], which install all pdf* binary files in /usr/bin. To
+	# avoid file collisions, we use --prefix=/usr/local. Another solution
+	# would be to rename these files, but that will break existing scripts
+	# using these files.
+	econf 	--with-freetype2-library=/usr/lib64 \
+		--with-freetype2-includes=/usr/include/freetype2 \
+		$(use_enable a4 a4-paper) \
+		--prefix=/usr/local --mandir=/usr/local/share/man
+}
+
+src_compile() {
+	tc-export CXX
+	emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	dodoc README ANNOUNCE CHANGES
+	newicon "${S}/${PN}"/xpdfIcon.xpm xpdf.xpm
+	insinto /usr/share/applications
+	doins "${FILESDIR}"/xpdf.desktop
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+	gnome2_icon_cache_update
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/