summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-07-20 19:38:51 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-07-20 19:38:51 +0000
commit31de17ab77fddb724e60f6550f1036497cb0fc67 (patch)
tree38b51695e53b19209707e665e06e68aae079bc9d /www-plugins/lightspark
parentStable for HPPA (bug #328163). (diff)
downloadhistorical-31de17ab77fddb724e60f6550f1036497cb0fc67.tar.gz
historical-31de17ab77fddb724e60f6550f1036497cb0fc67.tar.bz2
historical-31de17ab77fddb724e60f6550f1036497cb0fc67.zip
Version bump. Remove old.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'www-plugins/lightspark')
-rw-r--r--www-plugins/lightspark/ChangeLog10
-rw-r--r--www-plugins/lightspark/Manifest10
-rw-r--r--www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch14
-rw-r--r--www-plugins/lightspark/files/lightspark-0.4.2-ndebug.patch138
-rw-r--r--www-plugins/lightspark/lightspark-0.4.1.ebuild61
-rw-r--r--www-plugins/lightspark/lightspark-0.4.2.ebuild (renamed from www-plugins/lightspark/lightspark-0.4.2_rc2.ebuild)16
6 files changed, 15 insertions, 234 deletions
diff --git a/www-plugins/lightspark/ChangeLog b/www-plugins/lightspark/ChangeLog
index 59f3e4e95825..a15b7ccaae21 100644
--- a/www-plugins/lightspark/ChangeLog
+++ b/www-plugins/lightspark/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-plugins/lightspark
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.9 2010/07/17 10:01:17 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.10 2010/07/20 19:38:51 chithanh Exp $
+
+*lightspark-0.4.2 (20 Jul 2010)
+
+ 20 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ -lightspark-0.4.1.ebuild, -files/lightspark-0.4.1-debug-defines.patch,
+ -lightspark-0.4.2_rc2.ebuild, +lightspark-0.4.2.ebuild,
+ -files/lightspark-0.4.2-ndebug.patch:
+ Version bump. Remove old.
17 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
lightspark-0.4.1.ebuild, lightspark-0.4.2_rc2.ebuild:
diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest
index 88af935a03dc..dd05c46f847f 100644
--- a/www-plugins/lightspark/Manifest
+++ b/www-plugins/lightspark/Manifest
@@ -1,8 +1,4 @@
-AUX lightspark-0.4.1-debug-defines.patch 420 RMD160 28efcc029f4395d85972aebb34567dcd0287d4b8 SHA1 c1af3267b539b8466aa0e0e160145e580bc74c78 SHA256 702d80d63e65bef5bee1b4e98a969cfb45c7b76e28d0bd2c69745c91e04a0736
-AUX lightspark-0.4.2-ndebug.patch 4315 RMD160 9ed1bdd8cbf63d862476f411dd953585b446587d SHA1 3bb77a8df8dab7268b46834cebd6f00e85594359 SHA256 3c6a9cef2faef7a42868d59ee63efd279de9831ec711a1d5bef892dd280b6b48
-DIST lightspark-0.4.2rc2.tar.gz 245264 RMD160 bd51fea6a36fdd0631f4944b8a5de5eeb8152391 SHA1 ae92d2ea47338cf98cae3155607bc155dcbf21dd SHA256 0aaa2bf4a05cb53d55dd85daa9a8d20bac047239655a81a3b5e82152c82a850c
-DIST lightspark_0.4.1.orig.tar.gz 222597 RMD160 1a330bf2b4aa747b82f87f44f5ae8d2f9edfda71 SHA1 f1890f6fa502e57ceb6873c18a9b0e782caeb58e SHA256 1f927fa59f2f0fbd8e0de9e3aa1c11e50b75eb0b7e4081a1277cfbcc58ba03f2
-EBUILD lightspark-0.4.1.ebuild 1479 RMD160 4daca4283bb0946fdd7e5c92a60d166adce006ce SHA1 fe15704ba918be768c09a3aba346ccbb06a53fcb SHA256 1751dcc5e78c6ed06ba2b55d52f6dbc251de1012f4572b8cff5fc9df87e29b5c
-EBUILD lightspark-0.4.2_rc2.ebuild 1560 RMD160 3037a1431565ec49eeb8249423576947c7cb5385 SHA1 92849e021c52236154f3698f589f4fdb2d1e827a SHA256 8713146ea16fec1540184e67ba405f930cd46ebe5000d0f56c02682b780386ac
-MISC ChangeLog 1985 RMD160 e7612c306907a62ae96dc56f9995e5b463ab122b SHA1 7be32142672645bda3c9b1fffd2efc708a4db780 SHA256 7ef04a728e0b8de98f262681d0461075ea03090ecebf696535f6aa9da13fd4ef
+DIST lightspark-0.4.2.tar.gz 246676 RMD160 af6d33059e0bcb5ed7fd0f47008915a4563bd035 SHA1 d14063d808dedf395fba1d99a1108f958be22675 SHA256 05bb1cee5ec0706a269be20ce751560cc64192890eb0808e6a3505bb76868df7
+EBUILD lightspark-0.4.2.ebuild 1269 RMD160 61c378fc541798f3c326d3bf4c9ba2b395ed831a SHA1 d69b6c61b32787fca8801759e9f31dc5e9f5645b SHA256 0bd8f84bae257258e2c089256b34f1e2249246e547cf34045ed9eb8db6fd06cf
+MISC ChangeLog 2288 RMD160 7301d4fa0dd5e92e81e1b26ef393c255403818a2 SHA1 2d694a337ab8670c239d04967b4385f352102285 SHA256 d21b342cfb352fa74a959d09c50ddbd382a0a3e54bab903010750bdf06901ba2
MISC metadata.xml 275 RMD160 1b1d48ace7eb30ee16b7cd1c33dd9fa695817f08 SHA1 8e66ce36ba12401c927e1b7394b652962a979a52 SHA256 9fcd14bdea1cdbac9fa4d44a3c9728877d7b87266c3553f6519a7aaec9795009
diff --git a/www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch b/www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch
deleted file mode 100644
index 61e5692e72bf..000000000000
--- a/www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ur a/swftypes.h b/swftypes.h
---- a/swftypes.h 2010-06-05 03:14:06.000000000 +0200
-+++ b/swftypes.h 2010-06-07 15:06:33.013468239 +0200
-@@ -471,9 +471,9 @@
- public:
- #ifndef NDEBUG
- //Stuff onyl used in debugging
-- bool initialized;
- int getRefCount(){ return ref_count; }
- #endif
-+ bool initialized;
- bool implEnable;
- void setPrototype(Class_base* c);
- Class_base* getPrototype() const { return prototype; }
diff --git a/www-plugins/lightspark/files/lightspark-0.4.2-ndebug.patch b/www-plugins/lightspark/files/lightspark-0.4.2-ndebug.patch
deleted file mode 100644
index f0c593540f70..000000000000
--- a/www-plugins/lightspark/files/lightspark-0.4.2-ndebug.patch
+++ /dev/null
@@ -1,138 +0,0 @@
-=== modified file 'CMakeLists.txt'
---- CMakeLists.txt 2010-07-01 01:24:10 +0000
-+++ CMakeLists.txt 2010-07-04 16:57:13 +0000
-@@ -123,9 +123,9 @@
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wnon-virtual-dtor -Woverloaded-virtual -pipe -fvisibility=hidden")
- SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -DEXPENSIVE_DEBUG")
- SET(CMAKE_CXX_FLAGS_PROFILE "-g -pg -O2")
--SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
--SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -O2")
--SET(CMAKE_CXX_FLAGS_DEBIAN "-O2")
-+SET(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
-+SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -O2 -DNDEBUG")
-+SET(CMAKE_CXX_FLAGS_DEBIAN "-O2 -DNDEBUG")
-
- ADD_DEFINITIONS(-DDATADIR="${CMAKE_INSTALL_PREFIX}/share/lightspark")
-
-
-=== modified file 'abc_opcodes.cpp'
---- abc_opcodes.cpp 2010-06-20 15:00:39 +0000
-+++ abc_opcodes.cpp 2010-07-04 16:57:13 +0000
-@@ -644,11 +644,15 @@
- ret=Class<ASObject>::getInstanceS();
- if(sf->mi->body)
- {
-+#ifndef NDEBUG
- ret->initialized=false;
-+#endif
- LOG(LOG_CALLS,"Building method traits");
- for(unsigned int i=0;i<sf->mi->body->trait_count;i++)
- th->context->buildTrait(ret,&sf->mi->body->traits[i],false);
-+#ifndef NDEBUG
- ret->initialized=true;
-+#endif
- ret->incRef();
- assert_and_throw(sf->closure_this==NULL);
- ASObject* ret2=sf->call(ret,args,m,0);
-@@ -1913,11 +1917,15 @@
- ret=Class<ASObject>::getInstanceS();
- if(sf->mi->body)
- {
-+#ifndef NDEBUG
- ret->initialized=false;
-+#endif
- LOG(LOG_CALLS,"Building method traits");
- for(unsigned int i=0;i<sf->mi->body->trait_count;i++)
- th->context->buildTrait(ret,&sf->mi->body->traits[i],false);
-+#ifndef NDEBUG
- ret->initialized=true;
-+#endif
- ret->incRef();
- assert_and_throw(sf->closure_this==NULL);
- ASObject* ret2=sf->call(ret,args,m,0);
-@@ -2181,10 +2189,14 @@
- //TODO: Should create a real activation object
- //TODO: Should method traits be added to the activation context?
- ASObject* act=Class<ASObject>::getInstanceS();
-+#ifndef NDEBUG
- act->initialized=false;
-+#endif
- for(unsigned int i=0;i<info->body->trait_count;i++)
- th->context->buildTrait(act,&info->body->traits[i],false);
-+#ifndef NDEBUG
- act->initialized=true;
-+#endif
-
- return act;
- }
-
-=== modified file 'asobjects.cpp'
---- asobjects.cpp 2010-06-30 01:41:37 +0000
-+++ asobjects.cpp 2010-07-04 16:57:13 +0000
-@@ -1727,7 +1727,9 @@
- }*/
- if(buildAndLink)
- {
-+ #ifndef NDEBUG
- assert_and_throw(!target->initialized);
-+ #endif
- //HACK: suppress implementation handling of variables just now
- bool bak=target->implEnable;
- target->implEnable=false;
-
-=== modified file 'swf.cpp'
---- swf.cpp 2010-07-03 21:26:00 +0000
-+++ swf.cpp 2010-07-04 16:57:13 +0000
-@@ -653,7 +653,7 @@
- break;
- case ButtonPress:
- {
-- cout << "Press" << endl;
-+ //cout << "Press" << endl;
- Locker locker(th->mutexListeners);
- th->m_sys->renderThread->requestInput();
- float selected=th->m_sys->renderThread->getIdAt(xevent->xbutton.x,xevent->xbutton.y);
-@@ -674,7 +674,7 @@
- }
- case ButtonRelease:
- {
-- cout << "Release" << endl;
-+ //cout << "Release" << endl;
- Locker locker(th->mutexListeners);
- sys->renderThread->requestInput();
- float selected=sys->renderThread->getIdAt(xevent->xbutton.x,xevent->xbutton.y);
-
-=== modified file 'swftypes.cpp'
---- swftypes.cpp 2010-06-30 01:23:30 +0000
-+++ swftypes.cpp 2010-07-04 16:57:13 +0000
-@@ -263,7 +263,9 @@
- void ASObject::setGetterByQName(const tiny_string& name, const tiny_string& ns, IFunction* o)
- {
- check();
-+#ifndef NDEBUG
- assert_and_throw(!initialized);
-+#endif
- //Getters are inserted with the current level of the prototype chain
- int level=cur_level;
- obj_var* obj=Variables.findObjVar(name,ns,level,true,false);
-@@ -279,7 +281,9 @@
- void ASObject::setSetterByQName(const tiny_string& name, const tiny_string& ns, IFunction* o)
- {
- check();
-+#ifndef NDEBUG
- assert_and_throw(!initialized);
-+#endif
- //Setters are inserted with the current level of the prototype chain
- int level=cur_level;
- obj_var* obj=Variables.findObjVar(name,ns,level,true,false);
-@@ -579,7 +583,9 @@
- void ASObject::initSlot(unsigned int n,const tiny_string& name, const tiny_string& ns)
- {
- //Should be correct to use the level on the prototype chain
-+#ifndef NDEBUG
- assert_and_throw(!initialized);
-+#endif
- Variables.initSlot(n,cur_level,name,ns);
- }
-
-
diff --git a/www-plugins/lightspark/lightspark-0.4.1.ebuild b/www-plugins/lightspark/lightspark-0.4.1.ebuild
deleted file mode 100644
index e7194bd41fdb..000000000000
--- a/www-plugins/lightspark/lightspark-0.4.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.4.1.ebuild,v 1.3 2010/07/17 10:01:17 chithanh Exp $
-
-EAPI=3
-inherit cmake-utils nsplugins multilib
-
-DESCRIPTION="High performance flash player"
-HOMEPAGE="https://launchpad.net/lightspark/"
-SRC_URI="https://launchpad.net/~sssup/+archive/sssup-ppa/+files/${P/-/_}.orig.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nsplugin"
-
-RDEPEND="dev-libs/libpcre[cxx]
- media-fonts/liberation-fonts
- media-video/ffmpeg
- media-libs/ftgl
- media-libs/glew
- media-libs/libsdl
- net-misc/curl
- >=sys-devel/llvm-2.7
- virtual/opengl
- nsplugin? (
- dev-libs/nspr
- net-libs/xulrunner
- x11-libs/gtk+:2
- x11-libs/gtkglext
- )
- x11-libs/libX11"
-DEPEND="${RDEPEND}
- dev-lang/nasm
- dev-util/pkgconfig"
-
-src_prepare() {
- # Fix gcc complaint about undefined debug variable
- epatch "${FILESDIR}"/${PN}-0.4.1-debug-defines.patch
-
- # Adjust plugin permissions
- sed -i "s|FILES|PROGRAMS|" plugin-dir/CMakeLists.txt || die
-
- # Adjust font paths
- sed -i "s|truetype/ttf-liberation|liberation-fonts|" swf.cpp || die
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use nsplugin COMPILE_PLUGIN)
- -DPLUGIN_DIRECTORY=/usr/$(get_libdir)/${PN}/plugins
- )
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
-}
diff --git a/www-plugins/lightspark/lightspark-0.4.2_rc2.ebuild b/www-plugins/lightspark/lightspark-0.4.2.ebuild
index 750ebe7e4020..d97ebf7f27dc 100644
--- a/www-plugins/lightspark/lightspark-0.4.2_rc2.ebuild
+++ b/www-plugins/lightspark/lightspark-0.4.2.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.4.2_rc2.ebuild,v 1.3 2010/07/17 10:01:17 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.4.2.ebuild,v 1.1 2010/07/20 19:38:51 chithanh Exp $
EAPI=3
inherit cmake-utils nsplugins multilib
DESCRIPTION="High performance flash player"
HOMEPAGE="https://launchpad.net/lightspark/"
-SRC_URI="http://launchpad.net/${PN}/trunk/${PN}-0.4.0/+download/${P/_/}.tar.gz"
+SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
@@ -17,6 +17,7 @@ IUSE="nsplugin pulseaudio"
RDEPEND="dev-libs/libpcre[cxx]
media-fonts/liberation-fonts
media-video/ffmpeg
+ media-libs/fontconfig
media-libs/ftgl
>=media-libs/glew-1.5.3
media-libs/libsdl
@@ -36,17 +37,6 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P/_rc*/}
-src_prepare() {
- # Fix gcc complaint about undefined debug variable
- epatch "${FILESDIR}"/${PN}-0.4.2-ndebug.patch
-
- # Adjust plugin permissions
- sed -i "s|FILES|PROGRAMS|" plugin-dir/CMakeLists.txt || die
-
- # Adjust font paths
- sed -i "s|truetype/ttf-liberation|liberation-fonts|" swf.cpp || die
-}
-
src_configure() {
local mycmakeargs=(
$(cmake-utils_use nsplugin COMPILE_PLUGIN)