pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/smooth



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Aug 12 00:54:27 UTC 2025

Added Files:
        pkgsrc/devel/smooth: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/smooth/patches: patch-Makefile

Log Message:
devel/smooth: import smooth-0.9.10

smooth is an object oriented C++ class library for Windows, macOS,
Linux and most Unix-like operating systems. It provides basic
functionality and platform support for applications and libraries.

Features provided by smooth include:

    a user interface API with various widgets
    a simple to use multithreading API
    a file and network IO interface
    completely transparent Unicode and software internationalization support
    a libxml2 based XML parser


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/smooth/DESCR pkgsrc/devel/smooth/Makefile \
    pkgsrc/devel/smooth/PLIST pkgsrc/devel/smooth/buildlink3.mk \
    pkgsrc/devel/smooth/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/smooth/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/smooth/DESCR
diff -u /dev/null pkgsrc/devel/smooth/DESCR:1.1
--- /dev/null   Tue Aug 12 00:54:27 2025
+++ pkgsrc/devel/smooth/DESCR   Tue Aug 12 00:54:26 2025
@@ -0,0 +1,11 @@
+smooth is an object oriented C++ class library for Windows, macOS,
+Linux and most Unix-like operating systems. It provides basic
+functionality and platform support for applications and libraries.
+
+Features provided by smooth include:
+
+    a user interface API with various widgets
+    a simple to use multithreading API
+    a file and network IO interface
+    completely transparent Unicode and software internationalization support
+    a libxml2 based XML parser
Index: pkgsrc/devel/smooth/Makefile
diff -u /dev/null pkgsrc/devel/smooth/Makefile:1.1
--- /dev/null   Tue Aug 12 00:54:27 2025
+++ pkgsrc/devel/smooth/Makefile        Tue Aug 12 00:54:26 2025
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2025/08/12 00:54:26 ryoon Exp $
+
+DISTNAME=      smooth-0.9.10
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=smooth/}
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://www.smooth-project.org/
+COMMENT=       Multi platform object oriented C++ class library
+LICENSE=       artistic-2.0
+
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake pkg-config
+
+# For build and install targets
+MAKE_FLAGS+=   config="systemlibcpuid systemlibwebp"
+MAKE_FLAGS+=   prefix=${PREFIX}
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../sysutils/libcpuid/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/smooth/PLIST
diff -u /dev/null pkgsrc/devel/smooth/PLIST:1.1
--- /dev/null   Tue Aug 12 00:54:27 2025
+++ pkgsrc/devel/smooth/PLIST   Tue Aug 12 00:54:26 2025
@@ -0,0 +1,279 @@
+@comment $NetBSD: PLIST,v 1.1 2025/08/12 00:54:26 ryoon Exp $
+bin/smooth-translator
+include/smooth.h
+include/smooth/args.h
+include/smooth/backends/backend.h
+include/smooth/backends/cocoa/backendcocoa.h
+include/smooth/backends/gdiplus/backendgdiplus.h
+include/smooth/backends/haiku/backendhaiku.h
+include/smooth/backends/win32/backendwin32.h
+include/smooth/backends/xlib/backendxlib.h
+include/smooth/basic/object.h
+include/smooth/basic/objecttype.h
+include/smooth/basic/setup.h
+include/smooth/definitions.h
+include/smooth/definitions.unix.h
+include/smooth/definitions.win32.h
+include/smooth/dll.h
+include/smooth/errors/error.h
+include/smooth/errors/fs/endoffile.h
+include/smooth/errors/fs/filenotfound.h
+include/smooth/errors/misc/permissiondenied.h
+include/smooth/errors/success.h
+include/smooth/files/directory.h
+include/smooth/files/file.h
+include/smooth/foreach.h
+include/smooth/graphics/backends/bitmapbackend.h
+include/smooth/graphics/backends/cairo/fontcairo.h
+include/smooth/graphics/backends/cairo/surfacecairo.h
+include/smooth/graphics/backends/cocoa/bitmapcocoa.h
+include/smooth/graphics/backends/cocoa/fontcocoa.h
+include/smooth/graphics/backends/cocoa/surfacecocoa.h
+include/smooth/graphics/backends/fontbackend.h
+include/smooth/graphics/backends/gdi/bitmapgdi.h
+include/smooth/graphics/backends/gdi/fontgdi.h
+include/smooth/graphics/backends/gdi/surfacegdi.h
+include/smooth/graphics/backends/gdiplus/bitmapgdiplus.h
+include/smooth/graphics/backends/gdiplus/fontgdiplus.h
+include/smooth/graphics/backends/gdiplus/surfacegdiplus.h
+include/smooth/graphics/backends/haiku/bitmaphaiku.h
+include/smooth/graphics/backends/haiku/fonthaiku.h
+include/smooth/graphics/backends/haiku/surfacehaiku.h
+include/smooth/graphics/backends/surfacebackend.h
+include/smooth/graphics/backends/xlib/bitmapxlib.h
+include/smooth/graphics/backends/xlib/fontxlib.h
+include/smooth/graphics/backends/xlib/surfacexlib.h
+include/smooth/graphics/bitmap.h
+include/smooth/graphics/color.h
+include/smooth/graphics/font.h
+include/smooth/graphics/forms/line.h
+include/smooth/graphics/forms/point.h
+include/smooth/graphics/forms/rect.h
+include/smooth/graphics/forms/size.h
+include/smooth/graphics/imageloader/icon.h
+include/smooth/graphics/imageloader/imageloader.h
+include/smooth/graphics/imageloader/jpeg.h
+include/smooth/graphics/imageloader/pci.h
+include/smooth/graphics/imageloader/png.h
+include/smooth/graphics/imageloader/webp.h
+include/smooth/graphics/modifiers/fontsize.h
+include/smooth/graphics/modifiers/righttoleft.h
+include/smooth/graphics/surface.h
+include/smooth/gui/application/application.h
+include/smooth/gui/application/xulloader.h
+include/smooth/gui/clipboard/backends/clipboardbackend.h
+include/smooth/gui/clipboard/backends/cocoa/clipboardcocoa.h
+include/smooth/gui/clipboard/backends/haiku/clipboardhaiku.h
+include/smooth/gui/clipboard/backends/win32/clipboardwin32.h
+include/smooth/gui/clipboard/backends/xlib/clipboardxlib.h
+include/smooth/gui/clipboard/clipboard.h
+include/smooth/gui/dialogs/colordlg.h
+include/smooth/gui/dialogs/dialog.h
+include/smooth/gui/dialogs/dirdlg.h
+include/smooth/gui/dialogs/filedlg.h
+include/smooth/gui/dialogs/fontdlg.h
+include/smooth/gui/dialogs/icons/light.h
+include/smooth/gui/dialogs/messagebox.h
+include/smooth/gui/dialogs/splashscreen.h
+include/smooth/gui/dialogs/tipodaydlg.h
+include/smooth/gui/widgets/basic/activearea.h
+include/smooth/gui/widgets/basic/arrows.h
+include/smooth/gui/widgets/basic/button.h
+include/smooth/gui/widgets/basic/checkbox.h
+include/smooth/gui/widgets/basic/client.h
+include/smooth/gui/widgets/basic/divider.h
+include/smooth/gui/widgets/basic/editbox.h
+include/smooth/gui/widgets/basic/groupbox.h
+include/smooth/gui/widgets/basic/hyperlink.h
+include/smooth/gui/widgets/basic/image.h
+include/smooth/gui/widgets/basic/multiedit.h
+include/smooth/gui/widgets/basic/optionbox.h
+include/smooth/gui/widgets/basic/progressbar.h
+include/smooth/gui/widgets/basic/scrollbar.h
+include/smooth/gui/widgets/basic/slider.h
+include/smooth/gui/widgets/basic/statusbar.h
+include/smooth/gui/widgets/basic/tabwidget.h
+include/smooth/gui/widgets/basic/text.h
+include/smooth/gui/widgets/basic/titlebar.h
+include/smooth/gui/widgets/hotspot/hotspot.h
+include/smooth/gui/widgets/hotspot/simplebutton.h
+include/smooth/gui/widgets/layer.h
+include/smooth/gui/widgets/multi/generic/container.h
+include/smooth/gui/widgets/multi/generic/entry.h
+include/smooth/gui/widgets/multi/image/imagebox.h
+include/smooth/gui/widgets/multi/image/imageentry.h
+include/smooth/gui/widgets/multi/list/combobox.h
+include/smooth/gui/widgets/multi/list/list.h
+include/smooth/gui/widgets/multi/list/listbox.h
+include/smooth/gui/widgets/multi/list/listboxheader.h
+include/smooth/gui/widgets/multi/list/listentry.h
+include/smooth/gui/widgets/multi/list/listentryseparator.h
+include/smooth/gui/widgets/multi/menu/menu.h
+include/smooth/gui/widgets/multi/menu/menubar.h
+include/smooth/gui/widgets/multi/menu/menubar_cocoa.h
+include/smooth/gui/widgets/multi/menu/menubarentry.h
+include/smooth/gui/widgets/multi/menu/menuentry.h
+include/smooth/gui/widgets/multi/menu/micromenu.h
+include/smooth/gui/widgets/multi/menu/popupmenu.h
+include/smooth/gui/widgets/multi/menu/popupmenuentry.h
+include/smooth/gui/widgets/multi/menu/popupmenuentrycheck.h
+include/smooth/gui/widgets/multi/menu/popupmenuentryoption.h
+include/smooth/gui/widgets/multi/tree/tree.h
+include/smooth/gui/widgets/special/cursor.h
+include/smooth/gui/widgets/special/dragcontrol.h
+include/smooth/gui/widgets/special/droparea.h
+include/smooth/gui/widgets/special/shortcut.h
+include/smooth/gui/widgets/special/tooltip.h
+include/smooth/gui/widgets/widget.h
+include/smooth/gui/window/backends/cocoa/windowcocoa.h
+include/smooth/gui/window/backends/gdi/droptarget.h
+include/smooth/gui/window/backends/gdi/windowgdi.h
+include/smooth/gui/window/backends/haiku/windowhaiku.h
+include/smooth/gui/window/backends/windowbackend.h
+include/smooth/gui/window/backends/xlib/windowxlib.h
+include/smooth/gui/window/toolwindow.h
+include/smooth/gui/window/window.h
+include/smooth/i18n/language.h
+include/smooth/i18n/number.h
+include/smooth/i18n/section.h
+include/smooth/i18n/translator.h
+include/smooth/i18n/translator_internal.h
+include/smooth/init.h
+include/smooth/init.win32.h
+include/smooth/input/backends/cocoa/pointercocoa.h
+include/smooth/input/backends/haiku/pointerhaiku.h
+include/smooth/input/backends/pointerbackend.h
+include/smooth/input/backends/win32/pointerwin32.h
+include/smooth/input/backends/xlib/pointerxlib.h
+include/smooth/input/keyboard.h
+include/smooth/input/pointer.h
+include/smooth/io/driver.h
+include/smooth/io/drivers/driver_ansi.h
+include/smooth/io/drivers/driver_https.h
+include/smooth/io/drivers/driver_memory.h
+include/smooth/io/drivers/driver_posix.h
+include/smooth/io/drivers/driver_socket.h
+include/smooth/io/drivers/driver_socks4.h
+include/smooth/io/drivers/driver_socks5.h
+include/smooth/io/drivers/driver_win32.h
+include/smooth/io/drivers/driver_zero.h
+include/smooth/io/filter.h
+include/smooth/io/filters/filter_bzip2.h
+include/smooth/io/filters/filter_xor.h
+include/smooth/io/instream.h
+include/smooth/io/io.h
+include/smooth/io/outstream.h
+include/smooth/io/stream.h
+include/smooth/main.h
+include/smooth/misc/args.h
+include/smooth/misc/array.h
+include/smooth/misc/binary.h
+include/smooth/misc/config.h
+include/smooth/misc/datetime.h
+include/smooth/misc/encoding/base64.h
+include/smooth/misc/encoding/urlencode.h
+include/smooth/misc/hash/crc16.h
+include/smooth/misc/hash/crc32.h
+include/smooth/misc/hash/crc64.h
+include/smooth/misc/hash/md5.h
+include/smooth/misc/hash/sha1.h
+include/smooth/misc/math.h
+include/smooth/misc/memory.h
+include/smooth/misc/number.h
+include/smooth/misc/string.h
+include/smooth/net/protocols/file.h
+include/smooth/net/protocols/http.h
+include/smooth/net/protocols/protocol.h
+include/smooth/pciio.h
+include/smooth/resources.h
+include/smooth/system/backends/cocoa/eventcocoa.h
+include/smooth/system/backends/cocoa/screencocoa.h
+include/smooth/system/backends/cocoa/timercocoa.h
+include/smooth/system/backends/eventbackend.h
+include/smooth/system/backends/haiku/eventhaiku.h
+include/smooth/system/backends/haiku/screenhaiku.h
+include/smooth/system/backends/haiku/timerhaiku.h
+include/smooth/system/backends/posix/timerposix.h
+include/smooth/system/backends/screenbackend.h
+include/smooth/system/backends/threads/timerthreads.h
+include/smooth/system/backends/timerbackend.h
+include/smooth/system/backends/win32/eventwin32.h
+include/smooth/system/backends/win32/screenwin32.h
+include/smooth/system/backends/win32/timerwin32.h
+include/smooth/system/backends/xlib/eventxlib.h
+include/smooth/system/backends/xlib/screenxlib.h
+include/smooth/system/console.h
+include/smooth/system/cpu.h
+include/smooth/system/dynamicloader.h
+include/smooth/system/event.h
+include/smooth/system/screen.h
+include/smooth/system/system.h
+include/smooth/system/timer.h
+include/smooth/templates/array.h
+include/smooth/templates/array/array.h
+include/smooth/templates/array/arraybackend.h
+include/smooth/templates/buffer.h
+include/smooth/templates/buffer/buffer.h
+include/smooth/templates/callbacks.h
+include/smooth/templates/iterator.h
+include/smooth/templates/iterator/iterator.h
+include/smooth/templates/nonblocking.h
+include/smooth/templates/nonblocking/caller.h
+include/smooth/templates/nonblocking/caller_base.h
+include/smooth/templates/nonblocking/nonblocking.h
+include/smooth/templates/nonblocking/nonblocking_base.h
+include/smooth/templates/signals.h
+include/smooth/templates/signals/callback.h
+include/smooth/templates/signals/signal.h
+include/smooth/templates/signals/signal_base.h
+include/smooth/templates/signals/signalr.h
+include/smooth/templates/signalsr.h
+include/smooth/templates/slots.h
+include/smooth/templates/slots/slot_base.h
+include/smooth/templates/slots/slot_class.h
+include/smooth/templates/slots/slot_global.h
+include/smooth/templates/slots/slot_signal.h
+include/smooth/templates/slots/slotr_base.h
+include/smooth/templates/slots/slotr_class.h
+include/smooth/templates/slots/slotr_global.h
+include/smooth/templates/slots/slotr_signal.h
+include/smooth/templates/slots/slotr_value.h
+include/smooth/templates/slotsr.h
+include/smooth/templates/threadlocal.h
+include/smooth/templates/threadlocal/threadlocal.h
+include/smooth/threads/access.h
+include/smooth/threads/backends/cocoa/threadcocoa.h
+include/smooth/threads/backends/mutexbackend.h
+include/smooth/threads/backends/posix/mutexposix.h
+include/smooth/threads/backends/posix/semaphoreposix.h
+include/smooth/threads/backends/posix/threadposix.h
+include/smooth/threads/backends/semaphorebackend.h
+include/smooth/threads/backends/threadbackend.h
+include/smooth/threads/backends/win32/mutexwin32.h
+include/smooth/threads/backends/win32/semaphorewin32.h
+include/smooth/threads/backends/win32/threadwin32.h
+include/smooth/threads/mutex.h
+include/smooth/threads/rwlock.h
+include/smooth/threads/semaphore.h
+include/smooth/threads/thread.h
+include/smooth/types/bool.h
+include/smooth/types/float.h
+include/smooth/types/generic.h
+include/smooth/types/int.h
+include/smooth/types/void.h
+include/smooth/version.h
+include/smooth/xml/attribute.h
+include/smooth/xml/document.h
+include/smooth/xml/node.h
+include/smooth/xml/xul/box.h
+include/smooth/xml/xul/button.h
+include/smooth/xml/xul/description.h
+include/smooth/xml/xul/label.h
+include/smooth/xml/xul/menubar.h
+include/smooth/xml/xul/popupmenu.h
+include/smooth/xml/xul/renderer.h
+include/smooth/xml/xul/textbox.h
+include/smooth/xml/xul/widget.h
+include/smooth/xml/xul/window.h
+lib/libsmooth-0.9.so
+lib/libsmooth-0.9.so.0
Index: pkgsrc/devel/smooth/buildlink3.mk
diff -u /dev/null pkgsrc/devel/smooth/buildlink3.mk:1.1
--- /dev/null   Tue Aug 12 00:54:27 2025
+++ pkgsrc/devel/smooth/buildlink3.mk   Tue Aug 12 00:54:26 2025
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/08/12 00:54:26 ryoon Exp $
+
+BUILDLINK_TREE+=       smooth
+
+.if !defined(SMOOTH_BUILDLINK3_MK)
+SMOOTH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.smooth+= smooth>=0.9.10
+BUILDLINK_PKGSRCDIR.smooth?=   ../../devel/smooth
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../sysutils/libcpuid/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.endif # SMOOTH_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -smooth
Index: pkgsrc/devel/smooth/distinfo
diff -u /dev/null pkgsrc/devel/smooth/distinfo:1.1
--- /dev/null   Tue Aug 12 00:54:27 2025
+++ pkgsrc/devel/smooth/distinfo        Tue Aug 12 00:54:26 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/08/12 00:54:26 ryoon Exp $
+
+BLAKE2s (smooth-0.9.10.tar.gz) = 670506710d01bb22bb79b533656808e78a2a788cfc02f867fd3b1f7521f2a067
+SHA512 (smooth-0.9.10.tar.gz) = 165865f37ae13aa65f83f89bc1f0a9f158439c182ef9b3a0681bd7185e313e0b3fa25ec8f198ec30cd59e81de8b9e12c7e22751457289335775e4861234ca2ee
+Size (smooth-0.9.10.tar.gz) = 8961354 bytes
+SHA1 (patch-Makefile) = 24fa178c5c883c9a7d263af5114da65f2a2971c4

Index: pkgsrc/devel/smooth/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/smooth/patches/patch-Makefile:1.1
--- /dev/null   Tue Aug 12 00:54:27 2025
+++ pkgsrc/devel/smooth/patches/patch-Makefile  Tue Aug 12 00:54:27 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2025/08/12 00:54:27 ryoon Exp $
+
+* Use common option to fix linkage in pkgsrc.
+
+--- Makefile.orig      2024-08-16 20:58:37.073940966 +0000
++++ Makefile
+@@ -258,7 +258,7 @@ ifeq ($(BUILD_WIN32),True)
+ else ifeq ($(BUILD_OSX),True)
+       LINKER_OPTS += -dynamiclib -framework Carbon -framework Cocoa -Wl,-dylib_install_name,libsmooth-$(VERSION).$(REVISION)$(SHARED)
+ else
+-      LINKER_OPTS += --shared -Wl,-soname,libsmooth-$(VERSION)$(SHARED).$(REVISION)
++      LINKER_OPTS += -shared -Wl,-soname,libsmooth-$(VERSION)$(SHARED).$(REVISION)
+ 
+       ifeq ($(BUILD_FREEBSD),True)
+               LINKER_OPTS += -L/usr/local/lib



Home | Main Index | Thread Index | Old Index