public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/projectx: projectx-0.90.4.00_p33-r1.ebuild ChangeLog
@ 2010-08-01  0:55 Stefan Briesenick (sbriesen)
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Briesenick (sbriesen) @ 2010-08-01  0:55 UTC (permalink / raw
  To: gentoo-commits

sbriesen    10/08/01 00:55:09

  Modified:             ChangeLog
  Added:                projectx-0.90.4.00_p33-r1.ebuild
  Log:
  ebuild cleanup, added new IDCT patch (includes MMX/SSE also for amd64), added XDG patch, installs icon, renamed projectx_nogui to projectx_cli.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.42                 media-video/projectx/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/ChangeLog?rev=1.42&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/ChangeLog?rev=1.42&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/ChangeLog?r1=1.41&r2=1.42

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ChangeLog	17 Jul 2010 16:22:56 -0000	1.41
+++ ChangeLog	1 Aug 2010 00:55:09 -0000	1.42
@@ -1,6 +1,17 @@
 # ChangeLog for media-video/projectx
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.41 2010/07/17 16:22:56 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.42 2010/08/01 00:55:09 sbriesen Exp $
+
+*projectx-0.90.4.00_p33-r1 (01 Aug 2010)
+
+  01 Aug 2010; Stefan Briesenick <sbriesen@gentoo.org>
+  +projectx-0.90.4.00_p33-r1.ebuild,
+  +files/projectx-0.90.4.00_p33-idctfast.patch,
+  files/projectx-0.90.4.00_p33-stdout-corrupt.patch,
+  +files/projectx-0.90.4.00_p33-xdg.patch, files/build-0.90.4.00_p33.xml,
+  +files/icon.png:
+  ebuild cleanup, added new IDCT patch (includes MMX/SSE also for amd64),
+  added XDG patch, installs icon, renamed projectx_nogui to projectx_cli.
 
   17 Jul 2010; Markos Chandras <hwoarang@gentoo.org>
   projectx-0.90.4.00_p33.ebuild:



1.1                  media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild?rev=1.1&content-type=text/plain

Index: projectx-0.90.4.00_p33-r1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild,v 1.1 2010/08/01 00:55:09 sbriesen Exp $

EAPI="3"

JAVA_PKG_IUSE="doc source"

inherit eutils toolchain-funcs java-pkg-2 java-ant-2

XDG_P="xdg-20100731"

DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings"
HOMEPAGE="http://project-x.sourceforge.net/"
SRC_URI="http://sbriesen.de/gentoo/distfiles/${P}.tar.xz
	http://sbriesen.de/gentoo/distfiles/${PN}-idctfast.tar.xz
	http://sbriesen.de/gentoo/distfiles/${XDG_P}.java.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="X mmx sse"

COMMON_DEP="dev-java/commons-net
	X? ( =dev-java/browserlauncher2-1* )"

RDEPEND=">=virtual/jre-1.5
	${COMMON_DEP}"

DEPEND=">=virtual/jdk-1.5
	virtual/libiconv
	${COMMON_DEP}"

S="${WORKDIR}/Project-X"

mainclass() {
	# read Main-Class from MANIFEST.MF
	sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" || die
}

java_prepare() {
	local X

	# apply stdout corruption patch (zzam@gentoo.org)
	epatch "${FILESDIR}/${P}-stdout-corrupt.patch"

	# apply BrowserLauncher2 patch
	use X && epatch "${FILESDIR}/${P}-bl2.patch"
	rm -rf src/edu || die

	# apply IDCTFast patch
	epatch "${FILESDIR}/${P}-idctfast.patch"

	# apply XDG patch
	cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java"
	epatch "${FILESDIR}/${P}-xdg.patch"

	# copy build.xml
	cp -f "${FILESDIR}/build-${PV}.xml" build.xml || die

	# patch executable and icon 
	sed -i -e "s:^\(Exec=\).*:\1${PN}_gui:g" \
		-e "s:^\(Icon=\).*:\1${PN}:g" *.desktop || die

	# convert CRLF to LF
	edos2unix *.txt MANIFEST.MF

	# convert docs to utf-8
	if [ -x "$(type -p iconv)" ]; then
		for X in zutun.txt; do
			iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || die
		done
	fi

	# merge/remove resources depending on USE="X"
	if use X; then
		mv -f htmls resources/ || die
	else
		rm -rf src/net/sourceforge/dvb/projectx/gui || die
		rm resources/*.gif || die
	fi

	# update library packages
	cd lib
	rm -f {commons-net,jakarta-oro}*.jar || die
	java-pkg_jar-from commons-net
	use X && java-pkg_jar-from browserlauncher2-1.0
	java-pkg_ensure-no-bundled-jars
}

src_compile() {
	local IDCT="idct-mjpeg"  # default IDCT implementation
	if use x86 || use amd64; then
		use mmx && IDCT="idct-mjpeg-mmx"
		use sse && IDCT="idct-mjpeg-sse"
	fi

	eant build $(use_doc) -Dmanifest.mainclass=$(mainclass)

	cd lib/PORTABLE
	emake CC=$(tc-getCC) IDCT="${IDCT}" LDFLAGS="${LDFLAGS}" \
		CPLAT="${CFLAGS} -O3 -ffast-math -fPIC" || die
}

src_install() {
	java-pkg_dojar dist/${PN}.jar
	java-pkg_doso lib/PORTABLE/libidctfast.so

	java-pkg_dolauncher ${PN}_cli --main $(mainclass) \
		--java_args "-Djava.awt.headless=true -Xmx256m"

	# compatibility symlink, should be removed
	dosym ${PN}_cli /usr/bin/${PN}_nogui || die

	if use X; then
		java-pkg_dolauncher ${PN}_gui --main $(mainclass) \
			--java_args "-Xmx256m"
		dosym ${PN}_gui /usr/bin/${PN} || die
		newicon "${FILESDIR}/icon.png" "${PN}.png"
		domenu *.desktop || die
	else
		dosym ${PN}_cli /usr/bin/${PN} || die
	fi

	dodoc *.txt || die
	use doc && java-pkg_dojavadoc apidocs
	use source && java-pkg_dosrc src
}

pkg_postinst() {
	elog "Default config file and location has changed!"
	elog
	elog "It is now located at \$XDG_CONFIG_HOME/Project-X.ini"
	elog "You should move your old X.ini into the new location."
	elog
	elog "Hint: \$XDG_CONFIG_HOME defaults to ~/.config"
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/projectx: projectx-0.90.4.00_p33-r1.ebuild ChangeLog
@ 2011-11-20 10:28 Kacper Kowalik (xarthisius)
  0 siblings, 0 replies; 2+ messages in thread
From: Kacper Kowalik (xarthisius) @ 2011-11-20 10:28 UTC (permalink / raw
  To: gentoo-commits

xarthisius    11/11/20 10:28:20

  Modified:             projectx-0.90.4.00_p33-r1.ebuild ChangeLog
  Log:
  ppc/ppc64 stable wrt #376403
  
  (Portage version: 2.2.0_alpha75/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild?r1=1.6&r2=1.7

Index: projectx-0.90.4.00_p33-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- projectx-0.90.4.00_p33-r1.ebuild	17 Aug 2011 10:51:06 -0000	1.6
+++ projectx-0.90.4.00_p33-r1.ebuild	20 Nov 2011 10:28:20 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild,v 1.6 2011/08/17 10:51:06 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.90.4.00_p33-r1.ebuild,v 1.7 2011/11/20 10:28:20 xarthisius Exp $
 
 EAPI="3"
 
@@ -19,7 +19,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="X mmx sse"
 
 COMMON_DEP="dev-java/commons-net



1.51                 media-video/projectx/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/ChangeLog?rev=1.51&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/ChangeLog?rev=1.51&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/ChangeLog?r1=1.50&r2=1.51

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog	18 Aug 2011 18:54:42 -0000	1.50
+++ ChangeLog	20 Nov 2011 10:28:20 -0000	1.51
@@ -1,6 +1,10 @@
 # ChangeLog for media-video/projectx
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.50 2011/08/18 18:54:42 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.51 2011/11/20 10:28:20 xarthisius Exp $
+
+  20 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  projectx-0.90.4.00_p33-r1.ebuild:
+  ppc/ppc64 stable wrt #376403
 
 *projectx-0.91.0.02 (18 Aug 2011)
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-20 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-01  0:55 [gentoo-commits] gentoo-x86 commit in media-video/projectx: projectx-0.90.4.00_p33-r1.ebuild ChangeLog Stefan Briesenick (sbriesen)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-20 10:28 Kacper Kowalik (xarthisius)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox