mate-ayarlari

This commit is contained in:
milisbir 2017-02-08 12:08:55 +00:00
parent 4a6d8f611a
commit b5432e2448
15 changed files with 3590 additions and 0 deletions

View File

@ -0,0 +1,173 @@
; caja GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/DirViewActions/Trash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Save Search" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Emblems" "")
; (gtk_accel_path "<Actions>/DirViewActions/Start Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/TabsNext" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/DirViewActions/Location Poll" "")
; (gtk_accel_path "<Actions>/ShellActions/Go to Trash" "")
; (gtk_accel_path "<Actions>/SpatialActions/Go to Location" "<Primary>l")
; (gtk_accel_path "<Actions>/IconViewActions/Stretch" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab8" "<Alt>9")
; (gtk_accel_path "<Actions>/DirViewActions/MoveToMenu" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel" "<Primary>equal")
; (gtk_accel_path "<Actions>/DirViewActions/LocationTrash" "")
; (gtk_accel_path "<Actions>/DirViewActions/RenameSelectAll" "<Shift>F2")
; (gtk_accel_path "<Actions>/NavigationActions/Back" "<Alt>Left")
; (gtk_accel_path "<Actions>/DirViewActions/Undo" "<Primary>z")
; (gtk_accel_path "<Actions>/NavigationActions/Tab7" "<Alt>8")
; (gtk_accel_path "<Actions>/DirViewActions/Location Start Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/CopyToMenu" "")
; (gtk_accel_path "<Actions>/NavigationActions/Add Bookmark" "<Primary>d")
; (gtk_accel_path "<Actions>/DirViewActions/Empty Trash" "")
; (gtk_accel_path "<Actions>/ShellActions/Close" "<Primary>w")
; (gtk_accel_path "<Actions>/DirViewActions/LocationRestoreFromTrash" "")
; (gtk_accel_path "<Actions>/IconViewActions/Manual Layout" "")
; (gtk_accel_path "<Actions>/ExtensionsMenuGroup/CajaOpenTerminal::open_terminal" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom Normal" "<Primary>0")
; (gtk_accel_path "<Actions>/NavigationActions/Tab1" "<Alt>2")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Extra Pane" "F3")
; (gtk_accel_path "<Actions>/DirViewActions/Create Link" "<Primary>m")
; (gtk_accel_path "<Actions>/NavigationActions/Clear History" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationDelete" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Trash Time" "")
; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication2" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenInNewTab" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication1" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Statusbar" "")
; (gtk_accel_path "<Actions>/NavigationActions/Folder Window" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab9" "<Alt>0")
; (gtk_accel_path "<Actions>/ShellActions/Connect to Server" "")
; (gtk_accel_path "<Actions>/ShellActions/Help" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab6" "<Alt>7")
; (gtk_accel_path "<Actions>/NavigationActions/Tab5" "<Alt>6")
; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel2" "<Primary>KP_Add")
; (gtk_accel_path "<Actions>/NavigationActions/Tab3" "<Alt>4")
; (gtk_accel_path "<Actions>/NavigationActions/Tab2" "<Alt>3")
; (gtk_accel_path "<Actions>/NavigationActions/ShowSearch" "<Primary>f")
; (gtk_accel_path "<Actions>/NavigationActions/Tab0" "<Alt>1")
; (gtk_accel_path "<Actions>/NavigationActions/Tab4" "<Alt>5")
; (gtk_accel_path "<Actions>/SpatialActions/Close All Folders" "<Primary>q")
; (gtk_accel_path "<Actions>/ShellActions/File" "")
; (gtk_accel_path "<Actions>/DirViewActions/Format Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/TabsPrevious" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveRight" "<Primary><Shift>Page_Down")
; (gtk_accel_path "<Actions>/ShellActions/Caja Manual" "F1")
; (gtk_accel_path "<Actions>/ClipboardActions/Paste" "<Primary>v")
; (gtk_accel_path "<Actions>/ShellActions/Go to Network" "")
; (gtk_accel_path "<Actions>/DirViewActions/Mount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Copy" "<Primary>c")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Type" "")
; (gtk_accel_path "<Actions>/ShellActions/View" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Empty File" "")
; (gtk_accel_path "<Actions>/ShellActions/About Caja" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Eject Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Unstretch" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom Out" "<Primary>minus")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Location Bar" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenCloseParent" "<Shift><Alt>Down")
; (gtk_accel_path "<Actions>/SpatialActions/Close Parent Folders" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/DirViewActions/Open" "<Primary>o")
; (gtk_accel_path "<Actions>/NavigationActions/Bookmarks" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Format Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Connect To Server Link" "")
; (gtk_accel_path "<Actions>/NavigationActions/Edit Bookmarks" "<Primary>b")
; (gtk_accel_path "<Actions>/DirViewActions/Location Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Reset to Defaults" "")
; (gtk_accel_path "<Actions>/NavigationActions/SplitViewNextPane" "F6")
; (gtk_accel_path "<Actions>/DirViewActions/Location Mount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationCut" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom In" "<Primary>plus")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenFolderWindow" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Eject Volume" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Select All" "<Primary>a")
; (gtk_accel_path "<Actions>/IconViewActions/Tighter Layout" "")
; (gtk_accel_path "<Actions>/DirViewActions/Paste Files Into" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Copy" "<Primary>c")
; (gtk_accel_path "<Actions>/DirViewActions/LocationCopy" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenAccel" "<Alt>Down")
; (gtk_accel_path "<Actions>/DirViewActions/Open With" "")
; (gtk_accel_path "<Actions>/ShellActions/Edit" "")
; (gtk_accel_path "<Actions>/ShellActions/Up" "<Alt>Up")
; (gtk_accel_path "<Actions>/DirViewActions/Open Scripts Folder" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Cut" "<Primary>x")
; (gtk_accel_path "<Actions>/NavigationActions/Forward" "<Alt>Right")
; (gtk_accel_path "<Actions>/DirViewActions/New Documents" "")
; (gtk_accel_path "<Actions>/NavigationActions/Go to Location" "<Primary>l")
; (gtk_accel_path "<Actions>/ShellActions/Reload" "<Primary>r")
; (gtk_accel_path "<Actions>/DirViewActions/Move to Home" "")
; (gtk_accel_path "<Actions>/ShellActions/Backgrounds and Emblems" "")
; (gtk_accel_path "<Actions>/DirViewActions/No Templates" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Format Volume" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomOutAccel" "<Primary>KP_Subtract")
; (gtk_accel_path "<Actions>/NavigationActions/SplitViewSameLocation" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationPasteFilesInto" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Size" "")
; (gtk_accel_path "<Actions>/DirViewActions/Select All" "<Primary>a")
; (gtk_accel_path "<Actions>/DirViewActions/OpenAlternate" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/ShellActions/Preferences" "")
; (gtk_accel_path "<Actions>/DirViewActions/Poll" "")
; (gtk_accel_path "<Actions>/DirViewActions/Select Pattern" "<Primary>s")
; (gtk_accel_path "<Actions>/DesktopViewActions/Change Background" "")
; (gtk_accel_path "<Actions>/IconViewActions/Reversed Order" "")
; (gtk_accel_path "<Actions>/ShellActions/Go to Computer" "")
; (gtk_accel_path "<Actions>/NavigationActions/Go" "")
; (gtk_accel_path "<Actions>/DirViewActions/Restore From Trash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Stop Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationProperties" "")
; (gtk_accel_path "<Actions>/DirViewActions/Rename" "F2")
; (gtk_accel_path "<Actions>/DirViewActions/Redo" "<Primary>y")
; (gtk_accel_path "<Actions>/ShellActions/Go to Templates" "")
; (gtk_accel_path "<Actions>/ShellActions/Show Hidden Files" "<Primary>h")
; (gtk_accel_path "<Actions>/DirViewActions/Self Start Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Move to next pane" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenFolderWindow" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenInNewTab" "")
; (gtk_accel_path "<Actions>/DirViewActions/Duplicate" "")
; (gtk_accel_path "<Actions>/DirViewActions/Eject Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Stop Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/New Tab" "<Primary>t")
; (gtk_accel_path "<Actions>/DirViewActions/PropertiesAccel" "<Primary>i")
; (gtk_accel_path "<Actions>/NavigationActions/New Window" "<Primary>n")
; (gtk_accel_path "<Actions>/ShellActions/Home" "<Alt>Home")
; (gtk_accel_path "<Actions>/IconViewActions/Clean Up" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Modification Date" "")
; (gtk_accel_path "<Actions>/DirViewActions/Save Search As" "")
; (gtk_accel_path "<Actions>/NavigationActions/Search" "")
; (gtk_accel_path "<Actions>/IconViewActions/Keep Aligned" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Launcher" "")
; (gtk_accel_path "<Actions>/DirViewActions/Properties" "<Alt>Return")
; (gtk_accel_path "<Actions>/SpatialActions/Add Bookmark" "<Primary>d")
; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveLeft" "<Primary><Shift>Page_Up")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to Desktop" "")
; (gtk_accel_path "<Actions>/ShellActions/Stop" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Folder" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/DirViewActions/Self Poll" "")
; (gtk_accel_path "<Actions>/DirViewActions/Move to Desktop" "")
; (gtk_accel_path "<Actions>/DirViewActions/Cut" "<Primary>x")
; (gtk_accel_path "<Caja-Window>/view_as_4" "<Primary>4")
; (gtk_accel_path "<Actions>/DirViewActions/Delete" "<Shift>Delete")
; (gtk_accel_path "<Actions>/DesktopViewActions/New Launcher Desktop" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Name" "")
; (gtk_accel_path "<Caja-Window>/view_as_2" "<Primary>2")
; (gtk_accel_path "<Caja-Window>/view_as_3" "<Primary>3")
; (gtk_accel_path "<Actions>/DirViewActions/Paste" "<Primary>v")
; (gtk_accel_path "<Actions>/DirViewActions/Invert Selection" "<Primary><Shift>i")
; (gtk_accel_path "<Caja-Window>/view_as_1" "<Primary>1")
; (gtk_accel_path "<Actions>/DesktopViewActions/Empty Trash Conditional" "")
; (gtk_accel_path "<Actions>/NavigationActions/Close All Windows" "<Primary>q")
; (gtk_accel_path "<Actions>/IconViewActions/Arrange Items" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Sidebar" "F9")
; (gtk_accel_path "<Actions>/DirViewActions/Self Stop Volume" "")
; (gtk_accel_path "<Actions>/SpatialActions/Places" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Toolbar" "")
; (gtk_accel_path "<Actions>/SpatialActions/Edit Bookmarks" "<Primary>b")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to Home" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Mount Volume" "")
; (gtk_accel_path "<Actions>/SpatialActions/Search" "<Primary>f")
; (gtk_accel_path "<Actions>/DirViewActions/Self Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to next pane" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenAlternate" "")

View File

@ -0,0 +1,23 @@
[directory]
caja-icon-view-keep-aligned=true
caja-icon-view-layout-timestamp=1486554894
[home]
caja-icon-position=64,102
icon-scale=1
caja-icon-position-timestamp=1486554894
[grub_uefi.volume]
caja-icon-position=64,182
icon-scale=1
caja-icon-position-timestamp=1486554894
[trash]
caja-icon-position=64,262
icon-scale=1
caja-icon-position-timestamp=1486554894
[computer]
caja-icon-position=64,22
icon-scale=1
caja-icon-position-timestamp=1486554894

Binary file not shown.

View File

@ -0,0 +1,2 @@
Copy files from /usr/share/geany to this directory to overwrite them. To use the defaults, just delete the file in this directory.
For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit http://www.geany.org/).

View File

@ -0,0 +1,221 @@
[geany]
default_open_path=
cmdline_new_files=true
notebook_double_click_hides_widgets=false
tab_close_switch_to_mru=false
tab_pos_sidebar=2
sidebar_pos=0
msgwin_orientation=1
highlighting_invert_all=false
pref_main_search_use_current_word=true
check_detect_indent=false
detect_indent_width=false
use_tab_to_indent=true
pref_editor_tab_width=4
indent_mode=2
indent_type=1
virtualspace=1
autocomplete_doc_words=false
completion_drops_rest_of_word=false
autocompletion_max_entries=30
autocompletion_update_freq=250
color_scheme=
mru_length=10
disk_check_timeout=30
show_editor_scrollbars=true
brace_match_ltgt=false
use_gtk_word_boundaries=true
complete_snippets_whilst_editing=false
use_atomic_file_saving=false
gio_unsafe_save_backup=false
use_gio_unsafe_file_saving=true
keep_edit_history_on_reload=true
show_keep_edit_history_on_reload_msg=true
indent_hard_tab_width=8
find_selection_type=0
extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*-
replace_and_find_by_default=true
show_symbol_list_expanders=true
compiler_tab_autoscroll=true
allow_always_save=false
statusbar_template=satır: %l / %L kol: %c seç: %s %w %t %mmode: %M kodlama: %e dosyatürü: %f alan: %S
new_document_after_close=false
msgwin_status_visible=true
msgwin_compiler_visible=true
msgwin_messages_visible=true
msgwin_scribble_visible=true
documents_show_paths=true
sidebar_page=0
pref_main_load_session=true
pref_main_project_session=true
pref_main_project_file_in_basedir=false
pref_main_save_winpos=true
pref_main_confirm_exit=false
pref_main_suppress_status_messages=false
switch_msgwin_pages=false
beep_on_errors=true
auto_focus=false
sidebar_symbol_visible=true
sidebar_openfiles_visible=true
editor_font=Monospace 10
tagbar_font=Sans 9
msgwin_font=Monospace 9
show_notebook_tabs=true
show_tab_cross=true
tab_order_ltr=true
tab_order_beside=false
tab_pos_editor=2
tab_pos_msgwin=0
use_native_windows_dialogs=false
show_indent_guide=false
show_white_space=false
show_line_endings=false
show_markers_margin=true
show_linenumber_margin=true
long_line_enabled=true
long_line_type=0
long_line_column=72
long_line_color=#C2EBC2
symbolcompletion_max_height=10
symbolcompletion_min_chars=4
use_folding=true
unfold_all_children=false
use_indicators=true
line_wrapping=false
auto_close_xml_tags=true
complete_snippets=true
auto_complete_symbols=true
pref_editor_disable_dnd=false
pref_editor_smart_home_key=true
pref_editor_newline_strip=false
line_break_column=72
auto_continue_multiline=true
comment_toggle_mark=~
scroll_stop_at_last_line=true
autoclose_chars=0
pref_editor_default_new_encoding=UTF-8
pref_editor_default_open_encoding=None
default_eol_character=2
pref_editor_new_line=true
pref_editor_ensure_convert_line_endings=false
pref_editor_replace_tabs=false
pref_editor_trail_space=false
pref_toolbar_show=true
pref_toolbar_append_to_menu=false
pref_toolbar_use_gtk_default_style=true
pref_toolbar_use_gtk_default_icon=true
pref_toolbar_icon_style=0
pref_toolbar_icon_size=0
pref_template_developer=mahmuy g
pref_template_company=
pref_template_mail=mahmut@milis
pref_template_initial=mg
pref_template_version=1.0
pref_template_year=%Y
pref_template_date=%Y-%m-%d
pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
context_action_cmd=
sidebar_visible=true
statusbar_visible=true
msgwindow_visible=true
fullscreen=false
scribble_text=Buraya istediğinizi yazabilirsiniz. Karalama defteri olarak kullanabilirsiniz.
scribble_pos=78
treeview_position=156
msgwindow_position=368
geometry=61;69;900;600;0;
custom_date_format=
[build-menu]
number_ft_menu_items=0
number_non_ft_menu_items=0
number_exec_menu_items=0
[search]
pref_search_hide_find_dialog=false
pref_search_always_wrap=false
pref_search_current_file_dir=true
find_all_expanded=false
replace_all_expanded=false
position_find_x=-1
position_find_y=-1
position_replace_x=-1
position_replace_y=-1
position_fif_x=-1
position_fif_y=-1
fif_regexp=false
fif_case_sensitive=true
fif_match_whole_word=false
fif_invert_results=false
fif_recursive=false
fif_extra_options=
fif_use_extra_options=false
fif_files=
fif_files_mode=0
find_regexp=false
find_regexp_multiline=false
find_case_sensitive=false
find_escape_sequences=false
find_match_whole_word=false
find_match_word_start=false
find_close_dialog=true
replace_regexp=false
replace_regexp_multiline=false
replace_case_sensitive=false
replace_escape_sequences=false
replace_match_whole_word=false
replace_match_word_start=false
replace_search_backwards=false
replace_close_dialog=true
[plugins]
load_plugins=true
custom_plugin_path=
active_plugins=;
[tools]
terminal_cmd=xterm -e "/bin/sh %c"
browser_cmd=firefox
grep_cmd=grep
[printing]
print_cmd=lpr '%f'
use_gtk_printing=true
print_line_numbers=true
print_page_numbers=true
print_page_header=true
page_header_basename=false
page_header_datefmt=%c
[VTE]
load_vte=true
emulation=xterm
send_selection_unsafe=false
send_cmd_prefix=
font=Monospace 10
scroll_on_key=true
scroll_on_out=true
enable_bash_keys=true
ignore_menu_bar_accel=false
follow_path=false
run_in_vte=false
skip_run_script=false
cursor_blinks=false
scrollback_lines=500
image=
shell=/bin/bash
colour_fore=#FFFFFF
colour_back=#000000
last_dir=/home/mahmut
[project]
session_file=
project_file_path=/home/mahmut/projeler
[files]
recent_files=/home/mahmut/.config/user-dirs.locale;/home/mahmut/.config/user-dirs.dirs;/home/mahmut/.config/mimeapps.list;
recent_projects=
current_page=2
FILE_NAME_0=0;None;0;EUTF-8;1;1;0;%2Fhome%2Fmahmut%2F.config%2Fmimeapps.list;0;4
FILE_NAME_1=0;None;0;EUTF-8;1;1;0;%2Fhome%2Fmahmut%2F.config%2Fuser-dirs.dirs;0;4
FILE_NAME_2=0;None;0;EUTF-8;1;1;0;%2Fhome%2Fmahmut%2F.config%2Fuser-dirs.locale;0;4

View File

@ -0,0 +1,2 @@
There are several template files in this directory. For these templates you can use wildcards.
For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit http://www.geany.org/).

View File

@ -0,0 +1,5 @@
[Default Applications]
application/octet-stream=geany.desktop
[Added Associations]
application/octet-stream=geany.desktop;

View File

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Masaüstü"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Şablonlar"
XDG_PUBLICSHARE_DIR="$HOME/Genel"
XDG_DOCUMENTS_DIR="$HOME/Belgeler"
XDG_MUSIC_DIR="$HOME/Müzik"
XDG_PICTURES_DIR="$HOME/Resimler"
XDG_VIDEOS_DIR="$HOME/Videolar"

View File

@ -0,0 +1 @@
tr_TR

244
mps-0.8/fonks.sh Normal file
View File

@ -0,0 +1,244 @@
#!/bin/sh
. /usr/bin/gettext.sh
alias sed="busybox sed"
# Internal
lgettext() { gettext -d 'x' "$@"; }
translate_query() {
case $1 in
y) lgettext "y";;
Y) lgettext "Y";;
n) lgettext "n";;
N) lgettext "N";;
# Support other cases but keep them untranslated.
*) echo "$1" ;;
esac
}
okmsg="$(lgettext 'Done')"
ermsg="$(lgettext 'Failed')"
: ${okcolor=32}
: ${ercolor=31}
: ${decolor=36}
# Parse cmdline options and store values in a variable.
for opt in "$@"; do
opt_name="${opt%%=*}"; opt_name="$(echo -n "${opt_name#--}" | tr -c 'a-zA-Z0-9' '_')"
case "$opt" in
--[0-9]*=*) export _$opt_name="${opt#*=}" ;;
--[0-9]*) export _$opt_name=yes ;;
--*=*) export $opt_name="${opt#*=}" ;;
--*) export $opt_name=yes ;;
esac
done
[ "$HTTP_REFERER" ] && output='html'
# i18n functions
_() { local T="$1"; shift; printf "$(eval_gettext "$T")" "$@"; echo; }
_n() { local T="$1"; shift; printf "$(eval_gettext "$T")" "$@"; }
_p() { local S="$1" P="$2" N="$3"; shift 3; printf "$(ngettext "$S" "$P" "$N")" "$@"; }
# Get terminal columns
get_cols() { stty size 2>/dev/null | awk -vc=$cols 'END{print c?c:($2 && $2<80)?$2:80}'; }
# Last command status
status() {
local ret_code=$?
[ -n "$quiet" -a "$ret_code" -eq 0 ] && return
[ -n "$quiet" ] && action "$saved_action" no-quiet
case $ret_code in
0) local msg="$okmsg" color="$okcolor";;
*) local msg="$ermsg" color="$ercolor";;
esac
case $output in
raw|gtk) echo " $msg";;
html) echo " <span class=\"float-right color$color\">$msg</span>";;
*) echo -e "[ \\033[1;${color}m$msg\\033[0;39m ]";;
esac
}
# Line separator
separator() {
[ -n "$quiet" ] && return
case $output in
gtk) echo '--------';;
html) echo -n '<hr/>';;
*) printf "%$(get_cols)s\n" | tr ' ' "${1:-=}";;
esac
}
# New line
newline() {
[ -z "$quiet" ] && echo
}
# Display a bold message
boldify() {
[ -n "$quiet" ] && return
case $output in
raw) echo "$@" ;;
gtk) echo "<b>$@</b>" ;;
html) echo "<strong>$@</strong>" ;;
*) echo -e "\\033[1m$@\\033[0m" ;;
esac
}
# renkli mesaj
ryaz() {
[ -n "$quiet" ] && return
: ${color=$1}
shift
case $output in
raw|gtk) echo "$@";;
html) echo -n "<span class=\"color$color\">$@</span>";;
*) case $color in
0*) echo -e "\\033[${color:-38}m$@\\033[39m";;
*) echo -e "\\033[1;${color:-38}m$@\\033[0;39m";;
esac;;
esac
unset color
}
# Indent text
indent() {
[ -n "$quiet" ] && return
local in="$1"
shift
echo -e "\033["$in"G $@";
}
# Extended MeSsaGe output
emsg() {
[ -n "$quiet" ] && return
local sep="\n$(separator)\n"
case $output in
raw)
echo "$@" | sed -e 's|<b>||g; s|</b>||g; s|<c [0-9]*>||g; \
s|</c>||g; s|<->|'$sep'|g; s|<n>|\n|g; s|<i [0-9]*>| |g' ;;
gtk)
echo "$@" | sed -e 's|<c [0-9]*>||g; s|</c>||g; s|<->|'$sep'|g; \
s|<n>|\n|g; s|<i [0-9]*>| |g' ;;
html)
echo "$@" | sed -e 's|<b>|<strong>|g; s|</b>|</strong>|g; \
s|<c \([0-9]*\)>|<span class="color\1">|g; s|</c>|</span>|g; \
s|<n>|<br/>|g; s|<->|<hr/>|g; s|<i [0-9]*>| |g' ;;
*)
echo -en "$(echo "$@" | sed -e 's|<b>|\\033[1m|g; s|</b>|\\033[0m|g;
s|<c 0\([0-9]*\)>|\\033[\1m|g; s|<c \([1-9][0-9]*\)>|\\033[1;\1m|g;
s|</c>|\\033[0;39m|g; s|<n>|\n|g;
s|<->|'$sep'|g; s|<i \([0-9]*\)>|\\033[\1G|g')"
[ "$1" != "-n" ] && echo
;;
esac
}
# Check if user is logged as root
check_root() {
if [ $(id -u) -ne 0 ]; then
lgettext "You must be root to execute:"; echo " $(basename $0) $@"
exit 1
fi
}
# Display debug info when --debug is used.
debug() {
[ -n "$debug" ] && echo "$(colorize $decolor 'DEBUG:') $1"
}
# Confirmation
confirm() {
if [ -n "$yes" ]; then
true
else
if [ -n "$1" ]; then
echo -n "$1 "
else
echo -n " ($(translate_query y)/$(translate_query N)) ? "
fi
read answer
[ "$answer" == "$(translate_query y)" ]
fi
}
# Log islemleri
log() {
echo "$(date '+%F %R') : $@" >> ${faaliyet:-/var/log/islem.log}
}
# Print two-column list of options with descriptions
optlist() {
[ -n "$quiet" ] && return
local in="$(echo "$1" | sed 's| *| |g')" w=$(get_cols) col1=1 line
IFS=$'\n'
for line in $in; do
col=$(echo -n "$line" | cut -f1 | wc -m)
[ $col -gt $col1 ] && col1=$col
done
echo "$in" | sed 's|\t|&\n|' | fold -sw$((w - col1 - 4)) | \
sed "/\t/!{s|^.*$|[$((col1 + 4))G&|g}" | sed "/\t$/{N;s|.*| &|;s|\t\n||}"
}
# Wrap words in long terminal message
longline() {
[ -n "$quiet" ] && return
local w=$(get_cols)
echo -e "$@" | fold -sw$w
}
# Print localized title
title() {
[ -n "$quiet" ] && return
case $output in
html) echo "<section><header>$(_ "$@")</header><pre class=\"scroll\">";;
*) newline; boldify "$(_ "$@")"; separator;;
esac
}
# Print footer
footer() {
[ -n "$quiet" ] && return
case $output in
html) echo "</pre><footer>$1</footer></section>";;
*) separator; echo "$1"; [ -n "$1" ] && newline;;
esac
}
# Print current action
saved_action=''
action() {
saved_action="$1"
[ -n "$quiet" -a -z "$2" ] && return
local w c scol msg chars
w=$(_ 'w'); w=${w/w/10}
c=$(get_cols)
scol=$(( $c - $w ))
msg="$(_n "$@" | fold -sw$scol)"
chars=$(echo -n "$msg" | tail -n1 | wc -m)
msg="$(printf '%s%'$(( $scol - $chars ))'s' "$msg" '')"
case $output in
raw|gtk|html) echo -n "$msg";;
*) echo -ne "\033[0;33m$msg\033[0m";;
esac
}
# Print long line as list item
itemize() {
[ -n "$quiet" ] && return
case $output in
gtk) echo "$@";;
*)
local inp="$@" w=$(get_cols) first offset
first="$(echo -e "$inp" | fold -sw$w | head -n1)"
echo "$first"
cols1="$(echo "${first:1}" | wc -c)"
offset=$(echo "$first" | sed -n 's|^\([^:\*-]*[:\*-]\).*$|\1|p' | wc -m)
echo "${inp:$cols1}" | fold -sw$((w - offset)) | awk \
'($0){printf "%'$offset's%s\n","",$0}'
;;
esac
}

1301
mps-0.8/mps Executable file

File diff suppressed because it is too large Load Diff

1540
mps-0.8/mpsd Executable file

File diff suppressed because it is too large Load Diff

31
mps-0.8/mpsd.conf Normal file
View File

@ -0,0 +1,31 @@
export CFLAGS="-O2 -pipe"
export CXXFLAGS="${CFLAGS}"
case "`uname -m`" in
"x86_64"|"")
export MAKEFLAGS="-j5"
;;
"i686")
export MAKEFLAGS="-j2"
export CFLAGS="${CFLAGS} -m32"
export CXXFLAGS="${CXXFLAGS} -m32"
export LDFLAGS="${LDFLAGS} -m32"
;;
*)
echo "bilinmeyen mimari..cıkılıyor."
exit 1
;;
esac
DERLEME_SANTIYE="/tmp/work"
DERLEME_KAYNAKDIZIN="/sources"
PKGMK_SYNC_FILES="yok"
PKT_SIKISTIRMA="evet"
DOSYAIZLEME_YOKSAY="evet"
PKGMK_UPDATE_INDEX="evet"
PKGMK_KEEP_SOURCES="evet"
MD5SUM_YOKSAY="evet"
PKGMK_CLEAN="yok"
PAKET_GRUPLAR=()
PAKET_LOKAL="tr"
KOLEKSIYON_YOKSAY="yok"
SURUM_YOKSAY="yok"

32
mps-0.8/onmpsd.conf Normal file
View File

@ -0,0 +1,32 @@
export CFLAGS="-O2 -pipe"
export CXXFLAGS="${CFLAGS}"
case "`uname -m`" in
"x86_64"|"")
export MAKEFLAGS="-j5"
;;
"i686")
export MAKEFLAGS="-j2"
export CFLAGS="${CFLAGS} -m32"
export CXXFLAGS="${CXXFLAGS} -m32"
export LDFLAGS="${LDFLAGS} -m32"
;;
*)
echo "bilinmeyen mimari..cıkılıyor."
exit 1
;;
esac
DERLEME_SANTIYE="/tmp/work"
DERLEME_KAYNAKDIZIN="/sources"
PKGMK_SYNC_FILES="yok"
PKT_SIKISTIRMA="evet"
DOSYAIZLEME_YOKSAY="evet"
PKGMK_UPDATE_INDEX="evet"
PKGMK_KEEP_SOURCES="evet"
MD5SUM_YOKSAY="evet"
PKGMK_CLEAN="yok"
PAKET_GRUPLAR=(devel service)
PAKET_LOKAL="tr"
KOLEKSIYON_YOKSAY="yok"
SURUM_YOKSAY="evet"
PAKETSIZ_DERLEME="evet"