Byl vydán Fedora Asahi Remix 40, tj. linuxová distribuce pro Apple Silicon vycházející z Fedora Linuxu 40.
Představena byla služba Raspberry Pi Connect usnadňující vzdálený grafický přístup k vašim Raspberry Pi z webového prohlížeče. Odkudkoli. Zdarma. Zatím v beta verzi. Detaily v dokumentaci.
Byla vydána verze R14.1.2 desktopového prostředí Trinity Desktop Environment (TDE, fork KDE 3.5). Přehled novinek v poznámkách k vydání, podrobnosti v seznamu změn.
Dnešním dnem lze již také v Česku nakupovat na Google Store (telefony a sluchátka Google Pixel).
Apple představil (keynote) iPad Pro s čipem Apple M4, předělaný iPad Air ve dvou velikostech a nový Apple Pencil Pro.
Richard Biener oznámil vydání verze 14.1 (14.1.0) kolekce kompilátorů pro různé programovací jazyky GCC (GNU Compiler Collection). Jedná se o první stabilní verzi řady 14. Přehled změn, nových vlastností a oprav a aktualizovaná dokumentace na stránkách projektu. Některé zdrojové kódy, které bylo možné přeložit s předchozími verzemi GCC, bude nutné upravit.
Free Software Foundation zveřejnila ocenění Free Software Awards za rok 2023. Vybráni byli Bruno Haible za dlouhodobé příspěvky a správu knihovny Gnulib, nováček Nick Logozzo za front-end Parabolic pro yt-dlp a tým Mission logiciels libres francouzského státu za nasazování svobodného softwaru do praxe.
Před 10 lety Microsoft dokončil akvizici divize mobilních telefonů společnosti Nokia a pod značkou Microsoft Mobile ji zanedlouho pohřbil.
Fedora 40 release party v Praze proběhne v pátek 17. května od 18:30 v prostorách společnosti Etnetera Core na adrese Jankovcova 1037/49, Praha 7. Součástí bude program kratších přednášek o novinkách ve Fedoře.
Stack Overflow se dohodl s OpenAI o zpřístupnění obsahu Stack Overflow pro vylepšení OpenAI AI modelů.
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: