public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/hugin: ChangeLog hugin-0.7_beta4-r1.ebuild hugin-0.6.1-r2.ebuild hugin-0.7_beta4.ebuild
@ 2007-12-03 16:40 Markus Meier (maekke)
  0 siblings, 0 replies; only message in thread
From: Markus Meier (maekke) @ 2007-12-03 16:40 UTC (permalink / raw
  To: gentoo-commits

maekke      07/12/03 16:40:40

  Modified:             ChangeLog
  Added:                hugin-0.7_beta4-r1.ebuild hugin-0.6.1-r2.ebuild
  Removed:              hugin-0.7_beta4.ebuild
  Log:
  revision bump, fix as-needed (bug #180381), also fix security bug #195996 for 0.7
  (Portage version: 2.1.4_rc6)

Revision  Changes    Path
1.31                 media-gfx/hugin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog	14 Nov 2007 07:03:20 -0000	1.30
+++ ChangeLog	3 Dec 2007 16:40:39 -0000	1.31
@@ -1,6 +1,17 @@
 # ChangeLog for media-gfx/hugin
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.30 2007/11/14 07:03:20 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.31 2007/12/03 16:40:39 maekke Exp $
+
+*hugin-0.7_beta4-r1 (03 Dec 2007)
+*hugin-0.6.1-r2 (03 Dec 2007)
+
+  03 Dec 2007; Markus Meier <maekke@gentoo.org>
+  +files/hugin-0.6.1-as-needed.patch,
+  +files/hugin-0.7_beta4-as-needed.patch,
+  +files/hugin-0.7_beta4-insec-file.patch, +hugin-0.6.1-r2.ebuild,
+  -hugin-0.7_beta4.ebuild, +hugin-0.7_beta4-r1.ebuild:
+  revision bump, fix as-needed (bug #180381), also fix security bug #195996
+  for 0.7
 
   14 Nov 2007; Peter Weller <welp@gentoo.org> hugin-0.6.1-r1.ebuild:
   Stable on amd64 wrt bug 195996



1.1                  media-gfx/hugin/hugin-0.7_beta4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild?rev=1.1&content-type=text/plain

Index: hugin-0.7_beta4-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild,v 1.1 2007/12/03 16:40:39 maekke Exp $

inherit wxwidgets eutils autotools libtool

DESCRIPTION="GUI for the creation & processing of panoramic images"
HOMEPAGE="http://hugin.sf.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 SIFT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="unicode debug enblend sift"

DEPEND=">=media-libs/libpano12-2.8.4
		>=dev-libs/boost-1.30.0
		=x11-libs/wxGTK-2.6*
		sys-libs/zlib
		media-libs/libpng
		media-libs/jpeg
		media-libs/tiff
		enblend? ( >=media-gfx/enblend-2.4 )
		sift? ( media-gfx/autopano-sift )"

pkg_setup() {
	if ! built_with_use --missing true dev-libs/boost threads ; then
		local msg="Build dev-libs/boost with USE=threads"
		eerror "$msg"
		die "$msg"
	fi
	if ! use enblend; then
		elog "It is recommended to emerge this package with the"
		elog "enblend use flag to install media-gfx/enblend"
		elog "that blends the seams between images in a panorama."
	fi
	if ! use sift; then
		elog "It is recommended to emerge this package with the"
		elog "sift use flag to install media-gfx/autopano-sift"
		elog "that produces control points between images in a"
		elog "panorama."
	fi
}

src_unpack() {
	unpack ${A}

	sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h
	
	cd "${S}"
	epatch "${FILESDIR}/${P}-insec-file.patch"
	epatch "${FILESDIR}/${P}-as-needed.patch"

	AT_M4DIR="${S}/m4" eautoreconf
}

src_compile() {
	export WX_GTK_VER="2.6"

	if use unicode; then
		need-wxwidgets unicode || die "Emerge wxGTK with unicode in USE"
	else
		need-wxwidgets gtk2 || die "Emerge wxGTK with gtk2 in USE"
	fi

	myconf="`use_with unicode`
			`use_enable debug`"

	econf --with-wx-config="${WX_CONFIG}" ${myconf} || die "configure failed"
	emake || die "compiling failed"
}

src_install() {
	make install DESTDIR="${D}" || die
	dodoc AUTHORS BUGS README TODO
}



1.1                  media-gfx/hugin/hugin-0.6.1-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r2.ebuild?rev=1.1&content-type=text/plain

Index: hugin-0.6.1-r2.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r2.ebuild,v 1.1 2007/12/03 16:40:39 maekke Exp $

inherit wxwidgets eutils autotools libtool

DESCRIPTION="GUI for the creation & processing of panoramic images"
HOMEPAGE="http://hugin.sf.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 SIFT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="unicode debug enblend sift"

DEPEND=">=media-libs/libpano12-2.8.4
		>=dev-libs/boost-1.30.0
		=x11-libs/wxGTK-2.6*
		sys-libs/zlib
		media-libs/libpng
		media-libs/jpeg
		media-libs/tiff
		enblend? ( >=media-gfx/enblend-2.4 )
		sift? ( media-gfx/autopano-sift )"

pkg_setup() {
	if ! built_with_use --missing true dev-libs/boost threads ; then
		local msg="Build dev-libs/boost with USE=threads"
		eerror "$msg"
		die "$msg"
	fi
	if ! use enblend; then
		elog "It is recommended to emerge this package with the"
		elog "enblend use flag to install media-gfx/enblend"
		elog "that blends the seams between images in a panorama."
	fi
	if ! use sift; then
		elog "It is recommended to emerge this package with the"
		elog "sift use flag to install media-gfx/autopano-sift"
		elog "that produces control points between images in a"
		elog "panorama."
	fi
}

src_unpack() {
	unpack ${A}

	sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h
	cd "${S}"
	epatch "${FILESDIR}/${P}-1_0.6.1-1.1.patch"
	epatch "${FILESDIR}/${P}-as-needed.patch"

	AT_M4DIR="${S}/m4" eautoreconf
}

src_compile() {
	export WX_GTK_VER="2.6"

	if use unicode; then
		need-wxwidgets unicode || die "Emerge wxGTK with unicode in USE"
	else
		need-wxwidgets gtk2 || die "Emerge wxGTK with gtk2 in USE"
	fi

	myconf="`use_with unicode`
			`use_enable debug`"

	econf --with-wx-config="${WX_CONFIG}" ${myconf} || die "configure failed"
	emake || die "compiling failed"
}

src_install() {
	make install DESTDIR="${D}" || die
	dodoc AUTHORS BUGS README TODO
}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-03 16:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-03 16:40 [gentoo-commits] gentoo-x86 commit in media-gfx/hugin: ChangeLog hugin-0.7_beta4-r1.ebuild hugin-0.6.1-r2.ebuild hugin-0.7_beta4.ebuild Markus Meier (maekke)

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