i3wm in main

This commit is contained in:
Ertuğrul Erata
2018-08-11 20:59:27 +03:00
parent 3f53bc455d
commit 694a579ce6
20 changed files with 1182 additions and 77 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2018 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-fi")
autotools.configure()
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,42 @@
--- /dev/null
+++ b/libev.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libev
+Description: A high-performance event loop/event model with lots of features
+Version: @VERSION@
+Libs: -L${libdir} -lev
+Libs.private:
+Cflags: -I${includedir}
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,5 +16,8 @@ lib_LTLIBRARIES = libev.la
libev_la_SOURCES = ev.c event.c
libev_la_LDFLAGS = -version-info $(VERSION_INFO)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libev.pc
+
ev.3: ev.pod
pod2man -n LIBEV -r "libev-$(VERSION)" -c "libev - high performance full featured event loop" -s3 <$< >$@
--- a/configure.ac
+++ b/configure.ac
@@ -2,6 +2,7 @@ orig_CFLAGS="$CFLAGS"
AC_INIT
AC_CONFIG_SRCDIR([ev_epoll.c])
+AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE(libev,4.11) dnl also update ev.h!
AC_CONFIG_HEADERS([config.h])
@@ -21,5 +22,5 @@ AC_PROG_LIBTOOL
m4_include([libev.m4])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile libev.pc])
AC_OUTPUT
+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libev</Name>
<Homepage>http://software.schmorp.de/pkg/libev.html</Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Packager>
<License>BSD</License>
<License>GPLv2</License>
<Summary>Full-featured and high performance event loop library</Summary>
<Description>FA high-performance event loop/event model with lots of feature</Description>
<Archive sha1sum="436dd8eff00a45f8805b8cacfe4dd3bd993caedb" type="targz">http://dist.schmorp.de/libev/libev-4.24.tar.gz</Archive>
<Patches>
<Patch level="1">libev-pc.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libev</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libev-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for libev</Summary>
<RuntimeDependencies>
<Dependency release="current">libev</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2018-08-10</Date>
<Version>4.24</Version>
<Comment>Rebuild for new toolchain.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="1">
<Date>2018-05-16</Date>
<Version>4.24</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>