EmerCoin - правка GUI клиента

Вопросы написания собственного программного кода (на любых языках)

Модератор: Olej

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 14:07

EmerCoin криптовалюта (есть уже об этом тема EmerCoin / EMC) не является фактически средством платежа, а использует её распределённый блокчейн для хранения разных сетевых данных... главное для меня здесь децентрализованный альтернативный DNS, что позвоило для форума иметь альтернативное доменное имя в альтернативной доменной зоне .lib (которое никто не может запретить, перекрыть, отменить и т.д.):

Код: Выделить всё

olej@R420:~$ nslookup linux-ru.lib
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	linux-ru.lib
Address: 90.156.230.27
Сравните:

Код: Выделить всё

olej@R420:~$ nslookup linux-ru.ru
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	linux-ru.ru
Address: 90.156.230.27
И там и там срабатывает локальный кэширующий DNS systemd, он рекурсивно запрашивает информацию с серверов OpenNIC DNS (см. OpenNIC DNS и EmerCoin).

Это краткий итог того что уже сделано и испытано...
А теперь двигаемся дальше:
- задача (моя собственная, участия) стоит в некоторых доработках нового клиента (версии)...
- особенно в части его GUI интерфейса с помощью QtCreator...
- вся эта тема: это мой собственный конспект для памяти - здесь не нужно искать логики, связности, и не следует сюда что-то писать.

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 14:13

Olej писал(а):
29 мар 2023, 14:07
А теперь двигаемся дальше.
Вся эта DNS-кухня построена на бокчейне криптовалюты EmerCoin.
Кошелёк (клиент) для выполнения операций с EmerCoin мы собирали из исходников здесь: EmerCoin / EMC
Olej писал(а):
24 фев 2023, 01:25
Исходники берём из GIT репозитория проекта:
И уже закачали с GIT:

Код: Выделить всё

olej@R420:~/2023/own.WORK/DNS/EmerCoin$ git clone git@github.com:emercoin/emercoin.git
Клонирование в «emercoin»...
remote: Enumerating objects: 147918, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 147918 (delta 1), reused 9 (delta 1), pack-reused 147909
Получение объектов: 100% (147918/147918), 129.16 МиБ | 1.97 МиБ/с, готово.
Определение изменений: 100% (103956/103956), готово.

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 14:24

Olej писал(а):
29 мар 2023, 14:13
И уже закачали с GIT:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ pwd
/home/olej/2023/EmerCoin/emercoin

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ ls -l
итого 2956
-rw-rw-r--  1 olej olej   55246 фев 24 15:43 aclocal.m4
-rwxrwxr-x  1 olej olej     527 фев 24 00:22 autogen.sh
drwxr-xr-x  2 olej olej    4096 фев 24 15:43 autom4te.cache
drwxrwxr-x  2 olej olej    4096 фев 24 00:10 bin
drwxrwxr-x  3 olej olej    4096 фев 24 15:43 build-aux
-rwxrwxr-x  1 olej olej     497 фев 24 00:22 confFreeBSD.sh
-rw-rw-r--  1 olej olej  165425 фев 24 15:45 config.log
-rwxrwxr-x  1 olej olej   86383 фев 24 15:45 config.status
-rwxrwxr-x  1 olej olej 1032448 фев 24 15:43 configure
-rwxrwxr-x  1 olej olej 1032448 фев 24 00:29 configure~
-rw-rw-r--  1 olej olej   42501 фев 24 00:22 configure.ac
drwxrwxr-x 19 olej olej    4096 фев 24 00:22 contrib
-rw-rw-r--  1 olej olej   10902 фев 24 00:22 CONTRIBUTING.md
-rw-rw-r--  1 olej olej   36401 фев 24 00:22 COPYING
drwxrwxr-x 10 olej olej    4096 фев 24 15:37 depends
drwxrwxr-x  5 olej olej    4096 фев 24 00:22 doc
-rw-rw-r--  1 olej olej     161 фев 24 00:10 INSTALL.md
-rw-rw-r--  1 olej olej     360 фев 24 15:45 libbitcoinconsensus.pc
-rw-rw-r--  1 olej olej     295 фев 24 00:10 libbitcoinconsensus.pc.in
-rwxr-xr-x  1 olej olej  348582 фев 24 15:45 libtool
-rw-rw-r--  1 olej olej   52032 фев 24 15:45 Makefile
-rw-rw-r--  1 olej olej    8895 фев 24 00:22 Makefile.am
-rw-rw-r--  1 olej olej   45256 фев 24 15:43 Makefile.in
-rwxrwxr-x  1 olej olej      43 фев 24 00:10 push.sh
drwxrwxr-x  4 olej olej    4096 фев 24 00:22 qa
-rw-rw-r--  1 olej olej    3787 фев 24 00:22 README.md
drwxrwxr-x  6 olej olej    4096 фев 24 15:45 share
drwxrwxr-x 25 olej olej   12288 фев 24 16:13 src
drwxrwxr-x  3 olej olej    4096 фев 24 00:22 test

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ du -hs ./
896M	./
Это размер со сборкой текущей рабочей версии:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ git branch
* (HEAD отделён на v0.7.11emc)
  master

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 14:45

Репозиторий GIT, с которого грузились, находится здесь https://github.com/emercoin/emercoin.
И всё, что касается сборки и установки в Linux находим здесь: https://github.com/emercoin/emercoin/bl ... ld-unix.md
Или в нашем клонированном репозитории:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ ls -l doc/build-unix.md 
-rw-rw-r-- 1 olej olej 12819 фев 24 00:22 doc/build-unix.md
Там самая существенная часть - это достаточно много зависимостей, которые нужно устанавливать прежде...
Файл emercoin/doc/dependencies.md - требуемые зависимости:

Код: Выделить всё

These are the dependencies currently used by Bitcoin Core. You can find instructions for installing them in the `build-*.md` file for your platform.

| Dependency | Version used | Minimum required | CVEs | Shared | [Bundled Qt library](https://doc.qt.io/qt-5/configure-options.html#third-party-libraries) |
| --- | --- | --- | --- | --- | --- |
| Berkeley DB | [4.8.30](https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html) | 4.8.x | No |  |  |
| Boost | [1.70.0](https://www.boost.org/users/download/) | [1.47.0](https://github.com/bitcoin/bitcoin/pull/8920) | No |  |  |
| Clang |  | [3.3+](https://releases.llvm.org/download.html) (C++11 support) |  |  |  |
| Expat | [2.2.7](https://libexpat.github.io/) |  | No | Yes |  |
| fontconfig | [2.12.1](https://www.freedesktop.org/software/fontconfig/release/) |  | No | Yes |  |
| FreeType | [2.7.1](https://download.savannah.gnu.org/releases/freetype) |  | No |  |  |
| GCC |  | [4.8+](https://gcc.gnu.org/) (C++11 support) |  |  |  |
| HarfBuzz-NG |  |  |  |  |  |
| libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | 2.0.22 | No |  |  |
| libpng |  |  |  |  | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) |
| librsvg | |  |  |  |  |
| MiniUPnPc | [2.0.20180203](http://miniupnp.free.fr/files) |  | No |  |  |
| OpenSSL | [1.0.1k](https://www.openssl.org/source) |  | Yes |  |  |
| PCRE |  |  |  |  | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) |
| protobuf | [2.6.1](https://github.com/google/protobuf/releases) |  | No |  |  |
| Python (tests) |  | [3.5](https://www.python.org/downloads) |  |  |  |
| qrencode | [3.4.4](https://fukuchi.org/works/qrencode) |  | No |  |  |
| Qt | [5.9.7](https://download.qt.io/official_releases/qt/) | [5.5.1](https://github.com/bitcoin/bitcoin/issues/13478) | No |  |  |
| XCB |  |  |  |  | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) (Linux only) |
| xkbcommon |  |  |  |  | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) (Linux only) |
| ZeroMQ | [4.3.1](https://github.com/zeromq/libzmq/releases) | 4.0.0 | No |  |  |
| zlib | [1.2.11](https://zlib.net/) |  |  |  | No |

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 14:50

Olej писал(а):
29 мар 2023, 14:24
Это размер со сборкой текущей рабочей версии:
В принципе, начать можно с этого:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ make clean
Making clean in src
make[1]: вход в каталог «/home/olej/2023/EmerCoin/emercoin/src»
make[2]: вход в каталог «/home/olej/2023/EmerCoin/emercoin/src»
 rm -f emercoind emercoin-cli emercoin-tx bench/bench_bitcoin qt/emercoin-qt
test -z "crypto/libbitcoin_crypto.a libbitcoin_util.a libbitcoin_common.a libbitcoin_consensus.a libbitcoin_server.a libbitcoin_cli.a libbitcoin_wallet.a libbitcoin_zmq.a leveldb/libleveldb.a leveldb/libmemenv.a qt/libbitcoinqt.a *.gcda *.gcno compat/*.gcda compat/*.gcno consensus/*.gcda consensus/*.gcno crypto/*.gcda crypto/*.gcno policy/*.gcda policy/*.gcno primitives/*.gcda primitives/*.gcno script/*.gcda script/*.gcno support/*.gcda support/*.gcno univalue/*.gcda univalue/*.gcno wallet/*.gcda wallet/*.gcno wallet/test/*.gcda wallet/test/*.gcno zmq/*.gcda zmq/*.gcno  bench/*.gcda bench/*.gcno bench/data/block413567.raw.h qt/moc_BlockingHttp.cpp qt/moc_addressbookpage.cpp qt/moc_addresstablemodel.cpp qt/moc_askpassphrasedialog.cpp qt/moc_bantablemodel.cpp qt/moc_bitcoinaddressvalidator.cpp qt/moc_bitcoinamountfield.cpp qt/moc_bitcoingui.cpp qt/moc_bitcoinunits.cpp qt/moc_clientmodel.cpp qt/moc_coincontroldialog.cpp qt/moc_coincontroltreewidget.cpp qt/moc_csvmodelwriter.cpp qt/moc_editaddressdialog.cpp qt/moc_guiutil.cpp qt/moc_intro.cpp qt/moc_macdockiconhandler.cpp qt/moc_macnotificationhandler.cpp qt/moc_managenamespage.cpp qt/moc_nametablemodel.cpp qt/moc_modaloverlay.cpp qt/moc_notificator.cpp qt/moc_openuridialog.cpp qt/moc_optionsdialog.cpp qt/moc_optionsmodel.cpp qt/moc_overviewpage.cpp qt/moc_peertablemodel.cpp qt/moc_paymentserver.cpp qt/moc_qvalidatedlineedit.cpp qt/moc_qvaluecombobox.cpp qt/moc_receivecoinsdialog.cpp qt/moc_receiverequestdialog.cpp qt/moc_recentrequeststablemodel.cpp qt/moc_rpcconsole.cpp qt/moc_sendcoinsdialog.cpp qt/moc_sendcoinsentry.cpp qt/moc_signverifymessagedialog.cpp qt/moc_splashscreen.cpp qt/moc_trafficgraphwidget.cpp qt/moc_transactiondesc.cpp qt/moc_transactiondescdialog.cpp qt/moc_transactionfilterproxy.cpp qt/moc_transactiontablemodel.cpp qt/moc_transactionview.cpp qt/moc_utilitydialog.cpp qt/moc_walletframe.cpp qt/moc_walletmodel.cpp qt/moc_walletview.cpp qt/moc_mintingfilterproxy.cpp qt/moc_mintingtablemodel.cpp qt/moc_mintingview.cpp qt/bitcoin.moc qt/bitcoinamountfield.moc qt/intro.moc qt/overviewpage.moc qt/rpcconsole.moc qt/paymentrequest.pb.cc qt/paymentrequest.pb.h qt/qrc_bitcoin.cpp qt/qrc_bitcoin_locale.cpp qt/locale/bitcoin_af.qm qt/locale/bitcoin_af_ZA.qm qt/locale/bitcoin_ar.qm qt/locale/bitcoin_be_BY.qm qt/locale/bitcoin_bg_BG.qm qt/locale/bitcoin_bg.qm qt/locale/bitcoin_ca_ES.qm qt/locale/bitcoin_ca.qm qt/locale/bitcoin_ca@valencia.qm qt/locale/bitcoin_cs.qm qt/locale/bitcoin_cy.qm qt/locale/bitcoin_da.qm qt/locale/bitcoin_de.qm qt/locale/bitcoin_el_GR.qm qt/locale/bitcoin_el.qm qt/locale/bitcoin_en_GB.qm qt/locale/bitcoin_en.qm qt/locale/bitcoin_eo.qm qt/locale/bitcoin_es_AR.qm qt/locale/bitcoin_es_CL.qm qt/locale/bitcoin_es_CO.qm qt/locale/bitcoin_es_DO.qm qt/locale/bitcoin_es_ES.qm qt/locale/bitcoin_es_MX.qm qt/locale/bitcoin_es.qm qt/locale/bitcoin_es_UY.qm qt/locale/bitcoin_es_VE.qm qt/locale/bitcoin_et_EE.qm qt/locale/bitcoin_et.qm qt/locale/bitcoin_eu_ES.qm qt/locale/bitcoin_fa_IR.qm qt/locale/bitcoin_fa.qm qt/locale/bitcoin_fi.qm qt/locale/bitcoin_fr_CA.qm qt/locale/bitcoin_fr_FR.qm qt/locale/bitcoin_fr.qm qt/locale/bitcoin_gl.qm qt/locale/bitcoin_he.qm qt/locale/bitcoin_hi_IN.qm qt/locale/bitcoin_hr.qm qt/locale/bitcoin_hu.qm qt/locale/bitcoin_id_ID.qm qt/locale/bitcoin_it_IT.qm qt/locale/bitcoin_it.qm qt/locale/bitcoin_ja.qm qt/locale/bitcoin_ka.qm qt/locale/bitcoin_kk_KZ.qm qt/locale/bitcoin_ko_KR.qm qt/locale/bitcoin_ku_IQ.qm qt/locale/bitcoin_ky.qm qt/locale/bitcoin_la.qm qt/locale/bitcoin_lt.qm qt/locale/bitcoin_lv_LV.qm qt/locale/bitcoin_mk_MK.qm qt/locale/bitcoin_mn.qm qt/locale/bitcoin_ms_MY.qm qt/locale/bitcoin_nb.qm qt/locale/bitcoin_ne.qm qt/locale/bitcoin_nl.qm qt/locale/bitcoin_pam.qm qt/locale/bitcoin_pl.qm qt/locale/bitcoin_pt_BR.qm qt/locale/bitcoin_pt_PT.qm qt/locale/bitcoin_ro_RO.qm qt/locale/bitcoin_ro.qm qt/locale/bitcoin_ru_RU.qm qt/locale/bitcoin_ru.qm qt/locale/bitcoin_sk.qm qt/locale/bitcoin_sl_SI.qm qt/locale/bitcoin_sq.qm qt/locale/bitcoin_sr@latin.qm qt/locale/bitcoin_sr.qm qt/locale/bitcoin_sv.qm qt/locale/bitcoin_ta.qm qt/locale/bitcoin_th_TH.qm qt/locale/bitcoin_tr_TR.qm qt/locale/bitcoin_tr.qm qt/locale/bitcoin_uk.qm qt/locale/bitcoin_ur_PK.qm qt/locale/bitcoin_uz@Cyrl.qm qt/locale/bitcoin_vi.qm qt/locale/bitcoin_vi_VN.qm qt/locale/bitcoin_zh_CN.qm qt/locale/bitcoin_zh_HK.qm qt/locale/bitcoin_zh.qm qt/locale/bitcoin_zh_TW.qm qt/forms/ui_addressbookpage.h qt/forms/ui_askpassphrasedialog.h qt/forms/ui_coincontroldialog.h qt/forms/ui_editaddressdialog.h qt/forms/ui_helpmessagedialog.h qt/forms/ui_intro.h qt/forms/ui_managenamespage.h qt/forms/ui_modaloverlay.h qt/forms/ui_openuridialog.h qt/forms/ui_optionsdialog.h qt/forms/ui_overviewpage.h qt/forms/ui_receivecoinsdialog.h qt/forms/ui_receiverequestdialog.h qt/forms/ui_debugwindow.h qt/forms/ui_sendcoinsdialog.h qt/forms/ui_sendcoinsentry.h qt/forms/ui_signverifymessagedialog.h qt/forms/ui_transactiondescdialog.h qt/*.gcda qt/*.gcno " || rm -f crypto/libbitcoin_crypto.a libbitcoin_util.a libbitcoin_common.a libbitcoin_consensus.a libbitcoin_server.a libbitcoin_cli.a libbitcoin_wallet.a libbitcoin_zmq.a leveldb/libleveldb.a leveldb/libmemenv.a qt/libbitcoinqt.a *.gcda *.gcno compat/*.gcda compat/*.gcno consensus/*.gcda consensus/*.gcno crypto/*.gcda crypto/*.gcno policy/*.gcda policy/*.gcno primitives/*.gcda primitives/*.gcno script/*.gcda script/*.gcno support/*.gcda support/*.gcno univalue/*.gcda univalue/*.gcno wallet/*.gcda wallet/*.gcno wallet/test/*.gcda wallet/test/*.gcno zmq/*.gcda zmq/*.gcno  bench/*.gcda bench/*.gcno bench/data/block413567.raw.h qt/moc_BlockingHttp.cpp qt/moc_addressbookpage.cpp qt/moc_addresstablemodel.cpp qt/moc_askpassphrasedialog.cpp qt/moc_bantablemodel.cpp qt/moc_bitcoinaddressvalidator.cpp qt/moc_bitcoinamountfield.cpp qt/moc_bitcoingui.cpp qt/moc_bitcoinunits.cpp qt/moc_clientmodel.cpp qt/moc_coincontroldialog.cpp qt/moc_coincontroltreewidget.cpp qt/moc_csvmodelwriter.cpp qt/moc_editaddressdialog.cpp qt/moc_guiutil.cpp qt/moc_intro.cpp qt/moc_macdockiconhandler.cpp qt/moc_macnotificationhandler.cpp qt/moc_managenamespage.cpp qt/moc_nametablemodel.cpp qt/moc_modaloverlay.cpp qt/moc_notificator.cpp qt/moc_openuridialog.cpp qt/moc_optionsdialog.cpp qt/moc_optionsmodel.cpp qt/moc_overviewpage.cpp qt/moc_peertablemodel.cpp qt/moc_paymentserver.cpp qt/moc_qvalidatedlineedit.cpp qt/moc_qvaluecombobox.cpp qt/moc_receivecoinsdialog.cpp qt/moc_receiverequestdialog.cpp qt/moc_recentrequeststablemodel.cpp qt/moc_rpcconsole.cpp qt/moc_sendcoinsdialog.cpp qt/moc_sendcoinsentry.cpp qt/moc_signverifymessagedialog.cpp qt/moc_splashscreen.cpp qt/moc_trafficgraphwidget.cpp qt/moc_transactiondesc.cpp qt/moc_transactiondescdialog.cpp qt/moc_transactionfilterproxy.cpp qt/moc_transactiontablemodel.cpp qt/moc_transactionview.cpp qt/moc_utilitydialog.cpp qt/moc_walletframe.cpp qt/moc_walletmodel.cpp qt/moc_walletview.cpp qt/moc_mintingfilterproxy.cpp qt/moc_mintingtablemodel.cpp qt/moc_mintingview.cpp qt/bitcoin.moc qt/bitcoinamountfield.moc qt/intro.moc qt/overviewpage.moc qt/rpcconsole.moc qt/paymentrequest.pb.cc qt/paymentrequest.pb.h qt/qrc_bitcoin.cpp qt/qrc_bitcoin_locale.cpp qt/locale/bitcoin_af.qm qt/locale/bitcoin_af_ZA.qm qt/locale/bitcoin_ar.qm qt/locale/bitcoin_be_BY.qm qt/locale/bitcoin_bg_BG.qm qt/locale/bitcoin_bg.qm qt/locale/bitcoin_ca_ES.qm qt/locale/bitcoin_ca.qm qt/locale/bitcoin_ca@valencia.qm qt/locale/bitcoin_cs.qm qt/locale/bitcoin_cy.qm qt/locale/bitcoin_da.qm qt/locale/bitcoin_de.qm qt/locale/bitcoin_el_GR.qm qt/locale/bitcoin_el.qm qt/locale/bitcoin_en_GB.qm qt/locale/bitcoin_en.qm qt/locale/bitcoin_eo.qm qt/locale/bitcoin_es_AR.qm qt/locale/bitcoin_es_CL.qm qt/locale/bitcoin_es_CO.qm qt/locale/bitcoin_es_DO.qm qt/locale/bitcoin_es_ES.qm qt/locale/bitcoin_es_MX.qm qt/locale/bitcoin_es.qm qt/locale/bitcoin_es_UY.qm qt/locale/bitcoin_es_VE.qm qt/locale/bitcoin_et_EE.qm qt/locale/bitcoin_et.qm qt/locale/bitcoin_eu_ES.qm qt/locale/bitcoin_fa_IR.qm qt/locale/bitcoin_fa.qm qt/locale/bitcoin_fi.qm qt/locale/bitcoin_fr_CA.qm qt/locale/bitcoin_fr_FR.qm qt/locale/bitcoin_fr.qm qt/locale/bitcoin_gl.qm qt/locale/bitcoin_he.qm qt/locale/bitcoin_hi_IN.qm qt/locale/bitcoin_hr.qm qt/locale/bitcoin_hu.qm qt/locale/bitcoin_id_ID.qm qt/locale/bitcoin_it_IT.qm qt/locale/bitcoin_it.qm qt/locale/bitcoin_ja.qm qt/locale/bitcoin_ka.qm qt/locale/bitcoin_kk_KZ.qm qt/locale/bitcoin_ko_KR.qm qt/locale/bitcoin_ku_IQ.qm qt/locale/bitcoin_ky.qm qt/locale/bitcoin_la.qm qt/locale/bitcoin_lt.qm qt/locale/bitcoin_lv_LV.qm qt/locale/bitcoin_mk_MK.qm qt/locale/bitcoin_mn.qm qt/locale/bitcoin_ms_MY.qm qt/locale/bitcoin_nb.qm qt/locale/bitcoin_ne.qm qt/locale/bitcoin_nl.qm qt/locale/bitcoin_pam.qm qt/locale/bitcoin_pl.qm qt/locale/bitcoin_pt_BR.qm qt/locale/bitcoin_pt_PT.qm qt/locale/bitcoin_ro_RO.qm qt/locale/bitcoin_ro.qm qt/locale/bitcoin_ru_RU.qm qt/locale/bitcoin_ru.qm qt/locale/bitcoin_sk.qm qt/locale/bitcoin_sl_SI.qm qt/locale/bitcoin_sq.qm qt/locale/bitcoin_sr@latin.qm qt/locale/bitcoin_sr.qm qt/locale/bitcoin_sv.qm qt/locale/bitcoin_ta.qm qt/locale/bitcoin_th_TH.qm qt/locale/bitcoin_tr_TR.qm qt/locale/bitcoin_tr.qm qt/locale/bitcoin_uk.qm qt/locale/bitcoin_ur_PK.qm qt/locale/bitcoin_uz@Cyrl.qm qt/locale/bitcoin_vi.qm qt/locale/bitcoin_vi_VN.qm qt/locale/bitcoin_zh_CN.qm qt/locale/bitcoin_zh_HK.qm qt/locale/bitcoin_zh.qm qt/locale/bitcoin_zh_TW.qm qt/forms/ui_addressbookpage.h qt/forms/ui_askpassphrasedialog.h qt/forms/ui_coincontroldialog.h qt/forms/ui_editaddressdialog.h qt/forms/ui_helpmessagedialog.h qt/forms/ui_intro.h qt/forms/ui_managenamespage.h qt/forms/ui_modaloverlay.h qt/forms/ui_openuridialog.h qt/forms/ui_optionsdialog.h qt/forms/ui_overviewpage.h qt/forms/ui_receivecoinsdialog.h qt/forms/ui_receiverequestdialog.h qt/forms/ui_debugwindow.h qt/forms/ui_sendcoinsdialog.h qt/forms/ui_sendcoinsentry.h qt/forms/ui_signverifymessagedialog.h qt/forms/ui_transactiondescdialog.h qt/*.gcda qt/*.gcno 
test -z "libemercoinconsensus.la" || rm -f libemercoinconsensus.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf bench/.libs bench/_libs
rm -rf compat/.libs compat/_libs
rm -rf consensus/.libs consensus/_libs
rm -rf crypto/.libs crypto/_libs
rm -rf primitives/.libs primitives/_libs
rm -rf qt/.libs qt/_libs
rm -rf qt/test/.libs qt/test/_libs
rm -rf script/.libs script/_libs
rm -rf support/.libs support/_libs
rm -rf test/.libs test/_libs
make -C secp256k1 clean
make[3]: вход в каталог «/home/olej/2023/EmerCoin/emercoin/src/secp256k1»
test -z "gen_context src/ecmult_static_context.h src/java/org/bitcoin/*.class .stamp-java" || rm -f gen_context src/ecmult_static_context.h src/java/org/bitcoin/*.class .stamp-java
test -z "libsecp256k1.la" || rm -f libsecp256k1.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf src/.libs src/_libs
rm -rf src/asm/.libs src/asm/_libs
rm -rf src/java/.libs src/java/_libs
test -z "" || rm -f 
 rm -f exhaustive_tests
rm -f *.o
rm -f src/*.o
rm -f src/*.lo
rm -f src/asm/*.o
rm -f src/asm/*.lo
rm -f src/java/*.o
rm -f src/java/*.lo
test -z "exhaustive_tests.log" || rm -f exhaustive_tests.log
test -z "exhaustive_tests.trs" || rm -f exhaustive_tests.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[3]: выход из каталога «/home/olej/2023/EmerCoin/emercoin/src/secp256k1»
make -C univalue clean
make[3]: вход в каталог «/home/olej/2023/EmerCoin/emercoin/src/univalue»
test -z "libunivalue.la" || rm -f libunivalue.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf lib/.libs lib/_libs
rm -rf test/.libs test/_libs
 rm -f test/unitester
rm -f *.o
rm -f lib/*.o
rm -f lib/*.lo
rm -f test/*.o
test -z "test/unitester.log" || rm -f test/unitester.log
test -z "test/unitester.trs" || rm -f test/unitester.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[3]: выход из каталога «/home/olej/2023/EmerCoin/emercoin/src/univalue»
rm -f leveldb/*/*.gcda leveldb/*/*.gcno leveldb/helpers/memenv/*.gcda leveldb/helpers/memenv/*.gcno
rm -f config.h
rm -rf test/__pycache__
rm -f *.o
rm -f bench/*.o
rm -f compat/*.o
rm -f compat/*.lo
rm -f consensus/*.o
rm -f consensus/*.lo
rm -f crypto/*.o
rm -f crypto/*.lo
rm -f leveldb/db/*.o
rm -f leveldb/helpers/memenv/*.o
rm -f leveldb/port/*.o
rm -f leveldb/table/*.o
rm -f leveldb/util/*.o
rm -f policy/*.o
rm -f primitives/*.o
rm -f primitives/*.lo
rm -f qt/*.o
rm -f qt/res/*.o
rm -f qt/test/*.o
rm -f quazip/*.o
rm -f rpc/*.o
rm -f script/*.o
rm -f script/*.lo
rm -f support/*.o
rm -f support/*.lo
rm -f test/*.o
rm -f wallet/*.o
rm -f wallet/test/*.o
rm -f zlib/*.o
rm -f zmq/*.o
test -z "" || rm -f 
test -z "" || rm -f 
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: выход из каталога «/home/olej/2023/EmerCoin/emercoin/src»
make[1]: выход из каталога «/home/olej/2023/EmerCoin/emercoin/src»
Making clean in doc/man
make[1]: вход в каталог «/home/olej/2023/EmerCoin/emercoin/doc/man»
rm -rf .libs _libs
rm -f *.lo
make[1]: выход из каталога «/home/olej/2023/EmerCoin/emercoin/doc/man»
make[1]: вход в каталог «/home/olej/2023/EmerCoin/emercoin»
test -z "Emercoin-Core.dmg emercoin-0.7.11-win-setup" || rm -f Emercoin-Core.dmg emercoin-0.7.11-win-setup
rm -rf .libs _libs
rm -rf coverage_percent.txt test_bitcoin.coverage/ total.coverage/ qa/tmp/ cache/ Emercoin-Qt.app
rm -rf qa/pull-tester/__pycache__
rm -f *.lo
make[1]: выход из каталога «/home/olej/2023/EmerCoin/emercoin»
Но это не так существенно:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ du -hs ./
702M	./

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 15:18

Olej писал(а):
29 мар 2023, 14:45
достаточно много зависимостей, которые нужно устанавливать прежде...
Одна из самых главных неприятностей здесь:
Olej писал(а):
24 фев 2023, 01:48
Но вот тут нас поджижает засада:
Olej писал(а):
24 фев 2023, 01:54
А засада состоит в том, что практически всепроекты криптовалют требуют версию Berkeley DB 4.8 - это уже традиция проектов блокчейна.
А у нас в системе установлено ... по умолчанию, автоматически или по зависимостям - 5.3.28:
Борьба за Berkeley DB 4.8 описана начиная с EmerCoin / EMC и идёт там долго...
Там же вложены .deb пакеты которые устанавливаем.
У меня всё это уже к текущему моменту уже установлено:

Код: Выделить всё

olej@R420:~$ dpkg -l *bdb* | grep ^ii
ii  libdb4.8                 4.8.30-1                        amd64        Berkeley v4.8 Database Libraries [runtime]
ii  libdb4.8++               4.8.30-1                        amd64        Berkeley v4.8 Database Libraries for C++ [runtime]
ii  libdb4.8++-dev           4.8.30-1                        amd64        Berkeley v4.8 Database Libraries for C++ [development]
ii  libdb4.8-dev             4.8.30-1                        amd64        Berkeley v4.8 Database Libraries [development]
ii  libdb5.3:amd64           5.3.28+dfsg1-0.8ubuntu3         amd64        Berkeley v5.3 Database Libraries [runtime]
ii  libdbus-1-3:amd64        1.12.20-2ubuntu4.1              amd64        simple interprocess messaging system (library)
ii  libdbus-1-3:i386         1.12.20-2ubuntu4.1              i386         simple interprocess messaging system (library)
ii  libdbus-1-dev:amd64      1.12.20-2ubuntu4.1              amd64        simple interprocess messaging system (development headers)
ii  libdbus-glib-1-2:amd64   0.112-2build1                   amd64        deprecated library for D-Bus IPC
ii  libdbusmenu-glib4:amd64  16.04.1+18.10.20180917-0ubuntu8 amd64        library for passing menus over DBus
ii  libdbusmenu-gtk3-4:amd64 16.04.1+18.10.20180917-0ubuntu8 amd64        library for passing menus over DBus - GTK+ version
ii  libdbusmenu-qt5-2:amd64  0.9.3+16.04.20160218-2build1    amd64        Qt implementation of the DBusMenu protocol

Код: Выделить всё

olej@R420:~$ apt search libdb4.8 | grep ^i
i   libdb4.8                                                                    - Berkeley v4.8 Database Libraries [runtime]                                           
i   libdb4.8++                                                                  - Berkeley v4.8 Database Libraries for C++ [runtime]                                   
i   libdb4.8++-dev                                                              - Berkeley v4.8 Database Libraries for C++ [development]                               
i   libdb4.8-dev                                                                - Berkeley v4.8 Database Libraries [development]                                       

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 15:59

Olej писал(а):
29 мар 2023, 14:13
Исходники берём из GIT репозитория проекта:
Теперь можно обновить ветку на девелоперскую (не делайте это - это пока не работоспособная нормально ветка :!: )

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ git remote -v
origin  git@github.com:emercoin/emercoin.git (fetch)
origin  git@github.com:emercoin/emercoin.git (push)

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ git branch -a
* (HEAD отделён на v0.7.11emc)
  master
  remotes/origin/0.3.7
  remotes/origin/0.5.1
  remotes/origin/0.6.3
  remotes/origin/0.7.11
  remotes/origin/0.8.0
  remotes/origin/HEAD -> origin/master
  remotes/origin/colorcoins
  remotes/origin/docs-patch-1
  remotes/origin/exch
  remotes/origin/master
  remotes/origin/ossl
  remotes/origin/revert-50-merge

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ git checkout origin/0.8.0
Предыдущая позиция HEAD была 05817b866 Merge pull request #108 from 0pcom/0.7.11
HEAD сейчас на 9b3a98d6b ENUM Spfun for NAPTR only

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ git branch
* (HEAD отделён на origin/0.8.0)
  master
И, на всякий случай:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ git fetch
Стало:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ du -hs ./
706M	./

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 16:05

Olej писал(а):
29 мар 2023, 15:59
Стало:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ pwd
/home/olej/2023/EmerCoin/emercoin

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:45: installing 'build-aux/compile'
configure.ac:28: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:28: warning: The macro `AC_PROG_CC_C89' is obsolete.
configure.ac:28: You should run autoupdate.
./lib/autoconf/c.m4:1652: AC_PROG_CC_C89 is expanded from...
configure.ac:28: the top level
configure.ac:10: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:672: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build-aux/m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
configure.ac:672: the top level
configure.ac:83: installing 'build-aux/compile'
configure.ac:43: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 29 мар 2023, 16:08

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ ./configure --disable-dependency-tracking --disable-tests --disable-util-tx --disable-gui-tests --enable-bip70 --disable-hardening --disable-debug 
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... none
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether std::atomic can be used without link library... yes
checking whether the compiler supports GNU Objective C++... no
checking whether g++ -std=c++11 accepts -g... no
checking dependency style of g++ -std=c++11... none
checking how to print strings... printf
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -std=c++11 -E
checking for ld used by g++ -std=c++11... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -std=c++11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -std=c++11 option to produce PIC... -fPIC -DPIC
checking if g++ -std=c++11 PIC flag -fPIC -DPIC works... yes
checking if g++ -std=c++11 static flag -static works... yes
checking if g++ -std=c++11 supports -c -o file.o... yes
checking if g++ -std=c++11 supports -c -o file.o... (cached) yes
checking whether the g++ -std=c++11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcov... /usr/bin/gcov
checking for lcov... no
checking for python3.5... no
checking for python3.6... no
checking for python3.7... no
checking for python3.8... no
checking for python3... /usr/bin/python3
checking for genhtml... no
checking for git... /usr/bin/git
checking for ccache... no
checking for xgettext... /usr/bin/xgettext
checking for hexdump... /usr/bin/hexdump
checking for readelf... /usr/bin/readelf
checking for c++filt... /usr/bin/c++filt
checking for objcopy... /usr/bin/objcopy
checking for doxygen... no
configure: WARNING: Doxygen not found
checking whether C++ compiler accepts -Werror... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Wformat... yes
checking whether C++ compiler accepts -Wvla... yes
checking whether C++ compiler accepts -Wswitch... yes
checking whether C++ compiler accepts -Wformat-security... yes
checking whether C++ compiler accepts -Wthread-safety-analysis... no
checking whether C++ compiler accepts -Wrange-loop-analysis... no
checking whether C++ compiler accepts -Wredundant-decls... yes
checking whether C++ compiler accepts -Wunused-parameter... yes
checking whether C++ compiler accepts -Wself-assign... no
checking whether C++ compiler accepts -Wunused-local-typedef... no
checking whether C++ compiler accepts -Wdeprecated-register... no
checking whether C++ compiler accepts -Wimplicit-fallthrough... yes
checking whether C++ compiler accepts -msse4.2... yes
checking whether C++ compiler accepts -msse4.1... yes
checking whether C++ compiler accepts -mavx -mavx2... yes
checking whether C++ compiler accepts -msse4 -msha... yes
checking for assembler crc32 support... yes
checking for SSE4.1 intrinsics... yes
checking for AVX2 intrinsics... yes
checking for SHA-NI intrinsics... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for g++ -std=c++11 options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... yes
checking whether the linker accepts -Wl,--large-address-aware... no
checking for __attribute__((visibility))... yes
checking for __attribute__((dllexport))... no
checking for __attribute__((dllimport))... no
checking for library containing clock_gettime... none required
checking whether C++ compiler accepts -fPIC... yes
checking whether C++ compiler accepts -fstack-reuse=none... yes
checking for endian.h... yes
checking for sys/endian.h... no
checking for byteswap.h... yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/select.h... yes
checking for sys/prctl.h... yes
checking FD_ZERO memcpy dependence... no
checking whether getifaddrs is declared... yes
checking whether freeifaddrs is declared... yes
checking whether strnlen is declared... yes
checking whether daemon is declared... yes
checking whether le16toh is declared... yes
checking whether le32toh is declared... yes
checking whether le64toh is declared... yes
checking whether htole16 is declared... yes
checking whether htole32 is declared... yes
checking whether htole64 is declared... yes
checking whether be16toh is declared... yes
checking whether be32toh is declared... yes
checking whether be64toh is declared... yes
checking whether htobe16 is declared... yes
checking whether htobe32 is declared... yes
checking whether htobe64 is declared... yes
checking whether bswap_16 is declared... yes
checking whether bswap_32 is declared... yes
checking whether bswap_64 is declared... yes
checking whether __builtin_clz is declared... yes
checking whether __builtin_clzl is declared... yes
checking whether __builtin_clzll is declared... yes
checking for getmemoryinfo... yes
checking for mallopt M_ARENA_MAX... yes
checking for visibility attribute... yes
checking for thread_local support... yes
checking for Linux getrandom syscall... yes
checking for getentropy... yes
checking for getentropy via random.h... yes
checking for sysctl KERN_ARND... no
checking for if type char equals int8_t... no
checking for std::system... yes
checking for ::_wsystem... no
checking for Qt5Core Qt5Gui Qt5Network Qt5Widgets... yes
checking for Qt5Test... yes
checking for Qt5DBus... yes
checking for static Qt... no
checking whether -fPIC is needed with this Qt config... yes
checking for moc-qt5... no
checking for moc5... no
checking for moc... /usr/lib/x86_64-linux-gnu/qt5/bin/moc
checking for uic-qt5... no
checking for uic5... no
checking for uic... /usr/lib/x86_64-linux-gnu/qt5/bin/uic
checking for rcc-qt5... no
checking for rcc5... no
checking for rcc... /usr/lib/x86_64-linux-gnu/qt5/bin/rcc
checking for lrelease-qt5... no
checking for lrelease5... no
checking for lrelease... /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease
checking for lupdate-qt5... no
checking for lupdate5... no
checking for lupdate... /usr/lib/x86_64-linux-gnu/qt5/bin/lupdate
checking whether to build Emercoin Core GUI... yes (Qt5)
checking for Berkeley DB C++ headers... default
checking for main in -ldb_cxx-4.8... yes
checking for miniupnpc/miniwget.h... no
checking for miniupnpc/miniupnpc.h... no
checking for miniupnpc/upnpcommands.h... no
checking for miniupnpc/upnperrors.h... no
checking for boostlib >= 1.47.0 (104700)... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... yes
checking for mismatched boost c++11 scoped enums... ok
checking for libssl... yes
checking for libcrypto... yes
checking for protobuf... yes
checking for libqrencode... no
checking for libevent... yes
checking for libevent_pthreads... yes
checking for libzmq >= 4... yes
checking whether EVP_MD_CTX_new is declared... yes
checking for rapidcheck.h... no
checking for protoc... /usr/bin/protoc
checking whether to build bitcoind... yes
checking whether to build bitcoin-cli... yes
checking whether to build bitcoin-tx... no
checking whether to build bitcoin-wallet... yes
checking whether to build libraries... yes
checking if ccache should be used... no
checking if wallet should be enabled... yes
checking whether to build with support for UPnP... no
checking whether to build GUI with support for D-Bus... yes
checking whether to build GUI with support for QR codes... no
checking whether to build test_bitcoin-qt... no
checking whether to build BIP70 support... yes
checking whether to build test_bitcoin... no
checking whether to reduce exports... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libbitcoinconsensus.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/man/Makefile
config.status: creating share/setup.nsi
config.status: creating share/qt/Info.plist
config.status: creating test/config.ini
config.status: creating contrib/devtools/split-debug.sh
config.status: creating src/config/bitcoin-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in src/univalue (/home/olej/2023/EmerCoin/emercoin/src/univalue)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--disable-dependency-tracking' '--disable-tests' '--disable-util-tx' '--disable-gui-tests' '--enable-bip70' '--disable-hardening' '--disable-debug' '--disable-shared' '--with-pic' '--enable-benchmark=no' '--with-bignum=no' '--enable-module-recovery' '--disable-jni' --cache-file=/dev/null --srcdir=.
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pc/libunivalue.pc
config.status: creating pc/libunivalue-uninstalled.pc
config.status: creating univalue-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in src/secp256k1 (/home/olej/2023/EmerCoin/emercoin/src/secp256k1)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--disable-dependency-tracking' '--disable-tests' '--disable-util-tx' '--disable-gui-tests' '--enable-bip70' '--disable-hardening' '--disable-debug' '--disable-shared' '--with-pic' '--enable-benchmark=no' '--with-bignum=no' '--enable-module-recovery' '--disable-jni' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking dependency style of gcc... none
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if gcc supports -fvisibility=hidden... yes
checking for __int128... yes
checking if native gcc supports -Wall -Wextra -Wno-unused-function... yes
checking for working native compiler: gcc... yes
checking for x86_64 assembly availability... yes
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Build Options:
  with endomorphism   = no
  with ecmult precomp = yes
  with jni            = no
  with benchmarks     = no
  with coverage       = no
  module ecdh         = no
  module recovery     = yes

  asm                 = x86_64
  bignum              = no
  field               = 64bit
  scalar              = 64bit

  CC                  = gcc
  CFLAGS              = -g -O2 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -O3
  CPPFLAGS            = 
  LDFLAGS             = 

Fixing libtool for -rpath problems.

Options used to compile and link:
  with wallet   = yes
  with gui / qt = yes
    with bip70  = yes
    with qr     = auto
  with zmq      = yes
  with test     = no
  with bench    = yes
  with upnp     = no
  use asm       = yes
  sanitizers    = 
  debug enabled = no
  gprof enabled = no
  werror        = no

  target os     = linux
  build os      = 

  CC            = gcc
  CFLAGS        = -g -O2
  CPPFLAGS      =    -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
  CXX           = g++ -std=c++11
  CXXFLAGS      =   -fstack-reuse=none  -Wall -Wextra -Wformat -Wvla -Wswitch -Wformat-security -Wredundant-decls  -Wno-unused-parameter -Wno-implicit-fallthrough   -g -O2
  LDFLAGS       = -pthread   
  ARFLAGS       = cr
Всё благополучно завершилось - все зависимости его устраивают.

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

EmerCoin - правка GUI клиента

Непрочитанное сообщение Olej » 30 мар 2023, 00:03

Olej писал(а):
29 мар 2023, 16:08
Всё благополучно завершилось - все зависимости его устраивают.
Дальше предстоит дизайнить в Qt Creator вид форм .ui для GUI клиента, вот они все:

Код: Выделить всё

olej@R420:~/2023/EmerCoin/emercoin$ ls -l src/qt/forms/*.ui
-rw-rw-r-- 1 olej olej  4807 мар 29 15:36 src/qt/forms/addressbookpage.ui
-rw-rw-r-- 1 olej olej  5173 мар 29 17:08 src/qt/forms/askpassphrasedialog.ui
-rw-rw-r-- 1 olej olej 14594 мар 29 15:36 src/qt/forms/coincontroldialog.ui
-rw-rw-r-- 1 olej olej  3864 мар 29 15:36 src/qt/forms/createwalletdialog.ui
-rw-rw-r-- 1 olej olej 54865 мар 29 15:36 src/qt/forms/debugwindow.ui
-rw-rw-r-- 1 olej olej  2918 мар 29 15:36 src/qt/forms/editaddressdialog.ui
-rw-rw-r-- 1 olej olej  5077 фев 24 00:10 src/qt/forms/helpmessagedialog.ui
-rw-rw-r-- 1 olej olej  8583 мар 29 15:36 src/qt/forms/intro.ui
-rw-rw-r-- 1 olej olej 16129 мар 29 15:36 src/qt/forms/managenamespage.ui
-rw-rw-r-- 1 olej olej 12562 мар 29 15:36 src/qt/forms/modaloverlay.ui
-rw-rw-r-- 1 olej olej  2808 мар 29 15:36 src/qt/forms/openuridialog.ui
-rw-rw-r-- 1 olej olej 32135 мар 29 15:36 src/qt/forms/optionsdialog.ui
-rw-rw-r-- 1 olej olej 22158 фев 24 00:10 src/qt/forms/overviewpage.ui
-rw-rw-r-- 1 olej olej 12612 мар 29 15:36 src/qt/forms/receivecoinsdialog.ui
-rw-rw-r-- 1 olej olej  4220 мар 29 15:36 src/qt/forms/receiverequestdialog.ui
-rw-rw-r-- 1 olej olej 43472 мар 29 15:36 src/qt/forms/sendcoinsdialog.ui
-rw-rw-r-- 1 olej olej 42771 мар 29 15:36 src/qt/forms/sendcoinsentry.ui
-rw-rw-r-- 1 olej olej 13355 мар 29 15:36 src/qt/forms/signverifymessagedialog.ui
-rw-rw-r-- 1 olej olej  1743 фев 24 00:10 src/qt/forms/transactiondescdialog.ui

Код: Выделить всё

olej@R420:~$ qtcreator -version

Qt Creator 6.0.2 based on Qt 5.15.3

  Android 6.0.2 Support for deployment to and execution on Android Devices.
  AutoTest 6.0.2 Auto Test plugin.
  AutotoolsProjectManager 6.0.2 Autotools project integration.
  BareMetal 6.0.2 This plugin adds a target for bare metal development.
  Bazaar 6.0.2 Bazaar integration.
  Beautifier 6.0.2 Format source files with the help of beautifiers like AStyle, uncrustify or clang-format.
  BinEditor 6.0.2 Binary editor component.
  Bookmarks 6.0.2 Bookmarks in text editors.
  Boot2Qt 6.0.2 Support for the Boot2Qt Device access using the Qt Debug Bridge.
  CMakeProjectManager 6.0.2 CMake support.
  CVS 6.0.2 CVS integration.
  ClangCodeModel 6.0.2 Clang Code Model plugin.
  ClangTools 6.0.2 ClangTools Plugin.
  ClassView 6.0.2 Class View component.
  ClearCase 6.0.2 ClearCase integration.
  CodePaster 6.0.2 Codepaster plugin for pushing/fetching diff from server.
  CompilationDatabaseProjectManager 6.0.2 Compilation Database project support.
  Conan 6.0.2 Conan integration.
  Core 6.0.2 The core plugin for the Qt IDE.
  CppEditor 6.0.2 C/C++ editor component.
  Cppcheck 6.0.2 Cppcheck static analyzer tool integration. See http://cppcheck.sourceforge.net.
  CtfVisualizer 6.0.2 Chrome Trace Format Visualizer Plugin.
  Debugger 6.0.2 Debugger integration.
  Designer 6.0.2 Qt Designer integration.
  DiffEditor 6.0.2 Diff editor component.
  Docker 6.0.2 Basic support for Docker
  EmacsKeys 6.0.2 The main idea behind this plugin is to provide additional actions a typical emacs user would expect. It doesn't claim to provide full emacs emulation. The following actions are available:
 - Movement [C-f, C-b, C-n, C-p, M-f, M-b, C-a, C-e, M-<, M->]
 - Mark-based selection [C-SPC, C-x C-x]
 - Cut/copy/yank (doesn't provide kill ring feature) [M-w, C-w, C-y]
 - Kill actions, which interact properly with clipboard [C-k, M-d, C-d]
 - Scrolling (half of the screen, keeps cursor visible) [C-v, M-v]
 - Insert new line and indent [C-j]

IMPORTANT: Actions are not bound to any key combinations by default. You can find them under 'EmacsKeys' section in keyboard shortcuts settings.

Also it's worth mentioning that EmacsKeys plugin forces disabling of menu mnemonics by calling Qt's qt_set_sequence_auto_mnemonic function with false argument. Many of the english menu mnemonics get into the way of typical emacs keys, this includes: Alt+F (File), Alt+B (Build), Alt+W (Window). It's a temporary solution, it remains until there is a better one.
  FakeVim 6.0.2 VI-style keyboard navigation.
  GLSLEditor 6.0.2 Editor for GLSL.
  GenericProjectManager 6.0.2 Generic support.
  Git 6.0.2 Git integration.
  Help 6.0.2 Help system.
  ImageViewer 6.0.2 Image Viewer component.
  IncrediBuild 6.0.2 Support for Incredibuild.
  Ios 6.0.2 Support for deployment to and execution on iOS Devices.
  LanguageClient 6.0.2 Language Server Protocol client component. See https://microsoft.github.io/language-server-protocol/overview for an overview on Language Servers.
  Macros 6.0.2 Macros in text editors.
  Marketplace 6.0.2 Qt Marketplace plugin.
  McuSupport 6.0.2 Helper for MCU related projects.
  Mercurial 6.0.2 Mercurial integration.
  MesonProjectManager 6.0.2 Meson support.
  ModelEditor 6.0.2 Graphical modeling with structured diagrams.
  Nim 6.0.2 Plugin for supporting the Nim programming language.
  PerfProfiler 6.0.2 Perf Profiler Plugin.
  Perforce 6.0.2 Perforce integration.
  ProjectExplorer 6.0.2 ProjectExplorer framework that can be extended with different kind of project types.
  Python 6.0.2 Plugin for supporting the Python language.
  QbsProjectManager 6.0.2 QBS support.
  QmakeProjectManager 6.0.2 Provides project type for Qt/QMake .pro files and tools.
  QmlJSEditor 6.0.2 Editor for QML and JavaScript.
  QmlJSTools 6.0.2 Tools for analyzing Qml/JS code.
  QmlPreview 6.0.2 Qml Preview Plugin.
  QmlProfiler 6.0.2 Qml Profiler Plugin.
  QmlProjectManager 6.0.2 Qt Quick support
  Qnx 6.0.2 Adds support for QNX to Qt Creator.
  QtSupport 6.0.2 Provides support code for build systems.
  RemoteLinux 6.0.2 Support for deployment to and execution on a remote Linux host.
  ResourceEditor 6.0.2 Editor for qrc files.
  ScxmlEditor 6.0.2 Visual Editor for SCXML (State Chart XML) files.
  SerialTerminal 6.0.2 Serial Port Terminal
  SilverSearcher 6.0.2 Adds possibility to use SilverSearcher tool as an alternative mechanism of 'find in files'
  Subversion 6.0.2 Subversion integration.
  TaskList 6.0.2 Use .tasks-files to populate the Issues view.
  TextEditor 6.0.2 Text editor framework and the implementation of the basic text editor.
  Todo 6.0.2 Adds pane that lists all TODO, FIXME, etc. entries in comments.
  UpdateInfo 6.0.2 Displays Update-Infos for Qt Installer Framework-based Updaters.
  Valgrind 6.0.2 Valgrind Plugin.
  VcsBase 6.0.2 Version Control System Base Plugin.
  WebAssembly 6.0.2 Helper for WebAssembly projects.
  Welcome 6.0.2 Secondary Welcome Screen Plugin.
  WinRt 6.0.2 Helper for Windows Runtime projects.

(C) 2021 The Qt Company Ltd
Снимок экрана от 2023-03-29 23-56-41.png
Снимок экрана от 2023-03-29 23-56-41.png (116.68 КБ) 445 просмотров

Ответить

Вернуться в «Программирование»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 18 гостей