OpenLayers OpenLayers

Changeset 5580

Show
Ignore:
Timestamp:
12/29/07 11:46:36 (1 year ago)
Author:
crschmidt
Message:

Change to multiple binary packages.

Files:

Legend:

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

    r5577 r5580  
    1414 implements a JavaScript API for building rich web-based geographic 
    1515 applications, similar to the Google Maps and MSN Virtual Earth APIs, 
     16 
     17Package: openlayers-utils 
     18Architecture: any 
     19Depends: ${shlibs:Depends}, ${misc:Depends}, python, openlayers  
     20Description: Utilities for use with OpenLayers, for building custom libs 
     21 OpenLayers allows users to build customized versions of their library 
     22 to save on size or not include unneccesary components. This package  
     23 contains the tools to install these utilities.  
     24 
     25Package: openlayers-apache 
     26Architecture: any 
     27Depends: ${shlibs:Depends}, ${misc:Depends}, apache2, openlayers 
     28Description: OpenLayers Apache server configuration 
     29 This package enables the OpenLayers library, installed in /usr/share/openlayers, 
     30 to be browsed at http://yourmachine.example.com/openlayers/OpenLayers.js, which 
     31 makes the examples included with the distribution functional and also makes the 
     32 code available for other applications. 
  • sandbox/crschmidt/debian/openlayers.7

    r5577 r5580  
    1414software community. 
    1515 
    16 OpenLayers on Debian is set up to be used via Apache: to enable the 
    17 use of OpenLayers, use: 
    18  
    19 .nf  
    20   # /usr/sbin/a2ensite openlayers 
    21   Site openlayers installed; run /etc/init.d/apache2 reload to enable. 
    22   # /etc/init.d/apache2 reload 
    23 .fi   
    24  
    25 This will make the OpenLayers library available from  
     16If you use Apache, you likely want to install the openlayers-apache 
     17package, which will make the OpenLayers library available from  
    2618.nh  
    2719http://localhost/openlayers/OpenLayers.js.  
    2820.hy 
    2921 
     22This  
    3023.SH SEE ALSO 
    3124.BR tilecache (8) 
  • sandbox/crschmidt/debian/openlayers.dirs

    r5577 r5580  
    1 usr/bin 
    2 usr/lib/openlayers 
    31usr/share/openlayers 
    4 usr/share/openlayers/build 
    52usr/share/openlayers/lib 
    63usr/share/openlayers/img 
  • sandbox/crschmidt/debian/openlayers.manpages

    r5577 r5580  
    11debian/openlayers.7 
    2 debian/openlayers_build.1 
  • sandbox/crschmidt/debian/rules

    r5578 r5580  
    77 
    88# Uncomment this to turn on verbose mode. 
    9 #export DH_VERBOSE=1 
     9export DH_VERBOSE=1 
    1010 
    1111configure: configure-stamp 
     
    3939     
    4040    # apache site for allowing users to turn on OpenLayers easily 
    41     mkdir -p $(CURDIR)/debian/openlayers/etc/apache2/sites-available/ 
    42     cp $(CURDIR)/debian/openlayers-apache-conf  $(CURDIR)/debian/openlayers/etc/apache2/sites-available/openlayers 
     41    cp $(CURDIR)/debian/openlayers-apache-conf  $(CURDIR)/debian/openlayers-apache/etc/apache2/sites-available/openlayers 
    4342     
    4443    # The actual library + supporting files 
     
    5150 
    5251    # Needed for openlayers_build 
    53     cp $(CURDIR)/tools/jsmin.py $(CURDIR)/debian/openlayers/usr/lib/openlayer
    54     chmod -x $(CURDIR)/debian/openlayers/usr/lib/openlayers/jsmin.py 
    55     sed -i -e 's?#!/usr/bin/python??' $(CURDIR)/debian/openlayers/usr/lib/openlayers/jsmin.py  
    56     cp $(CURDIR)/tools/mergejs.py $(CURDIR)/debian/openlayers/usr/lib/openlayer
    57     chmod -x $(CURDIR)/debian/openlayers/usr/lib/openlayers/mergejs.py 
    58     sed -i -e 's?#!/usr/bin/env python??' $(CURDIR)/debian/openlayers/usr/lib/openlayers/mergejs.py 
    59     cp $(CURDIR)/tools/toposort.py $(CURDIR)/debian/openlayers/usr/lib/openlayer
     52    cp $(CURDIR)/tools/jsmin.py $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-util
     53    chmod -x $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/jsmin.py 
     54    sed -i -e 's?#!/usr/bin/python??' $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/jsmin.py  
     55    cp $(CURDIR)/tools/mergejs.py $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-util
     56    chmod -x $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/mergejs.py 
     57    sed -i -e 's?#!/usr/bin/env python??' $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-utils/mergejs.py 
     58    cp $(CURDIR)/tools/toposort.py $(CURDIR)/debian/openlayers-utils/usr/lib/openlayers-util
    6059 
    61     cp $(CURDIR)/build/license.txt  $(CURDIR)/debian/openlayers/usr/share/openlayers/build 
    62     cp $(CURDIR)/build/lite.cfg  $(CURDIR)/debian/openlayers/usr/share/openlayers/build 
    63     cp $(CURDIR)/build/build.py $(CURDIR)/debian/openlayers/usr/bin/openlayers_build 
    64     sed -i -e 's!../lib!/usr/share/openlayers/lib!' \ 
    65            -e 's!../tools!/usr/lib/openlayers!' \ 
    66            -e 's!license.txt!/usr/share/openlayers/build/license.txt!' \ 
    67            -e 's!library.cfg!/usr/share/openlayers/build/lite.cfg!' \ 
    68            $(CURDIR)/debian/openlayers/usr/bin/openlayers_build 
     60    cp $(CURDIR)/build/license.txt  $(CURDIR)/debian/openlayers-utils/usr/share/openlayers-utils/build 
     61    cp $(CURDIR)/build/lite.cfg  $(CURDIR)/debian/openlayers-utils/usr/share/openlayers-utils/build 
     62    cp $(CURDIR)/build/build.py $(CURDIR)/debian/openlayers-utils/usr/bin/openlayers_build 
     63    sed -i -e 's!../lib!/usr/share/openlayers-utils/lib!' \ 
     64           -e 's!../tools!/usr/lib/openlayers-utils!' \ 
     65           -e 's!license.txt!/usr/share/openlayers-utils/build/license.txt!' \ 
     66           -e 's!library.cfg!/usr/share/openlayers-utils/build/lite.cfg!' \ 
     67           $(CURDIR)/debian/openlayers-utils/usr/bin/openlayers_build 
    6968 
    7069binary-indep: build install