<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>emacs</Name>
        <Homepage>https://www.gnu.org/software/emacs</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3+</License>
        <Icon>emacs</Icon>
        <IsA>app:gui</IsA>
        <IsA>app:console</IsA>
        <Summary>An extensible console-mode editor</Summary>
        <Description>Emacs is the extensible, customizable, self-documenting real-time console-mode editor. It has many features to increase productivity when programming.</Description>
        <Archive sha1sum="10758f7c0425a9fa328d84e060d2d2b25604929c" type="tarxz">https://ftp.gnu.org/gnu/emacs/emacs-29.4.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>acl-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>gpm</Dependency>
            <Dependency>texinfo</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libXpm-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>librsvg-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency versionFrom="3.6.2">gnutls-devel</Dependency>
            <Dependency>imagemagick-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>01_all_bootstrap-infloop.patch</Patch> -->
<!--             <Patch>02_all_imagemagick-7.patch</Patch> -->
<!--             <Patch>0001-Ignore-color-fonts-when-using-Xft.patch</Patch> -->
<!--             <Patch>0001-Port-FC_COLOR-change-to-older-fontconfig.patch</Patch> -->
<!--             <Patch>0001-src-ftfont.c-ftfont_spec_pattern-Fix-whitespace.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>emacs</Name>
        <RuntimeDependencies>
            <Dependency>acl</Dependency>
            <Dependency>gpm</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>libXpm</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>librsvg</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>imagemagick</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libXext</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="data">/usr/lib/systemd</Path>
            <Path fileType="data">/usr/share/emacs</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/var/games/emacs</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/appdata</Path>
            <Path fileType="info">/usr/share/metainfo</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="executable">/usr/libexec/emacs</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/emacs/25.4/site-lisp/site-start.el">site-start.el</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/emacs/25.4/etc/schema/pisi-spec.rnc">pisi-spec.rnc</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/emacs/site-lisp/80-nxml-mode.el">80-nxml-mode.el</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/emacs.desktop">emacs.desktop</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="pakhandler.py">System.PackageHandler</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="7">
            <Date>2024-11-28</Date>
            <Version>29.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ümit Solmaz</Name>
            <Email>usuyum@yandex.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-02-09</Date>
            <Version>26.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-10-26</Date>
            <Version>26.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2019-02-01</Date>
            <Version>26.1</Version>
            <Comment>Version Bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-05-10</Date>
            <Version>25.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>24.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-02</Date>
            <Version>24.5</Version>
            <Comment>First release</Comment>
            <Name>Ilker Manap</Name>
            <Email>ilkermanap@gmail.com</Email>
        </Update>
    </History>
</PISI>
