gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash Makefile.am ChangeLog packaging/xpi.am pa...


From: Rob Savoye
Subject: [Gnash-commit] gnash Makefile.am ChangeLog packaging/xpi.am pa...
Date: Sat, 07 Jun 2008 14:14:19 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    08/06/07 14:14:19

Modified files:
        .              : Makefile.am ChangeLog 
Added files:
        packaging      : xpi.am 
        packaging/xpi  : install.rdf 

Log message:
                * Makefile.am: Include xpi.am for XPI packages.
                * packaging/xpi.am: XPI packaging support.
                * packaging/xpi/install.rdf: Install data file for XPI.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/Makefile.am?cvsroot=gnash&r1=1.115&r2=1.116
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6854&r2=1.6855
http://cvs.savannah.gnu.org/viewcvs/gnash/packaging/xpi.am?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/packaging/xpi/install.rdf?cvsroot=gnash&rev=1.1

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/Makefile.am,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- Makefile.am 6 Jun 2008 11:04:06 -0000       1.115
+++ Makefile.am 7 Jun 2008 14:14:18 -0000       1.116
@@ -116,6 +116,11 @@
 include $(srcdir)/packaging/bsd.am
 
 #
+# Mozille/Firefox XPI support
+#
+include $(srcdir)/packaging/xpi.am
+
+#
 # Binary tarball packaging
 #
 include $(srcdir)/packaging/snapshot.am

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6854
retrieving revision 1.6855
diff -u -b -r1.6854 -r1.6855
--- ChangeLog   7 Jun 2008 12:44:25 -0000       1.6854
+++ ChangeLog   7 Jun 2008 14:14:18 -0000       1.6855
@@ -1,3 +1,9 @@
+2008-06-07  Rob Savoye  <address@hidden>
+
+       * Makefile.am: Include xpi.am for XPI packages.
+       * packaging/xpi.am: XPI packaging support.
+       * packaging/xpi/install.rdf: Install data file for XPI.
+
 2008-06-07 Benjamin Wolsey <address@hidden>
 
        * testsuite/actionscript.all/Matrix_as: tests for clone() and

Index: packaging/xpi.am
===================================================================
RCS file: packaging/xpi.am
diff -N packaging/xpi.am
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ packaging/xpi.am    7 Jun 2008 14:14:18 -0000       1.1
@@ -0,0 +1,76 @@
+# 
+#   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# 
+
+#
+# Build a Debian Familiar .ipk GNU/Linux package. These are always
+# cross compiled, typically for the ARM or XScale.
+#
+
+# this is where the output of "make install" goes, which is what
+# we use to build the package.
+XPI_TMP=/tmp/$(host_alias)-gnash
+
+# this is where we build the bundle that goes in the xpi file
+XPI_BUNDLE=$(XPI_TMP)/bundle
+
+# this is where the gnash gets compiled
+XPI_BUILD=gnash-${VERSION}
+
+xpi-unpack: $(top_builddir)/config.status
+       address@hidden -f xpi-*         # nuke everything, we're starting over
+       address@hidden -f xpi-unpack
+       rm -rf $(XPI_BUILD)
+       tar jxf $(XPI_BUILD).tar.bz2
+       @touch xpi-unpack
+
+xpi-configure: xpi-unpack $(XPI_BUILD)
+       address@hidden -f ipkg-configure
+       cd $(XPI_BUILD); ./configure \
+         --disable-kparts --enable-gui=gtk \
+       --with-plugins-install=system
+       @touch xpi-configure 
+
+xpi-build: xpi-configure
+       address@hidden -f xpi-build
+       $(MAKE) -C $(XPI_BUILD) all
+       @touch xpi-build
+
+xpi-install: xpi-build Makefile
+       address@hidden -f xpi-install
+       $(MAKE) -C $(XPI_BUILD) install install-plugin DESTDIR=$(XPI_TMP)
+       @touch xpi-install
+
+xpi-depend: 
+       address@hidden -f xpi-depend
+       @touch xpi-depend
+
+xpi xpi-bundle: xpi-install # xpi-depend
+       if ! test -d $(XPI_TMP)/plugins ; then \
+         mkdir $(XPI_TMP)/plugins; \
+       fi
+       topdir=`cd ${top_srcdir}; pwd`; \
+       for i in install.rdf; do \
+         cp -f $${topdir}/packaging/xpi/$$i $(XPI_BUNDLE)/; \
+       done; \
+       xpi-build $(XPI_TMP)
+
+xpi-clean:
+       rm -fr xpi-* $(XPI_BUILD) $(XPI_TMP) gnash*$(VERSION)*.ipk
+
+.PHONY : xpi xpi-bundle
+
+

Index: packaging/xpi/install.rdf
===================================================================
RCS file: packaging/xpi/install.rdf
diff -N packaging/xpi/install.rdf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ packaging/xpi/install.rdf   7 Jun 2008 14:14:19 -0000       1.1
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+
+<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+     xmlns:em="http://www.mozilla.org/2004/em-rdf#";>
+  <Description about="urn:mozilla:install-manifest">
+    <!-- properties -->
+    <em:name>Gnash</em:name>
+    <em:id>address@hidden</em:id>
+    <em:version>0.8.3</em:version>
+    <em:type>2</em:type>
+    <em:updateURL>http://www.gnashdev.org/updates</em:updateURL>
+    <em:homepageURL>http://www.gnu.org/software/gnash</em:homepageURL>
+    <em:description>GNU swf file player</em:description>
+    <em:creator>Gnash Team</em:creator>
+  </Description>
+</RDF>
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]