Автор Тема: ПО для Linux. Soft и любые софтовые вопросы. Поиск программ.  (Прочитано 148301 раз)

Оффлайн sysdba

  • Участник
  • *
  • Сообщений: 33
Re: PlayOnLinux
« Ответ #135 : 11.10.2008 22:06:59 »
hsh --target=noarch --no-sisyphus-check /директория_где_собираем/ playonlinux-3.1.2-alt0.1.src.rpmэтих параметров должно быть достаточно
сразу оговорюсь под ветвь 4.0 может не собраться...

Оффлайн Astro

  • Участник
  • *
  • Сообщений: 475
  • ALT Workstation 10
Re: PlayOnLinux
« Ответ #136 : 11.10.2008 22:30:43 »
Ещё раз спасибо, но вот что получаю:
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/LiveInstall: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/autorun: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/expert/BaseDeRegistre: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/expert/DirectX: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/expert/PolScriptCreator: xterm not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/expert/WineBooster: regedit not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/expert/WineBooster2: regedit not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/expert/WineConfig: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/install: wget not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/options/infos: wget not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/terminals/konsole: konsole not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/bash/terminals/xterm: xterm not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/daemon/autorun: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lang/old/ja_JP.UTF-8: xport not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/games: convert not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/games: wget not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/interface_v3: lzma not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/interface_v3: wineboot not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/interface_v3: wineprefixcreate not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/main: cabextract not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/main: convert not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/main: ping not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/main: wget not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/wine: lzma not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/wine: regedit not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/wine: wine not found (skip)
shell.req: /usr/src/tmp/playonlinux-buildroot/usr/share/playonlinux/lib/wine: wineprefixcreate not found (skip)
Не критично?

Drool

  • Гость
Re: PlayOnLinux
« Ответ #137 : 11.10.2008 23:36:37 »
--target=noarch

А что, в спеке BuildArch не указан?

Оффлайн Astro

  • Участник
  • *
  • Сообщений: 475
  • ALT Workstation 10
Re: PlayOnLinux
« Ответ #138 : 12.10.2008 02:04:10 »
Пакет собрался, но вот что хотелось добавить:
1. пакетные зависимости указаны, но их приходится ставить отдельно (не критично);
2. русификация меню, что большой плюс;
3. отсутствует справка "О программе";
Пока что исследовал.

Оффлайн Rider

  • /usr/sbin/control
  • *******
  • Сообщений: 1 136
В branch/4.0 rpm с поддержкой lzma. Всё что вам нужно - настроить обновления на branch, потом выполнить команду apt-get install rpm

Больше никаких специальных действий выполнять не надо.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Rider - вы не ошибаетесь ? Или я что-то пропустил ? Вроде поддержка lzma в rpm c Branch 4.1.

Оффлайн sysdba

  • Участник
  • *
  • Сообщений: 33
Re: PlayOnLinux
« Ответ #141 : 12.10.2008 11:20:03 »
PlayOnLinux  3.1.2 ftp://195.112.113.100
для Sisyphus ftp://195.112.113.100/Sisyphus/noarch/RPMS.hasher/playonlinux-3.1.2-alt0.2.noarch.rpm
для ветви 4.1 ftp://195.112.113.100/M41/noarch/RPMS.hasher/playonlinux-3.1.2-alt0.M41.2.noarch.rpm
3. отсутствует справка "О программе";
исправлено
1. пакетные зависимости указаны, но их приходится ставить отдельно (не критично);
это если Вы ставите через rpm, при добавлении в репозитарий и использовании apt для установки, зависимости удовлетворяются автоматически

Оффлайн Rider

  • /usr/sbin/control
  • *******
  • Сообщений: 1 136
Rider - вы не ошибаетесь ? Или я что-то пропустил ? Вроде поддержка lzma в rpm c Branch 4.1.

Не ошибаюсь. rpm с поддержкой lzma, выключенной по умолчанию для собираемых пакетов - лежит в каждом бранче.

Посмотрите changelog у пакета rpm.

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
netselect в ALTLinux, - есть такое?
« Ответ #143 : 19.10.2008 07:26:19 »
Собственно сабж.
В Debian есть полезная плюшка, - netselect
Как параметры, указываются адреса ресурсов.
netselect, как результат выдает рейтинг скорости доступа к ресурсам.
Позволяет при, например зеркалировании, выбрать наименее загруженный ресурс.

Вопрос: в ALT'е есть такое? Где лежит и как называется?

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: netselect в ALTLinux, - есть такое?
« Ответ #144 : 19.10.2008 09:03:53 »
Дословно нет. Если вещь полезная и "собираемая" может кто-то и соберёт из ALT Team. Но я пока не понял по вашим словам, что она делает.
[off]
 Мне иногда ALT Team один большой муравейник, или коллективный Gentoo - один соберёт, а потом все пользуются :)
[/off]

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: netselect в ALTLinux, - есть такое?
« Ответ #145 : 19.10.2008 20:38:38 »
Извиняюсь за задержку с ответом. Вот что есть в Debian:
NETSELECT(1)                                                                           NETSELECT(1)

NAME
       netselect - choose the fastest server automatically

SYNOPSIS
       netselect [-v|-vv|-vvv|-vvvv] [-m HOPS] [-s SERVERS] [-t PACKETS] host ...

DESCRIPTION
       netselect  determines  several  facts about all of the hosts given on the command line, much
       faster than you would if you manually tried to use ping and traceroute.

       For each host, netselect figures out the approximate ping time (though not as accurately  as
       ping  does),  the  number  of network "hops" to reach the target, and the percentage of ping
       requests that got through successfully. Then netselect calculates the "score" of each opera-
       tional  host  based on these values.  A lower score is better, in the end it prints one line
       showing the server with the best score.

EXAMPLES
       # netselect -vv ftp.fceia.unr.edu.ar ftp.kulnet.kuleuven.ac.be \
                  ftp.cdrom.com ftp.debian.org ftp.de.debian.org

       This is the output:

       ftp.fceia.unr.edu.ar         2792 ms  23 hops  100% ok ( 1/ 1) [ 9213]
       ftp.kulnet.kuleuven.ac.be    9999 ms  30 hops    0% ok
       ftp.cdrom.com                  94 ms   8 hops  100% ok (10/10) [  169]
       ftp.debian.org                 46 ms  15 hops  100% ok (10/10) [  115]
       ftp.de.debian.org            9999 ms  30 hops    0% ok
         115 ftp.debian.org

       The value in brackets is the "score" of each operational host  based  on  these  values.   A
       lower  score  is better.  The last line shows the server with the best score.  If we had not
       used '-vv' on the command line, only this last line would have been printed.

       Note that for ftp.kulnet.kuleuven.ac.be and ftp.de.debian.org  in  this  case,  nothing  got
       through at all.  That indicates that either the host doesn't exist, or it is down.

OPTIONS
       -v     Verbose  mode.  Displays nameserver resolution messages to stderr.  You probably want
              this so that you don't get bored waiting for a hundred name resolutions to finish.

       -vv    Very verbose mode.  Displays nameserver resolution and statistics (not  just  scores)
              to STDERR and STDOUT.

       -vvv   Very  very  verbose mode.  Everything -vv prints, plus it print every packet received
              as it happens.  Good for debugging or trying to figure out how it works.

       -vvvv  Very very very verbose mode.  Everything -vvv prints, plus a  trace  of  all  packets
              sent.

       -m HOPS
              Maximum TTL (time to live).  Don't accept hosts that are further than HOPS away.

       -s SERVERS
              Print  this many "top-scoring" SERVERS at the end of the list.  If SERVERS is 0, then
              this disables printing of high scores.

       -t PACKETS
              Make sure at least 50% of the hosts get tested with  this  many  PACKETS.   The  more
              packets you use, the more accurate are the results... and the longer it takes to run.
              The default is 10, which is usually okay.

SEE ALSO
       ping(8), traceroute(8), netselect-apt(1).

AUTHOR
       Avery Pennarun <apenwarr@nit.ca>

DEBIAN                                     March 14, 2004                              NETSELECT(1)

И еще, не такое важное, но не помешало бы иметь для ALT'а:
NETSELECT-APT(1)                                                                   NETSELECT-APT(1)

NAME
       netselect-apt - create sources.list for the fastest Debian mirrors

SYNOPSIS
       netselect-apt [OPTIONS] [stable|testing|unstable|experimental|woody|sarge|etch|sid]

DESCRIPTION
       netselect-apt automatically creates a sources.list file for using with apt for the specified
       distribution by downloading the list of Debian mirrors using wget and choosing  the  fastest
       servers (both US and non-US) using netselect.  The output file is written to OUTFILE.

       If  there is a file called mirrors_full in the current directory which lists the Debian mir-
       rors, netselect-apt uses that rather than downloading another copy.

OPTIONS
       stable|testing|unstable|experimental|woody|sarge|etch|sid
              Specify which distribution of Debian to use.  By default stable is used.

       -s, --sources
              While generating OUTFILE include also deb-src lines to use with ``apt-get source'' to
              obtain Debian source packages.

       -i, --infile INFILE
              Use  INFILE  instead of mirrors_full for reading mirror list. The file must be in the
              same format as mirrors_full.

       -o, --outfile OUTFILE
              Use OUTFILE instead of sources.list.

       -n, --nonfree
              Include also non-free section while generating OUTFILE.

       -f, --ftp
              Use FTP mirrors instead of HTTP and generate OUTFILE accordingly.

ENVIROMENT
       WANT_SOURCES
              setting this to 1 is equivalent to --sources

       WANT_NONFREE
              setting this to 1 is equivalent to --nonfree

SEE ALSO
       netselect(1), wget(1), apt(8), sources.list(5).

AUTHOR
       Avery Pennarun <apenwarr@nit.ca>

DEBIAN                                    October 9, 2004                          NETSELECT-APT(1)
lines 1-66/66 (END)

Выдрал пакеты с Debian'овского ftp'шника.
То есть используя эти механизмы, система может выбирать наиболее скоростные ALT'овские ftp, не нагружая дополнительно перегруженые ресурсы. Поскольку у ALT'а зеркало не одно, на мой взгляд подобный механизм в ALT тоже был бы полезен.
Брал здесь:
ftp://ftp.debian.org/debian/pool/main/n/netselect/

Да пущай появится и без поддержки, - лишь бы работало :)
« Последнее редактирование: 19.10.2008 20:44:07 от Speccyfighter »

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: netselect в ALTLinux, - есть такое?
« Ответ #146 : 19.10.2008 21:50:20 »
Стянул руками файл
ftp://ftp.debian.org/debian/pool/main/n/netselect/netselect_0.3.ds1-12.1_i386.deb
и просто раскидал его компоненты руками по каталогам системы. Запустил дебиановский бинарник в альте. И вот что он выдал:
# netselect -vv ftp.altlinux.org ftp.linux.kiev.ua ftp://mirror.yandex.ru ftp.chg.ru ftp.heanet.ie ftp.ilim.ru ftp://linux4u.jinr.ru ftp.mobicomk.ru ftp.impb.psn.ru ftp.unixcenter.ru
Running netselect to choose 1 out of 14 addresses.
......................................................................................
ftp.linux.kiev.ua                      157 ms  27 hops   90% ok ( 9/10) [  643]
ftp://87.250.239.69                   9999 ms  30 hops    0% ok
ftp://77.88.19.68                     9999 ms  30 hops    0% ok
ftp://77.88.19.73                     9999 ms  30 hops    0% ok
ftp://77.88.19.74                     9999 ms  30 hops    0% ok
ftp.altlinux.org                        82 ms  13 hops   90% ok ( 9/10) [  209]
ftp://linux4u.jinr.ru                  129 ms  29 hops   90% ok ( 9/10) [  557]
ftp.impb.psn.ru                         93 ms  15 hops   90% ok ( 9/10) [  257]
193.233.9.194                          125 ms  15 hops   50% ok ( 3/ 6) [  625]
195.178.192.118                         92 ms  14 hops   62% ok ( 5/ 8) [  352]
ftp.unixcenter.ru                     9999 ms  30 hops    0% ok
ftp.ilim.ru                            173 ms  14 hops   90% ok ( 9/10) [  460]
ftp.heanet.ie                          192 ms  18 hops   90% ok ( 9/10) [  599]
ftp.mobicomk.ru                       9999 ms  30 hops    0% ok
  209 ftp.altlinux.org
Сразу становится ясно, куда перенаправлять sources.list: "победил" ftp.altlinux.org

Можно загнать командную строку в скрипт и перед установкой пакетов делать проверку рейтинга скорости альтовских зеркал и на скорую руку перенаправлять на наиболее скоростное.

В принципе эта дебиановская утилита никаких пакетов за собой не тянет. Так что если при узком канале скорость скачивания пакетов важный фактор, то можно просто стянуть утилиту с дебиановского фтп-шника и раскидать ее компоненты по системе руками. ИМХО шибко полезная вещь.
« Последнее редактирование: 19.10.2008 22:07:42 от Speccyfighter »

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: netselect в ALTLinux, - есть такое?
« Ответ #147 : 19.10.2008 23:03:53 »
netselect за собой ничего не тянет, - ни одной библиотеки! Требуется только перепакетить deb-пакет в rpm.

Практическое использование дебиановсой утилиты netselect новичками в быту.
Имеем пачку прямых линков на самых разных сайтах, на очень толстую (просто гигантского объема!) гнушную документацию в архиве.
Никому вообще не известно, сколько будет идти закачка и когда это закончиться.
Ставим дебиановский netselect в ALT и запускаем netselect и получаем:

sudo netselect -vv http://mail.tut.by http://mail.ya.ru http://mail.google.com
Running netselect to choose 1 out of 5 addresses.
...............................................................
http://mail.tut.by                      83 ms  12 hops   90% ok ( 9/10) [  202]
http://mail.ya.ru                       85 ms  14 hops   90% ok ( 9/10) [  228]
http://66.249.93.83                    125 ms  21 hops  100% ok (10/10) [  387]
http://66.249.93.19                    125 ms  21 hops  100% ok (10/10) [  387]
http://66.249.93.18                    128 ms  21 hops  100% ok (10/10) [  396]
  202 http://mail.tut.by
netselect говорит нам, что в данный момент архив лучше всего тянуть с http://mail.tut.by.
Это будет быстрее всего.

Если netselect использовать в скрипте, а скрипт (который результат будет ложить в файл) запускать через cron, то можно вести постоянный контроль скорости доступа к различным зеркалам ALTLinux, и тем самым сокращать время установки пакетов с ftp и снимать нагрузку с сильно загруженных серверов.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: netselect в ALTLinux, - есть такое?
« Ответ #148 : 19.10.2008 23:10:12 »
Speccyfighter запакуете в rpm ?

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: netselect в ALTLinux, - есть такое?
« Ответ #149 : 19.10.2008 23:55:27 »
Хотелось бы, но не умею. :( Вот сяду грызть доки и попробую. Благо прожка не требует вмешательства в код. И так хорошо работает. А там можно и в backports. Ладно, буду пробовать грызть.

Кстати содержимое файла copyright. Прямого указания на GNU нет, но противопоказания тоже не увидел:
This is the Debian GNU/Linux packaged version of netselect.  It was written and
then Debian-packaged by Avery Pennarun <apenwarr@nit.ca>.
It was downloaded from:
http://people.nit.ca/~apenwarr/netselect/index.html
It was derived from Van Jacobson's traceroute, and shares its license, which
follows:

[Note: the University of California has released an updated license that
removes the so-called "obnoxious advertising clause" and Avery has
correspondingly updated netselect as well.]

/*
 * Netselect:
 *      Copyright (c) 1998 by Avery Pennarun <apenwarr@nit.ca>
 *
 * Traceroute:
 * Copyright (c) 1990, 1993
 *      The Regents of the University of California.  All rights reserved.
 *
 * This code is derived from software contributed to Berkeley by
 * Van Jacobson.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */
./copyright lines 1-46/46 (END)