diff --git a/talimatname/genel/gconf/gconf.kur-kos b/talimatname/genel/gconf/gconf.kur-kos index 99eba499d..04c787b00 100644 --- a/talimatname/genel/gconf/gconf.kur-kos +++ b/talimatname/genel/gconf/gconf.kur-kos @@ -1,2 +1,2 @@ -chmod 755 /etc/gconf/gconf.xml.system -/usr/bin/gio-querymodules /usr/lib/gio/modules +chmod 755 etc/gconf/gconf.xml.system +usr/bin/gio-querymodules usr/lib/gio/modules diff --git a/talimatname/genel/gcr/gcr.kur-kos b/talimatname/genel/gcr/gcr.kur-kos index 201f08cc3..1ce68490b 100644 --- a/talimatname/genel/gcr/gcr.kur-kos +++ b/talimatname/genel/gcr/gcr.kur-kos @@ -1,4 +1,4 @@ -glib-compile-schemas /usr/share/glib-2.0/schemas > /dev/null 2>&1 -gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -update-mime-database /usr/share/mime &> /dev/null +glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +update-mime-database usr/share/mime &> /dev/null update-desktop-database -q diff --git a/talimatname/genel/mariadb/mariadb.kur-kos b/talimatname/genel/mariadb/mariadb.kur-kos index 02fe30b8f..e48248437 100644 --- a/talimatname/genel/mariadb/mariadb.kur-kos +++ b/talimatname/genel/mariadb/mariadb.kur-kos @@ -1,4 +1,4 @@ -. lib/lsb/init-functions +. /lib/lsb/init-functions log_warning_msg "${WARNING} Create a /etc/mysql/my.cnf by comparing it with /etc/mysql/my.cnf.example ${NORMAL}" log_warning_msg "${WARNING} Create a database if need by run the command: ${NORMAL}" printf "# mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql\n" diff --git a/talimatname/genel/qt5/talimat b/talimatname/genel/qt5/talimat index ae5874543..4d9918985 100644 --- a/talimatname/genel/qt5/talimat +++ b/talimatname/genel/qt5/talimat @@ -5,96 +5,143 @@ name=qt5 version=5.5.1 -release=1 -source=(http://download.qt.io/official_releases/qt/${version%.*}/$version/single/qt-everywhere-opensource-src-$version.tar.xz) +release=2 + +_name=qt-everywhere-opensource-src-${version} + +source=(http://download.qt-project.org/official_releases/qt/${version%.*}/$version/single/${_name}.tar.xz) build() { - cd qt-everywhere-opensource-src-$version - # Respect system CXX - [ "$CXX" ] || CXX=g++ - sed -i "/^QMAKE_CXX\s/s|=.*|= $CXX|" qtbase/mkspecs/common/g++-base.conf +QT5PREFIX=/usr +QT5BINDIR=$QT5PREFIX/lib/qt5/bin - # Remove obsolete xorg path - sed -i 's|X11R6/||g' qtbase/mkspecs/*/*.conf - # Respect system CXXFLAGS - sed -i "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CXXFLAGS}|" qtbase/mkspecs/common/gcc-base.conf - #sed -i "s|-O2|$CXXFLAGS|" qtbase/mkspecs/common/g++-unix.conf - #sed -i "s|-O2|${CXXFLAGS}|" qtbase/mkspecs/common/{g++,gcc}-base.conf +cd ${_name}* - # Respect system LDFLAGS - sed -i "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" qtbase/mkspecs/common/g++-unix.conf - #sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" qtbase/mkspecs/common/gcc-base.conf +./configure -prefix $QT5PREFIX \ + -sysconfdir /etc/xdg \ + -bindir $QT5BINDIR \ + -plugindir /usr/lib/qt5/plugins \ + -importdir /usr/lib/qt5/imports \ + -headerdir /usr/include/qt5 \ + -datadir /usr/share/qt5 \ + -docdir /usr/share/doc/qt5 \ + -translationdir /usr/share/qt5/translations \ + -examplesdir /usr/share/doc/qt5/examples \ + -plugin-sql-{psql,mysql,sqlite,odbc} \ + -confirm-license \ + -opensource \ + -dbus-linked \ + -openssl-linked \ + -system-harfbuzz \ + -system-sqlite \ + -optimized-qmake \ + -nomake examples \ + -no-rpath \ + -skip qtwebengine - # Fix quoting bug - sed -i 's|"$COMPILER" -c|$COMPILER -c|' qtbase/config.tests/unix/fvisibility.test +make +make INSTALL_ROOT=$PKG install - export QTDIR="$PWD" - export LD_LIBRARY_PATH="$QTDIR/qtbase/lib:$QTDIR/qttools/lib:$LD_LIBRARY_PATH" - export QT_PLUGIN_PATH="$QTDIR/qtbase/plugins" +find $PKG/usr/ -name qt_lib_bootstrap_private.pri \ + -exec sed -i -e "s:$PWD/qtbase:/$QT5PREfiX/lib/:g" {} \; && - ./configure -prefix /usr/share/qt5 \ - -bindir /usr/share/qt5/bin \ - -headerdir /usr/share/qt5/include \ - -libdir /usr/share/qt5/lib \ - -libexecdir /usr/share/qt5/lib \ - -plugindir /usr/share/qt5/plugins \ - -sysconfdir /usr/etc/xdg \ - -openssl-linked -dbus-linked \ - -system-lib{png,jpeg} -system-{zlib,sqlite} \ - -no-cups -optimized-qmake \ - -x{cursor,inerama,kb,randr,render} \ - -nomake examples \ - -no-separate-debug-info -no-strip -shared -no-rpath \ - -opensource -confirm-license -release -reduce-relocations +find $PKG/usr -name \*.prl \ + -exec sed -i -e '/^QmAKE_PRL_BUiLD_DiR/d' {} \; - make - make INSTALL_ROOT=$PKG install - - # Fix paths - find $PKG/usr/share/qt5/lib -type f -name '*.prl' \ - -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; - - sed -e "s|$PWD/qtbase|/usr/share/qt5/lib|g" \ - -i $PKG/usr/share/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri +install -v -dm755 $PKG/usr/share/pixmaps/ - # Remove unnecessary files - rm -rf $(find $PKG/usr/share/qt5/mkspecs/* | \ - egrep -v '(linux-g++|common|modules|pri|features)') +install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \ + $PKG/usr/share/pixmaps/assistant-qt5.png - rm -f $PKG/usr/share/qt5/mkspecs/linux-g++/linux-g++ - rm -rf $PKG/usr/share/qt5/mkspecs/features/{mac,win32} - rm -rf $PKG/usr/share/qt5/mkspecs/common/mac* - rm -rf $PKG/usr/share/qt5/{phrasebooks,translations} +install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \ + $PKG/usr/share/pixmaps/designer-qt5.png - # Install linker config - install -d $PKG/{etc/ld.so.conf.d,usr/{bin,lib,include}} - echo "/usr/share/qt5/lib" > $PKG/etc/ld.so.conf.d/qt5.conf +install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \ + $PKG/usr/share/pixmaps/linguist-qt5.png - ln -s ../share/qt5/include $PKG/usr/include/qt5 - ln -s ../share/qt5/lib $PKG/usr/lib/qt5 - ln -s linux-g++ $PKG/usr/share/qt5/mkspecs/default +install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \ + $PKG/usr/share/pixmaps/qdbusviewer-qt5.png - # Install pkg config - mv $PKG/usr/share/qt5/lib/pkgconfig $PKG/usr/lib +install -dm755 $PKG/usr/share/applications - # Fix paths - sed \ - -e "s|-L$SRC/qt-everywhere-opensource-src-$version/lib ||g" \ - -e "s|$SRC/qt-everywhere-opensource-src-$version/bin|/usr/share/qt5/bin|g" \ - -i $PKG/usr/lib/pkgconfig/*.pc - # Install useful symlinks - install -d $PKG/usr/bin - for b in $PKG/usr/share/qt5/bin/*; do - ln -s /usr/share/qt5/bin/$(basename $b) $PKG/usr/bin/$(basename $b)-qt5 - done +cat > $PKG/usr/share/applications/assistant-qt5.desktop << "EOf" +[Desktop Entry] +Name=Qt5 Assistant +comment=Shows Qt5 documentation and examples +Exec=$QT5BINDIR/assistant-qt5 +icon=assistant-qt5 +Terminal=false +Encoding=UTf-8 +Type=Application +categories=Qt;Development;Documentation; +EOf - # cmake - install -d $PKG/usr/lib/cmake - for b in $PKG/usr/share/qt5/lib/cmake/*; do - ln -s /usr/share/qt5/lib/cmake/$(basename $b) $PKG/usr/lib/cmake/$(basename $b) - done +cat > $PKG/usr/share/applications/designer-qt5.desktop << "EOf" +[Desktop Entry] +Name=Qt5 Designer +GenericName=interface Designer +comment=Design GUis for Qt5 applications +Exec=$QT5BINDIR/designer-qt5 +icon=designer-qt5 +mimeType=application/x-designer; +Terminal=false +Encoding=UTf-8 +Type=Application +categories=Qt;Development; +EOf +cat > $PKG/usr/share/applications/linguist-qt5.desktop << "EOf" +[Desktop Entry] +Name=Qt5 Linguist +comment=Add translations to Qt5 applications +Exec=$QT5BINDIR/linguist-qt5 +icon=linguist-qt5 +mimeType=text/vnd.trolltech.linguist;application/x-linguist; +Terminal=false +Encoding=UTf-8 +Type=Application +categories=Qt;Development; +EOf + +cat > $PKG/usr/share/applications/qdbusviewer-qt5.desktop << "EOf" +[Desktop Entry] +Name=Qt5 QDbusviewer +GenericName=D-Bus Debugger +comment=Debug D-Bus applications +Exec=$QT5BINDIR/qdbusviewer-qt5 +icon=qdbusviewer-qt5 +Terminal=false +Encoding=UTf-8 +Type=Application +categories=Qt;Development;Debugger; +EOf + +mkdir -p $PKG/etc/profile.d +cat > $PKG/etc/profile.d/qt5.sh << EOf +# Begin /etc/profile.d/qt5.sh + +QT5PREFIX=$QT5PREFIX +QT5DIR=$QT5PREFIX +QT5BINDIR=$QT5PREFIX/lib/qt5/bin +export QT5PREFIX QT5BINDIR QT5DIR + +# End /etc/profile.d/qt5.sh +EOf + +### Creation des liens /usr/bin vers les binaires se trouvant +### dans le dossier /usr/lib/qt5/bin en ajoutant qt5 à la fin du lien +mkdir -p $PKG/usr/bin + +for i in $PKG/usr/lib/qt5/bin/*; do + ln -sv /usr/lib/qt5/bin/$(basename $i) $PKG/usr/bin/$(basename $i)-qt5 +done + +cat > $PKG/usr/bin/setqt5 << EOF +if [ "x\$QT4BINDIR" != "x/usr/bin" ] && [ "x\$QT4BINDIR" != "x" ]; then pathremove $QT4BINDIR; fi +if [ "x\$QT5BINDIR" != "x/usr/bin" ]; then pathprepend $QT5BINDIR; fi +echo \$PATH +EOF } diff --git a/talimatname/genel/qt5/talimat_E b/talimatname/genel/qt5/talimat_E deleted file mode 100644 index 4d9918985..000000000 --- a/talimatname/genel/qt5/talimat_E +++ /dev/null @@ -1,147 +0,0 @@ -# Description: A cross-platform application and UI framework -# URL: http://qt-project.org/ -# Packager: pierre at nutyx dot org, tnut at nutyx dot org, fanch at nutyx dot org -# Depends on:xorg-proto xorg-libxkbfile xorg-xtrans xorg-libx11 xorg-libxext xorg-libfs xorg-libice xorg-libsm xorg-libxscrnsaver xorg-libxt xorg-libxmu xorg-libxpm xorg-libxaw xorg-libxfixes xorg-libxcomposite xorg-libxrender xorg-libxcursor xorg-libxdamage xorg-libfontenc xorg-libxfont xorg-libxft xorg-libxi xorg-libxinerama xorg-libxrandr xorg-libxres xorg-libxtst xorg-libxv xorg-libxvmc xorg-libxxf86dga xorg-libxxf86vm xorg-libdmx xorg-libpciaccess xorg-libxkbfile xorg-libxshmfence xcb-proto xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm alsa-lib ca-certificates cups dbus glib gstreamer-plugins-base icu jasper libjpeg-turbo libmng libpng libtiff libwebp xorg-mesa mtdev openssl pcre sqlite ruby gstreamer1-plugins-base geoclue gtk2 harfbuzz postgresql pulseaudio unixodbc libxkbcommon mariadb - -name=qt5 -version=5.5.1 -release=2 - -_name=qt-everywhere-opensource-src-${version} - -source=(http://download.qt-project.org/official_releases/qt/${version%.*}/$version/single/${_name}.tar.xz) - -build() { - -QT5PREFIX=/usr -QT5BINDIR=$QT5PREFIX/lib/qt5/bin - - -cd ${_name}* - -./configure -prefix $QT5PREFIX \ - -sysconfdir /etc/xdg \ - -bindir $QT5BINDIR \ - -plugindir /usr/lib/qt5/plugins \ - -importdir /usr/lib/qt5/imports \ - -headerdir /usr/include/qt5 \ - -datadir /usr/share/qt5 \ - -docdir /usr/share/doc/qt5 \ - -translationdir /usr/share/qt5/translations \ - -examplesdir /usr/share/doc/qt5/examples \ - -plugin-sql-{psql,mysql,sqlite,odbc} \ - -confirm-license \ - -opensource \ - -dbus-linked \ - -openssl-linked \ - -system-harfbuzz \ - -system-sqlite \ - -optimized-qmake \ - -nomake examples \ - -no-rpath \ - -skip qtwebengine - -make -make INSTALL_ROOT=$PKG install - -find $PKG/usr/ -name qt_lib_bootstrap_private.pri \ - -exec sed -i -e "s:$PWD/qtbase:/$QT5PREfiX/lib/:g" {} \; && - -find $PKG/usr -name \*.prl \ - -exec sed -i -e '/^QmAKE_PRL_BUiLD_DiR/d' {} \; - -install -v -dm755 $PKG/usr/share/pixmaps/ - -install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \ - $PKG/usr/share/pixmaps/assistant-qt5.png - -install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \ - $PKG/usr/share/pixmaps/designer-qt5.png - -install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \ - $PKG/usr/share/pixmaps/linguist-qt5.png - -install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \ - $PKG/usr/share/pixmaps/qdbusviewer-qt5.png - -install -dm755 $PKG/usr/share/applications - - -cat > $PKG/usr/share/applications/assistant-qt5.desktop << "EOf" -[Desktop Entry] -Name=Qt5 Assistant -comment=Shows Qt5 documentation and examples -Exec=$QT5BINDIR/assistant-qt5 -icon=assistant-qt5 -Terminal=false -Encoding=UTf-8 -Type=Application -categories=Qt;Development;Documentation; -EOf - -cat > $PKG/usr/share/applications/designer-qt5.desktop << "EOf" -[Desktop Entry] -Name=Qt5 Designer -GenericName=interface Designer -comment=Design GUis for Qt5 applications -Exec=$QT5BINDIR/designer-qt5 -icon=designer-qt5 -mimeType=application/x-designer; -Terminal=false -Encoding=UTf-8 -Type=Application -categories=Qt;Development; -EOf - -cat > $PKG/usr/share/applications/linguist-qt5.desktop << "EOf" -[Desktop Entry] -Name=Qt5 Linguist -comment=Add translations to Qt5 applications -Exec=$QT5BINDIR/linguist-qt5 -icon=linguist-qt5 -mimeType=text/vnd.trolltech.linguist;application/x-linguist; -Terminal=false -Encoding=UTf-8 -Type=Application -categories=Qt;Development; -EOf - -cat > $PKG/usr/share/applications/qdbusviewer-qt5.desktop << "EOf" -[Desktop Entry] -Name=Qt5 QDbusviewer -GenericName=D-Bus Debugger -comment=Debug D-Bus applications -Exec=$QT5BINDIR/qdbusviewer-qt5 -icon=qdbusviewer-qt5 -Terminal=false -Encoding=UTf-8 -Type=Application -categories=Qt;Development;Debugger; -EOf - -mkdir -p $PKG/etc/profile.d -cat > $PKG/etc/profile.d/qt5.sh << EOf -# Begin /etc/profile.d/qt5.sh - -QT5PREFIX=$QT5PREFIX -QT5DIR=$QT5PREFIX -QT5BINDIR=$QT5PREFIX/lib/qt5/bin -export QT5PREFIX QT5BINDIR QT5DIR - -# End /etc/profile.d/qt5.sh -EOf - -### Creation des liens /usr/bin vers les binaires se trouvant -### dans le dossier /usr/lib/qt5/bin en ajoutant qt5 à la fin du lien -mkdir -p $PKG/usr/bin - -for i in $PKG/usr/lib/qt5/bin/*; do - ln -sv /usr/lib/qt5/bin/$(basename $i) $PKG/usr/bin/$(basename $i)-qt5 -done - -cat > $PKG/usr/bin/setqt5 << EOF -if [ "x\$QT4BINDIR" != "x/usr/bin" ] && [ "x\$QT4BINDIR" != "x" ]; then pathremove $QT4BINDIR; fi -if [ "x\$QT5BINDIR" != "x/usr/bin" ]; then pathprepend $QT5BINDIR; fi -echo \$PATH -EOF -} diff --git a/talimatname/genel/ssh-askpass/ssh-askpass.kur-kos b/talimatname/genel/ssh-askpass/ssh-askpass.kur-kos index c7b13fd11..839dc3e9c 100644 --- a/talimatname/genel/ssh-askpass/ssh-askpass.kur-kos +++ b/talimatname/genel/ssh-askpass/ssh-askpass.kur-kos @@ -1,6 +1,6 @@ -if ( ! grep ssh-askpass /etc/sudo.conf 2> /dev/null ) +if ( ! grep ssh-askpass etc/sudo.conf 2> /dev/null ) then - cat >> /etc/sudo.conf << "EOF" + cat >> etc/sudo.conf << "EOF" # Path to askpass helper program Path askpass /usr/libexec/openssh/ssh-askpass EOF diff --git a/talimatname/genel/xfce4-sistem/talimat b/talimatname/genel/xfce4-sistem/talimat new file mode 100644 index 000000000..fd2e87fa5 --- /dev/null +++ b/talimatname/genel/xfce4-sistem/talimat @@ -0,0 +1,23 @@ +# Description: Xfce4 Terminal is a GTK+ 2 terminal emulator. This is useful for running commands or programs in the comfort of an Xorg window; you can drag and drop files into the Xfce4 Terminal or copy and paste text with your mouse. +# URL: http://www.os-cillation.com/index.php?id=42&L=5 +# Packager: tyrry at nutyx dot org, tnut at nutyx dot org +# Depends on: exo vte +description="Terminal emulator from Xfce4." +name=xfce4-terminal +version=0.6.3 +release=3 + +source=(http://archive.xfce.org/src/apps/${name}/${version%.*}/$name-$version.tar.bz2 ) + +build() { +cd $name-$version +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + --disable-debug +make +make DESTDIR=$PKG install +} diff --git a/talimatname/genel/xorg-term/xorg-term.list b/talimatname/genel/xorg-term/xorg-term.list index 65ad67cfd..1142fa037 100644 --- a/talimatname/genel/xorg-term/xorg-term.list +++ b/talimatname/genel/xorg-term/xorg-term.list @@ -1,4 +1,4 @@ -//usr/share/terminfo/v/vs100 +/usr/share/terminfo/v/vs100 /usr/share/terminfo/x/xterm /usr/share/terminfo/x/xterm+256color /usr/share/terminfo/x/xterm+app