DuckDuckGo AI Chat umožňuje "pokecat si" s GPT-3.5 Turbo od OpenAI nebo Claude 1.2 Instant od Anthropic. Bez vytváření účtu. Všechny chaty jsou soukromé. DuckDuckGo je neukládá ani nepoužívá k trénování modelů umělé inteligence.
VASA-1, výzkumný projekt Microsoftu. Na vstupu stačí jediná fotka a zvukový záznam. Na výstupu je dokonalá mluvící nebo zpívající hlava. Prý si technologii nechá jenom pro sebe. Žádné demo, API nebo placená služba. Zatím.
Nová čísla časopisů od nakladatelství Raspberry Pi: MagPi 140 (pdf) a HackSpace 77 (pdf).
ESPHome, tj. open source systém umožňující nastavovat zařízení s čipy ESP (i dalšími) pomocí konfiguračních souborů a připojit je do domácí automatizace, například do Home Assistantu, byl vydán ve verzi 2024.4.0.
LF AI & Data Foundation patřící pod Linux Foundation spustila Open Platform for Enterprise AI (OPEA).
Neziskové průmyslové konsorcium Khronos Group vydalo verzi 1.1 specifikace OpenXR (Wikipedie), tj. standardu specifikujícího přístup k platformám a zařízením pro XR, tj. platformám a zařízením pro AR (rozšířenou realitu) a VR (virtuální realitu). Do základu se z rozšíření dostalo XR_EXT_local_floor. Společnost Collabora implementuje novou verzi specifikace do platformy Monado, tj. open source implementace OpenXR.
Byla vydána nová verze 0.38.0 multimediálního přehrávače mpv (Wikipedie) vycházejícího z přehrávačů MPlayer a mplayer2. Přehled novinek, změn a oprav na GitHubu. Požadován je FFmpeg 4.4 nebo novější a také libplacebo 6.338.2 nebo novější.
ClamAV (Wikipedie), tj. multiplatformní antivirový engine s otevřeným zdrojovým kódem pro detekci trojských koní, virů, malwaru a dalších škodlivých hrozeb, byl vydán ve verzích 1.3.1, 1.2.3 a 1.0.6. Ve verzi 1.3.1 je mimo jiné řešena bezpečnostní chyba CVE-2024-20380.
Digitální a informační agentura (DIA) oznámila (PDF, X a Facebook), že mobilní aplikace Portál občana je ode dneška oficiálně venku.
#HACKUJBRNO 2024, byly zveřejněny výsledky a výstupy hackathonu města Brna nad otevřenými městskými daty, který se konal 13. a 14. dubna 2024.
libjingle
a můj kód vypadá zatím takto: # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="" HOMEPAGE="https://sourceforge.net/projects/libjingle/" SRC_URI="http://kent.dl.sourceforge.net/sourceforge/libjingle/libjingle-0.1.0.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="speex ilbc" DEPEND="net-libs/ortp" RDEPEND=" speex? ( >=media-libs/speex-1.1.6 ) ilbc? ( dev-libs/ilbc-rfc3951 ) " src_compile() { use speex && myconf="--with-speex=/usr/include/speex" use ilbc && myconf="--with-ilbc=/usr/include/ilbc" econf ${myconf} || die emake || die }a při kompilaci mi to vypisuje chybu:
>>> emerge (1 of 1) net-libs/libjingle-0.1.0 to / >>> md5 files libjingle-0.1.0.ebuild >>> md5 files files/digest-libjingle-0.1.0 >>> md5 src_uri libjingle-0.1.0.tar.gz >>> Unpacking source... >>> Unpacking libjingle-0.1.0.tar.gz to /var/tmp/portage/libjingle-0.1.0/work >>> Source unpacked. * econf: updating libjingle-0.1.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libjingle-0.1.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-ilbc=/usr/include/ilbc checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for a BSD-compatible install... /bin/install -c checking for XML_ParserCreate in -lexpat... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 gmodule-2.0... yes checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GLIB_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 checking for ortp... yes checking ORTP_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking ORTP_LIBS... -pthread -lortp -lgthread-2.0 -lglib-2.0 checking speex.h usability... no checking speex.h presence... no checking for speex.h... no configure: WARNING: Could not find a libspeex version that have the speex_encode_int() function. Please install libspeex=1.0.5 or libspeex>=1.1.6 from http://www.speex.org/ checking iLBC_decode.h usability... no checking iLBC_decode.h presence... no checking for iLBC_decode.h... no configure: WARNING: Could not find ilbc headers or libs. Please install ilbc package from http://www.linphone.org if you want iLBC codec support in libjingle. configure: creating ./config.status config.status: creating Makefile config.status: creating talk/Makefile config.status: creating talk/base/Makefile config.status: creating talk/third_party/Makefile config.status: creating talk/third_party/mediastreamer/Makefile config.status: creating talk/examples/Makefile config.status: creating talk/examples/login/Makefile config.status: creating talk/examples/call/Makefile config.status: creating talk/p2p/Makefile config.status: creating talk/p2p/base/Makefile config.status: creating talk/p2p/client/Makefile config.status: creating talk/session/Makefile config.status: creating talk/session/phone/Makefile config.status: creating talk/xmllite/Makefile config.status: creating talk/xmpp/Makefile config.status: creating config.h config.status: executing depfiles commands libjingle 0.1.0 Supported Codecs: Speex: no iLBC: no MULAW: yes cd . && /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run aclocal-1.6 cd . && \ /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run automake-1.6 --gnu Makefile cd . && /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-ilbc=/usr/include/ilbc CFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer CXXFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu --no-create --no-recursion checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... no *** [Gentoo] sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.20, ltmain.sh = 1.5) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. make: *** [config.status] Error 1tak bych se chtěl zeptat jak jí předejít. Chyb je tam více: 1. Nejde podpora pro speex
libtoolize --copy --force
tak to jde, ale bez toho spexu a iLBC.
src_compile()
na src_compile() { use speex && myconf="--with-speex=/usr/include/speex" use ilbc && myconf="--with-ilbc=/usr/include/ilbc" libtoolize --copy --force econf ${myconf} || die emake || die }, ale teď mi kompilace padá na (i při manuálním kompilování):
depmode=gcc3 /bin/sh ../../../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DPOSIX -march=pentium4 -O3 -pipe -fomit-frame-pointer -c -o relayserver_main.o `test -f 'relayserver_main.cc' || echo './'`relayserver_main.cc relayserver_main.cc: In function `int main(int, char**)': relayserver_main.cc:47: error: `assert' undeclared (first use this function) relayserver_main.cc:47: error: (Each undeclared identifier is reported only once for each function it appears in.) make[4]: *** [relayserver_main.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk/p2p/base' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk/p2p' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0' make: *** [all] Error 2
Dobrý den píšu (svůj první) e-build prolibjingle
a můj kód vypadá zatím takto:SRC_URI="http://kent.dl.sourceforge.net/sourceforge/libjingle/libjingle-0.1.0.tar.gz"
SRC_URI="mirror://sourceforge/libjingle/libjingle-0.1.0.tar.gz"
, iirc
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
Fuj, vyhod to, co nepouzivas.
Precti si dokumentaci...
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"^_~
NM="mac-port" DESCRIPTION="APE commandline converter" HOMEPAGE="http://sourceforge.net/projects/${NM}/" SRC_URI="http://jaist.dl.sourceforge.net/sourceforge/${NM}/${PV}-u4-b4.tar.gz" RESTRICT="nomirror" LICENSE="LGPL" KEYWORDS="~x86 ~amd64" S="${WORKDIR}/mac-3.99-u4-b4"Můžete pojmenovat třeba
mac-3.99-r4.ebuild
. Zkompiluje se se vším všady a pak když se provádí ebuild ... qmerge
, čili merge do /, tak to tam nevyhodí nic... :/
Nevíte na co jsem zapomněl?
NM="mac-port"Co to je?
HOMEPAGE="http://sourceforge.net/projects/${NM}/"fuj.
S="${WORKDIR}/mac-3.99-u4-b4"Viz manual...
Co to je?To jsem okoukal...
fuj.To už jsem taky někde viděl...
Viz manual...Co tam mám hledat? Kdybych tu cestu napsal špatně, ani se to nezkompiluje a hodí to chybu.
PromennouViz manual...Co tam mám hledat? Kdybych tu cestu napsal špatně, ani se to nezkompiluje a hodí to chybu.
$S
?
Buď si to neumím správně přeložit, nechápu to, nebo si nejsem vědom toho, co jsem udělal špatně...
/usr/portage/profiles/default-linux/amd64/2005.1/make.defaults
. Fakt díky moc! :o)
use speex && myconf="--with-speex"
use ilbc && myconf="--with-ilbc"
libtoolize --copy --force
econf ${myconf} || die
Hmmm, a co když
USE="speex ilbc" emerge libjingle
?
Podle tohoto kódu se to zkompiluje jen s ilbc.
Tiskni Sdílej: