Merge pull request #13141 from suvari/master
new packages: freefont, dovi-tool
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
WorkDir = "freefont-%s" % get.srcVERSION().split("_")[1]
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.system("fontforge -lang=ff -script buildscript *.sfd")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
pisitools.insinto("/usr/share/fonts/freefont/", "*.ttf")
|
||||||
|
|
||||||
|
pisitools.dosym("../conf.avail/60-gnu-free-mono.conf", "/etc/fonts/conf.d/60-gnu-free-mono.conf")
|
||||||
|
pisitools.dosym("../conf.avail/60-gnu-free-sans.conf", "/etc/fonts/conf.d/60-gnu-free-sans.conf")
|
||||||
|
pisitools.dosym("../conf.avail/60-gnu-free-serif.conf", "/etc/fonts/conf.d/60-gnu-free-serif.conf")
|
||||||
|
|
||||||
|
pisitools.dodoc("*.pdf", "AUTHORS", "ChangeLog", "CREDITS", "README","COPYING")
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer>
|
||||||
|
<family>FreeMono</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>FreeMono</family>
|
||||||
|
<default>
|
||||||
|
<family>monospace</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>FreeSans</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>FreeSans</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>FreeSerif</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>FreeSerif</family>
|
||||||
|
<default>
|
||||||
|
<family>serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
--- /dev/null 2009-07-09 15:46:44.395160073 +0300
|
||||||
|
+++ buildscript 2009-07-09 15:18:59.711389974 +0300
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+i = 1
|
||||||
|
+while ( i < $argc )
|
||||||
|
+ Open ($argv[i], 1)
|
||||||
|
+ Generate ($fontname + ".ttf")
|
||||||
|
+ PrintSetup (5)
|
||||||
|
+ PrintFont (0, 0, "", $fontname + "-sample.pdf")
|
||||||
|
+ Close()
|
||||||
|
+ i++
|
||||||
|
+endloop
|
||||||
|
+
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>freefont</Name>
|
||||||
|
<Homepage>https://www.gnu.org/software/freefont/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Sezai Yeniay</Name>
|
||||||
|
<Email>sezaiyeniay@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv3</License>
|
||||||
|
<IsA>data:font</IsA>
|
||||||
|
<Summary>Free UCS Outline Fonts</Summary>
|
||||||
|
<Description>A free family of scalable outline fonts, suitable for general use on computers and for desktop publishing. It is Unicode-encoded for compatability with all modern operating systems.</Description>
|
||||||
|
<Archive sha1sum="809614174322f78639591f8b1611535b524b6c5d" type="targz">mirrors://gnu/freefont/freefont-sfd-20100919.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>fontforge-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch>buildscript.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>freefont</Name>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="config">/etc/fonts</Path>
|
||||||
|
<Path fileType="data">/usr/share/fonts</Path>
|
||||||
|
<Path fileType="data">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/etc/fonts/conf.avail/60-gnu-free-mono.conf">60-gnu-free-mono.conf</AdditionalFile>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/etc/fonts/conf.avail/60-gnu-free-sans.conf">60-gnu-free-sans.conf</AdditionalFile>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/etc/fonts/conf.avail/60-gnu-free-serif.conf">60-gnu-free-serif.conf</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2023-12-31</Date>
|
||||||
|
<Version>0.0_20100919</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>freefont</Name>
|
||||||
|
<Summary xml:lang="tr">GNU freefont yazı tipi ailesi</Summary>
|
||||||
|
<Description xml:lang="tr">Genel kullanım için ölçeklenebilir anahat yazı tipleri. Bilinen tüm işletim sistemleri ile uyumlu olarak kodlanmıştır.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.system('cargo fetch --locked --target "x86_64-unknown-linux-gnu"')
|
||||||
|
# autotools.configure()
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.system('cargo build --release --frozen')
|
||||||
|
# autotools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.system("cargo install --path . --root='%s'/usr" % get.installDIR())
|
||||||
|
|
||||||
|
pisitools.remove("/usr/.crates.toml")
|
||||||
|
pisitools.remove("/usr/.crates2.json")
|
||||||
|
|
||||||
|
pisitools.dodoc("LICENSE", "README*")
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>dovi-tool</Name>
|
||||||
|
<Homepage>https://github.com/quietvoid/dovi_tool</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>MIT</License>
|
||||||
|
<Icon>dovi-tool</Icon>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>CLI tool combining multiple utilities for working with Dolby Vision</Summary>
|
||||||
|
<Description>dovi_tool is a CLI tool combining multiple utilities for working with Dolby Vision.</Description>
|
||||||
|
<Archive sha1sum="080354322159a7000cda7836343e53349ebde190" type="targz">https://github.com/quietvoid/dovi_tool/archive/refs/tags/2.1.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>git</Dependency>
|
||||||
|
<Dependency>rust</Dependency>
|
||||||
|
<Dependency>cargo-c</Dependency>
|
||||||
|
<Dependency>fontconfig-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<!--
|
||||||
|
<Patches>
|
||||||
|
<Patch>dovi-tool.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
-->
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>dovi-tool</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>fontconfig</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2023-12-31</Date>
|
||||||
|
<Version>2.1.0</Version>
|
||||||
|
<Comment>First release.</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>dovi-tool</Name>
|
||||||
|
<Summary xml:lang="tr">Dolby Vision ile çalışmak için birden fazla yardımcı programı birleştiren CLI aracı</Summary>
|
||||||
|
<Description xml:lang="tr">Dolby Vision ile çalışmak için birden fazla yardımcı programı birleştiren CLI aracı</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
+1070
-488
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
e9470278c3cca9266fc057b2c4e991e60886d5a1
|
f2adedb268e9ef4e59555399518e7248fcf30bab
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
788b75cc78810668fe388421ea8d6f475d244043
|
7b2bb7467d397cc3dff91eef94abb5b258e717e9
|
||||||
Reference in New Issue
Block a user