~ubuntu-branches/ubuntu/utopic/flwm/utopic

« back to all changes in this revision

Viewing changes to debian/menu-method

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2003-06-20 14:43:16 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20030620144316-ssuhdun9rvi9li4d
Tags: 1.00-5.1
* NMU (playing at home the Debcamp BSP).
* debian/menu-method:
   + prerun: Add -depth to ensure we delete the children before the 
     directory.
   + Add outputencoding.
* debian/postinst, debian/prerm: remove /usr/share/doc transition code.
* debian/control: 
   + Conflicts with menu (<< 2.1.8-1) since menu-methods use $basesection.
   + In fact Conflicts with menu (<< 2.1.9-1) since menu-methods use 
     outputencoding.
   + Build-Depends: Remove '| libfltk-dev' since flwm does not build
     with libfltk1-dev. Closes: #196400.
   + Build-Depends: Add libfltk1.1-dev (>= 1.1.3-2.1) to force
     linkage with libXft.so.2. Closes: #191982.
   + Build-Depends: In fact, add libfltk1.1-dev (>= 1.1.3+1.1.4rc1-3) to
     avoid libfltk version where fl_xfont is NULL. Closes: #190389.
     Thanks Aaron Ucko.
* debian/copyright: 
   + Add new web site URL. Closes: #199435.  Thanks Adrian Bunk.
   + Change Author(s): to Author: to make lintian happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
!include menu.h
6
6
 
 
7
outputencoding="ISO-8859-1"
 
8
 
7
9
# Make menus into directories and entries into files; deal with entries that
8
10
# contain slashes like "Communicator (static/461) Browser"
9
 
genmenu=parent($section) "/" replacewith($title, "/", "_") \
 
11
genmenu=$basesection "/" replacewith($title, "/", "_") \
10
12
        ifelse($command, "", "/")
11
13
 
12
14
rootprefix="/etc/X11/flwm/wmx/"
17
19
preoutput= "#! /bin/sh\n# This file was automatically generated (see /usr/doc/menu).\n# DO NOT EDIT!\n"
18
20
 
19
21
# Clean-up files we may have generated in an earlier run first.
20
 
prerun="find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty"
 
22
prerun="test -d " prefix() " && ( find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty )"
21
23
 
22
24
# And make the generated scripts executable afterwards.
23
25
postrun="find " prefix() " -type f -print0 | xargs -0 chmod a+x"