Kaydet (Commit) 17faa65a authored tarafından sulincix's avatar sulincix

fgltğımgrkğrdğmıgnaü

üst c2036c96
......@@ -4,15 +4,20 @@ all: clean build
build:
mkdir -p build/usr/lib/ || true
mkdir -p build/usr/bin/ || true
mkdir -p build/usr/share/applications || true
cp -prfv live-installer build/usr/lib/
install data/live-installer.sh build/usr/bin/live-installer
install data/live-installer.desktop build/usr/share/applications/live-installer.desktop
#set parmissions
chmod 755 -R build
chown root -R build
install:
cp -prfv build/* $(DESTDIR)/
uninstall:
rm -rf $(DESTDIR)//usr/lib/live-installer
rm -rf $(DESTDIR)/usr/lib/live-installer
rm -f $(DESTDIR)/usr/bin/live-installer
rm -f $(DESTDIR)/usr/share/applications/live-installer.desktop
clean:
rm -rf build
DESTDIR=/
all: clean build
build:
mkdir -p build@prefix@/lib/ || true
cp -prfv live-installer build@prefix@/lib/
#set parmissions
chmod 755 -R build
chown root -R build
install:
cp -prfv build/* $(DESTDIR)/
uninstall:
rm -rf $(DESTDIR)/@prefix@/lib/live-installer
clean:
rm -rf build
#!/bin/bash
is_exists(){
echo -ne "Checking $1 "
p=$(which "$1")
if [ "$p" == "" ] ; then
echo "(not found)"
exit 1
else
echo "(yes)"
fi
}
helpmsg(){
echo "Usage ./configure [options]"
echo " --prefix : Use custom prefix location (default /usr)"
echo " --clear : Remove alt fles"
echo " --help : Show this message"
}
#defaults
export prefix="/usr/local"
export nsl=true
cp Makefile.in Makefile.ac
for arg in $*
do
if echo $arg | grep "^--clear" &>/dev/null ; then
[ -f Makefile.ac ] && rm -f Makefile.ac
[ -f Makefile ] && rm -f Makefile
[ -d build ] && rm -rf build
exit 0
elif echo $arg | grep "^--help" &>/dev/null ; then
helpmsg
exit 0
elif echo $arg | grep "^--prefix=" &>/dev/null; then
export prefix=$(echo "$arg" | sed "s/^.*=//g")
fi
done
#Checking program
for item in msgfmt install python3 chown chmod
do
is_exists $item
done
sed -i "s|@prefix@|$prefix|g" Makefile.ac
echo -e " Prefix: $prefix"
echo -e " Locale-Support: $nsl"
mv Makefile.ac Makefile
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Version=1.0
Name=live-installer
Comment=Install this system permanently to your hard disk
Exec=/usr/bin/live-installer
Icon=/usr/lib/live-installer/icons/live-installer.png
Terminal=false
Categories=GTK;System;Settings;
X-Ayatana-Appmenu-Show-Stubs=False
Name[C]=live-installer.desktop
cd /usr/lib/live-installer
GTK_THEME=Adwaita pkexec python3 main.py $*
......@@ -448,7 +448,7 @@ class InstallerEngine:
self.update_progress(our_current, our_total, False,
False, ("Setting keyboard options"))
#Keyboard settings openrc
newconsolefh = open("/etc/conf.d/keymaps", "w")
newconsolefh = open("/target/etc/conf.d/keymaps", "w")
if not self.setup.keyboard_layout:
self.setup.keyboard_layout="en"
if not self.setup.keyboard_variant:
......@@ -459,7 +459,7 @@ class InstallerEngine:
self.update_progress(our_current, our_total, False,
False, ("Settings X11 keyboard options"))
newconsolefh = open("/etc/X11/xorg.conf.d/00-keyboard.conf", "w")
newconsolefh = open("/target/etc/X11/xorg.conf.d/00-keyboard.conf", "w")
newconsolefh.write('Section "InputClass"')
newconsolefh.write('Identifier "system-keyboard"')
newconsolefh.write('MatchIsKeyboard "on"')
......
from gi.repository import Gtk
import os
from gi.repository import Gtk, Gdk
import gi
from frontend.gtk_interface import InstallerWindow
import sys
import subprocess
import gettext
os.environ['GTK_THEME']="Adwaita"
sys.path.insert(1, '/usr/lib/live-installer')
gi.require_version('Gtk', '3.0')
def gtk_style():
style_provider = Gtk.CssProvider()
style_provider.load_from_path('./resources/theme/gtk.css')
Gtk.StyleContext.add_provider_for_screen(
Gdk.Screen.get_default(),
style_provider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
)
# main entry
if __name__ == "__main__":
gtk_style()
if ("--expert-mode" in sys.argv):
win = InstallerWindow(expert_mode=True)
else:
......
/************
* Nautilus *
************/
.nautilus-desktop.nautilus-canvas-item {
color: @theme_base_color;
text-shadow: 1px 1px alpha (@theme_fg_color, 0.8);
}
.nautilus-desktop.nautilus-canvas-item:active,
.nautilus-desktop.nautilus-canvas-item:hover,
.nautilus-desktop.nautilus-canvas-item:selected {
text-shadow: none;
}
.nautilus-desktop .entry {
background-image: none;
border-image: none;
}
/*******************
* gnome-documents *
*******************/
.documents-scrolledwin.frame {
border-width: 1px 0 0 0;
border-radius: 0;
}
.documents-main-view.view {
background-color: @theme_base_color;
}
iconview.documents-main-view.check {
background-repeat: no-repeat;
background-position: center;
background-color: @theme_base_color;
}
.documents-selection-mode.toolbar {
border-width: 0;
}
.documents-selection-mode.toolbar .dim-label {
color: @theme_fg_color;
}
.documents-icon-bg {
background-color: @switch_trough_active_gradient_a;
border-radius: 3px;
color: @theme_base_color;
}
.documents-collection-icon {
background-color: @theme_base_color;
border-radius: 3px;
}
/* gnome-weather */
#weather-page stack > scrolledwindow > viewport.frame,
#weather-page stack > scrolledwindow > viewport.frame > grid > frame {
background-color: transparent;
}
#weather-page frame.weather-clear .linked.stack-switcher.osd > button,
#weather-page frame.weather-overcast .linked.stack-switcher.osd > button,
#weather-page frame.weather-overcast stack > scrolledwindow > .frame label {
color: @theme_fg_color;
text-shadow: none;
}
#weather-page frame.weather-clear .linked.stack-switcher.osd > button:checked,
#weather-page frame.weather-overcast .linked.stack-switcher.osd > button:checked {
color: @osd_button_fg_active;
}
/*********
* Unity *
*********/
UnityPanelWidget,
.unity-panel {
background-image: none;
background-color: @theme_base_color;
color: @theme_fg_color;
border-width: 0;
}
.unity-panel menubar menuitem:hover {
background-color: @menu_bg_color;
border-style: solid;
border-width: 1px 1px 0px;
border-color: @menubar_menuitem_hover_border_color;
border-radius: 3px 3px 0 0;
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (@menubar_menuitem_hover_gradient_a),
color-stop (0.50, @menubar_menuitem_hover_gradient_b),
color-stop (0.50, @menubar_menuitem_hover_gradient_c),
to (@menubar_menuitem_hover_gradient_d));
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg33222"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="border-error.svg">
<sodipodi:namedview
id="base"
pagecolor="#8e8e8e"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="33.768656"
inkscape:cx="8.057951"
inkscape:cy="7.9987245"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="969"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:snap-nodes="false"
inkscape:snap-bbox="true"
inkscape:showpageshadow="false"
showborder="false">
<inkscape:grid
snapvisiblegridlinesonly="true"
enabled="true"
visible="true"
empspacing="5"
id="grid2992"
type="xygrid" />
</sodipodi:namedview>
<defs
id="defs33224">
<linearGradient
id="linearGradient3837">
<stop
id="stop3839"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop3841"
offset="1"
style="stop-color:#ffffff;stop-opacity:0;" />
</linearGradient>
</defs>
<metadata
id="metadata33227">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
sodipodi:nodetypes="cssssc"
inkscape:connector-curvature="0"
id="rect17861-5"
d="m 15.5,4 0,8.999999 c 0,1.385 -1.115,2.5 -2.5,2.5 l -9.9999995,0 c -1.3850003,0 -2.5000005,-1.115 -2.5000005,-2.5 L 0.5,4"
style="color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<rect
style="color:#000000;fill:none;stroke:#545454;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect17861"
width="15"
height="13.999999"
x="0.5"
y="0.5"
rx="2.5000005"
ry="2.5" />
<rect
style="color:#000000;fill:none;stroke:#545454;stroke-width:0.99999994000000003;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.25000000000000000"
id="rect17861-6"
width="13.000001"
height="12"
x="1.5"
y="1.5"
rx="1.5"
ry="1.5" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg33222"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="border-focused-2.svg">
<defs
id="defs33224">
<linearGradient
id="linearGradient3837">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3839" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop3841" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#8e8e8e"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="44.5625"
inkscape:cx="8"
inkscape:cy="8"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="949"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:snap-nodes="false"
inkscape:snap-bbox="true"
inkscape:showpageshadow="false"
showborder="false">
<inkscape:grid
type="xygrid"
id="grid2992"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata33227">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
ry="2.5"
rx="2.5000005"
y="0.5"
x="0.5"
height="13.999999"
width="15"
id="rect17861"
style="color:#000000;fill:none;stroke:#869bb7;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<rect
ry="1.5"
rx="1.5"
y="1.5"
x="1.5"
height="12"
width="13.000001"
id="rect17861-6"
style="color:#000000;fill:none;stroke:#cccccc;stroke-width:0.99999994000000003;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.25" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg33222"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="border-focused-switch.svg">
<sodipodi:namedview
id="base"
pagecolor="#8e8e8e"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="3.18732"
inkscape:cy="9.5803639"
inkscape:current-layer="svg33222"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="969"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:snap-nodes="false"
inkscape:snap-bbox="true"
inkscape:showpageshadow="false"
showborder="false">
<inkscape:grid
snapvisiblegridlinesonly="true"
enabled="true"
visible="true"
empspacing="5"
id="grid2992"
type="xygrid" />
</sodipodi:namedview>
<defs
id="defs33224">
<linearGradient
id="linearGradient3837">
<stop
id="stop3839"
offset="0"
style="stop-color:#cfcfcf;stop-opacity:1;" />
<stop
id="stop3841"
offset="1"
style="stop-color:#cfcfcf;stop-opacity:0;" />
</linearGradient>
</defs>
<metadata
id="metadata33227">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
sodipodi:nodetypes="cssssc"
inkscape:connector-curvature="0"
id="rect17861-5"
d="m 15.5,4 0,8.999999 c 0,1.385 -1.115,2.5 -2.5,2.5 l -9.9999995,0 c -1.3850003,0 -2.5000005,-1.115 -2.5000005,-2.5 L 0.5,4"
style="color:#000000;fill:none;stroke:#cfcfcf;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<rect
style="color:#000000;fill:none;stroke:#555555;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect17861"
width="15"
height="13.999999"
x="0.5"
y="0.5"
rx="2.5000005"
ry="2.5" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg33222"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="border-focused.svg">
<sodipodi:namedview
id="base"
pagecolor="#8e8e8e"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="3.31232"
inkscape:cy="9.5803639"
inkscape:current-layer="svg33222"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="969"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:snap-nodes="false"
inkscape:snap-bbox="true"
inkscape:showpageshadow="false"
showborder="false">
<inkscape:grid
snapvisiblegridlinesonly="true"
enabled="true"
visible="true"
empspacing="5"
id="grid2992"
type="xygrid" />
</sodipodi:namedview>
<defs
id="defs33224">
<linearGradient
id="linearGradient3837">
<stop
id="stop3839"
offset="0"
style="stop-color:#878787;stop-opacity:1;" />
<stop
id="stop3841"
offset="1"
style="stop-color:#878787;stop-opacity:0;" />
</linearGradient>
</defs>
<metadata
id="metadata33227">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
sodipodi:nodetypes="cssssc"
inkscape:connector-curvature="0"
id="rect17861-5"
d="m 15.5,4 0,8.999999 c 0,1.385 -1.115,2.5 -2.5,2.5 l -9.9999995,0 c -1.3850003,0 -2.5000005,-1.115 -2.5000005,-2.5 L 0.5,4"
style="color:#000000;fill:none;stroke:#878787;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6" />
<rect
style="color:#000000;fill:none;stroke:#383838;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect17861"
width="15"
height="13.999999"
x="0.5"
y="0.5"
rx="2.5000005"
ry="2.5" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg33222"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="0.svg">
<defs
id="defs33224">
<linearGradient
id="linearGradient4410-4-9-7-9">
<stop
style="stop-color:#fbfcfb;stop-opacity:1;"
offset="0"
id="stop4412-6-7-4-4" />
<stop
style="stop-color: rgb(221, 222, 221); stop-opacity: 1;"
offset="1"
id="stop4414-9-8-8-8" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5378-2-93"
id="linearGradient17869"