Vláda jmenovala novým zmocněncem pro digitalizaci a strategickou bezpečnost prvního náměstka ministra vnitra Lukáše Klučku. Ten ve funkci nahradil poslance Roberta Králíčka poté, co Králíček na tento post vládního zmocněnce rezignoval. Klučka chce do roka digitalizovat všechny státní služby tak, aby vyhověly zákonu o právu na digitální služby, přičemž dosavadní plán Fialovy vlády počítal s dokončením digitalizace až někdy v roce
… více »Byl vydán Mozilla Firefox 149.0. Přehled novinek v poznámkách k vydání a poznámkách k vydání pro vývojáře. Vypíchnout lze bezplatnou vestavěnou VPN s 50 GB přenesených dat měsíčně, zobrazení dvou webových stránek vedle sebe v jednom panelu (split view) nebo možnost přidat poznámky k panelům (Firefox Labs). Řešeny jsou rovněž bezpečnostní chyby. Nový Firefox 149 bude brzy k dispozici také na Flathubu a Snapcraftu.
Byly vydány nové verze 5.3.0 a 6.0.0 svobodného multiplatformního programu pro skicování, malování a úpravu obrázků Krita (Wikipedie). Přehled novinek i s náhledy a videi v poznámkách k vydání. Obě verze vycházejí ze stejného zdrojového kódu – rozdíl je v použitých verzích Qt a KDE Frameworks. Krita 6.0.0 je první vydání postavené na Qt 6 a stále je považovaná za experimentální. Má lepší podporu Waylandu. Přináší podporu protokolu Wayland
… více »Byla vydána nová verze 10.2 z Debianu vycházející linuxové distribuce DietPi pro (nejenom) jednodeskové počítače. Přehled novinek v poznámkách k vydání. Vypíchnout lze nové balíčky Immich, Immich Machine Learning, uv a RustDesk Client.
TypeScript (Wikipedie), tj. JavaScript rozšířený o statické typování a další atributy, byl vydán v nové verzi 6.0. Příští verze 7.0 je kvůli výkonu přepisována do programovacího jazyka Go.
Christian Schaller z Red Hatu na svém blogu popsal své zkušenosti s používáním AI při vývoji open source aplikací pro Linux. Pomocí různých AI aktualizoval nebo vytvořil aplikace Elgato Light GNOME Shell extension, Dell Ultrasharp Webcam 4K, Red Hat Planet, WMDock, XMMS resuscitated (aktualizace z GTK 2 a Esound na GTK 4, GStreamer a PipeWire) a Monkey Bubble. SANE ovladač pro skener Plustek OpticFilm 8200i se mu zatím nepovedl.
Americké firmy Tesla a SpaceX postaví v texaském Austinu moderní komplex na výrobu čipů pro umělou inteligenci (AI). Součástí projektu s názvem Terafab budou dvě moderní továrny na výrobu čipů – jedna se zaměří na automobily a humanoidní roboty, druhá na datová centra ve vesmíru. Uvedl to generální ředitel těchto firem Elon Musk. Projekt by podle odhadů měl stát 20 miliard USD (zhruba 425 miliard Kč).
Byla vydána nová stabilní verze 6.11 (YouTube) multiplatformního frameworku a GUI toolkitu Qt. Podrobný přehled novinek v poznámkách k vydání.
Ubuntu 26.04 patrně bude ve výchozím nastavení zobrazovat hvězdičky při zadávání hesla příkazu sudo, změna vychází z nové verze sudo-rs. Ta sice zlepší použitelnost systému pro nové uživatele, na které mohlo 'tiché sudo' působit dojmem, že systém 'zamrzl' a nijak nereaguje na stisky kláves, na druhou stranu se jedná o možnou bezpečnostní slabinu, neboť zobrazování hvězdiček v terminálu odhaluje délku hesla. Původní chování příkazu sudo
… více »Projekt systemd schválil kontroverzní pull request, který do JSON záznamů uživatelů přidává nové pole 'birthDate', datum narození, tedy údaj vyžadovaný zákony o ověřování věku v Kalifornii, Coloradu a Brazílii. Jiný pull request, který tuto změnu napravoval, byl správcem projektu Lennartem Poetteringem zamítnut s následujícím zdůvodněním:
… více »
bt libaca # ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -Wall ) works... yes
checking whether the C compiler (gcc -O3 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for install... /usr/bin/install
checking for cp... /usr/bin/cp
checking for ln... /usr/bin/ln
checking for ls... /usr/bin/ls
checking for rm... /usr/bin/rm
checking for msgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for make... /usr/bin/make
checking for rmdir... /usr/bin/rmdir
checking for initscr in -lncurses... yes
checking for Gpm_Open in -lgpm... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for malloc.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for sygnal.h... no
checking for stdlib.h... yes
checking for sygnal.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working const... yes
checking for inline... inline
checking whether gcc needs -traditional... no
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for strftime... yes
checking for mkdir... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
updating cache ./config.cache
creating ./config.status
creating Makeconf
Configuration:
Global Makefile location: .
Compiler: gcc
Compiler flags: -O3 -Wall
Library: -lncurses -lgpm
Include:
Debug code: none
Gpm mouse: yes
Define macro:
ACA version: 0.0.1
Install prefix: /usr/local
Makefiles:
- for compilation: 'make'
- for clean: 'make clean'
- for clean makefiles: 'make clean-make'
- for install: 'make install'
- for uninstall: 'make uninstall'
bt libaca # mc
bt libaca.0.0.1 # cd ..
bt kim-1.2.2.orig # cd liba
libaca/ libaca.0.0.1/
bt kim-1.2.2.orig # cd libaca
bt libaca # pwd
/home/kim-1.2.2.orig/libaca
bt libaca # make
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/draw'
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c draw.c
/usr/bin/cp -f draw.o ../Share-lib/draw.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c astr.c
/usr/bin/cp -f astr.o ../Share-lib/astr.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c colors.c
/usr/bin/cp -f colors.o ../Share-lib/colors.o
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/draw'
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/utils'
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c utils.c
/usr/bin/cp -f utils.o ../Share-lib/utils.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c ini_file.c
/usr/bin/cp -f ini_file.o ../Share-lib/ini_file.o
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/utils'
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/widgets'
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c widget_utils.c
In file included from widget_utils.c:7:
widget_utils.h:45:7: warning: no newline at end of file
widget_utils.c: In function `init_str_list':
widget_utils.c:50: warning: implicit declaration of function `strlen'
/usr/bin/cp -f widget_utils.o ../Share-lib/widget_utils.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c button.c
In file included from button.c:4:
widget_utils.h:45:7: warning: no newline at end of file
/usr/bin/cp -f button.o ../Share-lib/button.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c radio.c
In file included from radio.c:5:
widget_utils.h:45:7: warning: no newline at end of file
/usr/bin/cp -f radio.o ../Share-lib/radio.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c menu.c
In file included from menu.c:6:
widget_utils.h:45:7: warning: no newline at end of file
menu.c: In function `init_edit':
menu.c:411: warning: implicit declaration of function `strlen'
/usr/bin/cp -f menu.o ../Share-lib/menu.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c input.c
In file included from input.c:6:
widget_utils.h:45:7: warning: no newline at end of file
/usr/bin/cp -f input.o ../Share-lib/input.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c session.c
In file included from session.c:5:
widget_utils.h:45:7: warning: no newline at end of file
session.c:278:4: warning: no newline at end of file
/usr/bin/cp -f session.o ../Share-lib/session.o
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/widgets'
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/char'
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c key.c
In file included from key.c:27:
mouse.h:12:8: warning: no newline at end of file
In file included from key.c:33:
key_define.h:32:4: warning: no newline at end of file
/usr/bin/cp -f key.o ../Share-lib/key.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c mouse.c
In file included from mouse.c:23:
mouse.h:12:8: warning: no newline at end of file
mouse.c:191:24: warning: no newline at end of file
/usr/bin/cp -f mouse.o ../Share-lib/mouse.o
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/char'
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/dialogs'
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c simple.c
/usr/bin/cp -f simple.o ../Share-lib/simple.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c file_view.c
/usr/bin/cp -f file_view.o ../Share-lib/file_view.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c select_file.c
/usr/bin/cp -f select_file.o ../Share-lib/select_file.o
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c learn_key.c
learn_key.c: In function `bgr_learnkey':
learn_key.c:60: warning: implicit declaration of function `strlen'
/usr/bin/cp -f learn_key.o ../Share-lib/learn_key.o
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/dialogs'
cd ./Share-lib;\
/usr/bin/make all || exit 1;\
cd ..;
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/Share-lib'
/usr/bin/rm -f libaca.a
ar rcs libaca.a draw.o astr.o colors.o key.o mouse.o utils.o ini_file.o button.o input.o menu.o radio.o session.o widget_utils.o simple.o file_view.o select_file.o learn_key.o
gcc -shared -Wall,-soname,libaca.so.0.0.1 -o libaca.so.0.0.1 draw.o astr.o colors.o key.o mouse.o utils.o ini_file.o button.o input.o menu.o radio.o session.o widget_utils.o simple.o file_view.o select_file.o learn_key.o -lc -lncurses -lgpm
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/Share-lib'
cd ./Examples;\
/usr/bin/make all || exit 1;\
cd ..;
make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/Examples'
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c examples_colors.c
In file included from examples_colors.c:4:
examples_colors.h:38:7: warning: no newline at end of file
gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -o edit edit.c examples_colors.o -lncurses -lgpm -L ../Share-lib/ -laca
In file included from edit.c:11:
examples_colors.h:38:7: warning: no newline at end of file
edit.c: In function `main':
edit.c:41: warning: implicit declaration of function `strcpy'
edit.c:57: warning: implicit declaration of function `exit'
edit.c:63:5: warning: no newline at end of file
../Share-lib//libaca.a(simple.o)(.text+0x67f): In function `Dlg_Warning_org':
: undefined reference to `errno'
../Share-lib//libaca.a(simple.o)(.text+0x91d): In function `Dlg_Warning_org':
: undefined reference to `errno'
../Share-lib//libaca.a(simple.o)(.text+0x984): In function `Dlg_Warning_org':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[1]: *** [edit] Error 1
make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/Examples'
make: *** [example] Error 1
config.log
configure:543: checking for gcc
configure:656: checking whether the C compiler (gcc -O3 -Wall ) works
configure:672: gcc -o conftest -O3 -Wall conftest.c 1>&5
configure:669: warning: return type defaults to `int'
configure:698: checking whether the C compiler (gcc -O3 -Wall ) is a cross-compiler
configure:703: checking whether we are using GNU C
configure:712: gcc -E conftest.c
configure:731: checking whether gcc accepts -g
configure:765: checking for install
configure:801: checking for cp
configure:837: checking for ln
configure:873: checking for ls
configure:909: checking for rm
configure:945: checking for msgfmt
configure:981: checking for xgettext
configure:1017: checking for make
configure:1053: checking for rmdir
configure:1116: checking for initscr in -lncurses
configure:1135: gcc -o conftest -O3 -Wall conftest.c -lncurses 1>&5
configure:1227: checking for Gpm_Open in -lgpm
configure:1246: gcc -o conftest -O3 -Wall conftest.c -lgpm -lncurses 1>&5
configure:1288: checking for dirent.h that defines DIR
configure:1301: gcc -c -O3 -Wall conftest.c 1>&5
configure: In function `main':
configure:1297: warning: unused variable `dirp'
configure:1326: checking for opendir in -ldir
configure:1345: gcc -o conftest -O3 -Wall conftest.c -ldir -lncurses -lgpm 1>&5
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 1334 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();
int main() {
opendir()
; return 0; }
configure:1409: checking how to run the C preprocessor
configure:1430: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1489: checking for ANSI C header files
configure:1502: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1569: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure: In function `main':
configure:1564: warning: implicit declaration of function `exit'
configure:1593: checking for sys/wait.h that is POSIX.1 compatible
configure:1614: gcc -c -O3 -Wall conftest.c 1>&5
configure:1639: checking for fcntl.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1639: checking for malloc.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1639: checking for sys/ioctl.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1639: checking for sys/time.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1639: checking for unistd.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1639: checking for sygnal.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1645:20: sygnal.h: No such file or directory
configure: failed program was:
#line 1644 "configure"
#include "confdefs.h"
#include sygnal.h
configure:1639: checking for stdlib.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1639: checking for sygnal.h
configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1677: checking whether time.h and sys/time.h may both be included
configure:1691: gcc -c -O3 -Wall conftest.c 1>&5
configure: In function `main':
configure:1687: warning: unused variable `tp'
configure:1712: checking whether struct tm is in sys/time.h or time.h
configure:1725: gcc -c -O3 -Wall conftest.c 1>&5
configure: In function `main':
configure:1721: warning: statement with no effect
configure:1746: checking for working const
configure:1800: gcc -c -O3 -Wall conftest.c 1>&5
configure: In function `main':
configure:1774: warning: unused variable `s'
configure:1794: warning: unused variable `foo'
configure:1756: warning: unused variable `x'
configure:1762: warning: unused variable `zero'
configure:1791: warning: 'b' might be used uninitialized in this function
configure:1773: warning: 't' might be used uninitialized in this function
configure:1821: checking for inline
configure:1835: gcc -c -O3 -Wall conftest.c 1>&5
configure: In function `main':
configure:1830: warning: control reaches end of non-void function
configure:1863: checking whether gcc needs -traditional
configure:1912: checking for unistd.h
configure:1951: checking for getpagesize
configure:1979: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure:2004: checking for working mmap
configure:2155: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure:2086: error: conflicting types for 'malloc'
configure:2086: error: conflicting types for 'malloc'
configure: failed program was:
#line 2012 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
Here is a matrix of mmap possibilities:
mmap private not fixed
mmap private fixed at somewhere currently unmapped
mmap private fixed at somewhere already mapped
mmap shared not fixed
mmap shared fixed at somewhere currently unmapped
mmap shared fixed at somewhere already mapped
For private mappings, we should verify that changes cannot be read()
back from the file, nor mmap's back from the file at a different
address. (There have been systems where private was not correctly
implemented like the infamous i386 svr4.0, and systems where the
VM page cache was not coherent with the filesystem buffer cache
like early versions of FreeBSD and possibly contemporary NetBSD.)
For shared mappings, we should conversely verify that changes get
propogated back to all the places they're supposed to be.
Grep wants private fixed already mapped.
The main things grep needs to know about mmap are:
* does it exist and is it safe to write into the mmap'd area
* how to use it (BSD variants) */
#include sys/types.h
#include fcntl.h
#include sys/mman.h
#include stdlib.h
#include sys/stat.h
#ifdef HAVE_UNISTD_H
# include unistd.h
#endif
/* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h. */
# ifndef HAVE_SYS_PARAM_H
# define HAVE_SYS_PARAM_H 1
# endif
# ifdef _SC_PAGESIZE
# define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
# ifdef HAVE_SYS_PARAM_H
# include sys/param.h
# ifdef EXEC_PAGESIZE
# define getpagesize() EXEC_PAGESIZE
# else /* no EXEC_PAGESIZE */
# ifdef NBPG
# define getpagesize() NBPG * CLSIZE
# ifndef CLSIZE
# define CLSIZE 1
# endif /* no CLSIZE */
# else /* no NBPG */
# ifdef NBPC
# define getpagesize() NBPC
# else /* no NBPC */
# ifdef PAGESIZE
# define getpagesize() PAGESIZE
# endif /* PAGESIZE */
# endif /* no NBPC */
# endif /* no NBPG */
# endif /* no EXEC_PAGESIZE */
# else /* no HAVE_SYS_PARAM_H */
# define getpagesize() 8192 /* punt totally */
# endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */
#endif /* no HAVE_GETPAGESIZE */
#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
#else
char *malloc();
#endif
int
main()
{
char *data, *data2, *data3;
int i, pagesize;
int fd;
pagesize = getpagesize();
/*
* First, make a file with some known garbage in it.
*/
data = (char*)malloc(pagesize);
if (!data)
exit(1);
for (i = 0; i < pagesize; ++i)
*(data + i) = rand();
umask(0);
fd = creat("conftestmmap", 0600);
if (fd < 0)
exit(1);
if (write(fd, data, pagesize) != pagesize)
exit(1);
close(fd);
/*
* Next, try to mmap the file at a fixed address which
* already has something else allocated at it. If we can,
* also make sure that we see the same garbage.
*/
fd = open("conftestmmap", O_RDWR);
if (fd < 0)
exit(1);
data2 = (char*)malloc(2 * pagesize);
if (!data2)
exit(1);
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_FIXED, fd, 0L))
exit(1);
for (i = 0; i < pagesize; ++i)
if (*(data + i) != *(data2 + i))
exit(1);
/*
* Finally, make sure that changes to the mapped area
* do not percolate back to the file as seen by read().
* (This is a bug on some variants of i386 svr4.0.)
*/
for (i = 0; i < pagesize; ++i)
*(data2 + i) = *(data2 + i) + 1;
data3 = (char*)malloc(pagesize);
if (!data3)
exit(1);
if (read(fd, data3, pagesize) != pagesize)
exit(1);
for (i = 0; i < pagesize; ++i)
if (*(data + i) != *(data3 + i))
exit(1);
close(fd);
unlink("conftestmmap");
exit(0);
}
configure:2178: checking for strftime
configure:2206: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1&5
configure:2190: warning: conflicting types for built-in function 'strftime'
configure:2276: checking for mkdir
configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure:2276: checking for select
configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure:2276: checking for strdup
configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure:2288: warning: conflicting types for built-in function 'strdup'
configure:2276: checking for strstr
configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5
configure:2288: warning: conflicting types for built-in function 'strstr'
Tiskni
Sdílej: