<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-server</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <Icon>xorg</Icon>
        <Summary>X.Org X Server</Summary>
        <Description>X server is the main application that allows a graphical interface.</Description>
        <Archive sha1sum="63326488b63a1f584f8dc3084d2a52dba93d4e72" type="tarxz">mirrors://xorg/individual/xserver/xorg-server-21.1.14.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>valgrind</Dependency>
            <Dependency>xorg-proto</Dependency>
            <Dependency>libtirpc-devel</Dependency>
            <Dependency>elogind-devel</Dependency>
            <Dependency>libbsd-devel</Dependency>
            <Dependency>font-util</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libdmx-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libgcrypt-devel</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXaw-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXfont2-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libxkbfile-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libXpm-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXres-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>xorg-app</Dependency>
            <Dependency>nettle-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>xcb-util-image-devel</Dependency>
            <Dependency>xcb-util-wm-devel</Dependency>
            <Dependency>xcb-util-keysyms-devel</Dependency>
            <Dependency>xcb-util-renderutil-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>xtrans</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libunwind-devel</Dependency>
            <Dependency>libXau-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>xorg-app-devel</Dependency>
            <Dependency>wayland-devel</Dependency>
            <Dependency>wayland-protocols-devel</Dependency>
            <Dependency>libglvnd-devel</Dependency>
            <Dependency>xkeyboard-config</Dependency>
            <Dependency>libxcvt-devel</Dependency>
            <Dependency>libmd-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">xorg-server-1.12-unloadsubmodule.patch</Patch>
            <Patch level="1">xorg-server-1.18-support-multiple-Files-sections.patch</Patch>
            <!--Patch level="1">34a430.patch</Patch-->
<!--             <Patch level="1">0002-xephyr_Dont_check_for_SeatId_anymore.patch</Patch> -->
<!--             <Patch level="1">0003-dix_Correctly_save_replayed_event_into_GrabInfoRec.patch</Patch> -->
<!--             <Patch level="1">0004-present_Check_for_NULL_to_prevent_crash.patch</Patch> -->
        </Patches>
    </Source>

    <!--Package>
        <Name>xorg-server-common</Name>
        <IsA>data</IsA>
        <Summary>Common files for X servers</Summary>
        <Conflicts>
            <Package>xorg-xwayland</Package>
        </Conflicts>
        <Files>
            <Path fileType="data">/etc/X11/fontpath.d</Path>
            <Path fileType="data">/etc/dbus-1</Path>
            <Path fileType="data">/usr/lib/xorg/protocol.txt</Path>
            <Path fileType="data">/var/lib/xkb</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/man1/Xserver.1</Path>
        </Files>
    </Package-->

    <Package>
        <Name>xorg-server</Name>
       <Replaces>
            <Package>xorg-video-modesetting</Package>
            <Package>glamor-egl</Package>
        </Replaces>
        <Conflicts>
            <Package>xorg-server-common</Package>
        </Conflicts>
        <Replaces>
            <Package>xorg-server-common</Package>
        </Replaces>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency>libmd</Dependency>
            <Dependency>libbsd</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>elogind</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>libxcvt</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libglvnd</Dependency>
            <Dependency>libXfont2</Dependency>
            <Dependency>libunwind</Dependency>
            <Dependency>libpciaccess</Dependency>
            <Dependency>libxshmfence</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>nettle</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/X11/xorg.conf.d</Path>
            <Path fileType="config">/etc/sysconfig/createfiles</Path>
            <Path fileType="executable">/usr/bin/X</Path>
            <Path fileType="executable">/usr/bin/Xorg</Path>
            <Path fileType="executable">/usr/bin/cvt</Path>
            <Path fileType="executable">/usr/bin/gtf</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="data">/usr/share/X11/DriversDB</Path>
            <Path fileType="data">/usr/share/X11/pci</Path>
            <Path fileType="data">/usr/share/X11/xorg.conf.d</Path>
            <Path fileType="man">/usr/share/man/man1/Xorg.1</Path>
            <Path fileType="man">/usr/share/man/man1/cvt.1</Path>
            <Path fileType="man">/usr/share/man/man1/gtf.1</Path>
            <Path fileType="man">/usr/share/man/man4/exa.4</Path>
            <Path fileType="man">/usr/share/man/man4/modesetting.4</Path>
            <Path fileType="man">/usr/share/man/man4/fbdevhw.4</Path>
            <Path fileType="man">/usr/share/man/man5/xorg.conf.5</Path>
            <Path fileType="man">/usr/share/man/man5/xorg.conf.d.5</Path>
            <Path fileType="man">/usr/share/man/man4/inputtestdrv.4</Path>
            <Path fileType="man">/usr/share/man/man1/Xorg.wrap.1</Path>
            <Path fileType="man">/usr/share/man/man5/Xwrapper.config.5</Path>
            <Path fileType="data">/etc/X11/fontpath.d</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/var/lib/xkb</Path>
            <Path fileType="man">/usr/share/man/man1/Xserver.1</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/libexec/xorg-save-xkb-config.sh">xorg-save-xkb-config.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/X11/DriversDB">DriversDB</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/X11/xorg.conf.d/10-quirks.conf">fedora/10-quirks.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <!--Package>
        <Name>xorg-server-xdmx</Name>
        <IsA>app:console</IsA>
        <Summary>Distributed Multihead X Server</Summary>
        <RuntimeDependencies>
            <Dependency relase="current">xorg-server</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>libdmx</Dependency>
            <Dependency>libXaw</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXfont2</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libunwind</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/*dmx*</Path>
            <Path fileType="man">/usr/share/man/man1/*dmx*</Path>
        </Files>
    </Package-->
  
    <!--Package>
        <Name>xorg-server-xwayland</Name>
        <IsA>app:console</IsA>
        <Summary>Run X clients under wayland</Summary>
        <Conflicts>
            <Package>xorg-xwayland</Package>
        </Conflicts>
        <RuntimeDependencies>
            <Dependency>libXau</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency>libunwind</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libXfont2</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>libxshmfence</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency relase="current">xorg-server-common</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/Xwayland</Path>
        </Files>
    </Package-->

    <Package>
        <Name>xorg-server-xephyr</Name>
        <IsA>app:console</IsA>
        <Summary>Nested X Server</Summary>
        <RuntimeDependencies>
            <Dependency>eudev</Dependency>
            <Dependency>libbsd</Dependency>
            <Dependency>nettle</Dependency>
            <Dependency>elogind</Dependency>
            <Dependency>libglvnd</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency relase="current">xorg-server</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>xcb-util</Dependency>
            <Dependency>libunwind</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXfont2</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>xcb-util-wm</Dependency>
            <Dependency>libxshmfence</Dependency>
            <Dependency>xcb-util-image</Dependency>
            <Dependency>xcb-util-keysyms</Dependency>
            <Dependency>xcb-util-renderutil</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/Xephyr</Path>
            <Path fileType="man">/usr/share/man/man1/Xephyr.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-server-xvfb</Name>
        <!-- xvfb-run is GPLv2 -->
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Virtual Framebuffer X Server</Summary>
        <RuntimeDependencies>
            <Dependency>libbsd</Dependency>
            <Dependency>nettle</Dependency>
            <Dependency>elogind</Dependency>
            <Dependency>libglvnd</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency relase="current">xorg-server</Dependency>
            <Dependency>libXfont2</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>libunwind</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/[Xx]vfb*</Path>
            <Path fileType="man">/usr/share/man/man1/Xvfb.1</Path>
        </Files>
        <AdditionalFiles>
            <!-- xvfb-run script from http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh -->
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/xvfb-run">xvfb-run.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>xorg-server-xnest</Name>
        <Summary>A nested X server that runs as an X application</Summary>
        <RuntimeDependencies>
            <Dependency>libbsd</Dependency>
            <Dependency>nettle</Dependency>
            <Dependency>elogind</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency>libXfont2</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libunwind</Dependency>
            <Dependency>pixman</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/Xnest</Path>
            <Path fileType="man">/usr/share/man/man1/Xnest.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-server-devel</Name>
        <IsA>data</IsA>
        <IsA>library</IsA>
        <Summary>Headers and libraries for X server driver development</Summary>
        <RuntimeDependencies>
            <Dependency relase="current">xorg-server</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>xorg-proto</Dependency>
            <Dependency>libxcvt-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/xorg</Path>
            <Path fileType="library">/usr/lib/libxf86config.a</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <History>
        <Update release="39">
            <Date>2024-10-29</Date>
            <Version>21.1.14</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="38">
            <Date>2024-09-20</Date>
            <Version>21.1.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="37">
            <Date>2024-04-04</Date>
            <Version>21.1.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="36">
            <Date>2024-01-16</Date>
            <Version>21.1.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="35">
            <Date>2024-01-10</Date>
            <Version>21.1.10</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="34">
            <Date>2023-12-13</Date>
            <Version>21.1.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="33">
            <Date>2023-10-26</Date>
            <Version>21.1.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="32">
            <Date>2023-03-29</Date>
            <Version>21.1.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="31">
            <Date>2023-02-07</Date>
            <Version>21.1.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="30">
            <Date>2022-12-19</Date>
            <Version>21.1.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="29">
            <Date>2022-12-14</Date>
            <Version>21.1.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2022-10-22</Date>
            <Version>21.1.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2022-07-16</Date>
            <Version>21.1.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2022-05-23</Date>
            <Version>21.1.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2022-01-11</Date>
            <Version>21.1.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2022-01-03</Date>
            <Version>21.1.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2021-12-15</Date>
            <Version>21.1.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2021-12-14</Date>
            <Version>21.1.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2021-11-12</Date>
            <Version>21.1.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2021-10-01</Date>
            <Version>1.20.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2021-06-12</Date>
            <Version>1.20.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2021-02-23</Date>
            <Version>1.20.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2020-12-09</Date>
            <Version>1.20.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2020-09-08</Date>
            <Version>1.20.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2020-06-04</Date>
            <Version>1.20.8</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2020-03-26</Date>
            <Version>1.20.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2020-03-11</Date>
            <Version>1.20.6</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2019-10-19</Date>
            <Version>1.20.5</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2019-02-09</Date>
            <Version>1.20.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2019-01-30</Date>
            <Version>1.19.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2019-01-07</Date>
            <Version>1.20.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2018-10-31</Date>
            <Version>1.20.1</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2018-09-16</Date>
            <Version>1.19.6</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-12-17</Date>
            <Version>1.19.5</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-04-26</Date>
            <Version>1.19.1</Version>
            <Comment>Rebuild for a patch</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-02</Date>
            <Version>1.19.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-04</Date>
            <Version>1.18.4</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
       <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.18.3</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-08</Date>
            <Version>1.17.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
