OpenLayers OpenLayers

Changeset 5636

Show
Ignore:
Timestamp:
01/03/08 01:57:38 (1 year ago)
Author:
crschmidt
Message:

Update code to not use jsmin. Add notes to README.Debian on how to get
jsmin-ified version of OpenLayers.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/crschmidt/debian/control

    r5618 r5636  
    33Priority: extra 
    44Maintainer: Christopher Schmidt <crschmidt@metacarta.com> 
    5 Build-Depends: debhelper (>= 5), dpatch 
     5Build-Depends: debhelper (>= 5), dpatch, python 
    66Standards-Version: 3.7.3 
    77Homepage: http://openlayers.org/ 
  • sandbox/crschmidt/debian/openlayers.README.Debian

    r5580 r5636  
    2121available. This default can be enabled by installing the openlayers-apache package. 
    2222 
    23  -- Christopher Schmidt <crschmidt@metacarta.com>  Sat, 29 Dec 2007 07:17:03 -0500 
     23The OpenLayers.js shipped with this package is not compressed using jsmin like 
     24the standard OpenLayers distribution. If you wish to create an OpenLayers.js 
     25in this manner, you will need to:  
     26  
     27 * Install openlayers-utils 
     28 * Download http://javascript.crockford.com/jsmin.py.txt as  
     29   http://javascript.crockford.com/jsmin.py 
     30 * Run `openlayers_build /usr/share/openlayers-util/build/full` 
     31 
     32 -- Christopher Schmidt <crschmidt@metacarta.com>  Thu,  3 Jan 2008 01:51:16 -0500 
  • sandbox/crschmidt/debian/patches/00list

    r5584 r5636  
    11apache_license_fixes 
     2remove_jsmin 
     3update_build 
  • sandbox/crschmidt/debian/rules

    r5585 r5636  
    2222    touch $@ 
    2323 
    24 depatch: 
     24unpatch: 
    2525    dpatch deapply-all 
    2626 
    27 clean: depatch 
     27clean: unpatch 
    2828    dh_testdir 
    2929    dh_testroot 
     
    4646     
    4747    # The actual library + supporting files 
    48     cp $(CURDIR)/OpenLayers.js  $(CURDIR)/debian/openlayers/usr/share/openlayers/www 
     48    cd $(CURDIR)/build/ && python build.py full $(CURDIR)/debian/openlayers/usr/share/openlayers/www/OpenLayers.js 
    4949    cp -r $(CURDIR)/img/*  $(CURDIR)/debian/openlayers/usr/share/openlayers/www/img 
    5050    cp -r $(CURDIR)/theme/*  $(CURDIR)/debian/openlayers/usr/share/openlayers/www/theme 
     
    5858 
    5959    # Needed for openlayers_build 
    60     cp $(CURDIR)/tools/jsmin.py $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils 
    61     chmod -x $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/jsmin.py 
    62     sed -i -e 's?#!/usr/bin/python??' $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/jsmin.py  
     60    cp $(CURDIR)/tools/minimize.py $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils 
    6361    cp $(CURDIR)/tools/mergejs.py $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils 
    6462    chmod -x $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/mergejs.py 
     
    6866    cp $(CURDIR)/build/license.txt  $(CURDIR)/debian/openlayers-utils/usr/share/openlayers-utils/build 
    6967    cp $(CURDIR)/build/lite.cfg  $(CURDIR)/debian/openlayers-utils/usr/share/openlayers-utils/build 
     68    cp $(CURDIR)/build/full.cfg  $(CURDIR)/debian/openlayers-utils/usr/share/openlayers-utils/build 
    7069    cp $(CURDIR)/build/build.py $(CURDIR)/debian/openlayers-utils/usr/bin/openlayers_build 
    7170    sed -i -e 's!../lib!/usr/share/openlayers-utils/lib!' \