FreeBSD Ports

devel/objfw 1.5.7_1

Portable, lightweight framework for the Objective-C language

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b06edc5f80
License
LGPL3
Categories
devel, lang
Package size
2664.4 KiB, 46011.6 KiB installed

Description

ObjFW is a highly portable, lightweight, general purpose, open source Objective-C framework with full Objective-C 2.0, blocks and ARC support, providing not only basic classes like strings, arrays and dictionaries, but also providing abstractions for OS-dependant functionality like asynchronous sockets.

While a lot of the core API is similar to Foundation, it breaks with Foundation's API on purpose in many places to embrace new features which Foundation can't use completely due to its backwards compatibility. One such example are exceptions, which are a first class citizen in ObjFW and not merely to inform the programmer of his wrongdoings like in Foundation.

ObjFW runs on a huge list of platforms and offers the same API on all of them so that software written using ObjFW runs on all platforms supported by ObjFW without #ifdef hells or the like. It does not only run on almost any POSIX system that supports GCC >= 4, but it also works on Windows and niche platforms like the PlayStation Portable.

Install

As a binary package — by origin, or by package name:

pkg install devel/objfw
pkg install objfw

From the ports tree:

cd /usr/ports/devel/objfw/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	objfw>0:devel/objfw
LIB_DEPENDS=	libobjfw.so:devel/objfw

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.7_11.5.7_1--1.5.7_1
FreeBSD:14:quarterly1.5.7_11.5.7_1n/a-1.5.7_1
FreeBSD:15:latest1.5.7_11.5.7_1n/a-1.2.1_1
FreeBSD:15:quarterly1.5.7_11.5.7_1n/an/an/a
FreeBSD:16:latest1.5.7_11.5.7_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 59

No port depends on this one.

Configuration

Options name: devel_objfw

OptionDefaultDescription
DOCSoffBuild and/or install documentation
GNUTLSoffSSL/TLS support via GnuTLS
MBEDTLSoffSSL/TLS support via mbed TLS
NOTLSoffno SSL/TLS support
OPENSSLonSSL/TLS support via OpenSSL
Service scripts
none

Files

Manual pages 8
  • objfw-compile(1)
  • objfw-config(1)
  • objfw-embed(1)
  • objfw-new(1)
  • ofarc(1)
  • ofdns(1)
  • ofhash(1)
  • ofhttp(1)
pkg-plist 2310
  • bin/objfw-compile
  • bin/objfw-config
  • bin/objfw-embed
  • bin/objfw-new
  • bin/ofarc
  • bin/ofdns
  • bin/ofhash
  • bin/ofhttp
  • include/ObjFW/OFAAAADNSResourceRecord.h
  • include/ObjFW/OFADNSResourceRecord.h
  • include/ObjFW/OFAcceptSocketFailedException.h
  • include/ObjFW/OFAllocFailedException.h
  • include/ObjFW/OFAlreadyOpenException.h
  • include/ObjFW/OFApplication.h
  • include/ObjFW/OFArchiveEntry.h
  • include/ObjFW/OFArray.h
  • include/ObjFW/OFAtomic.h
  • include/ObjFW/OFBindIPSocketFailedException.h
  • include/ObjFW/OFBindSocketFailedException.h
  • include/ObjFW/OFBindUNIXSocketFailedException.h
  • include/ObjFW/OFBlock.h
  • include/ObjFW/OFBroadcastConditionFailedException.h
  • include/ObjFW/OFCNAMEDNSResourceRecord.h
  • include/ObjFW/OFCanvas.h
  • include/ObjFW/OFChangeCurrentDirectoryFailedException.h
  • include/ObjFW/OFCharacterSet.h
  • include/ObjFW/OFChecksumMismatchException.h
  • include/ObjFW/OFCollection.h
  • include/ObjFW/OFColor.h
  • include/ObjFW/OFColorSpace.h
  • include/ObjFW/OFCondition.h
  • include/ObjFW/OFConditionStillWaitingException.h
  • include/ObjFW/OFConnectIPSocketFailedException.h
  • include/ObjFW/OFConnectSocketFailedException.h
  • include/ObjFW/OFConnectUNIXSocketFailedException.h
  • include/ObjFW/OFConstantString.h
  • include/ObjFW/OFCopyItemFailedException.h
  • include/ObjFW/OFCountedSet.h
  • include/ObjFW/OFCreateDirectoryFailedException.h
  • include/ObjFW/OFCreateSymbolicLinkFailedException.h
  • include/ObjFW/OFCryptographicHash.h
  • include/ObjFW/OFDNSQuery.h
  • include/ObjFW/OFDNSQueryFailedException.h
  • include/ObjFW/OFDNSResolver.h
  • include/ObjFW/OFDNSResourceRecord.h
  • include/ObjFW/OFDNSResponse.h
  • include/ObjFW/OFData+CryptographicHashing.h
  • include/ObjFW/OFData+MessagePackParsing.h
  • include/ObjFW/OFData.h
  • include/ObjFW/OFDatagramSocket.h
  • include/ObjFW/OFDate.h
  • include/ObjFW/OFDeflate64Stream.h
  • include/ObjFW/OFDeflateStream.h
  • include/ObjFW/OFDictionary.h
  • include/ObjFW/OFEmbeddedIRIHandler.h
  • include/ObjFW/OFEnumerationMutationException.h
  • include/ObjFW/OFEnumerator.h
  • include/ObjFW/OFException.h
  • include/ObjFW/OFFile.h
  • include/ObjFW/OFFileManager.h
  • include/ObjFW/OFGZIPStream.h
  • include/ObjFW/OFGetCurrentDirectoryFailedException.h
  • include/ObjFW/OFGetItemAttributesFailedException.h
  • include/ObjFW/OFGetOptionFailedException.h
  • include/ObjFW/OFHINFODNSResourceRecord.h
  • include/ObjFW/OFHMAC.h
  • include/ObjFW/OFHTTPClient.h
  • include/ObjFW/OFHTTPCookie.h
  • include/ObjFW/OFHTTPCookieManager.h
  • include/ObjFW/OFHTTPRequest.h
  • include/ObjFW/OFHTTPRequestFailedException.h
  • include/ObjFW/OFHTTPResponse.h
  • include/ObjFW/OFHTTPServer.h
  • include/ObjFW/OFHashAlreadyCalculatedException.h
  • include/ObjFW/OFHashNotCalculatedException.h
  • include/ObjFW/OFINICategory.h
  • include/ObjFW/OFINIFile.h
  • include/ObjFW/OFINISection.h
  • include/ObjFW/OFIRI.h
  • include/ObjFW/OFIRIHandler.h
  • include/ObjFW/OFImage.h
  • include/ObjFW/OFImageFormatHandler.h
  • include/ObjFW/OFIndexSet.h
  • include/ObjFW/OFInflate64Stream.h
  • include/ObjFW/OFInflateStream.h
  • include/ObjFW/OFInitializationFailedException.h
  • include/ObjFW/OFInvalidArgumentException.h
  • include/ObjFW/OFInvalidEncodingException.h
  • include/ObjFW/OFInvalidFormatException.h
  • include/ObjFW/OFInvalidJSONException.h
  • include/ObjFW/OFInvalidServerResponseException.h
  • include/ObjFW/OFInvocation.h
  • include/ObjFW/OFJSONRepresentation.h
  • include/ObjFW/OFJoinThreadFailedException.h
  • include/ObjFW/OFKernelEventObserver.h
  • include/ObjFW/OFKeyValueCoding.h
  • include/ObjFW/OFLHAArchive.h
  • include/ObjFW/OFLHAArchiveEntry.h
  • include/ObjFW/OFLOCDNSResourceRecord.h
  • include/ObjFW/OFLinkItemFailedException.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
objfw-1.5.7.tar.gz1.034864e+06e637c32731dc07396b812c4019f34d1417a3f7aa39d450b7f27c9bcdc23b3e12
Master sites 1
  • https://objfw.nil.im/downloads/

Commit history 4

DateCommitCreditsLog message
b06edc5f80 Dima Panov devel/objfw: fix plist after devel/doxygen update
48129a7216 Piotr Kubaj devel/objfw: replace powerpc64* fix with upstream version
60252f3830 Piotr Kubaj devel/objfw: fix build on powerpc64*
Taking the address of _objc_taggedPointerClasses with addis %r6, %r2, _objc_taggedPointerClasses@toc@ha addi %r6, %r6, _objc_taggedPointerClasses@toc@l emits an R_PPC64_TOC16_LO relocation against the symbol itself, which requires the symbol to be non-preemptible and reachable relative to the TOC pointer. Neither holds for a global symbol in a shared library, so linking libobjfwrt.so fails on FreeBSD/powerpc64le: ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol '_objc_taggedPointerClasses'; recompile with -fPIC >>> defined in tagged-pointer.lib.o >>> referenced by lookup-asm.lib.o:(objc_msg_lookup) in archive lookup-asm/lookup-asm.lib.a The "recompile with -fPIC" hint is misleading: every object is already …
62835f0853 Jonathan Schleifer devel/objfw: Update 1.4.1 => 1.5.7
Commit log: https://git.nil.im/ObjFW/ObjFW/compare/1.4.1-release...1.5.7-release PR: 296526 Approved by: osa, vvd (Mentors, implicit) MFH: 2026Q2