# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= utox VERSION= 0.18.1 REVISION= 1 KEYWORDS= net net_im net_p2p VARIANTS= std SDESC[std]= Lightweight Tox client HOMEPAGE= https://utox.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://github.com/uTox/uTox/releases/download/v0.18.1/ DISTFILE[1]= uTox-0.18.1-full.tar.gz:main DIST_SUBDIR= tox DF_INDEX= 1 SPKGS[std]= set primary man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= check:dev:std check:primary:std openal:dev:std dbus:dev:std libvpx:dev:std toxcore:dev:std opus:dev:std video4linux:dev:std BUILDRUN_DEPENDS= dbus:primary:std openal:primary:std toxcore:primary:std video4linux:primary:std RUN_DEPENDS= gtk3:primary:std B_DEPS[freebsd]= evdev-proto:single:std B_DEPS[netbsd]= evdev-proto:single:std B_DEPS[dragonfly]= evdev-proto:single:std B_DEPS[midnightbsd]= evdev-proto:single:std USES= cmake desktop-utils:primary dos2unix ninja fontconfig pkgconfig XORG_COMPONENTS= ice sm x11 xext xrender DISTNAME= uTox LICENSE= MIT:primary LICENSE_FILE= MIT:{{WRKSRC}}/LICENSE LICENSE_SCHEME= solo DOS2UNIX_GLOB= * FPC_EQUIVALENT= net-im/uTox MAKE_ARGS= -dexplain CMAKE_ARGS= -DENABLE_FILTERAUDIO:BOOL=OFF -DENABLE_LTO:BOOL=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox [FILE:445:descriptions/desc.primary] uTox is a lightweight Tox client with minimal dependencies, It not only looks pretty, it runs fast! uTox has full support for: * chat; * file transfers; * audio/video calling; * desktop sharing (both as video and inline screenshots); * group chats. You shouldn't have to choose a new client for every device: So uTox works everywhere! On every major system Windows, macOS, Linux, Android, FreeBSD, NetBSD, OpenBSD, and even DragonFlyBSD. [FILE:106:distinfo] fc883483d86b1830674f3b08515daa27ae54ab47646c7edc48a067e8d1e8c114 3944947 tox/uTox-0.18.1-full.tar.gz [FILE:694:manifests/plist.primary] bin/utox share/applications/utox.desktop share/icons/hicolor/128x128/apps/utox-128x128.png share/icons/hicolor/14x14/apps/utox-14x14.png share/icons/hicolor/16x16/apps/utox-16x16.png share/icons/hicolor/22x22/apps/utox-22x22.png share/icons/hicolor/24x24/apps/utox-24x24.png share/icons/hicolor/256x256/apps/utox-256x256.png share/icons/hicolor/32x32/apps/utox-32x32.png share/icons/hicolor/36x36/apps/utox-36x36.png share/icons/hicolor/48x48/apps/utox-48x48.png share/icons/hicolor/512x512/apps/utox-512x512.png share/icons/hicolor/64x64/apps/utox-64x64.png share/icons/hicolor/72x72/apps/utox-72x72.png share/icons/hicolor/96x96/apps/utox-96x96.png share/icons/hicolor/scalable/apps/utox.svg [FILE:22:manifests/plist.man] share/man/man1/utox.1 [FILE:523:patches/patch-src_friend.c] --- src/friend.c.orig 2024-11-27 11:53:58 UTC +++ src/friend.c @@ -491,7 +491,7 @@ void friend_add(char *name, uint16_t len friend_addid(id, msg, msg_length); } else if (length_cleaned == TOX_PUBLIC_KEY_SIZE * 2) { string_to_id(id, (char*)name_cleaned); - uint8_t *data = calloc(sizeof(uint8_t), TOX_PUBLIC_KEY_SIZE); + uint8_t *data = calloc(TOX_PUBLIC_KEY_SIZE, sizeof(uint8_t)); if (!data) { LOG_ERR("Calloc", "Memory allocation failed!"); return; [FILE:761:patches/patch-src_xlib_v4l.c] --- src/xlib/v4l.c.orig 2023-01-16 05:08:24 UTC +++ src/xlib/v4l.c @@ -16,9 +16,9 @@ int utox_v4l_fd = -1; #include -#if defined(__linux__) || defined(__FreeBSD__) || defined(__kFreeBSD__) || defined(__DragonFly__) // FreeBSD and DragonFlyBSD will have the proper includes after installing v4l_compat +#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) // FreeBSD and DragonFlyBSD will have the proper includes after installing v4l_compat #include -#elif defined(__OpenBSD__) || defined(__NetBSD__) // OpenBSD and NetBSD have V4L in base +#elif defined(__OpenBSD__) // OpenBSD and NetBSD have V4L in base #include #else #error "Unsupported platform for V4L" [FILE:920:patches/patch-third__party_minini_minini_dev_minIni.c] --- third_party/minini/minini/dev/minIni.c.orig 2021-01-25 02:56:27 UTC +++ third_party/minini/minini/dev/minIni.c @@ -71,7 +71,7 @@ #pragma warning(disable: 4996) /* for Microsoft Visual C/C++ */ #endif #if !defined strnicmp && !defined PORTABLE_STRNICMP - #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ + #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ || defined __DragonFly__ || defined __NetBSD__ #define strnicmp strncasecmp #endif #endif @@ -80,7 +80,7 @@ #endif #if !defined INI_LINETERM - #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ + #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ || defined __DragonFly__ || defined __NetBSD__ #define INI_LINETERM __T("\n") #else #define INI_LINETERM __T("\r\n")