<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>grub2</Name>
        <Homepage>http://www.gnu.org/software/grub/</Homepage>
        <Packager>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>app:gui</IsA>
        <Summary>GNU GRUB is a Multiboot boot loader.</Summary>
        <Description>GNU GRUB (short for GNU GRand Unified Bootloader) is a boot loader package from the GNU Project.</Description>
        <Archive sha1sum="3ed21de7be5970d7638b9f526bca3292af78e0fc" type="tarxz">http://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz</Archive>
        <Archive sha1sum="4ec712aced1c2b4cb6cd1cbd83fc2154249d6977" type="tarxz" target="grub-2.04/grub-extras">https://sourceforge.net/projects/pisilinux/files/source/grub2_extras_915resolution_r10.tar.xz</Archive>
        <Archive sha1sum="89bbdfcca0e22cecf43207ab96d1e17b3f64081c" type="gz">https://ftp.gnu.org/gnu/unifont/unifont-13.0.01/unifont_jp-13.0.01.bdf.gz</Archive>
<!--         <Archive sha1sum="30797ba7a86fc32213b9ae994c9fa45f37d01170" type="gz">http://ftp.gnu.org/gnu/unifont/unifont-6.3.20131217/unifont-6.3.20131217.bdf.gz</Archive> -->
        <Archive sha1sum="9bb95de226bf62a6dabe234e4686a2d4b26c3933" type="targz" target="grub-2.04/themes">https://github.com/sebo28/Vimix/archive/v0.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>autogen</Dependency>
            <Dependency>binutils</Dependency>
            <Dependency>bison</Dependency>
            <Dependency>flex</Dependency>
            <Dependency>gcc</Dependency>
            <Dependency>help2man</Dependency>
            <Dependency>texinfo</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>fuse-devel</Dependency>
            <Dependency>lvm2-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>noto-fonts</Dependency>
            <Dependency>efivar-devel</Dependency>
            <Dependency>efibootmgr-devel</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>dosfstools</Dependency>
        </BuildDependencies>
        <Replaces>
            <Package>grub</Package>
        </Replaces>
        <Patches>
            <Patch level="1">gfxpayload.patch</Patch>
            <Patch level="1">grub-2.02_beta2-KERNEL_GLOBS.patch</Patch>
            <Patch level="1">mkconfig-fix.patch</Patch>
            <Patch level="1">pisi_name_and_initramfs.patch</Patch>
<!--             <Patch level="1">Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch</Patch> -->
<!--             <Patch level="1">tsc-Change-default-tsc-calibration-method-to-pmtimer-on-EFI-systems.patch</Patch> -->
<!--             <Patch level="1">intel-ucode.patch</Patch> -->
<!--             <Patch level="1">2.02-gcc8.patch</Patch> -->
            <Patch level="1">0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch</Patch>
            <Patch level="1">0006-BootHole.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>grub2</Name>
        <RuntimeDependencies>
            <Dependency>freetype</Dependency>
            <Dependency>xz</Dependency>
            <Dependency>fuse</Dependency>
            <Dependency>lvm2</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>os-prober</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib/grub/i386-pc/</Path>
            <Path fileType="library">/usr/lib/grub/x86_64-efi</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/grub</Path>
            <Path fileType="data">/usr/share/info</Path>
            <Path fileType="data">/boot/grub2</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="man">/usr/share/man/man8</Path>
            <Path fileType="config">/etc/bash_completion.d</Path>
            <Path fileType="config">/etc/grub.d</Path>
            <Path fileType="config">/etc/default</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/grub/pisi-grub-bg.png">pisi-grub-bg.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/default/grub">grub-defaults</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/grub.d/30_uefi-firmware">30_uefi-firmware</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/update-grub">update-grub</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="18">
            <Date>2020-12-07</Date>
            <Version>2.04</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2020-04-09</Date>
            <Version>2.04</Version>
            <Comment>Rebuild unicode</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2020-03-28</Date>
            <Version>2.04</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2020-01-18</Date>
            <Version>2.02</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2019-10-09</Date>
            <Version>2.02</Version>
            <Comment>revert 2.02</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2019-09-06</Date>
            <Version>2.04</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2019-10-05</Date>
            <Version>2.02</Version>
            <Comment>theme add</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2018-07-15</Date>
            <Version>2.02</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2017-12-25</Date>
            <Version>2.02</Version>
            <Comment>Patch for ext234.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-12-06</Date>
            <Version>2.02</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
         <Update release="8">
            <Date>2017-06-19</Date>
            <Version>2.02_rc2</Version>
            <Comment>version B.</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-03-04</Date>
            <Version>2.02_beta3</Version>
            <Comment>update.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-04</Date>
            <Version>2.02_beta2</Version>
            <Comment>Rebuild.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-21</Date>
            <Version>2.02_beta2</Version>
            <Comment>New theme</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-07-30</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add windows 42_custom remove</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-12</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add windows 42_custom</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-25</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add efi</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.02_beta2</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
         </Update>
         <Update release="1">
            <Date>2016-04-20</Date>
            <Version>2.02_beta2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
