summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-12 16:48:14 (GMT)
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-12 16:48:14 (GMT)
commitedf4ed956aa1a4a56af6f0842eb0f67154fda5e7 (patch)
tree7594e0ae234012b78e1bded1f96009d59b477e6b
parent09d307234071df1a9419de81d4b9b4193ea461fd (diff)
downloaddefault-fonts-fc-sdk-edf4ed956aa1a4a56af6f0842eb0f67154fda5e7.zip
default-fonts-fc-sdk-edf4ed956aa1a4a56af6f0842eb0f67154fda5e7.tar.gz
default-fonts-fc-sdk-edf4ed956aa1a4a56af6f0842eb0f67154fda5e7.tar.bz2
-rw-r--r--debian/changelog36
-rw-r--r--packaging/default-fonts-fc-sdk.manifest14
-rw-r--r--packaging/default-fonts-fc-sdk.spec38
-rwxr-xr-xsdk_fonts_fc/99-slp.conf33
4 files changed, 117 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 31e9bc7..12b41d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,39 @@
default-fonts-fc-sdk (0.0.2-3) unstable; urgency=low
- * Initial Version
- * Git: pkgs/d/default-fonts-fc-sdk
+ * Modify Maintainer
+ * Git: 165.213.180.234:slp/sdk/default-fonts-fc-sdk
* Tag: default-fonts-fc-sdk_0.0.2-3
-- Minsu Han <minsu81.han@samsung.com> Tue, 06 Dec 2011 18:13:06 +0900
+
+default-fonts-fc-sdk (0.0.2-2) unstable; urgency=low
+
+ * Remove default-fonts-sdk dependency
+ * Git: 165.213.180.234:slp/sdk/default-fonts-fc-sdk
+ * Tag: default-fonts-fc-sdk_0.0.2-2
+
+ -- Minsu Han <minsu81.han@samsung.com> Mon, 29 Aug 2011 10:00:03 +0900
+
+default-fonts-fc-sdk (0.0.2-1) unstable; urgency=low
+
+ * Version up for dupload
+ * Git: 165.213.180.234:slp/sdk/default-fonts-fc-sdk
+ * Tag: default-fonts-fc-sdk_0.0.2-1
+
+ -- Minsu Han <minsu81.han@samsung.com> Thu, 11 Aug 2011 17:56:21 +0900
+
+default-fonts-fc-sdk (0.0.1-2) unstable; urgency=low
+
+ * Rename default-fonts-fc-slp to default-fonts-fc-sdk
+ * Git: 165.213.180.234:slp/sdk/default-fonts-fc-sdk
+ * Tag: default-fonts-fc-sdk_0.0.1-2
+
+ -- Minsu Han <minsu81.han@samsung.com> Thu, 11 Aug 2011 15:11:47 +0900
+
+default-fonts-fc-sdk (0.0.1-1) unstable; urgency=low
+
+ * Initial release
+ * Git: 165.213.180.234:slp/sdk/default-fonts-fc-sdk
+ * Tag: default-fonts-fc-sdk_0.0.1-1
+
+ -- MyoungWoon Roy Kim <myoungwoon.kim@samsung.com> Tue, 11 Jan 2011 20:22:57 +0900
diff --git a/packaging/default-fonts-fc-sdk.manifest b/packaging/default-fonts-fc-sdk.manifest
new file mode 100644
index 0000000..042c40b
--- /dev/null
+++ b/packaging/default-fonts-fc-sdk.manifest
@@ -0,0 +1,14 @@
+<manifest>
+ <define>
+ <domain name="default-fonts-fc-sdk" policy="restricted" plist="settings"/>
+ <provide>
+ <label name="default-fonts-fc-sdk::config"/>
+ </provide>
+ </define>
+ <request>
+ <domain name="_"/>
+ </request>
+ <assign>
+ <filesystem path="/opt/etc/fonts/conf.avail/99-slp.conf" label="default-fonts-fc-sdk::config"/>
+ </assign>
+</manifest>
diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
new file mode 100644
index 0000000..6d8a635
--- /dev/null
+++ b/packaging/default-fonts-fc-sdk.spec
@@ -0,0 +1,38 @@
+#sbs-git:slp/sdk/default-fonts-fc-sdk default-fonts-fc-sdk 0.0.2 8414dbd3e62b6f7a864ba031e043dd7604b3d86d
+Name: default-fonts-fc-sdk
+Summary: Font configuration package for SDK
+Version: 0.0.2
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/default-fonts-fc-sdk.manifest
+
+%description
+Font configuration package for SDK
+This package is maintained by SDK team
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_prefix}/etc/fonts/conf.d/
+mkdir -p %{buildroot}/opt/etc/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}/opt/etc/fonts/conf.avail/
+cd %{buildroot}%{_prefix}/etc/fonts/conf.d/
+ln -s ../../../../opt/etc/fonts/conf.avail/99-slp.conf %{buildroot}%{_prefix}/etc/fonts/conf.d/99-slp.conf
+
+%post
+chown :5000 /opt/etc/fonts/conf.avail/99-slp.conf
+chmod 664 /opt/etc/fonts/conf.avail/99-slp.conf
+
+%files
+%manifest default-fonts-fc-sdk.manifest
+%defattr(-,root,root,-)
+/opt/etc/fonts/conf.avail/99-slp.conf
+%{_prefix}/etc/fonts/conf.d/99-slp.conf
+%exclude %{_prefix}/etc/fonts/conf.d/documentation.list
diff --git a/sdk_fonts_fc/99-slp.conf b/sdk_fonts_fc/99-slp.conf
index f11932a..0cbf470 100755
--- a/sdk_fonts_fc/99-slp.conf
+++ b/sdk_fonts_fc/99-slp.conf
@@ -23,7 +23,7 @@
<fontconfig>
<!--
- Accept deprecated 'SLP' alias, replacing it with 'Helvetica'
+ Accept deprecated 'Tizen' alias, replacing it with 'TizenSans'
-->
<match target="pattern">
<!-- check to see if the font is just regular -->
@@ -31,7 +31,36 @@
<string>SLP</string>
</test>
<edit name="family" mode="assign">
- <string>SLPSans</string>
+ <string>TizenSans</string>
</edit>
</match>
+
+ <match target="pattern">
+ <!-- check to see if the font is just regular -->
+ <test qual="any" name="family">
+ <string>Tizen</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TizenSans</string>
+ </edit>
+ </match>
+
+ <match>
+ <test name="lang" compare="contains">
+ <string>ko</string>
+ </test>
+ <test name="family">
+ <string>TizenSans</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>TizenSansKorean</string>
+ </edit>
+ </match>
+
+ <alias binding="strong">
+ <family>TizenSans</family>
+ <prefer>
+ <family>TizenSans</family>
+ </prefer>
+ </alias>
</fontconfig>