Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477371
--- Comment #9 from Nicolas Mailhot <nicolas.mailhot(a)laposte.net> 2008-12-30 09:40:34 EDT ---
1. You need to specify the font files you installed in %_font_pkg
2. Since you know what sort of font it is, there is no reason not to ship a
fontconfig file, you have simple templates in fontpackages-devel
3. do not forget to add the lines to claim ownership of %{_fontdir} after the
%_font_pkg macro line
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477371
Victor Bogado <bogado(a)bogado.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #8 from Victor Bogado <bogado(a)bogado.net> 2008-12-30 09:17:00 EDT ---
Dumb me... all I had to do was install the package :P
Could you check if I've done everything correctly, before I upload it to CVS?
The spec and srpm package are at :
http://bogado.net/rpm/cave9-0.3-4.bog10.src.rpmhttp://bogado.net/rpm/cave9.spec
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Author: sarantis
Update of /cvs/extras/rpms/mgopen-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13852
Modified Files:
.cvsignore mgopen-fonts.spec sources
Log Message:
- Restructure spec file according to
https://fedoraproject.org/wiki/Fonts_SIG_Fedora_11_packaging_changes
- Provide fontconfig files for the fonts
- Provide alias for VAG rounded --> Modata (bug #472835)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mgopen-fonts/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 7 Jul 2005 09:44:04 -0000 1.2
+++ .cvsignore 30 Dec 2008 14:07:38 -0000 1.3
@@ -1,2 +1,3 @@
-MgOpen-20050515-doc.tar.gz
MgOpen-20050515.tar.gz
+MgOpen-20050515-doc.tar.gz
+mgopen-fontconfig.tar.gz
Index: mgopen-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/mgopen-fonts/devel/mgopen-fonts.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mgopen-fonts.spec 19 Dec 2008 21:39:11 -0000 1.8
+++ mgopen-fonts.spec 30 Dec 2008 14:07:38 -0000 1.9
@@ -1,12 +1,25 @@
%define fontname mgopen
-%define fontdir %{_datadir}/fonts/%{fontname}
-%define fontconfdir %{_sysconfdir}/fonts/conf.d
+%define fontconf 61-%{fontname}
%define archivename MgOpen
%define upstream_date 20050515
+# Common description
+%define common_desc The MgOpen fonts are a font family that includes Latin and Greek glyphs.\
+The fonts have been released under a liberal license, similar to the\
+license covering the Bitstream Vera fonts.
+
+# Compat description
+%define compat_desc \
+This package only exists to help transition pre Fedora 11 MgOpen font users to\
+the new package split. It will be removed after one distribution release cycle,\
+please do not reference it or depend on it in any way.\
+\
+It can be safely uninstalled.
+
+
Name: %{fontname}-fonts
Version: 0.%{upstream_date}
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Truetype greek fonts
Group: User Interface/X
License: MgOpen
@@ -16,54 +29,146 @@
Source1: %{archivename}-%{upstream_date}-doc.tar.gz
# Tarball of the documentation on the site http://www.ellak.gr/fonts/mgopen/
# The LICENCE file is an excerpt from the html page
+Source2: %{fontname}-fontconfig.tar.gz
+# Tarball of fontconfig files for each font
+
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
-# Conflicts: fontconfig < 2.3.93
-
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
%description
-The MgOpen fonts are a font family that includes Latin and Greek glyphs.
-The fonts have been released under a liberal license, similar to the
-license covering the Bitstream Vera fonts.
+%common_desc
+
+%package common
+Summary: Truetype greek fonts, common files (documentation…)
+Group: User Interface/X
+
+Obsoletes: mgopen-fonts<0.20050515-8
+
+%description common
+%common_desc
+
+This package consists of files used by other MgOpen packages.
+
+%package compat
+Summary: Truetype greek fonts, compatibility package
+Group: User Interface/X
+
+Obsoletes: mgopen-fonts<0.20050515-6
+
+Requires: %{name}-canonica, %{name}-cosmetica, %{name}-modata, %{name}-moderna
+
+%description compat
+%common_desc
+%compat_desc
+
+
+%package canonica
+Summary: Truetype variable-stroke-width serif font faces
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description canonica
+%common_desc
+
+This package contains the MgOpen Canonica serif variable-stroke-width typeface,
+which is based on the design of Times Roman.
+
+%_font_pkg -n canonica -f %{fontconf}-canonica.conf MgOpenCanonica*.ttf
+
+%package cosmetica
+Summary: Truetype variable-stroke-width sans serif font faces
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description cosmetica
+%common_desc
+
+This package contains the MgOpen Cosmetica sans serif variable-stroke-width
+typeface, which is based on the design of Optima.
+
+%_font_pkg -n cosmetica -f %{fontconf}-cosmetica.conf MgOpenCosmetica*.ttf
+
+%package modata
+Summary: Truetype fixed-stroke-width sans serif font faces
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description modata
+%common_desc
+
+This package contains the MgOpen Modata sans serif fixed-stroke-width
+which is based on the design of VAG rounded.
+
+%_font_pkg -n modata -f %{fontconf}-modata.conf MgOpenModata*.ttf
+
+%package moderna
+Summary: Truetype fixed-stroke-width sans serif font faces
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description moderna
+%common_desc
+
+This package contains the MgOpen Moderna sans serif fixed-stroke-width
+typeface which is based on the design of Helvetica.
+
+%_font_pkg -n moderna -f %{fontconf}-moderna.conf MgOpenModerna*.ttf
+
%prep
-%setup -q -c -a1 -n %{archivename}-%{version}
+%setup -q -c -a1 -a2 -n %{archivename}-%{version}
iconv -f ISO-8859-1 -t UTF-8 LICENCE > LICENCE.tmp; mv LICENCE.tmp LICENCE
%build
%install
rm -rf %{buildroot}
-install -d -m 0755 %{buildroot}%{fontdir}
-install -m 0644 *.ttf %{buildroot}%{fontdir}
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+ %{buildroot}%{_fontconfig_confdir}
-%clean
-rm -rf %{buildroot}
+install -m 0644 -p fontconfig/%{fontname}-canonica.conf \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-canonica.conf
+install -m 0644 -p fontconfig/%{fontname}-cosmetica.conf \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-cosmetica.conf
+install -m 0644 -p fontconfig/%{fontname}-modata.conf \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-modata.conf
+install -m 0644 -p fontconfig/%{fontname}-moderna.conf \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-moderna.conf
+
+for fontconf in %{fontconf}-canonica.conf \
+ %{fontconf}-cosmetica.conf \
+ %{fontconf}-modata.conf \
+ %{fontconf}-moderna.conf ; do
+ ln -s %{_fontconfig_templatedir}/$fontconf \
+ %{buildroot}%{_fontconfig_confdir}/$fontconf
+done
-%post
-if [ -x %{_bindir}/fc-cache ]; then
- %{_bindir}/fc-cache -r %{fontdir} || :
-fi
-
-%postun
-if [ "$1" = "0" ]; then
- if [ -x %{_bindir}/fc-cache ]; then
- %{_bindir}/fc-cache -f %{fontdir} || :
- fi
-fi
+%clean
+rm -rf %{buildroot}
-%files
+%files common
%defattr(0644,root,root,0755)
%doc LICENCE mgopen.html _files/
-%dir %{fontdir}
-%{fontdir}/*.ttf
+%dir %{_fontdir}
+%files compat
+
%changelog
+* Tue Dec 30 2008 Sarantis Paskalis <paskalis(a)di.uoa.gr> - 0.20050515-9
+- Restructure spec file according to
+ https://fedoraproject.org/wiki/Fonts_SIG_Fedora_11_packaging_changes
+- Provide fontconfig files for the fonts
+- Provide alias for VAG rounded --> Modata (bug #472835)
+
* Fri Dec 19 2008 Jason L Tibbitts III <tibbs(a)math.uh.edu> - 0.20050515-8
- It was decided that the license for these fonts is sufficiently different
from Vera to require a different license tag.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mgopen-fonts/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 7 Jul 2005 09:44:04 -0000 1.2
+++ sources 30 Dec 2008 14:07:38 -0000 1.3
@@ -1,2 +1,3 @@
-eb667a1458a92bc4d4e9a1f5924f6e61 MgOpen-20050515-doc.tar.gz
9ad4bba3d173e92734320286bfff4c8e MgOpen-20050515.tar.gz
+eb667a1458a92bc4d4e9a1f5924f6e61 MgOpen-20050515-doc.tar.gz
+c01d7492aa697128799b5c2cc8dd1997 mgopen-fontconfig.tar.gz
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=476427
--- Comment #2 from Ravi Chandra <ravichandra.enaganti(a)gmail.com> 2008-12-30 08:05:40 EDT ---
Created an attachment (id=327959)
--> (https://bugzilla.redhat.com/attachment.cgi?id=327959)
The screen shot of the problematic telugu script
See the attached jpeg image to know why the problem occurs. Seems to be
appearing when the user types consonant+consonant+^ key combination.......
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477388
--- Comment #4 from Hans de Goede <hdegoede(a)redhat.com> 2008-12-30 05:39:15 EDT ---
(In reply to comment #3)
> BTW, when you create a fonts subpackage, please consider adding it to the
> @fonts F11 comps group
Good point, done!
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477402
--- Comment #3 from Nicolas Mailhot <nicolas.mailhot(a)laposte.net> 2008-12-30 02:55:11 EDT ---
Fonts used to produce internal documentation have the same legal constraints as
fonts used in other ways. So yes if you ship ttf fonts for any reason you need
to follow the same guidelines as everyone else.
If you don't want to make a proper font package or subpackage you should work
out with our TEX packagers how to use system TEX materials instead of shipping
your own.
But packaging fonts properly is likely to be less work
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477371
--- Comment #7 from Nicolas Mailhot <nicolas.mailhot(a)laposte.net> 2008-12-30 02:50:51 EDT ---
If you add the fontpackages deps defined in the templates the macros will be
imported correctly.
To create a fonts subpackage in a non-fonts package you just need to follow the
simple template using the -n switch in the fonts macro to point to the correct
subpackage name
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477402
Andy Shevchenko <andy(a)smile.org.ua> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |MODIFIED
--- Comment #2 from Andy Shevchenko <andy(a)smile.org.ua> 2008-12-29 15:59:23 EDT ---
What about fonts which are dedicated to produce internal documentation?
This package (jack-audio-connection-kit-devel indeed contains *.ttf file to
build *.pdf documentation from a LaTeX file. So, I consider this requirement at
least incorrent in such case.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477371
--- Comment #6 from Victor Bogado <bogado(a)bogado.net> 2008-12-29 12:10:01 EDT ---
- The simple template installs the font into a {_fontdir} but does not define
this macro, where should this font be installed?
- What is this %{name}-fontconfig.conf file, is there a template or tool to
create it?
- Is there a spec file that creates a font package as a sub-package so I could
base my changes on?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477481
--- Comment #4 from Mathieu Bridon <bochecha(a)no-log.org> 2008-12-29 06:50:21 EDT ---
* First font: font.font
I discussed it with the Adonthell devs, and in fact, this is not really a font.
This is more like some picture and data used to render text with custom code in
Adonthell.
This means that such a "font" can not be used in other apps, say OOo for
example.
So, this doesn't make any sense splitting it in a subpackage and installing it
system-wide.
* Second font: avatar.ttf
I contacted the 2 maintainers of the Adonthell package in Debian, both emails
are unexisting o_O
I might have one more way to contact the author of the font.
However, I started playing with the spec file to remove the font totally from
the game, and make it use one of the system fonts.
I'm in contact with the Adonthell devs about how to do that properly and which
one they would less dislike.
So, working on it, just a status report :)
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.