Kaydet (Commit) 2983fa31 authored tarafından Your Name's avatar Your Name

coreutils hzlandrld

üst 03f54aba
......@@ -77,7 +77,7 @@
<Path fileType="doc">/usr/share/gtk-doc</Path>
</Files>
</Package>
<Package>
<!--Package>
<Name>pango-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for pango</Summary>
......@@ -113,9 +113,9 @@
<Path fileType="library">/usr/lib32/girepository-1.0</Path>
<Path fileType="library">/usr/lib32/pango</Path>
</Files>
</Package>
</Package-->
<History>
<Update release="4">
<Update release="4">
<Date>2020-02-01</Date>
<Version>1.44.7</Version>
<Comment>Package is rebuilded and released up.</Comment>
......
......@@ -12,9 +12,17 @@ from inary.actionsapi import get
def setup():
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
shelltools.system(" ./configure --prefix=/usr --sysconfdir=/etc \
if get.buildTYPE != "emul32":
shelltools.system(" ./configure --prefix=/usr --sysconfdir=/etc \
--libdir=/usr/lib \
--enable-svgz --disable-gtk-doc")
else:
shelltools.export("PKG_CONFIG","i686-pc-linux-gnu-pkg-config")
shelltools.export("RUST_TARGET","i686-unknown-linux-gnu")
shelltools.system(" ./configure --prefix=/usr --sysconfdir=/etc \
--libdir=/usr/lib32 \
--enable-svgz --disable-gtk-doc\
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu")
def build():
autotools.make()
......
Makefile.am | 2 --
configure.ac | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git c/Makefile.am i/Makefile.am
index acf51182..8fd9eb8f 100644
--- c/Makefile.am
+++ i/Makefile.am
@@ -133,9 +133,7 @@ else
CARGO_RELEASE_ARGS=--release
endif
-if CROSS_COMPILING
CARGO_TARGET_ARGS=--target=$(RUST_TARGET)
-endif
CARGO_VERBOSE = $(cargo_verbose_$(V))
cargo_verbose_ = $(cargo_verbose_$(AM_DEFAULT_VERBOSITY))
diff --git c/configure.ac i/configure.ac
index d566ab49..456394ff 100644
--- c/configure.ac
+++ i/configure.ac
@@ -292,9 +292,7 @@ if test "x$RUST_TARGET" == x; then
fi
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
-if test "x$cross_compiling" = "xyes" ; then
- RUST_TARGET_SUBDIR="$RUST_TARGET/$RUST_TARGET_SUBDIR"
-fi
+RUST_TARGET_SUBDIR="$RUST_TARGET/$RUST_TARGET_SUBDIR"
AC_SUBST([RUST_TARGET_SUBDIR])
dnl ===========================================================================
......@@ -24,6 +24,9 @@
<Dependency>gtk-doc</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>multilib.patch</Patch>
</Patches>
</Source>
<Package>
......@@ -53,7 +56,7 @@
<Path fileType="locale">/usr/share/locale</Path>
</Files>
</Package>
<!--Package>
<Package>
<Name>librsvg-32bit</Name>
<BuildType>emul32</BuildType>
<RuntimeDependencies>
......@@ -65,7 +68,7 @@
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package-->
</Package>
<Package>
<Name>librsvg-devel</Name>
<RuntimeDependencies>
......
#!/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 get
from inary.actionsapi import autotools
from inary.actionsapi import inarytools
from inary.actionsapi import shelltools
shelltools.export("ALT_PARALLEL_COMPILE_JOBS", get.makeJOBS())
shelltools.export("HOTSPOT_BUILD_JOBS", get.makeJOBS())
shelltools.export("LC_ALL", "C")
shelltools.export("CFLAGS","-Wno-error=deprecated-declarations -Wno-error=stringop-overflow= -Wno-error=return-type -Wno-error=cpp -fno-lifetime-dse -fno-delete-null-pointer-checks")
def setup():
shelltools.export("CC", "gcc")
shelltools.export("CXX", "g++")
shelltools.system("chmod +x ./configure")
autotools.rawConfigure("--with-milestone=\"fcs\" \
--enable-unlimited-crypto \
--with-zlib=system")
def build():
shelltools.system("make JOBS=5")
def check():
autotools.make("check -k")
def install():
jvmdir="/usr/lib/jvm/java-8-openjdk"
inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "HACKING", "README", "NEWS")
#cd main output directory
shelltools.cd("openjdk.build")
#---- install openjdk8-doc
inarytools.insinto("/usr/share/doc/openjdk8-doc", "docs/*")
#install openjdk8-src
inarytools.insinto(jvmdir, "images/j2sdk-image/src.zip")
#---- instal jdk8-openjdk
for d in ["include","lib","bin"]:
inarytools.insinto(jvmdir, "images/j2sdk-image/%s" % d)
#install openjdk8-src
# inarytools.insinto(jvmdir, "images/j2re-image/src.zip")
for f in shelltools.ls("%s/usr/lib/jvm/java-8-openjdk/bin/" % get.installDIR()):
if not f in ["java", "java-rmi.cgi", "keytool", "orbd",
"pack200", "policytool", "rmid", "rmiregistry",
"servertool", "tnameserv", "unpack200"]:
inarytools.dosym("/usr/lib/jvm/java-8-openjdk/bin/%s" % f, "/usr/bin/%s" % f)
#install man pages
inarytools.doman("images/j2sdk-image/man/man1/*")
inarytools.insinto("/usr/share/man/ja/man1", "images/j2sdk-image/man/ja_JP.UTF-8/man1/*.1")
inarytools.insinto("/usr/share/applications", "../jconsole.desktop")
shelltools.system("chmod go+r %s%s/lib/sa-jdi.jar" %(get.installDIR(), jvmdir))
#---- instal jre8-openjdk
inarytools.insinto("%s/jre/bin" % jvmdir , "images/j2sdk-image/jre/bin/*")
#inarytools.insinto("%s/jre/lib/amd64" % jvmdir , "j2sdk-image/jre/lib/amd64/xawt")
for binfile in shelltools.ls("images/j2sdk-image/jre/bin"):
try:
inarytools.dosym("%s/jre/bin/%s" % (jvmdir, binfile), "/usr/bin/%s" % binfile)
except:
pass
inarytools.insinto("/usr/share/applications", "../policytool.desktop")
for size in [16, 24, 32, 48]:
fullsize = "%dx%d" % ((size, ) * 2)
inarytools.insinto("/usr/share/icons/hicolor/%s/apps/" % fullsize, "../openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon%d.png" % size, "java.png")
#---- install jre8-openjdk-headless
inarytools.insinto("%s/jre/" % jvmdir , "images/j2sdk-image/jre/lib")
inarytools.insinto("%s/jre/bin" % jvmdir, "images/j2sdk-image/jre/bin/*")
# inarytools.rename("%s/jre/lib/fontconfig.Ubuntu.properties.src" % jvmdir , "fontconfig.properties")
# inarytools.rename("%s/jre/lib/fontconfig.Ubuntu.bfc" % jvmdir , "fontconfig.bfc")
#inarytools.remove("%s/jre/lib/fontconfig.*.bfc" % jvmdir)
#inarytools.remove("%s/jre/lib/fontconfig.*.properties.src" % jvmdir)
inarytools.domove("%s/jre/lib/*.properties*" % jvmdir,"/etc/java-8-openjdk/")
for propfile in shelltools.ls("%s/etc/java-8-openjdk/" % get.installDIR()):
inarytools.dosym("/etc/java-8-openjdk/%s" % propfile, "%s/jre/lib/%s" % (jvmdir, propfile))
inarytools.domove("%s/jre/lib/images/cursors/cursors.properties" % jvmdir,"/etc/java-8-openjdk/cursors/")
inarytools.dosym("/etc/java-8-openjdk/cursors/cursors.properties", "%s/jre/lib/images/cursors/cursors.properties" % jvmdir)
inarytools.rename("%s/jre/lib/management/jmxremote.password.template" % jvmdir , "jmxremote.password")
inarytools.rename("%s/jre/lib/management/snmp.acl.template" % jvmdir , "snmp.acl")
for f in ["management.properties", "jmxremote.access", "jmxremote.password", "snmp.acl"]:
inarytools.domove("%s/jre/lib/management/%s" % (jvmdir, f),"/etc/java-8-openjdk/management/")
inarytools.dosym("/etc/java-8-openjdk/management/%s" % f, "%s/jre/lib/management/%s" % (jvmdir, f))
for f in ["java.policy","java.security","nss.cfg"]:
inarytools.domove("%s/jre/lib/security/%s" % (jvmdir, f),"/etc/java-8-openjdk/security/")
inarytools.dosym("/etc/java-8-openjdk/security/%s" % f, "%s/jre/lib/security/%s" % (jvmdir, f))
#confs=os.listdir("%s/etc/java-8-openjdk/" % get.installDIR())
#for i in confs:
#shelltools.system("chmod 0644 %s/etc/java-8-openjdk/%s" % (get.installDIR, i))
#inarytools.domove("%s/jre/lib/fontconfig.bfc" % jvmdir,"/etc/java-8-openjdk/")
inarytools.domove("%s/jre/lib/amd64/jvm.cfg" % jvmdir,"/etc/java-8-openjdk/")
inarytools.dosym("/etc/java-8-openjdk/jvm.cfg" , "%s/jre/lib/amd64/jvm.cfg" % jvmdir)
for license in ["LICENSE", "THIRD_PARTY_README", "ASSEMBLY_EXCEPTION"]:
inarytools.insinto("/usr/share/doc/jre8-openjdk-headless", "images/j2re-image/%s" % license)
inarytools.remove("%s/jre/lib/security/cacerts" % jvmdir)
#seems we need to add this symlink into ca-certificates-java package ?
inarytools.dosym("/etc/ssl/certs/java/cacerts", "%s/jre/lib/security/cacerts" % jvmdir)
This diff is collapsed.
<?xml version="1.0" ?>
<INARY>
<Source>
<Name>java7-openjdk</Name>
<Summary xml:lang="en">Open Java Development Kit</Summary>
<Description xml:lang="en">OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description>
</Source>
<Package>
<Name>jre7-openjdk</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Full Java runtime environment - needed for executing Java GUI and Webstart programs</Summary>
</Package>
<Package>
<Name>jre7-openjdk-headless</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs</Summary>
</Package>
<Package>
<Name>openjdk7-src</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources</Summary>
</Package>
<Package>
<Name>jdk7-openjdk</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK</Summary>
</Package>
<Package>
<Name>openjdk7-doc</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - documentation</Summary>
</Package>
</INARY>
......@@ -14,7 +14,7 @@
<IsA>data</IsA>
<Summary>Filesystem baselayout</Summary>
<Description>baselayout creates the Sulin Linux main filesystem hierarchy.</Description>
<Archive sha1sum="cfd81a74b29a8041af4384c2f55291e7a71c47d0">https://gitlab.com/sulinos/devel/baselayout/-/archive/3.0/baselayout-3.0.zip</Archive>
<Archive sha1sum="c37d1cc73b03b4e30b3f80ee374328178cd6e2b2">https://gitlab.com/sulinos/devel/baselayout/-/archive/3.0.1/baselayout-3.0.1.zip</Archive>
</Source>
<Package>
......@@ -52,6 +52,13 @@
</Package>
<History>
<Update release="4">
<Date>2019-10-10</Date>
<Version>3.0.1</Version>
<Comment>s20 started.</Comment>
<Name>Ali Rıza KESKİN</Name>
<Email>parduscix@yandex.ru</Email>
</Update>
<Update release="3">
<Date>2019-10-10</Date>
<Version>2.14</Version>
......
......@@ -13,9 +13,9 @@ from inary.actionsapi import shelltools
movetobin = ["arch", "basename", "cat", "chgrp", "chmod", "chown", "cp", "cut", "date", "dd", "df",
"dir", "echo", "env", "false", "link", "ln", "ls", "mkdir", "mknod", "mktemp", "mv",
"nice", "pwd", "readlink", "rm", "rmdir", "sleep", "sort", "stty", "sync", "touch",
"true", "uname", "unlink", "vdir"]
"true", "uname", "unlink", "vdir","coreutils"]
symtousrbin = ["env", "cut", "readlink"]
symtousrbin = ["env", "cut", "readlink","coreutils"]
def setup():
inarytools.cflags.add("-fno-strict-aliasing -fPIC -D_GNU_SOURCE=1")
......@@ -29,15 +29,18 @@ def setup():
# Fedora also installs su and hostname
autotools.configure("""--with-packager="Sulin" \
--with-packager-version="coreutils-8.28" \
--with-packager-version="coreutils-8.31" \
--without-selinux \
--with-packager-bug-reports="https://gitlab.com/sulinos/main/issues" \
--enable-largefile \
--enable-single-binary=symlinks \
--enable-install-program=arch \
--with-openssl \
--enable-no-install-program=faillog,hostname,login,lastlog,uptime \
--libexecdir=/usr/lib""")
def build():
autotools.make()
autotools.make("SHARED=0 CFLAGS='-Ofast'")
def install():
......@@ -54,5 +57,6 @@ def install():
for f in symtousrbin:
inarytools.dosym("../../bin/%s" % f, "/usr/bin/%s" % f)
inarytools.dodoc("AUTHORS", "ChangeLog*", "NEWS", "README*", "THANKS", "TODO")
......@@ -72,6 +72,13 @@
</Package>
<History>
<Update release="3">
<Date>2019-09-17</Date>
<Version>8.31</Version>
<Comment>Fix compile bug and remove selinux</Comment>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
<Update release="2">
<Date>2019-09-17</Date>
<Version>8.31</Version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment