Changeset 306 for trunk


Ignore:
Timestamp:
08/03/09 10:11:39 (3 years ago)
Author:
marc
Message:

Fixed Menu, improved makefile (backported from trunk), don't install so many images

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r297 r306  
    1010 * Don't check for system compatibility of Libnotify 
    1111 * Code cleanup towards PEP-8 compliance 
    12  * Simplified and improved Makefile 
    1312 
    14130.2.2: 
    1514 * Fixed a fatal bug with Python 2.6/PyGTK 2.14 
     15 * Simplified and improved Makefile 
    1616 
    17170.2.1: 
  • trunk/Makefile

    r298 r306  
    2626 
    2727install:  
     28        # Replace images and locales directory 
    2829        mv config.py config.py.old 
    2930        mv itaka.py itaka.py.old 
    3031        sed -e "s|/usr/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 
    3132        sed -e "s|/usr/share/locale/|$(REPLACELOCALEDIR)|g" itaka.py.old > itaka.py 
     33        mv config.py.old config.py 
     34        mv itaka.py.old itaka.py 
     35         
    3236        $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(IMAGESDIR) $(APPLICATIONSDIR) $(ICONDIR) $(MANDIR) 
    3337        $(INSTALL) -m 755 *.py $(LIBDIR) 
    34         $(INSTALL) -m 644 share/images/* $(IMAGESDIR) 
    35         $(INSTALL) -m 644 share/images/itaka.png $(ICONDIR) 
     38 
     39        # We only need a few images 
     40        $(INSTALL) -m 644 share/images/itaka.png $(IMAGESDIR) 
     41        $(INSTALL) -m 644 share/images/itaka-take.png $(IMAGESDIR) 
     42        $(INSTALL) -m 644 share/images/itaka16x16-take.png $(IMAGESDIR) 
     43        $(INSTALL) -m 644 share/images/itaka64x64.png $(IMAGESDIR) 
     44 
     45        ln -sf share/images/itaka.png $(ICONDIR)/itaka.png 
     46 
    3647        $(INSTALL) -m 644 share/itaka.desktop $(APPLICATIONSDIR) 
    3748        gzip -9 -c share/itaka.1 > share/itaka.1.gz 
     
    4152        echo $( ls $(BINDIR)/itaka ) 
    4253        chmod +x $(BINDIR)/itaka 
    43         mv config.py.old config.py 
    44         mv itaka.py.old itaka.py 
    4554         
    4655        for lang in locale/*; do  
  • trunk/debian/itaka.menu

    r302 r306  
    33    section="Applications/Network/Monitoring" \ 
    44    title="Itaka" \ 
    5     longtitle="Itaka Screenshot Server" 
     5    longtitle="Itaka Screenshot Server" \ 
    66    command="/usr/bin/itaka" \ 
    77    hints="screenshooting" \ 
  • trunk/debian/rules

    r305 r306  
    11#!/usr/bin/make -f 
    22# -*- makefile -*- 
    3 # Sample debian/rules that uses debhelper. 
    4 # This file was originally written by Joey Hess and Craig Small. 
    5 # As a special exception, when this file is copied by dh-make into a 
    6 # dh-make output file, you may use that output file without restriction. 
    7 # This special exception was added by Craig Small in version 0.37 of dh-make. 
    83 
    94# Uncomment this to turn on verbose mode. 
Note: See TracChangeset for help on using the changeset viewer.