Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Lalo Martins (2bfe8df96becced969457f07cc7719c5fc246a58)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Lalo Martins <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Lalo Martins (2bfe8df96becced969457f07cc7719c5fc246a58)
  • Date: Sun, 31 Dec 2006 02:08:23 -0600

GIT changes to master grimoire by Lalo Martins <lalo AT sourcemage.org>:

http/swift-flash/BUILD | 23 +----------------------
http/swift-flash/DEPENDS | 1 +
http/swift-flash/DETAILS | 6 +++---
http/swift-flash/HISTORY | 6 ++++++
http/swift-flash/INSTALL | 9 +++++++++
http/swift-flash/PRE_BUILD | 15 +++++++++++++++
6 files changed, 35 insertions(+), 25 deletions(-)

New commits:
commit 30a0a27fbac89d33079d662c80151b98a3c114b5
Author: Lalo Martins <lalo AT sourcemage.org>
Commit: Lalo Martins <lalo AT sourcemage.org>

adding files used by BUILD_API 2

commit 6b28cea5caf601b1dfc57eb7921246048b154f16
Author: Lalo Martins <lalo AT sourcemage.org>
Commit: Lalo Martins <lalo AT sourcemage.org>

http/swift-flash: removing dust

diff --git a/http/swift-flash/BUILD b/http/swift-flash/BUILD
index fc5019a..8f58e6d 100755
--- a/http/swift-flash/BUILD
+++ b/http/swift-flash/BUILD
@@ -1,22 +1 @@
-(
-
-# Make it work with gcc3
- patch -p1 < $SCRIPT_DIRECTORY/flash-gcc3.patch &&
-
-# The KDE screensaver doesn't work with kde3
- sedit 's:SUBDIRS=.*:SUBDIRS= Jpeg Zlib Lib Player Plugin:' Makefile &&
-
- make &&
- prepare_install &&
-
- mkdir -p /usr/bin &&
- cp Player/swfplayer /usr/bin/ &&
-
- mkdir -p /usr/lib/mozilla/plugins &&
- cp Plugin/npflash.so /usr/lib/mozilla/plugins/ &&
-
- # Install libraries
- cp Lib/flash.h /usr/include &&
- cp Lib/libflash.a /usr/lib
-
-) >$C_FIFO 2>&1
+make
diff --git a/http/swift-flash/DEPENDS b/http/swift-flash/DEPENDS
index 3637254..8cd2e2d 100755
--- a/http/swift-flash/DEPENDS
+++ b/http/swift-flash/DEPENDS
@@ -1 +1,2 @@
+depends gcc34 &&
depends GRAPHICAL-WEB-BROWSER
diff --git a/http/swift-flash/DETAILS b/http/swift-flash/DETAILS
index f1d94d3..32923f1 100755
--- a/http/swift-flash/DETAILS
+++ b/http/swift-flash/DETAILS
@@ -2,13 +2,13 @@
VERSION=0.4.10
SOURCE=flash-$VERSION.tgz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/flash-$VERSION
- SOURCE_URL[0]=http://www.swift-tools.com/Flash/$SOURCE
+ SOURCE_URL[0]=http://www.swift-tools.net/Flash/$SOURCE

SOURCE_HASH=sha512:51d5b4eea79836e88fddbaf752ba26f693820da87b395953ae165a59e7b919e30673cd4d3834c64a997163457f0c612d817fe50f4f272ce4496b0d3b8ed871a9
LICENSE[0]=GPL
- WEB_SITE=http://www.swift-tools.com/Flash/
+ WEB_SITE=http://www.swift-tools.net/Flash/
ENTERED=20020520
KEYWORDS="player http"
- BUILD_API=1
+ GCC_VERSION=3.4
SHORT='GPL-licensed Macromedia Flash(TM) player plugin'

cat << EOF
diff --git a/http/swift-flash/HISTORY b/http/swift-flash/HISTORY
old mode 100644
new mode 100755
index 2e8b508..a475ae0
--- a/http/swift-flash/HISTORY
+++ b/http/swift-flash/HISTORY
@@ -1,3 +1,9 @@
+2006-12-31 Lalo Martins <lalo AT sourcemage.org>
+ * DETAILS: changed URLs (s/.com/.net/)
+ * BUILD, DEPENDS, INSTALL, PRE_BUILD: updated to BUILD_API 2, made it
+ compile again (by using gcc34), and made it work on 64bit (by using
+ -fPIC in strategic places)
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.

diff --git a/http/swift-flash/INSTALL b/http/swift-flash/INSTALL
new file mode 100755
index 0000000..24a3a5f
--- /dev/null
+++ b/http/swift-flash/INSTALL
@@ -0,0 +1,9 @@
+mkdir -p /usr/bin &&
+cp Player/swfplayer /usr/bin/ &&
+
+mkdir -p /usr/lib/mozilla/plugins &&
+cp Plugin/npflash.so /usr/lib/mozilla/plugins/ &&
+
+# Install libraries
+cp Lib/flash.h /usr/include &&
+cp Lib/libflash.a /usr/lib
diff --git a/http/swift-flash/PRE_BUILD b/http/swift-flash/PRE_BUILD
new file mode 100755
index 0000000..c1a4618
--- /dev/null
+++ b/http/swift-flash/PRE_BUILD
@@ -0,0 +1,15 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+# Make it work with gcc3
+patch -p1 < $SCRIPT_DIRECTORY/flash-gcc3.patch &&
+
+# The KDE screensaver doesn't work with kde3
+sed -i 's:SUBDIRS=.*:SUBDIRS= Jpeg Zlib Lib Player Plugin:' Makefile &&
+
+# grr, the makefile doesn't respect flags from the environment
+# -fPIC is necessary to build on 64-bit, due to static/shared library linking
+sed -i 's:CXXFLAGS=:CXXFLAGS=-fPIC :' Lib/Makefile &&
+sed -i 's:CFLAGS=:CFLAGS=-fPIC :' Plugin/Makefile Jpeg/Makefile
Zlib/Makefile &&
+
+invoke_gcc



  • [SM-Commit] GIT changes to master grimoire by Lalo Martins (2bfe8df96becced969457f07cc7719c5fc246a58), Lalo Martins, 12/31/2006

Archive powered by MHonArc 2.6.24.

Top of Page