diff --git a/talimatname/genel/u/uyap/product_logo_32.xpm b/talimatname/genel/u/uyap/product_logo_32.xpm new file mode 100644 index 000000000..cd43fd6db --- /dev/null +++ b/talimatname/genel/u/uyap/product_logo_32.xpm @@ -0,0 +1,209 @@ +/* XPM */ +static char *product_logo___[] = { +/* columns rows colors chars-per-pixel */ +"32 32 171 2", +" c #171615", +". c #222120", +"X c #292827", +"o c #2B2A29", +"O c #373635", +"+ c #3F3E3D", +"@ c #434342", +"# c #484746", +"$ c #494847", +"% c #4C4C4B", +"& c #525250", +"* c #585756", +"= c #5E5D5C", +"- c #605F5F", +"; c #61605F", +": c #636261", +"> c #6C6B6B", +", c #706F6E", +"< c #70706F", +"1 c #727271", +"2 c #7C7B7B", +"3 c #851C1A", +"4 c #8A1E1C", +"5 c #911F1D", +"6 c #9E1D1B", +"7 c #A20504", +"8 c #AB0606", +"9 c #A60D0C", +"0 c #AC1615", +"q c #A31C1A", +"w c #AC1C1C", +"e c #B31D1E", +"r c #B81F1F", +"t c #9A211F", +"y c #A3201F", +"u c #AB201F", +"i c #B41F20", +"p c #BA1E20", +"a c #A32220", +"s c #AA2220", +"d c #B32121", +"f c #BB2022", +"g c #BB2929", +"h c #B53232", +"j c #BA3636", +"k c #BD3E3E", +"l c #C31618", +"z c #C01B1D", +"x c #CF1B1F", +"c c #C21E21", +"v c #CC1F23", +"b c #D31F23", +"n c #C32022", +"m c #CB2023", +"M c #D52427", +"N c #D82228", +"B c #D22F33", +"V c #C53A3C", +"C c #DB3E42", +"Z c #B14443", +"A c #BD4242", +"S c #BF4F4F", +"D c #BF4F53", +"F c #BB5C5B", +"G c #BD6D6F", +"H c #DB494C", +"J c #C95656", +"K c #C45D5D", +"L c #CD5B5C", +"P c #DF5255", +"I c #D45458", +"U c #DA5458", +"Y c #D25B5D", +"T c #E04C51", +"R c #E15559", +"E c #E3595E", +"W c #D05F60", +"Q c #E55D61", +"! c #C56464", +"~ c #C96464", +"^ c #C56A68", +"/ c #CD686A", +"( c #D36364", +") c #D66769", +"_ c #D76D6E", +"` c #DD6C6E", +"' c #C57474", +"] c #CE7374", +"[ c #D17777", +"{ c #D97374", +"} c #DC7A7B", +"| c #E66165", +" . c #EA6165", +".. c #E56568", +"X. c #E96A6E", +"o. c #E66E72", +"O. c #EB6D71", +"+. c #EA7176", +"@. c #EC767A", +"#. c #E37B7D", +"$. c #EC7A7E", +"%. c #F07A7D", +"&. c #D67F81", +"*. c #E57E80", +"=. c #ED7D81", +"-. c #868585", +";. c #898787", +":. c #888887", +">. c #8C8B8B", +",. c #908F8F", +"<. c #8F908F", +"1. c #8F9190", +"2. c #949494", +"3. c #9C9D9C", +"4. c #A5A5A4", +"5. c #A8A8A7", +"6. c #A6A9A9", +"7. c #ADACAB", +"8. c #AFB1B0", +"9. c #B4B3B3", +"0. c #B8B7B7", +"q. c #B7BAB9", +"w. c #BEBEBD", +"e. c #CD8280", +"r. c #D28080", +"t. c #DB8284", +"y. c #DB8788", +"u. c #D78C8C", +"i. c #DA8B8B", +"p. c #D69B9A", +"a. c #E38285", +"s. c #EF8386", +"d. c #E78B8E", +"f. c #EC8A8D", +"g. c #F18689", +"h. c #F28A8D", +"j. c #E98F92", +"k. c #F38D91", +"l. c #EF9396", +"z. c #E99698", +"x. c #E79899", +"c. c #F19093", +"v. c #E89FA0", +"b. c #DFA8A8", +"n. c #C0BFBF", +"m. c #EFA2A4", +"M. c #EDA6A8", +"N. c #F1A3A6", +"B. c #E5B5B5", +"V. c #ECB6B7", +"C. c #E4BFBF", +"Z. c #ECBFBF", +"A. c #F3B1B3", +"S. c #C2C1C1", +"D. c #C9C9C8", +"F. c #CED0D0", +"G. c #DADADA", +"H. c #EAC5C4", +"J. c #F5C2C3", +"K. c #F4DADA", +"L. c #F9DDDE", +"P. c #E3E3E3", +"I. c #F5E3E3", +"U. c #FAE7E8", +"Y. c #F6EBEB", +"T. c #FBEDED", +"R. c #F6F6F6", +"E. c #FAF5F6", +"W. c #F7F8F8", +"Q. c #FEFEFE", +"!.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_ Y E.3.1 9.5.& S.w.7.9.2. S.; @ 5.7.7.F.} z n n n n n p !.", +"!.~ ) Y Z.Q.,.< 1 0.Q.:.= # $ 4.Q.Q.: $ # @ 1.Y c n n n n n p !.", +"!.F ( Y y.Q.Q.R.W.Q.Q.W.R.W.W.Q.Q.Q.Q.W.W.W.Y.V f f f f f f i !.", +"!.!.W L ( T.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.H.f f f f f f f i !.", +"!.!.L J J i.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.g r f f f f f f d !.", +"!.!.Z k d 8 B.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.J r r e e d d d d s !.", +"!.!.!.d d d d B.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.~ d e j i.[ 0 e d d s !.", +"!.!.!.s d d d 8 r.Y.Q.Q.Q.Q.Q.Q.Q.Q.K.k w w ] Q.Q.Q.W.A e d s !.", +"!.!.!.!.d s s s w h K b.E.Q.Q.I.u.S d w w ! Q.G.* < Q.E.9 s s !.", +"!.!.!.!.6 s s s s s u 0 7 7 7 9 w s s s w H.W.# o . 2 Q.! w y !.", +"!.!.!.!.!.y s s s s s s s s s s s s s s u H.R.# o X : Q.^ w y !.", +"!.!.!.!.!.!.y s s s s s s s s s s s s s q e.Q.7.% % Q.Q.q s y !.", +"!.!.!.!.!.!.!.t s a a a a a a a a a a a a q p.Q.W.Q.Q.F q a t !.", +"!.!.!.!.!.!.!.!.3 t a a a a a a a a a a a a q ' C.B.Z q a a !.!.", +"!.!.!.!.!.!.!.!.!.!.!.5 a a a a a a a a a a a 6 6 6 y a a 5 !.!.", +"!.!.!.!.!.!.!.!.!.!.!.!.!.!.5 t t t t t t t t t t t t t 4 !.!.!.", +"!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!." +}; diff --git a/talimatname/genel/u/uyap/talimat b/talimatname/genel/u/uyap/talimat index b17fbedb7..7d31f2bff 100644 --- a/talimatname/genel/u/uyap/talimat +++ b/talimatname/genel/u/uyap/talimat @@ -1,14 +1,92 @@ -# Tanım: UYAP UDF Düzenleyici +# Tanım: Uyap Belge Düzenleyici # URL: uyap.gov.tr -# Paketçi: milisarge -# Gerekler: openjdk akiskart jre opensc +# Paketçi: Cihan_Alkan +# Gerekler: openjdk akiskart opensc innoextract isim=uyap -surum=1.0 +surum=4.1.4 devir=1 -kaynak=(https://kaynaklar.milislinux.org/$isim-$surum.tar.gz) +kaynak=(http://www.uyap.gov.tr/destek/uyap.zip + uyap-editor.png + product_logo_32.xpm) derle() { - cp -r $SRC/usr $PKG/ - cp -r $SRC/opt $PKG/ + +innoextract ./UKI_V4.1.4.exe + + mkdir -p $PKG/opt/uki + cp -r app/*.jar /$PKG/opt/uki/ + +# Başlatıcı +mkdir -pv $PKG/usr/share/applications && +cat > $PKG/usr/share/applications/$isim.desktop << "EOF" && +[Desktop Entry] +Version=1.0 +Type=Application +Name=Uyap Document Editor +Name[tr]=Uyap Belge Düzenleyici +Comment=Uyap Document Editor +Comment[tr]=Uyap Belge Düzenleyici +GenericName=Metin Düzenleyici +TryExec=uyap +Exec=uyap %U +Terminal=false +Icon=uyap-editor +Categories=TextEditor;Office; +StartupNotify=true +Actions=Window;Document; +MimeType=application/udf; +EOF + +# Bin Dosyası +mkdir -pv $PKG/usr/bin && +cat > $PKG/usr/bin/$isim << "EOF" && +java -Xmx512m -Duser.language=tr -Duser.region=TR -cp .:/opt/uki/editor_lib2.jar:/opt/uki/editor_lib.jar:/opt/uki/editor_laf.jar:/opt/uki/jai_hvl.jar:/opt/uki/editor_utility.jar:/opt/uki/jdom.jar:/opt/uki/updater.jar tr.com.havelsan.uyap.system.editor.common.WPAppManager "getNewWPInstance" "EDITOR_TYPE_DOCUMENT" "$1" "$2" +EOF + +# Uyap Menü +mkdir -pv $PKG/usr/share/menu && +cat > $PKG/usr/share/menu/$isim.menu << "EOF" && +?package(uyap):needs="x11" \ + section="Office" \ + hints="Metin Düzenleyici" \ + title="Uyap Belge Düzenleyici" \ + icon="/opt/uki/product_logo_32.xpm" \ + command="/usr/bin/uyap" +EOF + +# Uyap Mime +mkdir -pv $PKG/usr/share/mime/packages && +cat > $PKG/usr/share/mime/packages/udf.xml << "EOF" && + + + + Uyap Document File + Uyap Belge Dosyası + UDF + Uyap Document File + + + + + + Uyap Template File + Uyap Şablon Dosyası + USF + Uyap Template File + + + + +EOF + + # Icon Stuff + SRC_LOC="$SRC/" + DEST_LOC="$PKG/usr/share/icons/hicolor" + for i in 16 32 48 128 256 + do + install -Dm644 "$SRC_LOC"/uyap-editor.png "$DEST_LOC/${i}x${i}/apps/uyap-editor.png" + done + install -m644 "$SRC/product_logo_32.xpm" "$PKG/opt/uki/product_logo_32.xpm" + chmod +x $PKG/usr/bin/uyap } diff --git a/talimatname/genel/u/uyap/uyap-editor.png b/talimatname/genel/u/uyap/uyap-editor.png new file mode 100644 index 000000000..66b016750 Binary files /dev/null and b/talimatname/genel/u/uyap/uyap-editor.png differ