~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to packaging/snapshot.am

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#
30
30
 
31
31
# start by creating the initial tarball using the dist-bzip2 target.
32
 
# This uses the default version for Gnash. which is 'cvs'. So we
 
32
# This uses the default version for Gnash. which is 'trunk'. So we
33
33
# rename it to the dir we want to stay clear. Then we change the default
34
 
# version from 'cvs' to a date stamped version of cvs, like '20080202cvs'
35
 
snapshot: distdir dist-hook
 
34
# version from 'trunk' to a date stamped version of trunk, like
 
35
# '20080202trunk'
 
36
snapshot: distdir
36
37
        -@now=`date "+%Y%m%d"`; \
37
 
        pkgname="gnash-$${now}cvs"; \
 
38
        pkgname="gnash-$${now}trunk"; \
38
39
        snapshot_dir="$${pkgname}"; \
39
40
        snapshot_tar="$${pkgname}.tar.gz"; \
40
41
        if test -d $${snapshot_dir}; then \
41
42
          rm -fr $${snapshot_dir}; \
42
43
        fi; \
43
 
        mv -f gnash-cvs $${snapshot_dir}; \
 
44
        mv -f gnash-trunk $${snapshot_dir}; \
44
45
        if test ! -f $${snapshot_dir}/configure.ac.orig; then \
45
46
          mv -f $${snapshot_dir}/configure.ac $${snapshot_dir}/configure.ac.orig; \
46
 
          sed -e "s/AC_INIT(gnash, cvs)/AC_INIT(gnash, $${now}cvs)/" \
 
47
          sed -e "s/AC_INIT(gnash, trunk)/AC_INIT(gnash, $${now}trunk)/" \
47
48
            $${snapshot_dir}/configure.ac.orig > $${snapshot_dir}/configure.ac; \
48
49
          cd $${snapshot_dir} ; ./autogen.sh; cd .. ;\
49
50
        fi; \
50
 
        tar zcvf $${snapshot_tar} --exclude="*CVS" --exclude=$${snapshot_dir}/autom4te.cache \
 
51
        tar zcvf $${snapshot_tar} --exclude=$${snapshot_dir}/autom4te.cache \
51
52
          --exclude=$${snapshot_dir}/configure.ac.orig $${snapshot_dir}
52
53
#       $(RM) -fr $${snapshot_dir}
53
54
 
54
55
snapshot-configure: snapshot
55
56
        -@now=`date "+%Y%m%d"`; \
56
 
        pkgname="gnash-$${now}cvs"; \
 
57
        pkgname="gnash-$${now}trunk"; \
57
58
        snapshot_dir="$${pkgname}"; \
58
59
        snapshot_build="$${snapshot_dir}/_build"; \
59
60
        if test ! -d $${snapshot_build}; then \
79
80
 
80
81
snapshot-build: snapshot-configure
81
82
        -@now=`date "+%Y%m%d"`; \
82
 
        pkgname="gnash-$${now}cvs"; \
 
83
        pkgname="gnash-$${now}trunk"; \
83
84
        snapshot_dir="$${pkgname}"; \
84
85
        snapshot_build="$${snapshot_dir}/_build"; \
85
86
        $(LN_S) -f $${snapshot_build}/packaging/doc $${snapshot_build}/packaging/; \
90
91
# DocBook and DocBook2X aren't installed on this machine.
91
92
snapshot-install: #snapshot-build
92
93
        now=`date "+%Y%m%d"`; \
93
 
        snapshot_dir="gnash-$${now}cvs"; \
 
94
        snapshot_dir="gnash-$${now}trunk"; \
94
95
        snapshot_build="$${snapshot_dir}/_build"; \
95
 
        snapshot_dest="/tmp/gnash-$${now}cvs-tmp"; \
 
96
        snapshot_dest="/tmp/gnash-$${now}trunk-tmp"; \
96
97
        $(MAKE) $(AM_MAKEFLAGS) -C $${snapshot_build} install install-plugins DESTDIR=$${snapshot_dest}
97
98
 
98
99
# We only want to bundle an installed gnash, so all the linker paths are
99
100
# correct
100
101
snapshot-bundle: #snapshot-install
101
102
        -@now=`date "+%Y%m%d"`; \
102
 
        pkgname="gnash-$${now}cvs"; \
 
103
        pkgname="gnash-$${now}trunk"; \
103
104
        snapshot_dest="/tmp/$${pkgname}-tmp"; \
104
105
        snapshot_tmp="/tmp/$${pkgname}"; \
105
106
        snapshot_tar="$${snapshot_tmp}-$(host_cpu)-$(host_os).tar.gz"; \
124
125
snapshot-rpm: snapshot $(srcdir)/packaging/redhat/gnash.spec
125
126
        -@rm -f /usr/src/redhat/SPECS/gnash.spec
126
127
        now=`date "+%Y%m%d"`; \
127
 
        pkgname="gnash-$${now}cvs"; \
 
128
        pkgname="gnash-$${now}trunk"; \
128
129
        snapshot_tar="$${pkgname}.tar.gz"; \
129
130
        sed -e "s:%define version .*:%define version $${now}:" $(srcdir)/packaging/redhat/gnash.spec > /usr/src/redhat/SPECS/gnash.spec; \
130
131
        cp $${snapshot_tar} /usr/src/redhat/SOURCES/