Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
da595826
Kaydet (Commit)
da595826
authored
Ara 22, 2018
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Geçici olarak kullanılan değişimler deaktif edildi.
üst
0291c53a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
inary.conf-x86_64
config/inary.conf-x86_64
+4
-4
autotools.py
inary/actionsapi/autotools.py
+2
-2
archive.py
inary/archive.py
+2
-2
sourcearchive.py
inary/sourcearchive.py
+0
-0
setup.py
setup.py
+2
-2
No files found.
config/inary.conf-x86_64
Dosyayı görüntüle @
da595826
[build]
[build]
build_host = localhost
build_host = localhost
# buildhelper = None
# buildhelper = None
commonflags = -mtune=generic -
march=x86-64 -
O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC
commonflags = -mtune=generic -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC
cflags = %(commonflags)s
cflags = %(commonflags)s
cxxflags = %(commonflags)s
cxxflags = %(commonflags)s
host = x86_64-linux-gnu
host = x86_64-
pc-
linux-gnu
cc = %(host)s-gcc
cc = %(host)s-gcc
cxx = %(host)s-g++
cxx = %(host)s-g++
compressionlevel = 9
compressionlevel = 9
...
@@ -38,8 +38,8 @@ autoclean = False
...
@@ -38,8 +38,8 @@ autoclean = False
bandwidth_limit = 0
bandwidth_limit = 0
destinationdirectory = /
destinationdirectory = /
distribution = Sulin
distribution = Sulin
distribution_release = 201
8
distribution_release = 201
9
distribution_id = s1
8
distribution_id = s1
9
# ftp_proxy = None
# ftp_proxy = None
# http_proxy = None
# http_proxy = None
# https_proxy = None
# https_proxy = None
...
...
inary/actionsapi/autotools.py
Dosyayı görüntüle @
da595826
...
@@ -64,7 +64,7 @@ class RunTimeError(inary.actionsapi.Error):
...
@@ -64,7 +64,7 @@ class RunTimeError(inary.actionsapi.Error):
ctx
.
ui
.
error
(
value
)
ctx
.
ui
.
error
(
value
)
def
configure
(
parameters
=
''
):
def
configure
(
parameters
=
''
):
"""configure source with given parameters = "--with-nls --with-libusb --with-something-usefull
\"
"""
"""configure source with given parameters = "--with-nls --with-libusb --with-something-usefull"""
if
can_access_file
(
'configure'
):
if
can_access_file
(
'configure'
):
gnuconfig_update
()
gnuconfig_update
()
...
@@ -94,7 +94,7 @@ def configure(parameters = ''):
...
@@ -94,7 +94,7 @@ def configure(parameters = ''):
raise
ConfigureError
(
_
(
'No configure script found.'
))
raise
ConfigureError
(
_
(
'No configure script found.'
))
def
rawConfigure
(
parameters
=
''
):
def
rawConfigure
(
parameters
=
''
):
"""configure source with given parameters =
"--prefix=/usr --libdir=/usr/lib --with-nls
\"
"""
"""configure source with given parameters =
--prefix=/usr --libdir=/usr/lib --with-nls
"""
if
can_access_file
(
'configure'
):
if
can_access_file
(
'configure'
):
gnuconfig_update
()
gnuconfig_update
()
...
...
inary/archive.py
Dosyayı görüntüle @
da595826
...
@@ -217,7 +217,7 @@ class ArchiveBzip2(ArchiveBase):
...
@@ -217,7 +217,7 @@ class ArchiveBzip2(ArchiveBase):
import
bz2
import
bz2
bz2_file
=
bz2
.
BZ2File
(
self
.
file_path
,
"r"
)
bz2_file
=
bz2
.
BZ2File
(
self
.
file_path
,
"r"
)
output
=
open
(
output_path
,
"w"
)
output
=
open
(
output_path
,
"w"
)
output
.
write
(
bz2_file
.
read
())
output
.
write
(
bz2_file
.
read
()
.
decode
(
"utf-8"
)
)
output
.
close
()
output
.
close
()
bz2_file
.
close
()
bz2_file
.
close
()
...
@@ -243,7 +243,7 @@ class ArchiveGzip(ArchiveBase):
...
@@ -243,7 +243,7 @@ class ArchiveGzip(ArchiveBase):
import
gzip
import
gzip
gzip_file
=
gzip
.
GzipFile
(
self
.
file_path
,
"r"
)
gzip_file
=
gzip
.
GzipFile
(
self
.
file_path
,
"r"
)
output
=
open
(
output_path
,
"w"
)
output
=
open
(
output_path
,
"w"
)
output
.
write
(
gzip_file
.
read
())
output
.
write
(
gzip_file
.
read
()
.
decode
(
"utf-8"
)
)
output
.
close
()
output
.
close
()
gzip_file
.
close
()
gzip_file
.
close
()
...
...
inary/sourcearchive.py
deleted
100644 → 0
Dosyayı görüntüle @
0291c53a
setup.py
Dosyayı görüntüle @
da595826
...
@@ -115,14 +115,14 @@ class Install(install):
...
@@ -115,14 +115,14 @@ class Install(install):
print
(
"Installing '{}' translations..."
.
format
(
lang
))
print
(
"Installing '{}' translations..."
.
format
(
lang
))
os
.
system
(
"msgfmt po/{0}.po -o po/{0}.mo"
.
format
(
lang
))
os
.
system
(
"msgfmt po/{0}.po -o po/{0}.mo"
.
format
(
lang
))
if
not
self
.
root
:
if
not
self
.
root
:
self
.
root
=
"/"
self
.
root
=
"
.
/"
destpath
=
os
.
path
.
join
(
self
.
root
,
"usr/share/locale/{}/LC_MESSAGES"
.
format
(
lang
))
destpath
=
os
.
path
.
join
(
self
.
root
,
"usr/share/locale/{}/LC_MESSAGES"
.
format
(
lang
))
if
not
os
.
path
.
exists
(
destpath
):
if
not
os
.
path
.
exists
(
destpath
):
os
.
makedirs
(
destpath
)
os
.
makedirs
(
destpath
)
shutil
.
copy
(
"po/{}.mo"
.
format
(
lang
),
os
.
path
.
join
(
destpath
,
"inary.mo"
))
shutil
.
copy
(
"po/{}.mo"
.
format
(
lang
),
os
.
path
.
join
(
destpath
,
"inary.mo"
))
def
installdoc
(
self
):
def
installdoc
(
self
):
#
self.root ='/'
self
.
root
=
'/'
destpath
=
os
.
path
.
join
(
self
.
root
,
"usr/share/doc/inary"
)
destpath
=
os
.
path
.
join
(
self
.
root
,
"usr/share/doc/inary"
)
if
not
os
.
path
.
exists
(
destpath
):
if
not
os
.
path
.
exists
(
destpath
):
os
.
makedirs
(
destpath
)
os
.
makedirs
(
destpath
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment