wip packaging
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2012 20:46:54 +0000 (20:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2012 20:46:54 +0000 (20:46 +0000)
debian/control
debian/lintian-overrides [new file with mode: 0644]
debian/xfonts-traditional.config [changed mode: 0644->0755]
debian/xfonts-traditional.postinst [changed mode: 0644->0755]
debian/xfonts-traditional.postrm [changed mode: 0644->0755]
debian/xfonts-traditional.prerm [changed mode: 0644->0755]
debian/xfonts-traditional.templates

index 3fc9dec..1cbfd62 100644 (file)
@@ -7,7 +7,7 @@ Build-Depends: xfonts-utils, pcf2bdf
 
 Package: xfonts-traditional
 Architecture: all
 
 Package: xfonts-traditional
 Architecture: all
-Depends: xfonts-utils, pcf2bdf
+Depends: xfonts-utils, pcf2bdf, ${misc:Depends}, ${perl:Depends}
 Description: Traditional fixed-with fonts for X
  Provides "traditional" versions of fixed-width fonts.
  .
 Description: Traditional fixed-with fonts for X
  Provides "traditional" versions of fixed-width fonts.
  .
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644 (file)
index 0000000..bed5102
--- /dev/null
@@ -0,0 +1 @@
+using-first-person-in-templates xfonts-traditional/remap-fixed
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index a2786a6..5cb9a99
@@ -11,7 +11,7 @@ remove)
 
        if grep '^fixed[         ][      ]*-trad-'; then
                cat >&2 <<END
 
        if grep '^fixed[         ][      ]*-trad-'; then
                cat >&2 <<END
-Removing xfonts-traditional would probably your X server by removing "fixed".
+Removing xfonts-traditional would break your X server by removing "fixed".
 
 You should not remove xfonts-traditional while "fixed" refers to one
 of its fonts.  You probably want to check the differences between
 
 You should not remove xfonts-traditional while "fixed" refers to one
 of its fonts.  You probably want to check the differences between
@@ -27,8 +27,6 @@ END
                esac
        fi
 
                esac
        fi
 
-       ;;
-
        find /usr/share/fonts/X11 /usr/local/share/fonts/X11 \
                   -type f \
                \( -name xfonts-traditional.log -o \
        find /usr/share/fonts/X11 /usr/local/share/fonts/X11 \
                   -type f \
                \( -name xfonts-traditional.log -o \
@@ -42,4 +40,6 @@ END
                   -name trad--\*.pcf.gz \
                -print0 | xargs -0r rm
 
                   -name trad--\*.pcf.gz \
                -print0 | xargs -0r rm
 
+       ;;
+
 esac
 esac
index 046f926..f309757 100644 (file)
@@ -14,17 +14,17 @@ Template: xfonts-traditional/remap-fixed
 Type: boolean
 Default: true
 Description: Configure system to use traditional "fixed"?
 Type: boolean
 Default: true
 Description: Configure system to use traditional "fixed"?
- Would you like the font alias "fixed" remapped to the traditional version?
+ You can have the font alias "fixed" remapped to the traditional version.
  .
  .
- If you say "yes", I will edit /etc/X11/fonts/misc/xfonts-base.alias
+ If you approve, I will edit /etc/X11/fonts/misc/xfonts-base.alias
  for you, and save your old file as xfonts-base.alias.not-trad.  (Note
  that this is a conffile so you may get prompts from dpkg about it in
  the future.)  This will also make the xfonts-traditional package
  harder to safely remove.  
  .
  for you, and save your old file as xfonts-base.alias.not-trad.  (Note
  that this is a conffile so you may get prompts from dpkg about it in
  the future.)  This will also make the xfonts-traditional package
  harder to safely remove.  
  .
- If you say no I will generate xfonts-base-alias.trad for you to do
- what you like with.
+ Alternatively, if you do not want me to change the default, I will
generate xfonts-base-alias.trad for you to do what you like with.
  .
  .
- To revert this change, simply change the alias fixed back from
- "-trad-..."  to "-misc-...", or rename the old file back into place,
and dpkg-reconfigure xfonts-base-traditional.
+ To revert the change to the default, simply change the alias fixed
+ back from "-trad-..."  to "-misc-...", or rename the old file back
into place.