Canonical oznámil, že bude podporovat a distribuovat toolkit NVIDIA CUDA (Wikipedie) v Ubuntu.
Tržní hodnota americké společnosti Alphabet, která je majitelem internetového vyhledávače Google, dnes poprvé překonala hranici tří bilionů dolarů (62,1 bilionu Kč). Alphabet se připojil k malé skupině společností, které tuto hranici pokořily. Jsou mezi nimi zatím americké firmy Nvidia, Microsoft a Apple.
Spojené státy a Čína dosáhly dohody ohledně pokračování populární čínské platformy pro sdílení krátkých videí TikTok v USA. V příspěvku na síti Truth Social to dnes naznačil americký prezident Donald Trump. Dosažení rámcové dohody o TikToku vzápětí oznámil americký ministr financí Scott Bessent, který v Madridu jedná s čínskými představiteli o vzájemných obchodních vztazích mezi USA a Čínou. Bessentova slova později potvrdila také čínská strana.
MKVToolNix, tj. sada nástrojů pro práci s formátem (medialnym kontajnerom) Matroska, byl vydán ve verzi 95.0. Podpora přehrávání formátu Matroska míří do Firefoxu [Bug 1422891, Technický popis]. Přehrávání lze již testovat ve Firefoxu Nightly.
Spolek OpenAlt zve příznivce otevřených řešení a přístupu na 211. sraz, který proběhne v pátek 19. září od 18:00 ve Studentském klubu U Kachničky na Fakultě informačních technologií Vysokého učení technického na adrese Božetěchova 2/1. Na srazu proběhne přednáška Jiřího Eischmanna o nové verzi prostředí GNOME 49. Nemáte-li možnost se zúčastnit osobně, přednáškový blok bude opět streamován živě na server VHSky.cz a následně i zpřístupněn záznam.
Microsoft se vyhnul pokutě od Evropské komise za zneužívání svého dominantního postavení na trhu v souvislosti s aplikací Teams. S komisí se dohodl na závazcích, které slíbil splnit. Unijní exekutivě se nelíbilo, že firma svazuje svůj nástroj pro chatování a videohovory Teams se sadou kancelářských programů Office. Microsoft nyní slíbil jasné oddělení aplikace od kancelářských nástrojů, jako jsou Word, Excel a Outlook. Na Microsoft si
… více »Samba (Wikipedie), svobodná implementace SMB a Active Directory, byla vydána ve verzi 4.23.0. Počínaje verzí Samba 4.23 jsou unixová rozšíření SMB3 ve výchozím nastavení povolena. Přidána byla podpora SMB3 přes QUIC. Nová utilita smb_prometheus_endpoint exportuje metriky ve formátu Prometheus.
Správcovský tým repozitáře F-Droid pro Android sdílí doporučení, jak řešit žádosti o odstranění nelegálního obsahu. Základem je mít nastavené formální procesy, vyhrazenou e-mailovou adresu a být transparentní. Zdůrazňují také důležitost volby jurisdikce (F-Droid je v Nizozemsku).
Byly publikovány informace o další zranitelnosti v procesorech. Nejnovější zranitelnost byla pojmenována VMScape (CVE-2025-40300, GitHub) a v upstream Linuxech je již opravena. Jedná se o variantu Spectre. KVM host může číst data z uživatelského prostoru hypervizoru, např. QEMU.
V červenci loňského roku organizace Apache Software Foundation (ASF) oznámila, že se částečně přestane dopouštět kulturní apropriace a změní své logo. Dnes bylo nové logo představeno. "Indiánské pírko" bylo nahrazeno dubovým listem a text Apache Software Foundation zkratkou ASF. Slovo Apache se bude "zatím" dál používat. Oficiální název organizace zůstává Apache Software Foundation, stejně jako názvy projektů, například Apache HTTP Server.
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 filestak bych se chtěl zeptat jak jí předejít. Chyb je tam více: 1. Nejde podpora pro speexlibjingle-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 1
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: