Kaydet (Commit) 7e4fc776 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Packages succesfully compiled for SulinOS 19

Packages which are come from indispensable repository have been recompiled. 
    * scom script modificated.
    * added vi editor.
    * some sources' python bindings have been compiled for two versions.
     * Removed translatiıns to retranslating with pspec2po script.
üst 97f2db96
This diff is collapsed.
<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://gitlab.com/sulinos/sulinproject/inary/raw/master/inary-spec.dtd">
<INARY>
<Source>
<Name>freetype</Name>
<Homepage>http://www.freetype.org/</Homepage>
<Packager>
<Name>Sulin Community</Name>
<Email>admins@sulin.org</Email>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Packager>
<License>FTL</License>
<License>GPLv2</License>
......@@ -76,8 +76,8 @@
<Date>2017-02-02</Date>
<Version>2.9.1</Version>
<Comment>First release</Comment>
<Name>Sulin Community</Name>
<Email>admin@sulin.org</Email>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
</History>
</INARY>
<INARY>
<SourceName>Sulin</SourceName>
<Version>2019</Version>
<Description xml:lang="tr">Sulin rooling release (year 2019) Core Deposu</Description>
<Description xml:lang="en">Sulin rooling release (year 2019) Core Repository</Description>
<Description xml:lang="es">Sulin rooling release (year 2019) Core Repositorio</Description>
<Description xml:lang="nl">Sulin rooling release (year 2019) Core Opslagplaats</Description>
<Description xml:lang="tr">Sulin 2019 Core Deposu</Description>
<Description xml:lang="az">Sulin 2019 Core Anbari</Description>
<Description xml:lang="en">Sulin 2019 Core Repository</Description>
<Description xml:lang="es">Sulin 2019 Core Repositorio</Description>
<Description xml:lang="nl">Sulin 2019 Core Opslagplaats</Description>
<Type>Core</Type>
<BinaryName>Sulib</BinaryName>
<BinaryName>Sulin</BinaryName>
</INARY>
<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://gitlab.com/sulinos/sulinproject/inary/raw/master/inary-spec.dtd">
<INARY>
<Source>
......
<INARY>
<Name>kernel</Name>
<Name>editor.vi</Name>
</INARY>
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from inary.actionsapi import autotools
from inary.actionsapi import inarytools
from inary.actionsapi import get
WorkDir = "ex-{}".format(get.srcVERSION())
def build():
autotools.make('PREFIX=/usr \
LIBEXECDIR=/usr/lib/ex \
PRESERVEDIR=/var/lib/ex \
TERMLIB=ncurses \
FEATURES="-DCHDIR \
-DFASTTAG \
-DUCVISUAL \
-DMB \
-DBIT8"')
def install():
autotools.rawInstall("PREFIX=/usr \
LIBEXECDIR=/usr/lib/ex \
PRESERVEDIR=/var/lib/ex \
INSTALL=/usr/bin/install \
DESTDIR=%s" % get.installDIR())
inarytools.dodoc("LICENSE")
diff -upr ex-070224.orig/ex_vis.h ex-070224/ex_vis.h
--- ex-070224.orig/ex_vis.h 2005-08-06 14:41:15.000000000 +0300
+++ ex-070224/ex_vis.h 2015-05-02 20:41:13.938665281 +0300
@@ -104,7 +104,7 @@ var enum {
*/
var short TUBELINES;
var short TUBECOLS;
-var short TUBESIZE;
+var int TUBESIZE;
/*
* The screen in visual and crtopen is of varying size; the basic
diff -ru ex-050325/ex_tty.c ex-050325-du/ex_tty.c
--- ex-050325/ex_tty.c 2005-03-04 13:42:58.000000000 +0100
+++ ex-050325-du/ex_tty.c 2009-06-25 20:06:57.000000000 +0200
@@ -132,7 +132,8 @@
&ED, &EI, &F0, &F1, &F2, &F3, &F4, &F5, &F6, &F7, &F8, &F9,
&HO, &IC, &IM, &IP, &KD, &KE, &KH, &KL, &KR, &KS, &KU, &LL, &ND, &xNL,
&xPC, &RC, &SC, &SE, &SF, &SO, &SR, &TA, &TE, &TI, &UP, &VB, &VS, &VE,
- &AL_PARM, &DL_PARM, &UP_PARM, &DOWN_PARM, &LEFT_PARM, &RIGHT_PARM
+ &AL_PARM, &DL_PARM, &UP_PARM, &DOWN_PARM, &LEFT_PARM, &RIGHT_PARM,
+ &kI, &kD, &kh, &at7, &kP, &kN
};
bool *sflags[] = {
&AM, &BS, &DA, &DB, &EO, &HC,
@@ -170,7 +171,12 @@
addmac1(KD, "j", "down", arrows, 1);
addmac1(KL, "h", "left", arrows, 1);
addmac1(KR, "l", "right", arrows, 1);
- addmac1(KH, "H", "home", arrows, 1);
+ addmac1(kI, "i", "insert", arrows, 1);
+ addmac1(kD, "x", "delete", arrows, 1);
+ addmac1(kh, "^", "home", arrows, 1);
+ addmac1(at7, "$", "end", arrows, 1);
+ addmac1(kP, "", "pgup", arrows, 1);
+ addmac1(kN, "", "pgdn", arrows, 1);
/*
* Handle funny termcap capabilities
@@ -341,7 +347,7 @@
*(*fp++) = flag;
namp += 2;
} while (*namp);
- namp = "albcbtcdceclcmcrcsdcdldmdoedeik0k1k2k3k4k5k6k7k8k9hoicimipkdkekhklkrkskullndnlpcrcscsesfsosrtatetiupvbvsveALDLUPDOLERI";
+ namp = "albcbtcdceclcmcrcsdcdldmdoedeik0k1k2k3k4k5k6k7k8k9hoicimipkdkekhklkrkskullndnlpcrcscsesfsosrtatetiupvbvsveALDLUPDOLERIkIkDkh@7kPkN";
sp = sstrs;
do {
string = tgetstr(namp, &aoftspace);
diff -ru ex-050325/ex_tty.h ex-050325-du/ex_tty.h
--- ex-050325/ex_tty.h 2004-12-01 19:21:06.000000000 +0100
+++ ex-050325-du/ex_tty.h 2009-06-25 20:06:05.000000000 +0200
@@ -183,6 +183,15 @@
var bool XX; /* Tektronix 4025 insert line */
/* X? is reserved for severely nauseous glitches */
/* If there are enough of these we may need bit masks! */
+/*
+ * Insert, Delete, Home, End, PgUp an PgDown keys
+ */
+var char *kI;
+var char *kD;
+var char *kh;
+var char *at7;
+var char *kP;
+var char *kN;
/*
* From the tty modes...
diff -Naur ex-050325.ori/ex.1 ex-050325/ex.1
--- ex-050325.ori/ex.1 2005-02-17 07:39:36.000000000 -0500
+++ ex-050325/ex.1 2011-02-01 16:21:51.496666674 -0500
@@ -1950,7 +1950,7 @@
.B /var/tmp/Rx\fInnnnnnnnnn\fP
named buffer temporary
.TP
-.B /var/preserve
+.B /var/lib/ex
preservation directory
.SH DOCUMENTATION
The document
diff -Naur ex-050325.ori/expreserve.c ex-050325/expreserve.c
--- ex-050325.ori/expreserve.c 2005-03-04 07:44:46.000000000 -0500
+++ ex-050325/expreserve.c 2011-02-01 16:22:06.583333342 -0500
@@ -272,7 +272,7 @@
#ifdef notdef
char pattern[] = "/usr/preserve/Exaa`XXXXX";
#else
-char pattern[] = "/var/preserve/Exa`XXXXXXXXXX";
+char pattern[] = "/var/lib/ex/Exa`XXXXXXXXXX";
#endif
/*
@@ -296,7 +296,7 @@
timestamp = ctime(&time);
timestamp[16] = 0; /* blast from seconds on */
putenv("MAILRC=/dev/null");
- sprintf(cmd, "/bin/mail %s", pp->pw_name);
+ sprintf(cmd, "/usr/bin/mail %s", pp->pw_name);
setuid(getuid());
mf = popen(cmd, "w");
if (mf == NULL)
diff -Naur ex-050325.ori/exrecover.c ex-050325/exrecover.c
--- ex-050325.ori/exrecover.c 2005-03-04 07:44:46.000000000 -0500
+++ ex-050325/exrecover.c 2011-02-01 16:21:51.496666674 -0500
@@ -167,7 +167,7 @@
#ifdef notdef
char mydir[] = "/usr/preserve";
#else
-char mydir[] = "/var/preserve";
+char mydir[] = "/var/lib/ex";
#endif
/*
diff -Naur ex-050325.ori/Makefile ex-050325/Makefile
--- ex-050325.ori/Makefile 2005-03-24 18:50:09.000000000 -0500
+++ ex-050325/Makefile 2011-02-01 16:21:51.496666674 -0500
@@ -83,7 +83,7 @@
BINDIR = $(PREFIX)/bin
LIBEXECDIR = $(PREFIX)/libexec
MANDIR = $(PREFIX)/share/man
-PRESERVEDIR = /var/preserve
+PRESERVEDIR = /var/lib/ex
#
# DESTDIR is prepended to the installation paths. It is mostly useful
diff -Naur ex-050325.ori/vi.1 ex-050325/vi.1
--- ex-050325.ori/vi.1 2005-02-17 07:39:36.000000000 -0500
+++ ex-050325/vi.1 2011-02-01 16:21:51.496666674 -0500
@@ -979,7 +979,7 @@
.B /var/tmp/Rx\fInnnnnnnnnn\fP
named buffer temporary
.TP
-.B /var/preserve
+.B /var/lib/ex
preservation directory
.SH SEE ALSO
ex(1),
--- ex-050325.original/ex.1 2012-01-27 20:43:00.602119283 +0100
+++ ex-050325/ex.1 2012-01-27 20:47:24.535436516 +0100
@@ -1932,10 +1932,10 @@
Determines the terminal type.
.SH FILES
.TP
-.B /usr/libexec/expreserve
+.B /usr/lib/ex/expreserve
preserve command
.TP
-.B /usr/libexec/exrecover
+.B /usr/lib/ex/exrecover
recover command
.TP
.B /etc/termcap
--- ex-050325.original/vi.1 2012-01-27 20:43:00.602119283 +0100
+++ ex-050325/vi.1 2012-01-27 20:46:33.815439611 +0100
@@ -961,10 +961,10 @@
Determines the terminal type.
.SH FILES
.TP
-.B /usr/libexec/expreserve
+.B /usr/lib/ex/expreserve
preserve command
.TP
-.B /usr/libexec/exrecover
+.B /usr/lib/ex/exrecover
recover command
.TP
.B /etc/termcap
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE INARY SYSTEM "http://www.sulin.org/projeler/inary/inary-spec.dtd">
<INARY>
<Source>
<Name>vi</Name>
<Homepage>http://ex-vi.sourceforge.net/</Homepage>
<Packager>
<Name>Suleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Packager>
<License>custom:ex</License>
<Summary>The original ex/vi text editor</Summary>
<Description>The original ex/vi text editor.</Description>
<Archive sha1sum="d2e0c11fc60a24fae09d0cb3df383984014a2bda" type="tarxz">https://sources.archlinux.org/other/vi/ex-070224.tar.xz</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>preserve_dir.patch</Patch>
<Patch>fix-tubesize.patch</Patch>
<Patch>navkeys.patch</Patch>
</Patches>
</Source>
<Package>
<Name>vi</Name>
<IsA>app:console</IsA>
<RuntimeDependencies>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Conflicts>
<Package>gvim</Package>
<Package>vim</Package>
</Conflicts>
<Files>
<Path fileType="executable">/usr/bin/vi*</Path>
<Path fileType="executable">/usr/bin/rvi*</Path>
<Path fileType="executable">/usr/bin/ex</Path>
<Path fileType="executable">/usr/bin/xxd</Path>
<Path fileType="executable">/usr/bin/vedit</Path>
<Path fileType="executable">/usr/bin/edit</Path>
<Path fileType="library">/usr/lib/ex</Path>
<Path fileType="library">/var/lib/ex</Path>
<Path fileType="data">/usr/share/man/</Path>
<Path fileType="doc">/usr/share/doc/</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-09-07</Date>
<Version>070224</Version>
<Comment>First release</Comment>
<Name>Suleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
</History>
</INARY>
......@@ -7,7 +7,7 @@
<LocalName xml:lang="sv">Handikappstöd</LocalName>
<LocalName xml:lang="tr">Erişilebilirlik</LocalName>
<LocalName xml:lang="fr">Accessibilité</LocalName>
<LocalName xml:lang="es">Accesibilidad</LocalName>
<LocalName xml:lang="es">Acesibilidad</LocalName>
<LocalName xml:lang="de">Eingabehilfen</LocalName>
<LocalName xml:lang="it">Accessibilità</LocalName>
<Icon>preferences-desktop-accessibility</Icon>
......@@ -19,7 +19,7 @@
<LocalName xml:lang="sv">Tillbehör</LocalName>
<LocalName xml:lang="tr">Donatılar</LocalName>
<LocalName xml:lang="fr">Accessoires</LocalName>
<LocalName xml:lang="es">Accesorios</LocalName>
<LocalName xml:lang="es">Acesorios</LocalName>
<LocalName xml:lang="de">Zubehör</LocalName>
<LocalName xml:lang="it">Accessori</LocalName>
<Icon>applications-accessories</Icon>
......@@ -31,7 +31,7 @@
<LocalName xml:lang="sv">Utbildning</LocalName>
<LocalName xml:lang="tr">Eğitim</LocalName>
<LocalName xml:lang="fr">Éducation</LocalName>
<LocalName xml:lang="es">Educación</LocalName>
<LocalName xml:lang="es">Educativos</LocalName>
<LocalName xml:lang="de">Lernen</LocalName>
<LocalName xml:lang="it">Educazione</LocalName>
<Icon>applications-education</Icon>
......@@ -132,6 +132,65 @@
<LocalName xml:lang="it">Sistema</LocalName>
<Icon>applications-system</Icon>
</Group>
<Group>
<Name>gnome.desktop</Name>
<LocalName xml:lang="en">Gnome Desktop</LocalName>
<LocalName xml:lang="nl">Gnome Desktop</LocalName>
<LocalName xml:lang="sv">Skrivbord, GNOME</LocalName>
<LocalName xml:lang="tr">Gnome Masaüstü</LocalName>
<LocalName xml:lang="fr">Bureau Gnome</LocalName>
<LocalName xml:lang="es">Gnome</LocalName>
<LocalName xml:lang="de">Gnome</LocalName>
<LocalName xml:lang="it">Gnome</LocalName>
<Icon>preferences-desktop</Icon> <!-- FIXME: Gnome Desktop Icon -->
</Group>
<Group>
<Name>kde.desktop</Name>
<LocalName xml:lang="en">KDE Desktop</LocalName>
<LocalName xml:lang="nl">KDE Desktop</LocalName>
<LocalName xml:lang="sv">Skrivbord, KDE</LocalName>
<LocalName xml:lang="tr">KDE Masaüstü</LocalName>
<LocalName xml:lang="fr">Bureau KDE</LocalName>
<LocalName xml:lang="es">KDE</LocalName>
<LocalName xml:lang="de">KDE</LocalName>
<LocalName xml:lang="it">KDE</LocalName>
<Icon>kde</Icon>
</Group>
<Group>
<Name>other.desktop</Name>
<LocalName xml:lang="en">Other Desktops</LocalName>
<LocalName xml:lang="nl">Overige Desktop</LocalName>
<LocalName xml:lang="sv">Skrivbord, Övrigt</LocalName>
<LocalName xml:lang="tr">Diğer Masaüstü Ortamları</LocalName>
<LocalName xml:lang="fr">Autres bureaux</LocalName>
<LocalName xml:lang="es">Otros escritorios</LocalName>
<LocalName xml:lang="de">Andere Desktopumgebungen</LocalName>
<LocalName xml:lang="it">Altri desktop</LocalName>
<Icon>preferences-desktop</Icon>
</Group>
<Group>
<Name>publishing</Name>
<LocalName xml:lang="en">Publishing</LocalName>
<LocalName xml:lang="nl">Publiceren</LocalName>
<LocalName xml:lang="sv">Publicering</LocalName>
<LocalName xml:lang="tr">Yayıncılık</LocalName>
<LocalName xml:lang="fr">Publication</LocalName>
<LocalName xml:lang="es">Publicación</LocalName>
<LocalName xml:lang="it">Pubblicazione</LocalName>
<Icon>accessories-dictionary</Icon>
</Group>
<Group>
<Name>servers</Name>
<LocalName xml:lang="en">Servers</LocalName>
<LocalName xml:lang="nl">Servers</LocalName>
<LocalName xml:lang="sv">Servrar</LocalName>
<LocalName xml:lang="tr">Sunucular</LocalName>
<LocalName xml:lang="fr">Serveurs</LocalName>
<LocalName xml:lang="es">Servidores</LocalName>
<LocalName xml:lang="de">Server</LocalName>
<LocalName xml:lang="it">Server</LocalName>
<Icon>network-server</Icon>
</Group>
<Group>
<Name>fonts</Name>
<LocalName xml:lang="en">Fonts</LocalName>
......@@ -144,6 +203,28 @@
<LocalName xml:lang="it">Caratteri</LocalName>
<Icon>preferences-desktop-font</Icon>
</Group>
<Group>
<Name>admin.tools</Name>
<LocalName xml:lang="en">Admin Tools</LocalName>
<LocalName xml:lang="nl">Administratie</LocalName>
<LocalName xml:lang="sv">Administrativa verktyg</LocalName>
<LocalName xml:lang="tr">Yönetici Araçları</LocalName>
<LocalName xml:lang="fr">Outils d'administration</LocalName>
<LocalName xml:lang="es">Administración</LocalName>
<LocalName xml:lang="de">Admin Tools</LocalName>
<LocalName xml:lang="it">Strumenti d'amministrazione</LocalName>
<Icon>application-x-shellscript</Icon>
</Group>
<Group>
<Name>legacy</Name>
<LocalName xml:lang="en">Legacy</LocalName>
<LocalName xml:lang="nl">Legacy</LocalName>
<LocalName xml:lang="sv">Legat</LocalName>
<LocalName xml:lang="tr">Uyumluluk</LocalName>
<LocalName xml:lang="fr">Anciens</LocalName>
<LocalName xml:lang="it">Obsoleti/in disuso</LocalName>
<Icon>media-floppy</Icon>
</Group>
<Group>
<Name>localization</Name>
<LocalName xml:lang="en">Localization</LocalName>
......@@ -155,6 +236,77 @@
<LocalName xml:lang="it">Localizzazione</LocalName>
<Icon>preferences-desktop-locale</Icon>
</Group>
<Group>
<Name>virtualization</Name>
<LocalName xml:lang="en">Virtualization</LocalName>
<LocalName xml:lang="nl">Virtualisatie</LocalName>
<LocalName xml:lang="sv">Virtualisering</LocalName>
<LocalName xml:lang="tr">Sanallaştırma</LocalName>
<LocalName xml:lang="fr">Virtualisation</LocalName>
<LocalName xml:lang="es">Virtualización</LocalName>
<LocalName xml:lang="de">Virtualisierung</LocalName>
<LocalName xml:lang="it">Virtualizzazione</LocalName>
<Icon>video-display</Icon>
</Group>
<Group>
<Name>power.management</Name>
<LocalName xml:lang="en">Power Management</LocalName>
<LocalName xml:lang="nl">Stroombeheer</LocalName>
<LocalName xml:lang="sv">Strömsparhantering</LocalName>
<LocalName xml:lang="tr">Güç Yönetimi</LocalName>
<LocalName xml:lang="fr">Gestion de l'énergie</LocalName>
<LocalName xml:lang="es">Gestión de energía</LocalName>
<LocalName xml:lang="it">Gestione energetica</LocalName>
<Icon>preferences-system-power-management</Icon>
</Group>
<Group>
<Name>security</Name>
<LocalName xml:lang="en">Security</LocalName>
<LocalName xml:lang="nl">Veiligheid</LocalName>
<LocalName xml:lang="sv">Säkerhet</LocalName>
<LocalName xml:lang="tr">Güvenlik</LocalName>
<LocalName xml:lang="fr">Sécurité</LocalName>
<LocalName xml:lang="es">Seguridad</LocalName>
<LocalName xml:lang="de">Sicherheit</LocalName>
<LocalName xml:lang="it">Sicurezza</LocalName>
<Icon>preferences-desktop-cryptography</Icon>
</Group>
<Group>
<Name>communication</Name>
<LocalName xml:lang="en">Communication</LocalName>
<LocalName xml:lang="nl">Communicatie</LocalName>
<LocalName xml:lang="sv">Kommunikation</LocalName>
<LocalName xml:lang="tr">İletişim</LocalName>
<LocalName xml:lang="fr">Communication</LocalName>
<LocalName xml:lang="es">Comunicación</LocalName>
<LocalName xml:lang="de">Kommunikation</LocalName>
<LocalName xml:lang="it">Comunicazione</LocalName>
<Icon>internet-telephony</Icon>
</Group>
<Group>
<Name>network</Name>
<LocalName xml:lang="en">Network</LocalName>
<LocalName xml:lang="nl">Netwerk</LocalName>
<LocalName xml:lang="sv">Nätverk</LocalName>
<LocalName xml:lang="tr"></LocalName>
<LocalName xml:lang="fr">Réseau</LocalName>
<LocalName xml:lang="es">Red</LocalName>
<LocalName xml:lang="de">Netzwerk</LocalName>
<LocalName xml:lang="it">Rete</LocalName>
<Icon>network-workgroup</Icon>
</Group>
<Group>
<Name>science</Name>
<LocalName xml:lang="en">Science</LocalName>
<LocalName xml:lang="nl">Wetenschap</LocalName>
<LocalName xml:lang="sv">Vetenskap</LocalName>
<LocalName xml:lang="tr">Bilim</LocalName>
<LocalName xml:lang="fr">Science</LocalName>
<LocalName xml:lang="es">Ciencia</LocalName>
<LocalName xml:lang="de">Wissenschaft</LocalName>
<LocalName xml:lang="it">Scienze</LocalName>
<Icon>applications-science</Icon>
</Group>
<Group>
<Name>documentation</Name>
<LocalName xml:lang="en">Documentation</LocalName>
......@@ -167,6 +319,18 @@
<LocalName xml:lang="it">Documentazione</LocalName>
<Icon>graphics-viewer-document</Icon>
</Group>
<Group>
<Name>electronics</Name>
<LocalName xml:lang="en">Electronics</LocalName>
<LocalName xml:lang="nl">Elektronica</LocalName>
<LocalName xml:lang="sv">Elektroniskt</LocalName>
<LocalName xml:lang="tr">Elektronik</LocalName>
<LocalName xml:lang="fr">Électronique</LocalName>
<LocalName xml:lang="es">Electrónica</LocalName>
<LocalName xml:lang="de">Elektronik</LocalName>
<LocalName xml:lang="it">Elettronica</LocalName>
<Icon>utilities-system-monitor</Icon>
</Group>
<Group>
<Name>unknown</Name>
<LocalName xml:lang="en">Unknown</LocalName>
......
<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://gitlab.com/sulinos/sulinproject/inary/raw/master/inary-spec.dtd">
<INARY>
......@@ -44,9 +43,9 @@
<Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
<Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
</Files>
<Provides>
<!--Provides>
<SCOM script="package.py">System.Package</SCOM>
</Provides>
</Provides-->
</Package>
<Package>
......
This diff is collapsed.
674201f083b069bf6d9e70ae16d80f736b71ba48
\ No newline at end of file
4b8ddafcd9afb154dc9526bb416d38f5c2c51f50
\ No newline at end of file
77a659d34ad0f644e8dd45f74e21b7f35a449aa9
\ No newline at end of file
6468abdd6d34662871f137ab685f0614239a6da6
\ No newline at end of file
#!/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 inary.actionsapi import kerneltools
from inary.actionsapi import shelltools
from inary.actionsapi import autotools
from inary.actionsapi import inarytools
from inary.actionsapi import get
NoStrip = ["/lib", "/boot"]
shelltools.export("KBUILD_BUILD_USER", "sulin")
shelltools.export("KBUILD_BUILD_HOST", "uludag")
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
#cpupower_arch = get.ARCH().replace("i686", "i386")
def setup():
kerneltools.configure()
def build():
kerneltools.build(debugSymbols=False)
def install():
kerneltools.install()
# add objtool for external module building and enabled VALIDATION_STACK option
inarytools.insinto("/usr/src/linux-headers-%s/tools/objtool" % get.srcVERSION(), "%s/tools/objtool/objtool" % get.curDIR())
# Install kernel headers needed for out-of-tree module compilation
kerneltools.installHeaders()
kerneltools.installLibcHeaders()
# Generate some module lists to use within mkinitramfs
shelltools.system("./generate-module-list %s/lib/modules/%s" % (get.installDIR(), kerneltools.__getSuffix()))
#mkinitcpio default config
inarytools.dodir("/etc/mkinitcpio.d")
shelltools.touch("linux.preset")
shelltools.echo("linux.preset", "# mkinitcpio preset file for the 'linux' package\n" +
'ALL_config="/etc/mkinitcpio.conf"\n'+
'ALL_kver="/boot/kernel-%s"\n\n'% get.srcVERSION() +
"PRESETS=('default' 'fallback') \n\n" +
'#default_config="/etc/mkinitcpio.conf"\n' +
'default_image="/boot/initramfs-%s.img"\n'% get.srcVERSION() +
'#default_options=""\n\n' +
'#fallback_config="/etc/mkinitcpio.conf"\n'+
'fallback_image="/boot/initramfs-%s-fallback.img"\n'% get.srcVERSION() +
'fallback_options="-S autodetect"\n')