debian/0000755000000000000000000000000012252775241007175 5ustar debian/fonts-hanazono.postinst0000644000000000000000000000255012245144354013745 0ustar #! /bin/sh set -e FONTCONF_FILE=64-ttf-hanazono.conf # font alternatives ALT_NAME_OLD="ttf-japanese-mincho" ALT_NAME="fonts-japanese-mincho" FONT_ENTRY="/usr/share/fonts/truetype/hanazono/HanaMinA.ttf" FONT_PRIORITY=20 remove_old_alternate_font_entry() { # remove old 'ttf-japanese-mincho' alternatives if [ -f /usr/share/fonts/truetype/$ALT_NAME_OLD ]; then rm -rf /usr/share/fonts/truetype/$ALT_NAME_OLD fi # remove old 'ttf-japanese-mincho.ttf' alternatives if [ -f /usr/share/fonts/truetype/$ALT_NAME_OLD.ttf ]; then update-alternatives --remove $ALT_NAME_OLD.ttf $FONT_ENTRY fi } add_alternate_font_entry() { update-alternatives --install \ /usr/share/fonts/truetype/$ALT_NAME.ttf \ $ALT_NAME.ttf \ $FONT_ENTRY \ $FONT_PRIORITY } case "$1" in configure) # if old conffile exists, then remove it. if [ -f /etc/fonts/conf.d/${FONTCONF_FILE} ]; then rm /etc/fonts/conf.d/${FONTCONF_FILE} fi # alternatives remove_old_alternate_font_entry add_alternate_font_entry ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst 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 debian/fonts-hanazono.prerm0000644000000000000000000000117612245144354013212 0ustar #! /bin/sh set -e # font alternatives ALT_NAME_OLD="ttf-japanese-mincho" ALT_NAME="fonts-japanese-mincho" FONT_ENTRY="/usr/share/fonts/truetype/hanazono/HanaMinA.ttf" remove_alternate_font_entry() { update-alternatives --remove $ALT_NAME.ttf $FONT_ENTRY } case "$1" in upgrade|deconfigure) ;; remove) # alternative remove_alternate_font_entry ;; failed-upgrade) ;; *) echo "prerm 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 debian/copyright0000644000000000000000000001427512245144354011136 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: GlyphWiki Project Upstream-Contact: Koichi Kamichi Source: http://fonts.jp/hanazono/ Comment: This package was debianized by Nobuhiro Iwamatsu on Mon, 13 Oct 2008 13:48:12 +0000. . Upstream Author: Koichi Kamichi . Last checked against: 20110516 Files: * Copyright: Copyright 2008, 2009, 2010, 2011 GlyphWiki Project. License: Hanazono Font License or Open Font License License: Hanazono Font License ----------------------------------------------------------- Hanazono Font License ----------------------------------------------------------- . This font is a free software. Unlimited permission is granted to use, copy, and distribute it, with or without modification, either commercially and noncommercially. THIS FONT IS PROVIDED "AS IS" WITHOUT WARRANTY. License of this document is same as the font. . Copyright 2008, 2009, 2010, 2011 GlyphWiki Project. . Japanese Version: ----------------------------------------------------------- 花園フォント ライセンス ----------------------------------------------------------- . このフォントはフリー(自由な)ソフトウエアです。 あらゆる改変の有無に関わらず、また商業的な利用であっても、自由に利用、 複製、再配布することができますが、全て無保証とさせていただきます。 このライセンス文書についても、フォントと同様の扱いとします。 . Copyright 2008, 2009, 2010, 2011 GlyphWiki Project. License: Open Font License Copyright (c) 2011, GlyphWiki Project (kamichi@fonts.jp), with Reserved Font Name "Hanazono Font", "HanaMinA", "HanaMinB", "花園フォント", "花園明朝A", and "花園明朝B". . This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL . ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- . PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. . The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. . DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. . "Reserved Font Name" refers to any names specified as such after the copyright statement(s). . "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). . "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. . "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. . PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: . 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. . 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. . 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. . 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. . 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. . TERMINATION This license becomes null and void if any of the above conditions are not met. . DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. debian/control0000644000000000000000000000212212252766733010603 0ustar Source: fonts-hanazono Section: fonts Priority: optional Maintainer: Debian Fonts Task Force Uploaders: Nobuhiro Iwamatsu Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-fonts/fonts-hanazono.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fonts/fonts-hanazono.git;a=summary Homepage: http://fonts.jp/hanazono/ Package: fonts-hanazono Architecture: all Depends: ${misc:Depends} Provides: ttf-japanese-mincho Conflicts: ttf-hanazono (<< 20110516-2) Replaces: ttf-hanazono (<< 20110516-2) Multi-Arch: foreign Description: Japanese TrueType mincho font by KAGE system and FontForge This font is Japanese KANJI free font. The KAGE system and FontForge are used for the generation of this font. Collected glyph uses all the data registered in glyphwiki. Package: ttf-hanazono Depends: fonts-hanazono, ${misc:Depends} Architecture: all Section: oldlibs Priority: extra Description: Transitional dummy package This package is a dummy transitional package. It can be safely removed. debian/watch0000644000000000000000000000020112245144354010214 0ustar version=3 http://sourceforge.jp/projects/hanazono-font/releases \ /projects/hanazono-font/downloads/.*/hanazono-([\d.]+)\.zip/ debian/dirs0000644000000000000000000000011612245144354010054 0ustar usr/share/fonts/truetype/hanazono usr/share/doc/ttf-hanazono etc/defoma/hints debian/docs0000644000000000000000000000002612245144354010043 0ustar README.txt THANKS.txt debian/ttf-hanazono.preinst0000644000000000000000000000047712245144357013223 0ustar #!/bin/sh set -e OLD_ALT_NAME="ttf-japanese-mincho" OLD_FONT_ENTRY="/usr/share/fonts/truetype/hanazono/hanazono.ttf" if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then if dpkg --compare-versions "$2" lt-nl "20120421-1.1~"; then update-alternatives --remove $OLD_ALT_NAME.ttf $OLD_FONT_ENTRY fi fi #DEBHELPER# debian/changelog0000644000000000000000000001333612252766766011071 0ustar fonts-hanazono (20131208-1) unstable; urgency=medium * New upstream release. * Update debian/control. Add Multi-Arch: foreign. -- Nobuhiro Iwamatsu Sat, 14 Dec 2013 14:26:15 +0900 fonts-hanazono (20130222-2) unstable; urgency=low * Update debian/control. - Bump up Standards-Version 3.9.4. - Remove Vcs-Svn field. - Add Vcs-Git field and update Vcs-Browser field. -- Nobuhiro Iwamatsu Sun, 16 Jun 2013 00:55:50 +0900 fonts-hanazono (20130222-1) unstable; urgency=low * New upstream release. * Set extra to Priority of ttf-hanazono. * Add watch file. -- Nobuhiro Iwamatsu Fri, 17 May 2013 09:56:12 +0900 fonts-hanazono (20120421-1.1) unstable; urgency=low * Non-maintainer upload. * ttf-hanazono.preinst: Unregister the ttf-japanese-mincho.ttf alternative. * fonts-hanazono.preinst: Clean up the ttf-japanese-mincho.ttf alternative set up by ttf-hanazono in squeeze. This needs to be done in fonts-hanazono as well since there is no guarantee that the transitional ttf-hanazono package was installed and did clean this up. Since new installations of fonts-hanazono cannot be distinguished from "upgrades" from ttf-hanazono this needs to be run on new installations, too. (Closes: #700058) -- Andreas Beckmann Mon, 11 Feb 2013 14:56:52 +0100 fonts-hanazono (20120421-1) unstable; urgency=low * New upstream release. * Updat debian/rules compress package with xz -- Nobuhiro Iwamatsu Tue, 29 May 2012 17:54:10 +0900 fonts-hanazono (20120202-1) unstable; urgency=low * New upstream release. -- Nobuhiro Iwamatsu Wed, 07 Mar 2012 07:24:56 +0900 fonts-hanazono (20110516-4) unstable; urgency=low * Update debian/control. - Bump up Standards-Version 3.9.3. * Change Jpanaese font alternatives from ttf-japanese-mincho to fonts-japanese-mincho. Update postinst and prerm. -- Nobuhiro Iwamatsu Tue, 06 Mar 2012 08:48:41 +0900 fonts-hanazono (20110516-3) unstable; urgency=low * Fix wrong URL of Vcs-Browser. -- Nobuhiro Iwamatsu Tue, 11 Oct 2011 08:49:46 +0900 fonts-hanazono (20110516-2) unstable; urgency=low * Rename source and binary package from ttf- to fonts-. * Update debian/control - Add Conflicts and Replaces for ttf-hanazono. - Update description. - Add dummy package of ttf-hanazono. * Update debian/copyright. lintian clean. -- Nobuhiro Iwamatsu Fri, 02 Sep 2011 06:22:44 +0900 ttf-hanazono (20110516-1) unstable; urgency=low * New upstream release. * Update debian/copyright. - Update format to DEP5. - ttf-hanazono has dual-license(Hanazono Font License or Open Font License) from this version. * Update debian/control. - Bump up Standards-Version 3.9.2. - Remove white space from description. * Update maintainer scripts. Change font file name from hanazono.ttf to HanaMinA.ttf. * Add lintian-overrides. Override erroro of helper-templates-in-copyright. -- Nobuhiro Iwamatsu Tue, 05 Jul 2011 12:46:48 +0900 ttf-hanazono (20101013-2) unstable; urgency=low * Upload to unstable. -- Nobuhiro Iwamatsu Mon, 14 Feb 2011 01:20:24 +0900 ttf-hanazono (20101013-1) experimental; urgency=low * New upstream release. * Update debian/control. - Bump up Standards-Version 3.9.1. -- Nobuhiro Iwamatsu Wed, 20 Oct 2010 19:48:53 +0900 ttf-hanazono (20100718-1) unstable; urgency=low * New upstream release. * Update debian/control. - Bump up Standards-Version 3.9.0. -- Nobuhiro Iwamatsu Fri, 23 Jul 2010 04:51:53 +0900 ttf-hanazono (20100222-1) unstable; urgency=low * New upstream release. (Closes: #571684) * Update debian/control. - Bump up Standards-Version 3.8.4. * Add debian/source/format. -- Nobuhiro Iwamatsu Mon, 01 Mar 2010 04:23:35 +0900 ttf-hanazono (20091201-1) unstable; urgency=low * New upstream release. * Switch to Source package format to "3.0 quilt". - Remove Build-Depends-Indep and Suggests fields. * Remove defoma hints files and dependency on defoma. -- Nobuhiro Iwamatsu Tue, 01 Dec 2009 23:32:45 +0900 ttf-hanazono (20090909-1) unstable; urgency=low * New upstream release. * Change e-mail address. * Remove DM-Upload-Allowed field. * Bump up Standards-Version. * Fix typo in debian/dirs file. -- Nobuhiro Iwamatsu Mon, 14 Sep 2009 11:25:02 +0900 ttf-hanazono (20090506-1) unstable; urgency=low * New upstream release. (Closes: #523776) * Change section from x11 to fonts in debian/control. -- Nobuhiro Iwamatsu Wed, 06 May 2009 19:15:17 +0900 ttf-hanazono (20090317-1) unstable; urgency=low * New upstream release -- Nobuhiro Iwamatsu Wed, 18 Mar 2009 19:51:44 +0900 ttf-hanazono (20081230-1) unstable; urgency=low * New upstream release. (#Closes: #512908) -- Nobuhiro Iwamatsu Wed, 28 Jan 2009 19:52:30 +0900 ttf-hanazono (20081012-3) unstable; urgency=low * Fix typo in Provides. (Closes: #506438) * Add ${misc:Depends} to Depends. * Update hints file. -- Nobuhiro Iwamatsu Fri, 21 Nov 2008 23:24:38 +0900 ttf-hanazono (20081012-2) unstable; urgency=low * Changed provide ttf-japanese-gothic to ttf-japanse-mincho. (Closes: #503753) -- Nobuhiro Iwamatsu Tue, 28 Oct 2008 12:40:02 +0900 ttf-hanazono (20081012-1) unstable; urgency=low * Initial release (Closes: #495538) -- Nobuhiro Iwamatsu Mon, 13 Oct 2008 13:48:12 +0000 debian/source/0000755000000000000000000000000012245144354010472 5ustar debian/source/format0000644000000000000000000000001412245144354011700 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212245144357010373 0ustar 7 debian/rules0000755000000000000000000000011212245144354010244 0ustar #!/usr/bin/make -f %: dh $@ override_dh_builddeb: dh_builddeb -- -Zxz debian/fonts-hanazono.preinst0000644000000000000000000000235412245144357013553 0ustar #!/bin/sh set -e OLD_ALT_NAME="ttf-japanese-mincho" OLD_FONT_ENTRY="/usr/share/fonts/truetype/hanazono/hanazono.ttf" PKG="ttf-hanazono" PKG_VERSION_DEFOMA="20090909-1" rm_conffile() { PKGNAME="$1" CONFFILE="$2" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt-nl "$PKG_VERSION_DEFOMA"; then FILE="/etc/defoma/hints/${PKG}.hints" if [ -f $FILE ]; then if [ -x /usr/bin/defoma-font ]; then defoma-font purge-all $FILE || true fi fi rm_conffile $PKG $FILE fi # do this on new installations, too, as these could be "upgrades" # from ttf-hanazono if dpkg --compare-versions "$2" lt "20120421-1.1~"; then update-alternatives --remove $OLD_ALT_NAME.ttf $OLD_FONT_ENTRY fi esac #DEBHELPER# exit 0 debian/fonts-hanazono.install0000644000000000000000000000005312245144357013527 0ustar *.ttf usr/share/fonts/truetype/hanazono/