[Debian-in-commits] [SCM] fonts-gubbi.git branch, master, updated. upstream/1.0-6-g307a37a

Vasudev Kamath kamathvasudev at gmail.com
Fri Jan 27 07:39:33 UTC 2012


The following commit has been merged in the master branch:
commit 307a37a0b19adc54a8a2a63ab9a010fc15c2d56a
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date:   Fri Jan 27 13:09:27 2012 +0530

    Introduced udeb fonts-knda-udeb into this package. Resulting whole bunch of restructuring for package

diff --git a/debian/90-fonts-gubbi.conf b/debian/65.0-fonts-gubbi.conf
similarity index 100%
rename from debian/90-fonts-gubbi.conf
rename to debian/65.0-fonts-gubbi.conf
diff --git a/debian/changelog b/debian/changelog
index ef003bd..4f5381c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,24 @@
+fonts-gubbi (1.0-3) unstable; urgency=low
+
+  * Team upload.
+  * debian/control:
+    + Added fonts-knda-udeb for D-I and ttf-knda-fonts-udeb dummy packages
+  * debian/fonts-knda-udeb.install:
+    + Introduced this file for fonts-knda-udeb package for D-I
+  * debian/fonts-gubbi.install:
+    + Renamed existing install file to fonts-gubbi.install
+    + Font should be installed to Gubbi directory instead of fonts-gubbi under
+      /usr/share/fonts/truetype directory.
+  * Renamed 90-fonts-knda.conf to 65.0-fonts-knda.conf to override
+    65-nonlatin.conf shipped with fontconfig 
+  * debian/fonts-gubbi.preinst:
+    + Introduced to remove previously used fonts-gubbi directory before
+      installing fonts to Gubbi directory
+  * debian/fonts-gubbi.links
+    + Renamed the links file to fonts-gubbi.links
+
+ -- Vasudev Kamath <kamathvasudev at gmail.com>  Fri, 27 Jan 2012 13:01:16 +0530
+
 fonts-gubbi (1.0-2) unstable; urgency=low
 
   * debian/watch:
diff --git a/debian/control b/debian/control
index 84417fc..06ac3d3 100644
--- a/debian/control
+++ b/debian/control
@@ -16,3 +16,24 @@ Depends: ${misc:Depends}
 Description: Gubbi Kannada font
  This package provides a font for Kannada script (kn) which is
  primarily used in the Indian state of Karnataka.
+
+Package: fonts-knda-udeb
+Package-Type: udeb
+Section: debian-installer
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: ttf-kannada-fonts-udeb
+Replaces: ttf-kannada-fonts-udeb
+Description: Free fonts for Kannada language (udeb)
+ This package provides Kannada script font for use with GTK+ front-end
+ of debian-installer.
+
+Package: ttf-kannada-fonts-udeb
+Package-Type: udeb
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends},
+         fonts-knda-udeb
+Description: transitional dummy package
+ This is a transitional dummy package and can be removed safely
+ later.
diff --git a/debian/fonts-gubbi.install b/debian/fonts-gubbi.install
new file mode 100644
index 0000000..dbc516b
--- /dev/null
+++ b/debian/fonts-gubbi.install
@@ -0,0 +1,2 @@
+./TTFFiles/Gubbi.ttf usr/share/fonts/truetype/Gubbi/
+./debian/65.0-fonts-gubbi.conf etc/fonts/conf.avail/
diff --git a/debian/fonts-gubbi.links b/debian/fonts-gubbi.links
new file mode 100644
index 0000000..eec36df
--- /dev/null
+++ b/debian/fonts-gubbi.links
@@ -0,0 +1 @@
+etc/fonts/conf.avail/65.0-fonts-gubbi.conf etc/fonts/conf.d/65.0-fonts-gubbi.conf
diff --git a/debian/fonts-gubbi.preinst b/debian/fonts-gubbi.preinst
new file mode 100644
index 0000000..8281ff4
--- /dev/null
+++ b/debian/fonts-gubbi.preinst
@@ -0,0 +1,38 @@
+#!/bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+        if [ -d /usr/share/fonts/truetype/fonts-gubbi ]; then
+            rm -rf /usr/share/fonts/truetype/fonts-gubbi/
+        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/fonts-knda-udeb.install b/debian/fonts-knda-udeb.install
new file mode 100644
index 0000000..f54acfa
--- /dev/null
+++ b/debian/fonts-knda-udeb.install
@@ -0,0 +1 @@
+TTFFiles/Gubbi.ttf usr/share/fonts/truetype/gubbi/
\ No newline at end of file
diff --git a/debian/install b/debian/install
deleted file mode 100644
index 2046dc0..0000000
--- a/debian/install
+++ /dev/null
@@ -1,2 +0,0 @@
-./TTFFiles/Gubbi.ttf usr/share/fonts/truetype/fonts-gubbi/
-./debian/90-fonts-gubbi.conf etc/fonts/conf.avail/
diff --git a/debian/links b/debian/links
deleted file mode 100644
index 8beadbe..0000000
--- a/debian/links
+++ /dev/null
@@ -1 +0,0 @@
-etc/fonts/conf.avail/90-fonts-gubbi.conf etc/fonts/conf.d/90-fonts-gubbi.conf

-- 
fonts-gubbi.git



More information about the Debian-in-commits mailing list