diff --git a/bin/ekran_kayit.sh b/bin/ekran_kayit.sh new file mode 100755 index 000000000..95059e2c1 --- /dev/null +++ b/bin/ekran_kayit.sh @@ -0,0 +1 @@ +ffmpeg -video_size 1440x900 -framerate 20 -f x11grab -i :0.0 -c:v libvpx -crf 04 -b:v 1M ekran.webm diff --git a/bin/mps b/bin/mps index 0f0d20489..aee85f20d 100755 --- a/bin/mps +++ b/bin/mps @@ -224,7 +224,7 @@ paket_derle_liste(){ #otomatik derle kontrollu kur paket_derle_kur(){ tekrarkur="hayir" - mps -dly "$1" > /dev/null && mps -derlist bag.liste + mps -dly "$1" && mps -derlist bag.liste } paket_kur_oto(){ diff --git a/ekran_kayit.sh b/ekran_kayit.sh new file mode 100644 index 000000000..e69de29bb diff --git a/talimatname/genel/libreoffice/libreoffice.kur-kos b/talimatname/genel/libreoffice-bin/libreoffice-bin.kur-kos similarity index 100% rename from talimatname/genel/libreoffice/libreoffice.kur-kos rename to talimatname/genel/libreoffice-bin/libreoffice-bin.kur-kos diff --git a/talimatname/genel/libreoffice-bin/talimat b/talimatname/genel/libreoffice-bin/talimat new file mode 100644 index 000000000..8c3fb13f6 --- /dev/null +++ b/talimatname/genel/libreoffice-bin/talimat @@ -0,0 +1,57 @@ +# Description: full featured cross platform office suite (binary) +# URL: http://www.libreoffice.org +# Packager: milisarge +# Depends on: cups xorg-libxaw xorg-libxcursor xorg-libxft xorg-libxinerama xorg-libxi xorg-libxrandr dbus-glib krb5 + +name=libreoffice-bin +namep=libreoffice +version=5.1.3 +release=1 +source=(http://tdf.c3sl.ufpr.br/libreoffice/stable/5.1.3/rpm/x86_64/LibreOffice_5.1.3_Linux_x86-64_rpm.tar.gz) + + +build() { + local workd="$SRC/tmp_work" + mkdir $workd + + cd LibreOffice_${version}*/RPMS + for rpm in *.rpm; do + bsdtar -p -o -C $workd -xf $rpm + done + + bsdtar -p -o -C $workd -xf \ + $namep${version%.*}-freedesktop-menus-${version%.*}*.noarch.rpm + + cd $workd + mkdir -p $PKG/usr/lib/$namep + mv opt/$namep*/* $PKG/usr/lib/$namep + + cd $PKG/usr/lib/$namep + ln -sf basis${version%.*} basis-link + + mkdir -p $PKG/usr/bin + local programs=(sbase scalc sdraw simpress smath soffice spadmin swriter) + for program in ${programs[@]}; do + ln -sf /usr/lib/$namep/program/$program $PKG/usr/bin/$program + done + + mkdir -p $PKG/usr/share/applications + cd $PKG/usr/lib/$namep/share/xdg/ + + for desktop in *.desktop; do + sed -i '/^Exec=/s/libreoffice[^ ]*/soffice/' $desktop + ln -sf /usr/lib/$namep/share/xdg/$desktop $PKG/usr/share/applications/$desktop + done + + mv $workd/usr/share/{mime,icons} $PKG/usr/share + + find $PKG \(\ + -inamep '*readme*' -o \ + -inamep '*changelog*' -o \ + -namep '*TODO*' -o \ + -inamep '*news*' -o \ + -inamep '*license*' -o \ + -inamep '*credits*' \ + \) -exec rm -rf '{}' \; || true +} + diff --git a/talimatname/genel/libreoffice/talimat b/talimatname/genel/libreoffice/talimat deleted file mode 100644 index 45fdcc05f..000000000 --- a/talimatname/genel/libreoffice/talimat +++ /dev/null @@ -1,56 +0,0 @@ -# Description: LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org. -# URL: http://www.libreoffice.org -# Packagers: pierre at nutyx dot org, tnut at nutyx dot org -# Depends on: cups xorg-libxaw xorg-libxcursor xorg-libxft xorg-libxinerama xorg-libxi xorg-libxrandr dbus-glib krb5 - -name=libreoffice -version=5.1.1 -release=1 -source=(http://tdf.c3sl.ufpr.br/libreoffice/stable/5.1.1/rpm/x86/LibreOffice_5.1.1_Linux_x86_rpm.tar.gz) - - -build() { - local workd="$SRC/tmp_work" - mkdir $workd - - cd LibreOffice_${version}*/RPMS - for rpm in *.rpm; do - bsdtar -p -o -C $workd -xf $rpm - done - - bsdtar -p -o -C $workd -xf \ - $name${version%.*}-freedesktop-menus-${version%.*}*.noarch.rpm - - cd $workd - mkdir -p $PKG/usr/lib/$name - mv opt/$name*/* $PKG/usr/lib/$name - - cd $PKG/usr/lib/$name - ln -sf basis${version%.*} basis-link - - mkdir -p $PKG/usr/bin - local programs=(sbase scalc sdraw simpress smath soffice spadmin swriter) - for program in ${programs[@]}; do - ln -sf /usr/lib/$name/program/$program $PKG/usr/bin/$program - done - - mkdir -p $PKG/usr/share/applications - cd $PKG/usr/lib/$name/share/xdg/ - - for desktop in *.desktop; do - sed -i '/^Exec=/s/libreoffice[^ ]*/soffice/' $desktop - ln -sf /usr/lib/$name/share/xdg/$desktop $PKG/usr/share/applications/$desktop - done - - mv $workd/usr/share/{mime,icons} $PKG/usr/share - - find $PKG \(\ - -iname '*readme*' -o \ - -iname '*changelog*' -o \ - -name '*TODO*' -o \ - -iname '*news*' -o \ - -iname '*license*' -o \ - -iname '*credits*' \ - \) -exec rm -rf '{}' \; || true -} - diff --git a/talimatname/genel/libreoffice/talimat_E b/talimatname/genel/libreoffice/talimat_E deleted file mode 100644 index 10e2552ad..000000000 --- a/talimatname/genel/libreoffice/talimat_E +++ /dev/null @@ -1,110 +0,0 @@ -# Description: LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org. -# URL: http://www.libreoffice.org -# Packagers: pierre at nutyx dot org, tnut at nutyx dot org -# Depends on: tar apache-ant openldap python3 cups curl libatomic-ops gperf gtk2 gtk3 perl-archive-zip perl-xml-parser boost expat gstreamer-plugins-base gstreamer1-plugins-base libgsf librsvg libxml2 libxslt neon nss poppler postgresql redland icu hunspell gsfonts dejavu-ttf hunspell p7zip neon graphite2 npapi-sdk clucene serf unixodbc - -description="Office suite. It is largely compatible with Microsoft Office (fork from OpenOffice.org)." -name=libreoffice -version=5.1.0.3 -release=1 - -source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz - http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz - http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz - http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz) - -build() { - unset ACLOCAL - export LO_PREFIX=/usr - - cd $SRC - - - cd $name-$version - install -dm755 external/tarballs - ln -sv $SRC/$name-dictionaries-$version.tar.xz external/tarballs/ - ln -sv $SRC/$name-help-$version.tar.xz external/tarballs/ - ln -sv $SRC/$name-translations-$version.tar.xz external/tarballs/ - - - sed -e "/gzip -f/d" \ - -e "s|.1.gz|.1|g" \ - -i bin/distro-install-desktop-integration - - sed -e "/distro-install-file-lists/d" -i Makefile.in - - sed -e "/ustrbuf/a #include " \ - -i svl/source/misc/gridprinter.cxx - - chmod -v +x bin/unpack-sources - -./autogen.sh --prefix=$LO_PREFIX \ - --sysconfdir=/etc \ - --with-vendor="NuTyX" \ - --with-lang="es de fr it pt fi nb nl da sv" \ - --with-help \ - --with-myspell-dicts \ - --with-alloc=system \ - --without-java \ - --without-system-dicts \ - --disable-dconf \ - --disable-odk \ - --enable-release-build=yes \ - --enable-python=system \ - --with-system-boost=yes \ - --with-system-clucene \ - --with-system-cairo \ - --with-system-curl \ - --with-system-expat \ - --with-system-graphite \ - --with-system-harfbuzz \ - --with-system-icu \ - --with-system-jpeg \ - --with-system-lcms2 \ - --with-system-libatomic_ops \ - --with-system-libpng \ - --with-system-libxml \ - --with-system-neon \ - --with-system-npapi-headers \ - --with-system-nss \ - --with-system-odbc \ - --with-system-openldap \ - --with-system-openssl \ - --with-system-poppler \ - --with-system-postgresql \ - --with-system-redland \ - --with-system-serf \ - --with-system-zlib \ - --with-parallelism=$(getconf _NPROCESSORS_ONLN) - - make build - make DESTDIR=$PKG distro-pack-install - - install -v -m755 -d $PKG/$LO_PREFIX/share/appdata - install -v -m644 sysui/desktop/appstream-appdata/*.xml $PKG/$LO_PREFIX/share/appdata - - # Installation des Dictionnaires - chown -cR 0:0 dictionaries/ - for lang in en tr_TR - do - mkdir -pv $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang - cp -R dictionaries/$lang/* $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang - done - - # This symlink is necessary for the desktop menu entries - ln -sv -f $LO_PREFIX/lib/libreoffice/program/soffice \ - $PKG/usr/bin/libreoffice - - # Icones - for res in 16 32 48 128 256 - do - mkdir -p $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/{apps,mimetypes} - cp sysui/desktop/icons/hicolor/${res}x${res}/apps/*.png \ - $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/apps - cp sysui/desktop/icons/hicolor/${res}x${res}/mimetypes/*.png \ - $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/mimetypes - done - - # Nettoyage - rm -rf $PKG/gid* -} diff --git a/talimatname/genel/numix-gtk-theme/numix-gtk-theme.kur-kos b/talimatname/genel/numix-gtk-theme/numix-gtk-theme.kur-kos new file mode 100644 index 000000000..54f6b8678 --- /dev/null +++ b/talimatname/genel/numix-gtk-theme/numix-gtk-theme.kur-kos @@ -0,0 +1,5 @@ +update-desktop-database -q +gtk-update-icon-cache -q -t -f /usr/share/icons/Numix/ +gtk-update-icon-cache -q -t -f /usr/share/icons/Numix-Light/ +gtk-update-icon-cache -q -t -f /usr/share/icons/Numix-Circle/ +gtk-update-icon-cache -q -t -f /usr/share/icons/Numix-Circle-Light/ diff --git a/talimatname/genel/numix-gtk-theme/talimat b/talimatname/genel/numix-gtk-theme/talimat index ad1730326..9bf2d0e46 100644 --- a/talimatname/genel/numix-gtk-theme/talimat +++ b/talimatname/genel/numix-gtk-theme/talimat @@ -1,7 +1,7 @@ # Description: A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce) # URL: http://numixproject.org/ # Packager: milisarge -# Depends on : gdk-pixbuf glib libxml2 +# Depends on : gdk-pixbuf glib libxml2 gtk-update-icon-cache name=numix-gtk-theme version=2.2.3 @@ -11,14 +11,32 @@ source=(https://github.com/numixproject/numix-gtk-theme/archive/v$version.tar.gz build () { mv $DERLEME_KAYNAKDIZIN/v$version.tar.gz $DERLEME_KAYNAKDIZIN/$name-$version.tar.gz cd $name-$version - #if [ ! -d /tmp/numix-icon-theme-circle ];then - git clone https://github.com/numixproject/numix-icon-theme-circle /tmp/numix-icon-theme-circle - git clone https://github.com/numixproject/numix-icon-theme /tmp/numix-icon-theme - #fi + + if [ ! -d $DERLEME_KAYNAKDIZIN/numix-icon-theme-circle ];then + git clone https://github.com/numixproject/numix-icon-theme-circle $DERLEME_KAYNAKDIZIN/numix-icon-theme-circle + else + cd $DERLEME_KAYNAKDIZIN/numix-icon-theme-circle + git pull + cd - + fi + + if [ ! -d $DERLEME_KAYNAKDIZIN/numix-icon-theme ];then + git clone https://github.com/numixproject/numix-icon-theme $DERLEME_KAYNAKDIZIN/numix-icon-theme + else + cd $DERLEME_KAYNAKDIZIN/numix-icon-theme + git pull + cd - + fi + + #simgelerin eklenmesi mkdir -p $PKG/usr/share/icons/ - cp -r /tmp/numix-icon-theme-circle/Numix-Circle-Light $PKG/usr/share/icons/ - cp -r /tmp/numix-icon-theme/Numix-Light $PKG/usr/share/icons/ - cp -r /tmp/numix-icon-theme-circle/Numix-Circle $PKG/usr/share/icons/ - cp -r /tmp/numix-icon-theme/Numix $PKG/usr/share/icons/ - install -d -m755 $PKG/usr/share/themes/Numix + cp -r $DERLEME_KAYNAKDIZIN/numix-icon-theme-circle/Numix-Circle-Light $PKG/usr/share/icons/ + cp -r $DERLEME_KAYNAKDIZIN/numix-icon-theme/Numix-Light $PKG/usr/share/icons/ + cp -r $DERLEME_KAYNAKDIZIN/numix-icon-theme-circle/Numix-Circle $PKG/usr/share/icons/ + cp -r $DERLEME_KAYNAKDIZIN/numix-icon-theme/Numix $PKG/usr/share/icons/ + #temanın paketlenmesi + cd .. + rm numix*/.gitignore + mkdir -p $PKG/usr/share/themes + mv numix* $PKG/usr/share/themes/Numix }