diff --git a/bin/3gpYmp3.sh b/bin/3gpYmp3.sh new file mode 100755 index 000000000..66e1a083d --- /dev/null +++ b/bin/3gpYmp3.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# bir dizindeki 3gp formatlı videoları mp3 e çevirir. +find . -iname "*.3gp" -print0 | xargs -0 -I 3gpfile ffmpeg -i 3gpfile -c:a libmp3lame $(basename 3gpfile).mp3 diff --git a/bin/mps b/bin/mps index 54a768b23..971c636f8 100755 --- a/bin/mps +++ b/bin/mps @@ -1650,7 +1650,7 @@ paket_derle(){ if [ "$_kurulu" = "kurulu" ];then _gncdurum=$(surum_devir_kontrol ${derpaket} --durum) if [ "${_gncdurum}" == "var" ];then - echo "paketin güncellenmesi gerek." + echo "Kurulu sürüm depodaki sürümden farklı görünüyor depodaki sürüm ile eşitlemek ister misiniz? " surum_devir_kontrol ${derpaket} paket_sil ${derpaket} fi diff --git a/bin/mpsdo b/bin/mpsdo index 945bfa814..264c24c0e 100755 --- a/bin/mpsdo +++ b/bin/mpsdo @@ -32,8 +32,9 @@ paketdepo=/depo/paketler [ ! -f $ortam ] && exit 1 # kaynaklar dizinin var olduğu kontrol edilir. -[ ! -d $kaynaklar ] && exit 1 - +if [ ! -d $kaynaklar ];then + ln -s /sources /mnt/ +fi # herhangi bir hatada çıkış yap set -e diff --git a/talimatname/genel/b/bcm43142-firmware/talimat b/talimatname/genel/b/bcm43142-firmware/talimat new file mode 100644 index 000000000..998dc7802 --- /dev/null +++ b/talimatname/genel/b/bcm43142-firmware/talimat @@ -0,0 +1,17 @@ +# Tanım: BCM43142 bluetooth çip için firmware (0a5c: 21d7) +# URL: hthttps://www.broadcom.com/support/bluetooth +# Paketçi: Cihan Alkan +# Gerekler: +# Grup: sürücüler + +isim=bcm43142-firmware +surum=1 +devir=1 +source=() + +derle() { + wget --no-check-certificate https://github.com/ShareDVI/bcm43142-firmware/raw/master/fw-0a5c_21d7.hcd -P ${SRC} + mkdir -p ${PKG}/lib/firmware/brcm + install -m644 "${SRC}/fw-0a5c_21d7.hcd" "${PKG}/lib/firmware/fw-0a5c_21d7.hcd" + install -m644 "${SRC}/fw-0a5c_21d7.hcd" "${PKG}/lib/firmware/brcm/BCM.hcd" +} diff --git a/talimatname/genel/c/cinnamon-control-center/talimat b/talimatname/genel/c/cinnamon-control-center/talimat index cbd32c890..f4895432c 100644 --- a/talimatname/genel/c/cinnamon-control-center/talimat +++ b/talimatname/genel/c/cinnamon-control-center/talimat @@ -5,7 +5,7 @@ # Grup: cinnamon isim=cinnamon-control-center -surum=3.6.5 +surum=3.8.0 devir=1 kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz) diff --git a/talimatname/genel/c/cinnamon-desktop/cinnamon-desktop.pc b/talimatname/genel/c/cinnamon-desktop/cinnamon-desktop.pc new file mode 100644 index 000000000..5e3b89f81 --- /dev/null +++ b/talimatname/genel/c/cinnamon-desktop/cinnamon-desktop.pc @@ -0,0 +1,13 @@ +prefix=/usr +libdir=${prefix}/lib +includedir=${prefix}/include + +exec_prefix=${prefix} + +Name: cinnamon-desktop +Description: Utility library for loading.desktop files +Version: 4.0.0 +Requires: gtk+-3.0 +Requires.private: xkbfile +Libs: -L${libdir} -lcinnamon-desktop +Cflags: -I${includedir}/cinnamon-desktop diff --git a/talimatname/genel/c/cinnamon-desktop/cvc.pc b/talimatname/genel/c/cinnamon-desktop/cvc.pc new file mode 100644 index 000000000..d8f41efc4 --- /dev/null +++ b/talimatname/genel/c/cinnamon-desktop/cvc.pc @@ -0,0 +1,12 @@ +prefix=/usr +libdir=${prefix}/lib +includedir=${prefix}/include + +exec_prefix=${prefix} + +Name: cvc +Description: Utility library for volume control (based on gvc) +Version: 3.8.0 +Requires: gio-2.0 libpulse-mainloop-glib libpulse gobject-2.0 +Libs: -L${libdir} -lcvc +Cflags: -I${includedir}/cinnamon-desktop/libcvc diff --git a/talimatname/genel/c/cinnamon-desktop/talimat b/talimatname/genel/c/cinnamon-desktop/talimat index 2530327df..25492feaf 100644 --- a/talimatname/genel/c/cinnamon-desktop/talimat +++ b/talimatname/genel/c/cinnamon-desktop/talimat @@ -11,6 +11,7 @@ kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.t config.patch cinnamon-desktop.pc cvc.pc) + cinnamon-desktop.pc) derle() { diff --git a/talimatname/genel/c/cinnamon-screensaver/talimat b/talimatname/genel/c/cinnamon-screensaver/talimat index aaf2f76de..52d093fa5 100644 --- a/talimatname/genel/c/cinnamon-screensaver/talimat +++ b/talimatname/genel/c/cinnamon-screensaver/talimat @@ -5,7 +5,7 @@ # Grup: cinnamon isim=cinnamon-screensaver -surum=3.6.1 +surum=3.8.1 devir=1 kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz) diff --git a/talimatname/genel/e/elixir/talimat b/talimatname/genel/e/elixir/talimat index 21f749372..9e61cf3e3 100644 --- a/talimatname/genel/e/elixir/talimat +++ b/talimatname/genel/e/elixir/talimat @@ -5,7 +5,7 @@ # Grup: programlama isim=elixir -surum=1.6.4 +surum=1.6.5 devir=1 kaynak=(https://github.com/elixir-lang/elixir/archive/v${surum}.tar.gz::$isim-$surum.tar.gz) diff --git a/talimatname/genel/f/firefox/google-api-key b/talimatname/genel/f/firefox/google-api-key new file mode 100755 index 000000000..320d6d135 --- /dev/null +++ b/talimatname/genel/f/firefox/google-api-key @@ -0,0 +1 @@ +AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM diff --git a/talimatname/genel/f/firefox/mozilla-api-key b/talimatname/genel/f/firefox/mozilla-api-key new file mode 100755 index 000000000..1c79ca660 --- /dev/null +++ b/talimatname/genel/f/firefox/mozilla-api-key @@ -0,0 +1 @@ +16674381-f021-49de-8622-3021c5942aff diff --git a/talimatname/genel/f/firefox/talimat b/talimatname/genel/f/firefox/talimat index acf292595..d1adf971b 100644 --- a/talimatname/genel/f/firefox/talimat +++ b/talimatname/genel/f/firefox/talimat @@ -1,15 +1,17 @@ # Tanım: Mozilla.org'dan Bağımsız Web Tarayıcısı # URL: http://www.mozilla.com/firefox/ -# Paketçi: Cihan Alkan -# Gerekler: libvpx libevent rust cargo autoconf2 pulseaudio gconf yasm sqlite libvpx libevent nss alsa-lib gtk2 gtk3 xorg-app zip unzip gstreamer gstreamer-plugins-base gstreamer-plugins-good gstreamer1-plugins-libav +# Paketçi: Cihan_Alkan +# Gerekler: libvpx rust cargo binutils-gold autoconf2 pulseaudio gconf yasm sqlite nss alsa-lib gtk2 gtk3 xorg-app zip unzip startup-notification gstreamer gstreamer-plugins-base gstreamer-plugins-good gstreamer1-plugins-libav +# Grup: tarayıcı isim=firefox -surum=55.0.3 -devir=3 +surum=60.0 +devir=1 -kaynak=(https://ftp.mozilla.org/pub/mozilla.org/$isim/releases/$surum/source/firefox-$surum.source.tar.xz - http://download.cdn.mozilla.net/pub/$isim/releases/$surum/linux-x86_64/xpi/tr.xpi - https://github.com/oltulu/milis/raw/master/firefox/mozilla.tar.xz::mozilla-milis.tar.xz) +kaynak=(https://ftp.mozilla.org/pub/firefox/releases/60.0/source/firefox-60.0.source.tar.xz + http://download.cdn.mozilla.net/pub/$isim/releases/$surum/linux-x86_64/xpi/tr.xpi::tr-${surum}.xpi + google-api-key + mozilla-api-key) derle() { @@ -18,117 +20,77 @@ cd $isim-$surum sed -i '/intl.locale.matchOS/s/false/true/' modules/libpref/init/all.js cat > mozconfig << "EOF" -# Çok çekirdekli bir işlemciniz varsa, tüm çekirdekler varsayılan olarak kullanılacaktır. -# İsterseniz, kullanılan çekirdek sayısını azaltabilirsiniz. Bunun için bir sonraki satır -#başındaki # işaretini kaldırın ve geçerli CPU çekirdeği sayısını 1'e ayarlayın. - -#mk_add_options MOZ_MAKE_FLAGS="-j1" - -# If you have installed dbus-glib, comment out this line: -ac_add_options --disable-dbus - -# Dbus-glib'yi kurduysanız ve kablosuz araçları yüklediyseniz -# ve coğrafi konum web servislerini kullanmak istiyorsanız, -#bir alt satırıdaki # işaretini kaldırın. - -ac_add_options --disable-necko-wifi - -# Gtk +-2 ile oluşturmak istiyorsanız bir alt satırıdaki # işaretini kaldırın. -#ac_add_options --enable-default-toolkit=cairo-gtk2 - -# İsteğe bağlı bağımlılıkları yüklediyseniz bu satırların işaretini kaldırın:: -#ac_add_options --enable-system-hunspell -#ac_add_options --enable-startup-notification - -# PulseAudio kurulu ise aşağıdaki seçeneği açın -#ac_add_options --disable-pulseaudio - -# GConf yüklediyseniz, bu satırı açın -ac_add_options --disable-gconf - -# Önerilen bağımlılıkları yüklemediyseniz # işaretini kaldırın: -ac_add_options --enable-system-sqlite -ac_add_options --with-system-libevent -ac_add_options --with-system-libvpx -ac_add_options --with-system-nspr -ac_add_options --with-system-nss -#ac_add_options --with-system-icu - -# If you are going to apply the patch for system graphite -# and system harfbuzz, uncomment these lines: -#ac_add_options --with-system-graphite2 -#ac_add_options --with-system-harfbuzz - -# Stripping is now enabled by default. -# Uncomment these lines if you need to run a debugger: -#ac_add_options --disable-strip -#ac_add_options --disable-install-strip - -# Bu satırın altındaki herhangi bir şeyi değiştirmemenizi öneriyoruz: -ac_add_options --prefix=/usr ac_add_options --enable-application=browser -ac_add_options --disable-crashreporter -ac_add_options --disable-updater -ac_add_options --disable-tests +ac_add_options --prefix=/usr +ac_add_options --enable-release +ac_add_options --enable-gold +ac_add_options --enable-pie +ac_add_options --enable-optimize="-O2" +ac_add_options --enable-rust-simd - -# ac_add_options --enable-gio +# Branding ac_add_options --enable-official-branding -ac_add_options --enable-safe-browsing -ac_add_options --enable-url-classifier +ac_add_options --enable-update-channel=release +ac_add_options --with-distribution-id=org.milislinux +export MOZILLA_OFFICIAL=1 +export MOZ_TELEMETRY_REPORTING=1 +export MOZ_ADDON_SIGNING=1 +export MOZ_REQUIRE_SIGNING=1 -# From firefox-40, using system cairo causes firefox to crash -# frequently when it is doing background rendering in a tab. -#ac_add_options --enable-system-cairo -ac_add_options --enable-system-ffi -ac_add_options --enable-system-pixman - -ac_add_options --with-pthreads +# Keys +ac_add_options --with-google-api-keyfile=/${SRC}/google-api-key +ac_add_options --with-mozilla-api-keyfile=/${SRC}/mozilla-api-key +# System libraries ac_add_options --with-system-bz2 +#ac_add_options --with-system-icu ac_add_options --with-system-jpeg -ac_add_options --with-system-png -ac_add_options --with-system-zlib +ac_add_options --with-system-libvpx +#ac_add_options --enable-system-hunspell +ac_add_options --enable-system-ffi -mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir +# Features +ac_add_options --enable-alsa +ac_add_options --enable-jack +ac_add_options --enable-startup-notification +ac_add_options --enable-crashreporter +ac_add_options --disable-updater +ac_add_options --disable-stylo EOF -test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true - -sed -e 's/256/224/' \ - -i netwerk/protocol/http/Http2Session.cpp - -SHELL=/bin/sh make -f client.mk +SHELL=/bin/sh ./mach build +SHELL=/bin/sh ./mach buildsymbols mkdir -pv $PKG/usr/{bin,lib{,/mozilla/plugins}} -SHELL=/bin/sh make -f client.mk DESTDIR=$PKG install INSTALL_SDK= +SHELL=/bin/sh DESTDIR=$PKG ./mach install -chown -R 0:0 $PKG/usr/lib/firefox-$surum -ln -sf ../lib/firefox-$surum/firefox $PKG/usr/bin -ln -sf ../mozilla/plugins $PKG/usr/lib/firefox-$surum +ln -svf ../mozilla/plugins $PKG/usr/lib/firefox/browser/ -# Gnash için gerekli +# Need for gnash mkdir -p $PKG/usr/include/npapi cp -v dom/plugins/base/*.h $PKG/usr/include/npapi -# Başlatıcı +# Launcher mkdir -pv $PKG/usr/share/applications && cat > $PKG/usr/share/applications/firefox.desktop << "EOF" && [Desktop Entry] Encoding=UTF-8 -Type=Application -Name=Firefox +Name=Firefox Web Browser Comment=İnternette gezinin -Icon=firefox -Exec=firefox -Categories=Network;GTK;Application;Browser;WebBrowser; -StartupNotify=true +GenericName=Web Tarayıcı +Exec=firefox %u Terminal=false +Type=Application +Icon=firefox +Categories=GNOME;GTK;Network;WebBrowser; +MimeType=application/xhtml+xml;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; +StartupNotify=true EOF +mkdir -pv $PKG/usr/share/applications mkdir -pv $PKG/usr/share/pixmaps -ln -sf /usr/lib/firefox-$surum/browser/icons/mozicon128.png $PKG/usr/share/pixmaps/firefox.png +ln -sf /usr/lib/firefox-$version/browser/icons/mozicon128.png $PKG/usr/share/pixmaps/firefox.png for i in 16 22 24 32 48 256 do @@ -139,13 +101,12 @@ done for lang in tr do -install -Dm644 $SRC/$lang.xpi \ - $PKG/usr/lib/firefox-$surum/browser/extensions/langpack-$lang@firefox.mozilla.org.xpi +install -Dm644 $SRC/tr-${surum}.xpi \ + $PKG/usr/lib/firefox/browser/extensions/langpack-tr@firefox.mozilla.org.xpi done - -cat > $PKG/usr/lib/firefox-$surum/defaults/pref/vendor.js << "EOF" +install -Dm644 /dev/stdin $PKG/usr/lib/firefox/browser/defaults/preferences/vendor.js <