From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/
Date: Sun, 10 Feb 2019 17:33:03 +0000 (UTC) [thread overview]
Message-ID: <1549819973.2c1ca5778d3dd8db70ee12949d6b7d76ec7ced33.zlogene@gentoo> (raw)
commit: 2c1ca5778d3dd8db70ee12949d6b7d76ec7ced33
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 10 17:32:53 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Feb 10 17:32:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1ca577
media-gfx/xv: Drop old
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
media-gfx/xv/xv-3.10a-r17.ebuild | 91 ----------------------------------------
1 file changed, 91 deletions(-)
diff --git a/media-gfx/xv/xv-3.10a-r17.ebuild b/media-gfx/xv/xv-3.10a-r17.ebuild
deleted file mode 100644
index 84423f73c81..00000000000
--- a/media-gfx/xv/xv-3.10a-r17.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic
-
-JUMBOV=20070520
-DESCRIPTION="Interactive image manipulation program supporting a wide variety of formats"
-HOMEPAGE="http://www.trilon.com/xv/index.html http://www.sonic.net/~roelofs/greg_xv.html"
-SRC_URI="mirror://sourceforge/png-mng/${P}-jumbo-patches-${JUMBOV}.tar.gz
- ftp://ftp.cis.upenn.edu/pub/xv/${P}.tar.gz
- mirror://gentoo/${P}.png.bz2"
-
-LICENSE="xv"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="jpeg tiff png"
-
-DEPEND="x11-libs/libXt
- jpeg? ( virtual/jpeg:0 )
- tiff? ( media-libs/tiff:0 )
- png? ( >=media-libs/libpng-1.2:0= sys-libs/zlib )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- # Apply the jumbo patch
- epatch "${WORKDIR}"/${P}-jumbo-fix-enh-patch-${JUMBOV}.txt
-
- # OSX and BSD xv.h define patches
- epatch "${FILESDIR}"/${P}-osx-bsd-${JUMBOV}.patch
-
- # OSX malloc patch
- epatch "${FILESDIR}"/${P}-vdcomp-osx-${JUMBOV}.patch
-
- # Disable JP2K (i.e. use system JPEG libs)
- epatch "${FILESDIR}"/${P}-disable-jp2k-${JUMBOV}.patch
-
- # Fix -wait option (do not rely on obsolete CLK_TCK)
- epatch "${FILESDIR}"/${P}-fix-wait-${JUMBOV}.patch
-
- # Use LDFLAGS on link lines
- epatch "${FILESDIR}"/${P}-add-ldflags-${JUMBOV}.patch
-
- epatch "${FILESDIR}"/${P}-libpng15-r1.patch
-
- # Link with various image libraries depending on use flags
- IMAGE_LIBS=""
- use jpeg && IMAGE_LIBS="${IMAGE_LIBS} -ljpeg"
- use png && IMAGE_LIBS="${IMAGE_LIBS} -lz -lpng"
- use tiff && IMAGE_LIBS="${IMAGE_LIBS} -ltiff"
-
- sed -i \
- -e 's/\(^JPEG.*\)/#\1/g' \
- -e 's/\(^PNG.*\)/#\1/g' \
- -e 's/\(^TIFF.*\)/#\1/g' \
- -e "s/\(^LIBS = .*\)/\1${IMAGE_LIBS}/g" Makefile
-
- # /usr/bin/gzip => /bin/gzip
- sed -i -e 's#/usr\(/bin/gzip\)#'"${EPREFIX}"'\1#g' config.h
-
- # Fix installation of ps docs
- sed -i -e 's#$(DESTDIR)$(LIBDIR)#$(LIBDIR)#g' Makefile
-}
-
-src_compile() {
- append-flags -DUSE_GETCWD -DLINUX -DUSLEEP
- use jpeg && append-flags -DDOJPEG
- use png && append-flags -DDOPNG
- use tiff && append-flags -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX
-
- emake \
- CC="$(tc-getCC)" CCOPTS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
- PREFIX="${EPREFIX}"/usr \
- DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
- LIBDIR="${T}"
-}
-
-src_install() {
- dodir /usr/bin
- dodir /usr/share/man/man1
-
- emake \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}"/usr \
- DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
- LIBDIR="${T}" install
-
- dodoc CHANGELOG BUGS IDEAS
- newicon "${WORKDIR}"/${P}.png ${PN}.png
- make_desktop_entry xv "" "" "Graphics;Viewer"
-}
next reply other threads:[~2019-02-10 17:33 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-10 17:33 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-12 19:55 [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/ Ben Kohler
2024-10-16 11:44 Ben Kohler
2024-10-12 15:05 Sam James
2024-10-03 16:11 Arthur Zamarin
2024-10-02 20:11 Sam James
2024-10-02 20:11 Sam James
2024-10-02 20:11 Sam James
2024-09-03 11:17 Ben Kohler
2024-08-29 18:11 Ben Kohler
2024-08-29 15:08 Ben Kohler
2024-08-12 4:22 Eli Schwartz
2024-07-17 17:29 Ben Kohler
2024-07-17 17:29 Ben Kohler
2022-10-08 20:01 Sam James
2022-10-05 5:53 Arthur Zamarin
2022-10-04 18:41 Arthur Zamarin
2022-10-04 18:40 Arthur Zamarin
2022-10-04 17:30 Sam James
2022-10-04 17:30 Sam James
2022-09-28 0:10 Sam James
2022-09-28 0:09 Sam James
2019-02-10 17:31 Mikle Kolyada
2019-02-09 18:36 Thomas Deutschmann
2019-02-02 21:17 Sergei Trofimovich
2019-02-02 19:18 Sergei Trofimovich
2019-02-02 19:09 Sergei Trofimovich
2019-02-01 14:55 Tobias Klausmann
2019-01-28 19:38 Sergei Trofimovich
2016-02-14 12:19 Ulrich Müller
2015-11-23 9:25 Agostino Sarubbo
2015-11-16 14:19 Agostino Sarubbo
2015-11-13 9:42 Agostino Sarubbo
2015-11-12 9:40 Agostino Sarubbo
2015-11-11 9:54 Agostino Sarubbo
2015-11-11 5:18 Jeroen Roovers
2015-11-09 10:31 Agostino Sarubbo
2015-11-08 11:04 Pacho Ramos
2015-11-08 11:04 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1549819973.2c1ca5778d3dd8db70ee12949d6b7d76ec7ced33.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox