diff --git a/.cvsignore b/.cvsignore index 7fa7530..0aaff8b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dejavu-sfd-20060608-938.tar.gz +dejavu-sfd-20060614-943.tar.gz diff --git a/dejavu-fonts-fontconfig.conf b/dejavu-fonts-fontconfig.conf new file mode 100644 index 0000000..7511ba3 --- /dev/null +++ b/dejavu-fonts-fontconfig.conf @@ -0,0 +1,156 @@ + + + + + + + + DejaVu Sans + DejaVu Sans Condensed + + sans-serif + + + + + DejaVu Serif + DejaVu Serif Condensed + + serif + + + + + DejaVu Sans Mono + + monospace + + + + + Bitstream Vera Sans + + Bitstream Vera Sans + DejaVu Sans + + + + Arev Sans + + Arev Sans + DejaVu Sans + + + + SUSE Sans + + SUSE Sans + DejaVu Sans + + + + Hunky Sans + + DejaVu Sans + Hunky Sans + + + + Verajja + + DejaVu Sans + Verajja + + + + Bepa + + DejaVu Sans + Bepa + + + + Olwen Sans + + DejaVu Sans + Olwen Sans + + + + + Bitstream Vera Serif + + Bitstream Vera Serif + DejaVu Serif + + + + SUSE Serif + + SUSE Serif + DejaVu Serif + + + + Hunky Serif + + Hunky Serif + DejaVu Serif + + + + Olwen Serif + + Olwen Serif + DejaVu Serif + + + + + Bitstream Vera Sans Mono + + Bitstream Vera Sans Mono + DejaVu Sans Mono + + + + SUSE Sans Mono + + SUSE Sans Mono + DejaVu Sans Mono + + + + Bepa Mono + + Bepa Mono + DejaVu Sans Mono + + + + Olwen Sans Mono + + Olwen Sans Mono + DejaVu Sans Mono + + + diff --git a/dejavu-fonts-makedefault.xsl b/dejavu-fonts-makedefault.xsl new file mode 100644 index 0000000..b457a1d --- /dev/null +++ b/dejavu-fonts-makedefault.xsl @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + DejaVu Serif + + + + + + + + DejaVu Sans + + + + + + + + DejaVu Sans Mono + + + + + + diff --git a/dejavu-fonts-register.xsl b/dejavu-fonts-register.xsl deleted file mode 100644 index 338ed76..0000000 --- a/dejavu-fonts-register.xsl +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - DejaVu Sans - - - - - - - - DejaVu Serif - - - - - - - - DejaVu Sans Mono - - - - - - - - - DejaVu Serif - - - - - - - - DejaVu Sans - - - - - - - - DejaVu Sans Mono - - - - - - - - - - - - DejaVu Sans - - - - - - - DejaVu Serif - - - - - - - DejaVu Sans Mono - - diff --git a/dejavu-fonts-vera-aliases.conf b/dejavu-fonts-vera-aliases.conf deleted file mode 100644 index 1d4c9e1..0000000 --- a/dejavu-fonts-vera-aliases.conf +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - Bitstream Vera Sans - - Bitstream Vera Sans - DejaVu Sans - Arev Sans - SUSE Sans - Hunky Sans - Verajja - Bepa - Olwen Sans - - - - Bitstream Vera Serif - - Bitstream Vera Serif - DejaVu Serif - SUSE Serif - Hunky Serif - Olwen Serif - - - - Bitstream Vera Sans Mono - - Bitstream Vera Sans Mono - DejaVu Sans Mono - SUSE Sans Mono - Bepa Mono - Olwen Sans Mono - - - diff --git a/dejavu-fonts.spec b/dejavu-fonts.spec index b921082..47d4e5c 100644 --- a/dejavu-fonts.spec +++ b/dejavu-fonts.spec @@ -1,6 +1,6 @@ %define archivename dejavu-sfd # This macro has the same value as %{version}, except when testing pre-release snapshots -%define archiveversion 20060608-938 +%define archiveversion 20060614-943 %define fontdir %{_datadir}/fonts/%{name} %define fontconfdir %{_sysconfdir}/fonts %define xsldir %{_datadir}/xml/%{name} @@ -11,17 +11,22 @@ Name: dejavu-fonts Version: 2.7.0 -Release: 0.14%{?dist} +Release: 0.15%{?dist} Summary: DejaVu fonts Group: User Interface/X License: Redistributable, with restrictions URL: http://dejavu.sf.net/ Source: http://prdownloads.sourceforge.net/dejavu/%{archivename}-%{archiveversion}.tar.gz -Source1: %{name}-register.xsl +# Make DejaVu fonts the default in Sans, Serif and Monospace +Source1: %{name}-makedefault.xsl +# Substitute the glyphs of another font in Sans, Serif and Monospace for Arabic and Farsi Source2: %{name}-block.xsl Source3: %{name}-unblock.xsl -Source4: %{name}-vera-aliases.conf +# DejaVu fontconfig setup +Source4: %{name}-fontconfig.conf +# Substitute the glyphs of another font in DejaVu for Farsi Source5: %{name}-persian-override.conf +# Substitute the glyphs of another font in DejaVu for Arabic Source6: %{name}-arabic-override.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fontforge @@ -125,13 +130,13 @@ install -m 0644 generated/*.ttf %{buildroot}%{fontdir} #xsl install -d -m 755 %{buildroot}%{xsldir} -install -p -m 644 %{SOURCE1} %{buildroot}%{xsldir}/register.xsl +install -p -m 644 %{SOURCE1} %{buildroot}%{xsldir}/makedefault.xsl install -p -m 644 %{SOURCE2} %{buildroot}%{xsldir}/block.xsl install -p -m 644 %{SOURCE3} %{buildroot}%{xsldir}/unblock.xsl # Fontconfig overrides for some scripts install -d -m 0755 %{buildroot}%{fontconfdir}/conf.d -install -m 0644 %{SOURCE4} %{buildroot}%{fontconfdir}/conf.d/20-BitstreamVera-aliases.conf +install -m 0644 %{SOURCE4} %{buildroot}%{fontconfdir}/conf.d/20-DejaVu.conf install -m 0644 %{SOURCE5} %{buildroot}%{fontconfdir}/conf.d/00-dejavu-persian-override.conf install -m 0644 %{SOURCE6} %{buildroot}%{fontconfdir}/conf.d/00-dejavu-arabic-override.conf @@ -170,12 +175,12 @@ fi ### Triggers yes I know I'm mad -# I hope this won't be necessary by FC6T1 time +# I hope this won't be necessary by FC6 time %triggerin makedefault -- fontconfig, %{fontconfdir}/fonts.conf if [ -w %{fontconfdir}/fonts.conf ] ; then TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \ %{_bindir}/xsltproc --novalid --output $TMPFILE \ - %{xsldir}/register.xsl %{fontconfdir}/fonts.conf && \ + %{xsldir}/makedefault.xsl %{fontconfdir}/fonts.conf && \ /bin/cat $TMPFILE > %{fontconfdir}/fonts.conf && /bin/rm $TMPFILE fi @@ -204,7 +209,7 @@ fi %defattr(0644,root,root,0755) %doc *.txt AUTHORS BUGS LICENSE NEWS README -%{fontconfdir}/conf.d/20-BitstreamVera-aliases.conf +%{fontconfdir}/conf.d/20-DejaVu.conf %dir %{fontdir} %{fontdir}/DejaVu*.ttf @@ -222,7 +227,7 @@ fi %files makedefault %defattr(0644,root,root,0755) %dir %{xsldir} -%{xsldir}/register.xsl +%{xsldir}/makedefault.xsl %files block @@ -232,11 +237,18 @@ fi %{xsldir}/block.xsl %{xsldir}/unblock.xsl -%exclude %{fontconfdir}/conf.d/20-BitstreamVera-aliases.conf +%exclude %{fontconfdir}/conf.d/20-DejaVu.conf %{fontconfdir}/conf.d/*.conf %changelog +* Wed Jun 14 2006 Nicolas Mailhot - 2.7.0-0.15 +- update to 20060614-943 snapshot +- do make dejavu the default in all cases when makedefault is installed +- alias Vera derivatives merged in DejaVu +- declare generics for all DejaVu faces +- remove more stuff moved to %{fontconfdir}/conf.d from the xslts + * Sun Jun 11 2006 Nicolas Mailhot - 2.7.0-0.14 - remove old blocking code before adding new one diff --git a/sources b/sources index 62f02a8..df9a605 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1c83f56c9905d6e85de85dda14196413 dejavu-sfd-20060608-938.tar.gz +752534f586811b0ffae8c8b2d36acba5 dejavu-sfd-20060614-943.tar.gz