Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexp-sssup committed Aug 10, 2010
1 parent 5c88e4a commit 7e0d51c
Show file tree
Hide file tree
Showing 8 changed files with 71 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -165,6 +165,10 @@ IF(ENABLE_CURL)
ADD_DEFINITIONS(-DENABLE_CURL)
ENDIF(ENABLE_CURL)

IF(ENABLE_DEBIAN_ALTERNATIVES)
SET(PLUGIN_DIRECTORY ${PRIVATELIBDIR})
ENDIF(ENABLE_DEBIAN_ALTERNATIVES)

# Compiler defaults flags for different profiles
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wnon-virtual-dtor -Woverloaded-virtual -pipe -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x")

Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,5 +1,9 @@
lightspark: An open source flash player implementation

Version 0.4.3:
* Liquid layout support
* A couple of bug fixes

Version 0.4.3 RC1:
* Faster rendering of the input layer
* Reduced memory consumption
Expand Down
2 changes: 1 addition & 1 deletion debian/browser-plugin-lightspark.install
@@ -1 +1 @@
usr/lib/mozilla/plugins
usr/lib/lightspark/liblightsparkplugin.so
30 changes: 30 additions & 0 deletions debian/browser-plugin-lightspark.postinst
@@ -0,0 +1,30 @@
#!/bin/sh

set -e

case "$1" in
configure)
for p in iceape iceweasel mozilla firefox xulrunner midbrowser xulrunner-addons; do
if [ -d /usr/lib/$p/plugins ] then
update-alternatives --install "/usr/lib/$p/plugins/flashplugin-alternative.so" "$p-flashplugin" /usr/lib/lightspark/liblightsparkplugin.so 60;
fi
done
for a in `find /usr/lib/firefox-3.*/.autoreg || true`; do
touch $a
done
;;
abort-upgrade|abort-remove|abort-deconfigure)
echo "postinst called with argument \`$1'" >&2
exit 1
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac

#DEBHELPER

exit 0

24 changes: 24 additions & 0 deletions debian/browser-plugin-lightspark.prerm
@@ -0,0 +1,24 @@
#!/bin/sh

set -e

case "$1" in
remove|upgrade|deconfigure)
for p in iceape iceweasel mozilla firefox xulrunner midbrowser xulrunner-addons; do
update-alternatives --remove "$p-flashplugin" /usr/lib/lightspark/liblightsparkplugin.so || true;
done
;;
failed-upgrade)
echo "error (failed-upgrade): prerm called with argument \`$1'" >&2
exit 1
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac

#DEBHELPER#

exit 0

6 changes: 6 additions & 0 deletions debian/changelog
@@ -1,3 +1,9 @@
lightspark (0.4.3-0ubuntu1) lucid; urgency=low

* New release

-- Alessandro Pignotti <a.pignotti@sssup.it> Tue, 10 Aug 2010 13:13:08 +0200

lightspark (0.4.3~rc1-0ubuntu1) lucid; urgency=low

* New release candidate
Expand Down
2 changes: 1 addition & 1 deletion debian/lightspark-common.install
@@ -1,2 +1,2 @@
usr/share/lightspark/
usr/lib/lightspark
usr/lib/lightspark/liblightspark.so*
1 change: 1 addition & 0 deletions debian/rules
Expand Up @@ -7,6 +7,7 @@ override_dh_auto_configure:
dh_auto_configure -- \
-DCOMPILE_PLUGIN=1 \
-DCMAKE_BUILD_TYPE=Debian \
-DENABLE_DEBIAN_ALTERNATIVES=1 \
-DCMAKE_INSTALL_PREFIX=/usr

override_dh_strip:
Expand Down

0 comments on commit 7e0d51c

Please sign in to comment.