Index: radix-1.9/X11/app/gnome-calculator/44.0/Makefile
===================================================================
--- radix-1.9/X11/app/gnome-calculator/44.0/Makefile (nonexistent)
+++ radix-1.9/X11/app/gnome-calculator/44.0/Makefile (revision 105)
@@ -0,0 +1,343 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNOME/apps/gnome-calculator
+
+REQUIRES = X11/libs/gtk4/4.11.2
+REQUIRES += X11/libs/libadwaita/1.3.2
+REQUIRES += X11/libs/gtksourceview/5.8.0
+REQUIRES += libs/libsoup3/3.4.2
+REQUIRES += libs/libxml2/2.9.9
+REQUIRES += libs/libgee/0.20.6
+REQUIRES += libs/dconf/0.40.0
+REQUIRES += libs/mpc/1.2.1
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 44.0
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNOME/apps/gnome-calculator/gnome-calculator-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gnome-calculator-$(version)
+src_dir_name = gnome-calculator-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+cross_file = $(TARGET_BUILD_DIR)/$(TARGET)-cross
+
+
+####### Targets
+
+PKG_GROUP = xapp
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+CALCULATOR_PKG_NAME = gnome-calculator
+CALCULATOR_PKG_VERSION = 44.0
+CALCULATOR_PKG_ARCH = $(PKGARCH)
+CALCULATOR_PKG_DISTRO_NAME = $(DISTRO_NAME)
+CALCULATOR_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+CALCULATOR_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+CALCULATOR_PKG_SHORT_DESCRIPTION = GNOME Calculator
+CALCULATOR_PKG_URL = $(BUG_URL)
+CALCULATOR_PKG_LICENSE = GPLv3
+CALCULATOR_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(CALCULATOR_PKG_NAME)-pkg-description
+CALCULATOR_PKG_DESCRIPTION_FILE_IN = $(CALCULATOR_PKG_NAME)-pkg-description.in
+CALCULATOR_PKG_INSTALL_SCRIPT = $(CALCULATOR_PKG_NAME)-pkg-install.sh
+
+CALCULATOR_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(CALCULATOR_PKG_NAME)-package
+
+pkg_basename = $(CALCULATOR_PKG_NAME)-$(CALCULATOR_PKG_VERSION)-$(CALCULATOR_PKG_ARCH)-$(CALCULATOR_PKG_DISTRO_NAME)-$(CALCULATOR_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(CALCULATOR_PKG)
+
+
+#
+# https://mesonbuild.com/Reference-tables.html :
+# =============================================
+#
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC) \
+ $(TOOLCHAIN_H3_GLIBC) $(TOOLCHAIN_RK328X_GLIBC) \
+ $(TOOLCHAIN_S8XX_GLIBC) $(TOOLCHAIN_IMX6_GLIBC) \
+ $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
+cpu_name = arm
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC)),)
+cpu_name = aarch64
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
+cpu_name = mips
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+cpu_name = ppc64
+endian = big
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+cpu_name = ppc64
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+cpu_name = riscv64
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+cpu_name = x86
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+cpu_name = x86_64
+endian = little
+endif
+
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --default-library=both
+else
+extra_configure_switches += --default-library=shared
+endif
+
+
+extra_configure_switches += -Ddisable-introspection=true
+extra_configure_switches += -Ddisable-ui=false
+extra_configure_switches += -Ddevelopment=false
+extra_configure_switches += -Dui-tests=false
+extra_configure_switches += -Dgci=true
+extra_configure_switches += -Dapp=true
+extra_configure_switches += -Ddoc=true
+
+
+VALAC_FLAGS = --vapidir=$(TARGET_DEST_DIR)/usr/share/vala/vapi --disable-warnings
+
+CFLAGS += -Wno-maybe-uninitialized
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @echo "" > $(cross_file)
+ @echo "[build_machine]" >> $(cross_file)
+ @echo "system = '$(shell uname -s | tr 'L' 'l')'" >> $(cross_file)
+ @echo "cpu_family = '$(shell uname -m)'" >> $(cross_file)
+ @echo "cpu = '$(shell uname -m)'" >> $(cross_file)
+ @echo "endian = '$(shell lscpu | grep Endian | tr -s ' ' | cut -f3 -d' ' | tr 'L' 'l')'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @echo "[host_machine]" >> $(cross_file)
+ @echo "system = 'linux'" >> $(cross_file)
+ @echo "cpu_family = '$(cpu_name)'" >> $(cross_file)
+ @echo "cpu = '$(cpu_name)'" >> $(cross_file)
+ @echo "endian = '$(endian)'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @echo "[target_machine]" >> $(cross_file)
+ @echo "system = 'linux'" >> $(cross_file)
+ @echo "cpu_family = '$(cpu_name)'" >> $(cross_file)
+ @echo "cpu = '$(cpu_name)'" >> $(cross_file)
+ @echo "endian = '$(endian)'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @echo "[binaries]" >> $(cross_file)
+ @echo "c = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc'" >> $(cross_file)
+ @echo "cpp = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++'" >> $(cross_file)
+ @echo "ar = '$(AR)'" >> $(cross_file)
+ @echo "strip = '$(STRIP)'" >> $(cross_file)
+ @echo "pkgconfig = 'pkg-config'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @meson setup \
+ --prefix=/usr \
+ --libdir=lib$(LIBSUFFIX) \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dc_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`" \
+ -Dc_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
+ -Dcpp_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`" \
+ -Dcpp_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
+ $(extra_configure_switches) \
+ --cross-file=$(cross_file) $(SRC_DIR) $(build_dir)
+ # ======= Set valac parameters =======
+ @( cd $(build_dir) ; \
+ sed -i 's,^\( command = valac\) \(\$$ARGS \$$in\),\1 $(VALAC_FLAGS) \2,' build.ninja ; \
+ )
+ @cd $(build_dir) && ninja -v
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(CALCULATOR_PKG)
+ @cd $(build_dir) && $(env_sysroot) ninja install
+ # ======= Install Documentation =======
+ @if [ -d $(CALCULATOR_PKG)/usr/share/man ]; then \
+ ( cd $(CALCULATOR_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(CALCULATOR_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/COPYING \
+ $(CALCULATOR_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(CALCULATOR_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a COPYING README.md \
+ $(CALCULATOR_PKG)/usr/share/doc/$(src_dir_name) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r NEWS ]; then \
+ DOCSDIR=`echo $(CALCULATOR_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat NEWS | head -n 1000 > $$DOCSDIR/NEWS ; \
+ touch -r NEWS $$DOCSDIR/NEWS ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(CALCULATOR_PKG))
+ # ======= tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" gcalc-2.pc gci-1.pc ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(CALCULATOR_PKG); \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(CALCULATOR_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(CALCULATOR_PKG)/usr/lib$(LIBSUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(CALCULATOR_PKG_DESCRIPTION_FILE): $(CALCULATOR_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(CALCULATOR_PKG_DESCRIPTION_FILE) $(CALCULATOR_PKG_INSTALL_SCRIPT)
+ @cp $(CALCULATOR_PKG_DESCRIPTION_FILE) $(CALCULATOR_PKG)/.DESCRIPTION
+ @cp $(CALCULATOR_PKG_INSTALL_SCRIPT) $(CALCULATOR_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(CALCULATOR_PKG)/.REQUIRES
+ @echo "pkgname=$(CALCULATOR_PKG_NAME)" > $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "pkgver=$(CALCULATOR_PKG_VERSION)" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "arch=$(CALCULATOR_PKG_ARCH)" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "distroname=$(CALCULATOR_PKG_DISTRO_NAME)" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "distrover=$(CALCULATOR_PKG_DISTRO_VERSION)" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "group=$(CALCULATOR_PKG_GROUP)" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(CALCULATOR_PKG_SHORT_DESCRIPTION)\"" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "url=$(CALCULATOR_PKG_URL)" >> $(CALCULATOR_PKG)/.PKGINFO ; \
+ echo "license=$(CALCULATOR_PKG_LICENSE)" >> $(CALCULATOR_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(CALCULATOR_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: radix-1.9/X11/app/gnome-calculator/44.0/PATCHES
===================================================================
Index: radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-description.in
===================================================================
--- radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-description.in (nonexistent)
+++ radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-description.in (revision 105)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gnome-calculator: gnome-calculator @VERSION@ (GNOME Calculator)
+gnome-calculator:
+gnome-calculator: Calculator is an application that solves mathematical equations
+gnome-calculator: and is suitable as a default application in a Desktop environment.
+gnome-calculator:
+gnome-calculator:
+gnome-calculator:
+gnome-calculator: Homepage: https://wiki.gnome.org/Apps/Calculator
+gnome-calculator:
+gnome-calculator:
+gnome-calculator:
Index: radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-install.sh
===================================================================
--- radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-install.sh (nonexistent)
+++ radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-install.sh (revision 105)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ # Update desktop database
+ if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+ fi
+
+ # Recompile glib schemas:
+ if [ -e usr/share/glib-2.0/schemas ] ; then
+ if [ -r proc/sys/kernel/osrelease -a -x usr/bin/glib-compile-schemas ] ; then
+ chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null
+ fi
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: radix-1.9/X11/app/gnome-calculator/44.0/gnome-calculator-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: radix-1.9/X11/app/gnome-calculator/44.0
===================================================================
--- radix-1.9/X11/app/gnome-calculator/44.0 (nonexistent)
+++ radix-1.9/X11/app/gnome-calculator/44.0 (revision 105)
Property changes on: radix-1.9/X11/app/gnome-calculator/44.0
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: radix-1.9/X11/libs/gtksourceview/5.8.0/Makefile
===================================================================
--- radix-1.9/X11/libs/gtksourceview/5.8.0/Makefile (revision 104)
+++ radix-1.9/X11/libs/gtksourceview/5.8.0/Makefile (revision 105)
@@ -79,7 +79,9 @@
cross_file = $(TARGET_BUILD_DIR)/$(TARGET)-cross
+vala-api-file = $(CURDIR)/vala-api/gtksourceview-5.vapi
+
####### Targets
PKG_GROUP = xlibs
@@ -252,6 +254,9 @@
$(install_target): $(build_target)
@mkdir -p $(GTKSRCVIEW_PKG)
@cd $(build_dir) && $(env_sysroot) ninja install
+ # ======= Install Vala API file =======
+ @mkdir -p $(GTKSRCVIEW_PKG)/usr/share/vala/vapi
+ @cp -a $(vala-api-file) $(GTKSRCVIEW_PKG)/usr/share/vala/vapi/
# ======= Install Documentation =======
@if [ -d $(GTKSRCVIEW_PKG)/usr/share/man ]; then \
( cd $(GTKSRCVIEW_PKG)/usr/share/man ; \
Index: radix-1.9/X11/libs/gtksourceview/5.8.0/vala-api/gtksourceview-5.vapi
===================================================================
--- radix-1.9/X11/libs/gtksourceview/5.8.0/vala-api/gtksourceview-5.vapi (nonexistent)
+++ radix-1.9/X11/libs/gtksourceview/5.8.0/vala-api/gtksourceview-5.vapi (revision 105)
@@ -0,0 +1,1073 @@
+/* gtksourceview-5.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "GtkSource", gir_namespace = "GtkSource", gir_version = "5", lower_case_cprefix = "gtk_source_")]
+namespace GtkSource {
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_buffer_get_type ()")]
+ public class Buffer : Gtk.TextBuffer {
+ [CCode (has_construct_function = false)]
+ public Buffer (Gtk.TextTagTable? table);
+ public bool backward_iter_to_source_mark (ref Gtk.TextIter iter, string? category);
+ public void change_case (GtkSource.ChangeCaseType case_type, Gtk.TextIter start, Gtk.TextIter end);
+ public unowned GtkSource.Mark create_source_mark (string? name, string category, Gtk.TextIter where);
+ public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
+ public bool forward_iter_to_source_mark (ref Gtk.TextIter iter, string? category);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] get_context_classes_at_iter (Gtk.TextIter iter);
+ public bool get_highlight_matching_brackets ();
+ public bool get_highlight_syntax ();
+ public bool get_implicit_trailing_newline ();
+ public unowned GtkSource.Language? get_language ();
+ public GLib.SList<weak GtkSource.Mark> get_source_marks_at_iter (Gtk.TextIter iter, string? category);
+ public GLib.SList<weak GtkSource.Mark> get_source_marks_at_line (int line, string? category);
+ public unowned GtkSource.StyleScheme? get_style_scheme ();
+ public bool iter_backward_to_context_class_toggle (ref Gtk.TextIter iter, string context_class);
+ public bool iter_forward_to_context_class_toggle (ref Gtk.TextIter iter, string context_class);
+ public bool iter_has_context_class (Gtk.TextIter iter, string context_class);
+ public void join_lines (Gtk.TextIter start, Gtk.TextIter end);
+ public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string? category);
+ public void set_highlight_matching_brackets (bool highlight);
+ public void set_highlight_syntax (bool highlight);
+ public void set_implicit_trailing_newline (bool implicit_trailing_newline);
+ public void set_language (GtkSource.Language? language);
+ public void set_style_scheme (GtkSource.StyleScheme? scheme);
+ public void sort_lines (Gtk.TextIter start, Gtk.TextIter end, GtkSource.SortFlags flags, int column);
+ [CCode (has_construct_function = false)]
+ public Buffer.with_language (GtkSource.Language language);
+ public bool highlight_matching_brackets { get; set; }
+ public bool highlight_syntax { get; set; }
+ public bool implicit_trailing_newline { get; set construct; }
+ public GtkSource.Language language { get; set; }
+ public GtkSource.StyleScheme style_scheme { get; set; }
+ public virtual signal void bracket_matched (Gtk.TextIter? iter, GtkSource.BracketMatchType state);
+ public signal void cursor_moved ();
+ public signal void highlight_updated (Gtk.TextIter start, Gtk.TextIter end);
+ public signal void source_mark_updated (Gtk.TextMark mark);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_get_type ()")]
+ public class Completion : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected Completion ();
+ public void add_provider (GtkSource.CompletionProvider provider);
+ public void block_interactive ();
+ public static Pango.AttrList? fuzzy_highlight (string haystack, string casefold_query);
+ public static bool fuzzy_match (string? haystack, string casefold_needle, out uint priority);
+ public unowned GtkSource.Buffer get_buffer ();
+ public uint get_page_size ();
+ public unowned GtkSource.View get_view ();
+ public void remove_provider (GtkSource.CompletionProvider provider);
+ public void set_page_size (uint page_size);
+ public void unblock_interactive ();
+ public Gtk.TextView buffer { get; }
+ public uint page_size { get; set; }
+ [NoAccessorMethod]
+ public bool remember_info_visibility { get; set; }
+ [NoAccessorMethod]
+ public bool select_on_show { get; set; }
+ [NoAccessorMethod]
+ public bool show_icons { get; set; }
+ public GtkSource.View view { get; construct; }
+ [HasEmitter]
+ public signal void hide ();
+ public signal void provider_added (GtkSource.CompletionProvider provider);
+ public signal void provider_removed (GtkSource.CompletionProvider provider);
+ [HasEmitter]
+ public signal void show ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_cell_get_type ()")]
+ public class CompletionCell : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false)]
+ protected CompletionCell ();
+ public GtkSource.CompletionColumn get_column ();
+ public unowned Gtk.Widget? get_widget ();
+ public void set_gicon (GLib.Icon gicon);
+ public void set_icon_name (string icon_name);
+ public void set_markup (string markup);
+ public void set_paintable (Gdk.Paintable paintable);
+ public void set_text (string? text);
+ public void set_text_with_attributes (string text, Pango.AttrList attrs);
+ public void set_widget (Gtk.Widget child);
+ public GtkSource.CompletionColumn column { get; construct; }
+ [NoAccessorMethod]
+ public string markup { owned get; set; }
+ [NoAccessorMethod]
+ public Gdk.Paintable paintable { owned get; set; }
+ [NoAccessorMethod]
+ public string text { owned get; set; }
+ public Gtk.Widget widget { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_context_get_type ()")]
+ public class CompletionContext : GLib.Object, GLib.ListModel {
+ [CCode (has_construct_function = false)]
+ protected CompletionContext ();
+ public GtkSource.CompletionActivation get_activation ();
+ public bool get_bounds (out Gtk.TextIter begin, out Gtk.TextIter end);
+ public unowned GtkSource.Buffer? get_buffer ();
+ public bool get_busy ();
+ public unowned GtkSource.Completion? get_completion ();
+ public bool get_empty ();
+ public unowned GtkSource.Language? get_language ();
+ [Version (since = "5.6")]
+ public unowned GLib.ListModel? get_proposals_for_provider (GtkSource.CompletionProvider provider);
+ public unowned GtkSource.View? get_view ();
+ public string get_word ();
+ [Version (since = "5.6")]
+ public GLib.ListModel list_providers ();
+ public void set_proposals_for_provider (GtkSource.CompletionProvider provider, GLib.ListModel? results);
+ public bool busy { get; }
+ public GtkSource.Completion completion { get; construct; }
+ public bool empty { get; }
+ [Version (since = "5.6")]
+ public signal void provider_model_changed (GtkSource.CompletionProvider provider, GLib.ListModel? model);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_snippets_get_type ()")]
+ public class CompletionSnippets : GLib.Object, GtkSource.CompletionProvider {
+ [CCode (has_construct_function = false)]
+ public CompletionSnippets ();
+ [NoAccessorMethod]
+ public int priority { get; set construct; }
+ [NoAccessorMethod]
+ public string title { owned get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_words_get_type ()")]
+ public class CompletionWords : GLib.Object, GtkSource.CompletionProvider {
+ [CCode (has_construct_function = false)]
+ public CompletionWords (string? title);
+ public void register (Gtk.TextBuffer buffer);
+ public void unregister (Gtk.TextBuffer buffer);
+ [NoAccessorMethod]
+ public uint minimum_word_size { get; set construct; }
+ [NoAccessorMethod]
+ public int priority { get; set construct; }
+ [NoAccessorMethod]
+ public uint proposals_batch_size { get; set construct; }
+ [NoAccessorMethod]
+ public uint scan_batch_size { get; set construct; }
+ [NoAccessorMethod]
+ public string title { owned get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_source_encoding_get_type ()")]
+ [Compact]
+ public class Encoding {
+ public GtkSource.Encoding copy ();
+ public void free ();
+ public static GLib.SList<weak GtkSource.Encoding> get_all ();
+ public unowned string get_charset ();
+ public static unowned GtkSource.Encoding get_current ();
+ public static GLib.SList<weak GtkSource.Encoding> get_default_candidates ();
+ public static unowned GtkSource.Encoding? get_from_charset (string charset);
+ public unowned string get_name ();
+ public static unowned GtkSource.Encoding get_utf8 ();
+ public string to_string ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_get_type ()")]
+ public class File : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public File ();
+ public void check_file_on_disk ();
+ public GtkSource.CompressionType get_compression_type ();
+ public unowned GtkSource.Encoding get_encoding ();
+ public unowned GLib.File get_location ();
+ public GtkSource.NewlineType get_newline_type ();
+ public bool is_deleted ();
+ public bool is_externally_modified ();
+ public bool is_local ();
+ public bool is_readonly ();
+ public void set_location (GLib.File? location);
+ public GtkSource.CompressionType compression_type { get; }
+ public GtkSource.Encoding encoding { get; }
+ public GLib.File location { get; set construct; }
+ public GtkSource.NewlineType newline_type { get; }
+ [NoAccessorMethod]
+ public bool read_only { get; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_loader_get_type ()")]
+ public class FileLoader : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public FileLoader (GtkSource.Buffer buffer, GtkSource.File file);
+ [CCode (has_construct_function = false)]
+ public FileLoader.from_stream (GtkSource.Buffer buffer, GtkSource.File file, GLib.InputStream stream);
+ public unowned GtkSource.Buffer get_buffer ();
+ public GtkSource.CompressionType get_compression_type ();
+ public unowned GtkSource.Encoding get_encoding ();
+ public unowned GtkSource.File get_file ();
+ public unowned GLib.InputStream? get_input_stream ();
+ public unowned GLib.File? get_location ();
+ public GtkSource.NewlineType get_newline_type ();
+ public async bool load_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
+ public void set_candidate_encodings (GLib.SList<GtkSource.Encoding> candidate_encodings);
+ public GtkSource.Buffer buffer { get; construct; }
+ public GtkSource.File file { get; construct; }
+ public GLib.InputStream input_stream { get; construct; }
+ public GLib.File location { get; construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_saver_get_type ()")]
+ public class FileSaver : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public FileSaver (GtkSource.Buffer buffer, GtkSource.File file);
+ public unowned GtkSource.Buffer get_buffer ();
+ public GtkSource.CompressionType get_compression_type ();
+ public unowned GtkSource.Encoding get_encoding ();
+ public unowned GtkSource.File get_file ();
+ public GtkSource.FileSaverFlags get_flags ();
+ public unowned GLib.File get_location ();
+ public GtkSource.NewlineType get_newline_type ();
+ public async bool save_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
+ public void set_compression_type (GtkSource.CompressionType compression_type);
+ public void set_encoding (GtkSource.Encoding? encoding);
+ public void set_flags (GtkSource.FileSaverFlags flags);
+ public void set_newline_type (GtkSource.NewlineType newline_type);
+ [CCode (has_construct_function = false)]
+ public FileSaver.with_target (GtkSource.Buffer buffer, GtkSource.File file, GLib.File target_location);
+ public GtkSource.Buffer buffer { get; construct; }
+ public GtkSource.CompressionType compression_type { get; set construct; }
+ public GtkSource.Encoding encoding { get; set construct; }
+ public GtkSource.File file { get; construct; }
+ public GtkSource.FileSaverFlags flags { get; set construct; }
+ public GLib.File location { get; construct; }
+ public GtkSource.NewlineType newline_type { get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
+ public class Gutter : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false)]
+ protected Gutter ();
+ public unowned GtkSource.View get_view ();
+ public bool insert (GtkSource.GutterRenderer renderer, int position);
+ public void remove (GtkSource.GutterRenderer renderer);
+ public void reorder (GtkSource.GutterRenderer renderer, int position);
+ public GtkSource.View view { get; construct; }
+ [NoAccessorMethod]
+ public Gtk.TextWindowType window_type { get; construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_lines_get_type ()")]
+ public class GutterLines : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected GutterLines ();
+ public void add_class (uint line, string name);
+ public void add_qclass (uint line, GLib.Quark qname);
+ public unowned Gtk.TextBuffer get_buffer ();
+ public uint get_first ();
+ public void get_iter_at_line (out Gtk.TextIter iter, uint line);
+ public uint get_last ();
+ public void get_line_yrange (uint line, GtkSource.GutterRendererAlignmentMode mode, out int y, out int height);
+ public unowned Gtk.TextView get_view ();
+ [Version (since = "5.6")]
+ public bool has_any_class (uint line);
+ public bool has_class (uint line, string name);
+ public bool has_qclass (uint line, GLib.Quark qname);
+ public bool is_cursor (uint line);
+ public bool is_prelit (uint line);
+ public bool is_selected (uint line);
+ public void remove_class (uint line, string name);
+ public void remove_qclass (uint line, GLib.Quark qname);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_get_type ()")]
+ public abstract class GutterRenderer : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false)]
+ protected GutterRenderer ();
+ public void align_cell (uint line, float width, float height, out float x, out float y);
+ [NoWrapper]
+ public virtual void begin (GtkSource.GutterLines lines);
+ [NoWrapper]
+ public virtual void change_buffer (GtkSource.Buffer? old_buffer);
+ [NoWrapper]
+ public virtual void change_view (GtkSource.View? old_view);
+ [NoWrapper]
+ public virtual void end ();
+ public GtkSource.GutterRendererAlignmentMode get_alignment_mode ();
+ public unowned GtkSource.Buffer? get_buffer ();
+ public unowned GtkSource.View get_view ();
+ public float get_xalign ();
+ public int get_xpad ();
+ public float get_yalign ();
+ public int get_ypad ();
+ public void set_alignment_mode (GtkSource.GutterRendererAlignmentMode mode);
+ public void set_xalign (float xalign);
+ public void set_xpad (int xpad);
+ public void set_yalign (float yalign);
+ public void set_ypad (int ypad);
+ [NoWrapper]
+ public virtual void snapshot_line (Gtk.Snapshot snapshot, GtkSource.GutterLines lines, uint line);
+ public GtkSource.GutterRendererAlignmentMode alignment_mode { get; set; }
+ [NoAccessorMethod]
+ public GtkSource.GutterLines lines { owned get; }
+ public Gtk.TextView view { get; }
+ public float xalign { get; set; }
+ public int xpad { get; set; }
+ public float yalign { get; set; }
+ public int ypad { get; set; }
+ [HasEmitter]
+ public virtual signal void activate (Gtk.TextIter iter, Gdk.Rectangle area, uint button, Gdk.ModifierType state, int n_presses);
+ [HasEmitter]
+ public virtual signal bool query_activatable (Gtk.TextIter iter, Gdk.Rectangle area);
+ public virtual signal void query_data (GLib.Object lines, uint line);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_pixbuf_get_type ()")]
+ public class GutterRendererPixbuf : GtkSource.GutterRenderer, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false, type = "GtkSourceGutterRenderer*")]
+ public GutterRendererPixbuf ();
+ public unowned GLib.Icon get_gicon ();
+ public unowned string get_icon_name ();
+ public unowned Gdk.Paintable? get_paintable ();
+ public unowned Gdk.Pixbuf get_pixbuf ();
+ public void overlay_paintable (Gdk.Paintable paintable);
+ public void set_gicon (GLib.Icon? icon);
+ public void set_icon_name (string? icon_name);
+ public void set_paintable (Gdk.Paintable? paintable);
+ public void set_pixbuf (Gdk.Pixbuf? pixbuf);
+ public GLib.Icon gicon { get; set; }
+ public string icon_name { get; set; }
+ public Gdk.Paintable paintable { get; set; }
+ public Gdk.Pixbuf pixbuf { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_text_get_type ()")]
+ public class GutterRendererText : GtkSource.GutterRenderer, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false, type = "GtkSourceGutterRenderer*")]
+ public GutterRendererText ();
+ public void measure (string text, out int width, out int height);
+ public void measure_markup (string markup, out int width, out int height);
+ public void set_markup (string markup, int length);
+ public void set_text (string text, int length);
+ [NoAccessorMethod]
+ public string markup { owned get; set construct; }
+ [NoAccessorMethod]
+ public string text { owned get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_hover_get_type ()")]
+ public class Hover : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected Hover ();
+ public void add_provider (GtkSource.HoverProvider provider);
+ public void remove_provider (GtkSource.HoverProvider provider);
+ [NoAccessorMethod]
+ public uint hover_delay { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_hover_context_get_type ()")]
+ public class HoverContext : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected HoverContext ();
+ public bool get_bounds (out Gtk.TextIter begin, out Gtk.TextIter end);
+ public unowned GtkSource.Buffer get_buffer ();
+ public bool get_iter (Gtk.TextIter iter);
+ public unowned GtkSource.View get_view ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_hover_display_get_type ()")]
+ public class HoverDisplay : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false)]
+ protected HoverDisplay ();
+ public void append (Gtk.Widget child);
+ public void insert_after (Gtk.Widget child, Gtk.Widget sibling);
+ public void prepend (Gtk.Widget child);
+ public void remove (Gtk.Widget child);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_language_get_type ()")]
+ public class Language : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected Language ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[]? get_globs ();
+ public bool get_hidden ();
+ public unowned string get_id ();
+ public unowned string? get_metadata (string name);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[]? get_mime_types ();
+ public unowned string get_name ();
+ public unowned string get_section ();
+ public unowned string? get_style_fallback (string style_id);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[]? get_style_ids ();
+ public unowned string? get_style_name (string style_id);
+ public bool hidden { get; }
+ public string id { get; }
+ public string name { get; }
+ public string section { get; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_language_manager_get_type ()")]
+ public class LanguageManager : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public LanguageManager ();
+ [Version (since = "5.4")]
+ public void append_search_path (string path);
+ public static unowned GtkSource.LanguageManager get_default ();
+ public unowned GtkSource.Language? get_language (string id);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[]? get_language_ids ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[] get_search_path ();
+ public unowned GtkSource.Language? guess_language (string? filename, string? content_type);
+ [Version (since = "5.4")]
+ public void prepend_search_path (string path);
+ public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] language_ids { get; }
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] search_path { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_map_get_type ()")]
+ public class Map : GtkSource.View, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Scrollable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public Map ();
+ public unowned GtkSource.View? get_view ();
+ public void set_view (GtkSource.View view);
+ [NoAccessorMethod]
+ public Pango.FontDescription font_desc { owned get; set; }
+ public GtkSource.View view { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_mark_get_type ()")]
+ public class Mark : Gtk.TextMark {
+ [CCode (has_construct_function = false)]
+ public Mark (string? name, string category);
+ public unowned string get_category ();
+ public unowned GtkSource.Mark? next (string? category);
+ public unowned GtkSource.Mark? prev (string category);
+ public string category { get; construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_mark_attributes_get_type ()")]
+ public class MarkAttributes : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public MarkAttributes ();
+ public bool get_background (out Gdk.RGBA background);
+ public unowned GLib.Icon get_gicon ();
+ public unowned string get_icon_name ();
+ public unowned Gdk.Pixbuf get_pixbuf ();
+ public string get_tooltip_markup (GtkSource.Mark mark);
+ public string get_tooltip_text (GtkSource.Mark mark);
+ public unowned Gdk.Paintable render_icon (Gtk.Widget widget, int size);
+ public void set_background (Gdk.RGBA background);
+ public void set_gicon (GLib.Icon gicon);
+ public void set_icon_name (string icon_name);
+ public void set_pixbuf (Gdk.Pixbuf pixbuf);
+ [NoAccessorMethod]
+ public Gdk.RGBA background { owned get; set; }
+ public GLib.Icon gicon { get; set; }
+ public string icon_name { get; set; }
+ public Gdk.Pixbuf pixbuf { get; set; }
+ public signal string query_tooltip_markup (GtkSource.Mark mark);
+ public signal string query_tooltip_text (GtkSource.Mark mark);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_print_compositor_get_type ()")]
+ public class PrintCompositor : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public PrintCompositor (GtkSource.Buffer buffer);
+ public void draw_page (Gtk.PrintContext context, int page_nr);
+ [CCode (has_construct_function = false)]
+ public PrintCompositor.from_view (GtkSource.View view);
+ public string get_body_font_name ();
+ public double get_bottom_margin (Gtk.Unit unit);
+ public unowned GtkSource.Buffer get_buffer ();
+ public string get_footer_font_name ();
+ public string get_header_font_name ();
+ public bool get_highlight_syntax ();
+ public double get_left_margin (Gtk.Unit unit);
+ public string get_line_numbers_font_name ();
+ public int get_n_pages ();
+ public double get_pagination_progress ();
+ public bool get_print_footer ();
+ public bool get_print_header ();
+ public uint get_print_line_numbers ();
+ public double get_right_margin (Gtk.Unit unit);
+ public uint get_tab_width ();
+ public double get_top_margin (Gtk.Unit unit);
+ public Gtk.WrapMode get_wrap_mode ();
+ [Version (since = "5.2")]
+ public void ignore_tag (Gtk.TextTag tag);
+ public bool paginate (Gtk.PrintContext context);
+ public void set_body_font_name (string font_name);
+ public void set_bottom_margin (double margin, Gtk.Unit unit);
+ public void set_footer_font_name (string? font_name);
+ public void set_footer_format (bool separator, string? left, string? center, string? right);
+ public void set_header_font_name (string? font_name);
+ public void set_header_format (bool separator, string? left, string? center, string? right);
+ public void set_highlight_syntax (bool highlight);
+ public void set_left_margin (double margin, Gtk.Unit unit);
+ public void set_line_numbers_font_name (string? font_name);
+ public void set_print_footer (bool print);
+ public void set_print_header (bool print);
+ public void set_print_line_numbers (uint interval);
+ public void set_right_margin (double margin, Gtk.Unit unit);
+ public void set_tab_width (uint width);
+ public void set_top_margin (double margin, Gtk.Unit unit);
+ public void set_wrap_mode (Gtk.WrapMode wrap_mode);
+ public string body_font_name { owned get; set; }
+ public GtkSource.Buffer buffer { get; construct; }
+ public string footer_font_name { owned get; set; }
+ public string header_font_name { owned get; set; }
+ public bool highlight_syntax { get; set; }
+ public string line_numbers_font_name { owned get; set; }
+ public int n_pages { get; }
+ public bool print_footer { get; set; }
+ public bool print_header { get; set; }
+ public uint print_line_numbers { get; set; }
+ public uint tab_width { get; set; }
+ public Gtk.WrapMode wrap_mode { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_region_get_type ()")]
+ public class Region : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public Region (Gtk.TextBuffer buffer);
+ public void add_region (GtkSource.Region? region_to_add);
+ public void add_subregion (Gtk.TextIter _start, Gtk.TextIter _end);
+ public bool get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
+ public unowned Gtk.TextBuffer? get_buffer ();
+ public GtkSource.RegionIter get_start_region_iter ();
+ public GtkSource.Region? intersect_region (GtkSource.Region? region2);
+ public GtkSource.Region? intersect_subregion (Gtk.TextIter _start, Gtk.TextIter _end);
+ public bool is_empty ();
+ public void subtract_region (GtkSource.Region? region_to_subtract);
+ public void subtract_subregion (Gtk.TextIter _start, Gtk.TextIter _end);
+ public string? to_string ();
+ public Gtk.TextBuffer buffer { get; construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_context_get_type ()")]
+ public class SearchContext : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public SearchContext (GtkSource.Buffer buffer, GtkSource.SearchSettings? settings);
+ public bool backward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around);
+ public async bool backward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around) throws GLib.Error;
+ public bool forward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around);
+ public async bool forward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around) throws GLib.Error;
+ public unowned GtkSource.Buffer get_buffer ();
+ public bool get_highlight ();
+ public unowned GtkSource.Style get_match_style ();
+ public int get_occurrence_position (Gtk.TextIter match_start, Gtk.TextIter match_end);
+ public int get_occurrences_count ();
+ public GLib.Error? get_regex_error ();
+ public unowned GtkSource.SearchSettings get_settings ();
+ public bool replace (Gtk.TextIter match_start, Gtk.TextIter match_end, string replace, int replace_length) throws GLib.Error;
+ public uint replace_all (string replace, int replace_length) throws GLib.Error;
+ public void set_highlight (bool highlight);
+ public void set_match_style (GtkSource.Style? match_style);
+ public GtkSource.Buffer buffer { get; construct; }
+ public bool highlight { get; set construct; }
+ public GtkSource.Style match_style { get; set construct; }
+ public int occurrences_count { get; }
+ public GLib.Error regex_error { owned get; }
+ public GtkSource.SearchSettings settings { get; construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_settings_get_type ()")]
+ public class SearchSettings : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public SearchSettings ();
+ public bool get_at_word_boundaries ();
+ public bool get_case_sensitive ();
+ public bool get_regex_enabled ();
+ public unowned string? get_search_text ();
+ public bool get_wrap_around ();
+ public void set_at_word_boundaries (bool at_word_boundaries);
+ public void set_case_sensitive (bool case_sensitive);
+ public void set_regex_enabled (bool regex_enabled);
+ public void set_search_text (string? search_text);
+ public void set_wrap_around (bool wrap_around);
+ public bool at_word_boundaries { get; set construct; }
+ public bool case_sensitive { get; set construct; }
+ public bool regex_enabled { get; set construct; }
+ public string search_text { get; set construct; }
+ public bool wrap_around { get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_snippet_get_type ()")]
+ public class Snippet : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public Snippet (string? trigger, string? language_id);
+ public void add_chunk (GtkSource.SnippetChunk chunk);
+ public GtkSource.Snippet copy ();
+ public unowned GtkSource.SnippetContext? get_context ();
+ public unowned string get_description ();
+ public int get_focus_position ();
+ public unowned string get_language_id ();
+ public uint get_n_chunks ();
+ public unowned string get_name ();
+ public unowned GtkSource.SnippetChunk get_nth_chunk (uint nth);
+ public unowned string? get_trigger ();
+ [CCode (has_construct_function = false)]
+ [Version (since = "5.6")]
+ public Snippet.parsed (string text) throws GLib.Error;
+ public void set_description (string description);
+ public void set_language_id (string language_id);
+ public void set_name (string name);
+ public void set_trigger (string trigger);
+ [NoAccessorMethod]
+ public Gtk.TextBuffer buffer { owned get; }
+ public string description { get; set; }
+ public int focus_position { get; }
+ public string language_id { get; set; }
+ public string name { get; set; }
+ public string trigger { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_snippet_chunk_get_type ()")]
+ public class SnippetChunk : GLib.InitiallyUnowned {
+ [CCode (has_construct_function = false)]
+ public SnippetChunk ();
+ public GtkSource.SnippetChunk copy ();
+ public unowned GtkSource.SnippetContext get_context ();
+ public int get_focus_position ();
+ public unowned string? get_spec ();
+ public unowned string get_text ();
+ public bool get_text_set ();
+ public unowned string get_tooltip_text ();
+ public void set_context (GtkSource.SnippetContext context);
+ public void set_focus_position (int focus_position);
+ public void set_spec (string spec);
+ public void set_text (string text);
+ public void set_text_set (bool text_set);
+ public void set_tooltip_text (string tooltip_text);
+ public GtkSource.SnippetContext context { get; set; }
+ public int focus_position { get; set; }
+ public string spec { get; set; }
+ public string text { get; set; }
+ public bool text_set { get; set; }
+ public string tooltip_text { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_snippet_context_get_type ()")]
+ public class SnippetContext : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public SnippetContext ();
+ public void clear_variables ();
+ public string expand (string input);
+ public unowned string? get_variable (string key);
+ public void set_constant (string key, string value);
+ public void set_line_prefix (string line_prefix);
+ public void set_tab_width (int tab_width);
+ public void set_use_spaces (bool use_spaces);
+ public void set_variable (string key, string value);
+ public signal void changed ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_snippet_manager_get_type ()")]
+ public class SnippetManager : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected SnippetManager ();
+ public static unowned GtkSource.SnippetManager get_default ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[] get_search_path ();
+ public GtkSource.Snippet? get_snippet (string? group, string? language_id, string trigger);
+ [Version (since = "5.6")]
+ public unowned GLib.ListModel list_all ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public (unowned string)[] list_groups ();
+ public GLib.ListModel list_matching (string? group, string? language_id, string? trigger_prefix);
+ public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] search_path { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_space_drawer_get_type ()")]
+ public class SpaceDrawer : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public SpaceDrawer ();
+ public void bind_matrix_setting (GLib.Settings settings, string key, GLib.SettingsBindFlags flags);
+ public bool get_enable_matrix ();
+ public GLib.Variant get_matrix ();
+ public GtkSource.SpaceTypeFlags get_types_for_locations (GtkSource.SpaceLocationFlags locations);
+ public void set_enable_matrix (bool enable_matrix);
+ public void set_matrix (GLib.Variant? matrix);
+ public void set_types_for_locations (GtkSource.SpaceLocationFlags locations, GtkSource.SpaceTypeFlags types);
+ public bool enable_matrix { get; set construct; }
+ public GLib.Variant matrix { owned get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_get_type ()")]
+ public class Style : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected Style ();
+ public void apply (Gtk.TextTag tag);
+ public GtkSource.Style copy ();
+ [NoAccessorMethod]
+ public string background { owned get; construct; }
+ [NoAccessorMethod]
+ public bool background_set { get; construct; }
+ [NoAccessorMethod]
+ public bool bold { get; construct; }
+ [NoAccessorMethod]
+ public bool bold_set { get; construct; }
+ [NoAccessorMethod]
+ public string foreground { owned get; construct; }
+ [NoAccessorMethod]
+ public bool foreground_set { get; construct; }
+ [NoAccessorMethod]
+ public bool italic { get; construct; }
+ [NoAccessorMethod]
+ public bool italic_set { get; construct; }
+ [NoAccessorMethod]
+ public string line_background { owned get; construct; }
+ [NoAccessorMethod]
+ public bool line_background_set { get; construct; }
+ [NoAccessorMethod]
+ public Pango.Underline pango_underline { get; construct; }
+ [NoAccessorMethod]
+ public string scale { owned get; construct; }
+ [NoAccessorMethod]
+ public bool scale_set { get; construct; }
+ [NoAccessorMethod]
+ public bool strikethrough { get; construct; }
+ [NoAccessorMethod]
+ public bool strikethrough_set { get; construct; }
+ [NoAccessorMethod]
+ public string underline_color { owned get; construct; }
+ [NoAccessorMethod]
+ public bool underline_color_set { get; construct; }
+ [NoAccessorMethod]
+ public bool underline_set { get; construct; }
+ [NoAccessorMethod]
+ public Pango.Weight weight { get; construct; }
+ [NoAccessorMethod]
+ public bool weight_set { get; construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_get_type ()")]
+ public class StyleScheme : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected StyleScheme ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[]? get_authors ();
+ public unowned string? get_description ();
+ public unowned string? get_filename ();
+ public unowned string get_id ();
+ [Version (since = "5.4")]
+ public unowned string? get_metadata (string name);
+ public unowned string get_name ();
+ public unowned GtkSource.Style? get_style (string style_id);
+ public string description { get; }
+ public string filename { get; }
+ public string id { get; construct; }
+ public string name { get; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_button_get_type ()")]
+ public class StyleSchemeChooserButton : Gtk.Button, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget, GtkSource.StyleSchemeChooser {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public StyleSchemeChooserButton ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_widget_get_type ()")]
+ public class StyleSchemeChooserWidget : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, GtkSource.StyleSchemeChooser {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public StyleSchemeChooserWidget ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_manager_get_type ()")]
+ public class StyleSchemeManager : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public StyleSchemeManager ();
+ public void append_search_path (string path);
+ public void force_rescan ();
+ public static unowned GtkSource.StyleSchemeManager get_default ();
+ public unowned GtkSource.StyleScheme? get_scheme (string scheme_id);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[]? get_scheme_ids ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[] get_search_path ();
+ public void prepend_search_path (string path);
+ public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? path);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] scheme_ids { get; }
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] search_path { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_preview_get_type ()")]
+ [Version (since = "5.4")]
+ public class StyleSchemePreview : Gtk.Widget, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public StyleSchemePreview (GtkSource.StyleScheme scheme);
+ public unowned GtkSource.StyleScheme get_scheme ();
+ public bool get_selected ();
+ public void set_selected (bool selected);
+ public GtkSource.StyleScheme scheme { get; construct; }
+ public bool selected { get; set; }
+ public signal void activate ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_tag_get_type ()")]
+ public class Tag : Gtk.TextTag {
+ [CCode (has_construct_function = false, type = "GtkTextTag*")]
+ public Tag (string? name);
+ [NoAccessorMethod]
+ public bool draw_spaces { get; set; }
+ [NoAccessorMethod]
+ public bool draw_spaces_set { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_view_get_type ()")]
+ public class View : Gtk.TextView, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Scrollable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public View ();
+ public bool get_auto_indent ();
+ public GtkSource.BackgroundPatternType get_background_pattern ();
+ public unowned GtkSource.Completion get_completion ();
+ public bool get_enable_snippets ();
+ public unowned GtkSource.Gutter get_gutter (Gtk.TextWindowType window_type);
+ public bool get_highlight_current_line ();
+ public unowned GtkSource.Hover get_hover ();
+ public bool get_indent_on_tab ();
+ public int get_indent_width ();
+ public unowned GtkSource.Indenter? get_indenter ();
+ public bool get_insert_spaces_instead_of_tabs ();
+ public unowned GtkSource.MarkAttributes get_mark_attributes (string category, int priority);
+ public uint get_right_margin_position ();
+ public bool get_show_line_marks ();
+ public bool get_show_line_numbers ();
+ public bool get_show_right_margin ();
+ public bool get_smart_backspace ();
+ public GtkSource.SmartHomeEndType get_smart_home_end ();
+ public unowned GtkSource.SpaceDrawer get_space_drawer ();
+ public uint get_tab_width ();
+ public uint get_visual_column (Gtk.TextIter iter);
+ public void indent_lines (Gtk.TextIter start, Gtk.TextIter end);
+ public void set_auto_indent (bool enable);
+ public void set_background_pattern (GtkSource.BackgroundPatternType background_pattern);
+ public void set_enable_snippets (bool enable_snippets);
+ public void set_highlight_current_line (bool highlight);
+ public void set_indent_on_tab (bool enable);
+ public void set_indent_width (int width);
+ public void set_indenter (GtkSource.Indenter? indenter);
+ public void set_insert_spaces_instead_of_tabs (bool enable);
+ public void set_mark_attributes (string category, GtkSource.MarkAttributes attributes, int priority);
+ public void set_right_margin_position (uint pos);
+ public void set_show_line_marks (bool show);
+ public void set_show_line_numbers (bool show);
+ public void set_show_right_margin (bool show);
+ public void set_smart_backspace (bool smart_backspace);
+ public void set_smart_home_end (GtkSource.SmartHomeEndType smart_home_end);
+ public void set_tab_width (uint width);
+ public void unindent_lines (Gtk.TextIter start, Gtk.TextIter end);
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public View.with_buffer (GtkSource.Buffer buffer);
+ public bool auto_indent { get; set; }
+ public GtkSource.BackgroundPatternType background_pattern { get; set; }
+ public GtkSource.Completion completion { get; }
+ public bool enable_snippets { get; set; }
+ public bool highlight_current_line { get; set; }
+ public bool indent_on_tab { get; set; }
+ public int indent_width { get; set; }
+ public GtkSource.Indenter indenter { get; set; }
+ public bool insert_spaces_instead_of_tabs { get; set; }
+ public uint right_margin_position { get; set; }
+ public bool show_line_marks { get; set; }
+ public bool show_line_numbers { get; set; }
+ public bool show_right_margin { get; set; }
+ public bool smart_backspace { get; set; }
+ public GtkSource.SmartHomeEndType smart_home_end { get; set; }
+ public GtkSource.SpaceDrawer space_drawer { get; }
+ public uint tab_width { get; set; }
+ public signal void change_case (GtkSource.ChangeCaseType case_type);
+ public signal void change_number (int count);
+ public signal void join_lines ();
+ public virtual signal void line_mark_activated (Gtk.TextIter iter, uint button, Gdk.ModifierType state, int n_presses);
+ public virtual signal void move_lines (bool down);
+ public signal void move_to_matching_bracket (bool extend_selection);
+ public virtual signal void move_words (int step);
+ [HasEmitter]
+ public virtual signal void push_snippet (GtkSource.Snippet snippet, ref Gtk.TextIter location);
+ public virtual signal void show_completion ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_vim_im_context_get_type ()")]
+ [Version (since = "5.4")]
+ public class VimIMContext : Gtk.IMContext {
+ [CCode (has_construct_function = false, type = "GtkIMContext*")]
+ public VimIMContext ();
+ public unowned string get_command_bar_text ();
+ public unowned string get_command_text ();
+ public string command_bar_text { get; }
+ public string command_text { get; }
+ public signal void edit (GtkSource.View view, string? path);
+ [HasEmitter]
+ public signal bool execute_command (string command);
+ public signal void format_text (Gtk.TextIter begin, Gtk.TextIter end);
+ public signal void write (GtkSource.View view, string? path);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_cname = "GtkSourceCompletionProposalInterface", type_id = "gtk_source_completion_proposal_get_type ()")]
+ public interface CompletionProposal : GLib.Object {
+ [Version (since = "5.6")]
+ public virtual string? get_typed_text ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_cname = "GtkSourceCompletionProviderInterface", type_id = "gtk_source_completion_provider_get_type ()")]
+ public interface CompletionProvider : GLib.Object {
+ public abstract void activate (GtkSource.CompletionContext context, GtkSource.CompletionProposal proposal);
+ public abstract void display (GtkSource.CompletionContext context, GtkSource.CompletionProposal proposal, GtkSource.CompletionCell cell);
+ public virtual int get_priority (GtkSource.CompletionContext context);
+ public virtual string? get_title ();
+ public virtual bool is_trigger (Gtk.TextIter iter, unichar ch);
+ public virtual bool key_activates (GtkSource.CompletionContext context, GtkSource.CompletionProposal proposal, uint keyval, Gdk.ModifierType state);
+ public virtual GLib.GenericArray<GtkSource.CompletionProposal>? list_alternates (GtkSource.CompletionContext context, GtkSource.CompletionProposal proposal);
+ public abstract async GLib.ListModel populate_async (GtkSource.CompletionContext context, GLib.Cancellable? cancellable) throws GLib.Error;
+ public abstract void refilter (GtkSource.CompletionContext context, GLib.ListModel model);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_cname = "GtkSourceHoverProviderInterface", type_id = "gtk_source_hover_provider_get_type ()")]
+ public interface HoverProvider : GLib.Object {
+ [NoWrapper]
+ public abstract bool populate (GtkSource.HoverContext context, GtkSource.HoverDisplay display) throws GLib.Error;
+ public abstract async bool populate_async (GtkSource.HoverContext context, GtkSource.HoverDisplay display, GLib.Cancellable? cancellable) throws GLib.Error;
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_cname = "GtkSourceIndenterInterface", type_id = "gtk_source_indenter_get_type ()")]
+ public interface Indenter : GLib.Object {
+ public abstract void indent (GtkSource.View view, ref Gtk.TextIter iter);
+ public abstract bool is_trigger (GtkSource.View view, Gtk.TextIter location, Gdk.ModifierType state, uint keyval);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_cname = "GtkSourceStyleSchemeChooserInterface", type_id = "gtk_source_style_scheme_chooser_get_type ()")]
+ public interface StyleSchemeChooser : GLib.Object {
+ public abstract unowned GtkSource.StyleScheme get_style_scheme ();
+ public abstract void set_style_scheme (GtkSource.StyleScheme scheme);
+ public abstract GtkSource.StyleScheme style_scheme { get; set; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", has_type_id = false)]
+ public struct RegionIter {
+ public bool get_subregion (out Gtk.TextIter start, out Gtk.TextIter end);
+ public bool is_end ();
+ public bool next ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BACKGROUND_PATTERN_TYPE_", type_id = "gtk_source_background_pattern_type_get_type ()")]
+ public enum BackgroundPatternType {
+ NONE,
+ GRID
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BRACKET_MATCH_", type_id = "gtk_source_bracket_match_type_get_type ()")]
+ public enum BracketMatchType {
+ NONE,
+ OUT_OF_RANGE,
+ NOT_FOUND,
+ FOUND
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_CHANGE_CASE_", type_id = "gtk_source_change_case_type_get_type ()")]
+ public enum ChangeCaseType {
+ LOWER,
+ UPPER,
+ TOGGLE,
+ TITLE
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPLETION_ACTIVATION_", type_id = "gtk_source_completion_activation_get_type ()")]
+ public enum CompletionActivation {
+ NONE,
+ INTERACTIVE,
+ USER_REQUESTED
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPLETION_COLUMN_", type_id = "gtk_source_completion_column_get_type ()")]
+ public enum CompletionColumn {
+ ICON,
+ BEFORE,
+ TYPED_TEXT,
+ AFTER,
+ COMMENT,
+ DETAILS
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPRESSION_TYPE_", type_id = "gtk_source_compression_type_get_type ()")]
+ public enum CompressionType {
+ NONE,
+ GZIP
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_FLAGS_", type_id = "gtk_source_file_saver_flags_get_type ()")]
+ [Flags]
+ public enum FileSaverFlags {
+ NONE,
+ IGNORE_INVALID_CHARS,
+ IGNORE_MODIFICATION_TIME,
+ CREATE_BACKUP
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_", type_id = "gtk_source_gutter_renderer_alignment_mode_get_type ()")]
+ public enum GutterRendererAlignmentMode {
+ CELL,
+ FIRST,
+ LAST
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_NEWLINE_TYPE_", type_id = "gtk_source_newline_type_get_type ()")]
+ public enum NewlineType {
+ LF,
+ CR,
+ CR_LF
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SMART_HOME_END_", type_id = "gtk_source_smart_home_end_type_get_type ()")]
+ public enum SmartHomeEndType {
+ DISABLED,
+ BEFORE,
+ AFTER,
+ ALWAYS
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SORT_FLAGS_", type_id = "gtk_source_sort_flags_get_type ()")]
+ [Flags]
+ public enum SortFlags {
+ NONE,
+ CASE_SENSITIVE,
+ REVERSE_ORDER,
+ REMOVE_DUPLICATES
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SPACE_LOCATION_", type_id = "gtk_source_space_location_flags_get_type ()")]
+ [Flags]
+ public enum SpaceLocationFlags {
+ NONE,
+ LEADING,
+ INSIDE_TEXT,
+ TRAILING,
+ ALL
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SPACE_TYPE_", type_id = "gtk_source_space_type_flags_get_type ()")]
+ [Flags]
+ public enum SpaceTypeFlags {
+ NONE,
+ SPACE,
+ TAB,
+ NEWLINE,
+ NBSP,
+ ALL
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_VIEW_GUTTER_POSITION_", type_id = "gtk_source_view_gutter_position_get_type ()")]
+ public enum ViewGutterPosition {
+ LINES,
+ MARKS
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_LOADER_ERROR_", type_id = "gtk_source_file_loader_error_get_type ()")]
+ public errordomain FileLoaderError {
+ TOO_BIG,
+ ENCODING_AUTO_DETECTION_FAILED,
+ CONVERSION_FALLBACK;
+ public static GLib.Quark quark ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_ERROR_", type_id = "gtk_source_file_saver_error_get_type ()")]
+ public errordomain FileSaverError {
+ INVALID_CHARS,
+ EXTERNALLY_MODIFIED;
+ public static GLib.Quark quark ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", instance_pos = 1.9)]
+ [Version (since = "5.2")]
+ public delegate bool SchedulerCallback (int64 deadline);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cname = "GTK_SOURCE_MAJOR_VERSION")]
+ public const int MAJOR_VERSION;
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cname = "GTK_SOURCE_MICRO_VERSION")]
+ public const int MICRO_VERSION;
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cname = "GTK_SOURCE_MINOR_VERSION")]
+ public const int MINOR_VERSION;
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static bool check_version (uint major, uint minor, uint micro);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "Encoding.get_all")]
+ public static GLib.SList<weak GtkSource.Encoding> encoding_get_all ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "Encoding.get_current")]
+ public static unowned GtkSource.Encoding encoding_get_current ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "Encoding.get_default_candidates")]
+ public static GLib.SList<weak GtkSource.Encoding> encoding_get_default_candidates ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "Encoding.get_from_charset")]
+ public static unowned GtkSource.Encoding? encoding_get_from_charset (string charset);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "Encoding.get_utf8")]
+ public static unowned GtkSource.Encoding encoding_get_utf8 ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "FileLoaderError.quark")]
+ public static GLib.Quark file_loader_error_quark ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (replacement = "FileSaverError.quark")]
+ public static GLib.Quark file_saver_error_quark ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static void finalize ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static uint get_major_version ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static uint get_micro_version ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static uint get_minor_version ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static void init ();
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (since = "5.2")]
+ public static size_t scheduler_add ([CCode (scope = "async")] GtkSource.SchedulerCallback callback);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (since = "5.2")]
+ public static size_t scheduler_add_full (owned GtkSource.SchedulerCallback callback);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (since = "5.2")]
+ public static void scheduler_remove (size_t handler_id);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static string utils_escape_search_text (string text);
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ public static string utils_unescape_search_text (string text);
+}
Index: radix-1.9/base/radix-system/etc/skel/.config/openbox/menu.xml
===================================================================
--- radix-1.9/base/radix-system/etc/skel/.config/openbox/menu.xml (revision 104)
+++ radix-1.9/base/radix-system/etc/skel/.config/openbox/menu.xml (revision 105)
@@ -3,7 +3,7 @@
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="apps-accessories-menu" label="Accessories">
- <item label="Calculator">
+ <item label="Gnome Calculator">
<action name="Execute">
<command>gnome-calculator</command>
<startupnotify>
@@ -11,6 +11,7 @@
</startupnotify>
</action>
</item>
+<!--
<item label="Character Map">
<action name="Execute">
<command>gnome-character-map</command>
@@ -27,6 +28,7 @@
</startupnotify>
</action>
</item>
+ -->
</menu>
<menu id="apps-editors-menu" label="Editors">
@@ -38,12 +40,12 @@
</startupnotify>
</action>
</item>
+<!--
<item label="GVim">
<action name="Execute">
<command>gvim</command>
<startupnotify>
<enabled>yes</enabled>
- <wmclass>GVim</wmclass>
</startupnotify>
</action>
</item>
@@ -80,9 +82,11 @@
</startupnotify>
</action>
</item>
+ -->
</menu>
<menu id="apps-term-menu" label="Terminals">
+<!--
<item label="Rxvt Unicode">
<action name="Execute">
<command>urxvt</command>
@@ -112,6 +116,7 @@
</startupnotify>
</action>
</item>
+ -->
<item label="Xterm">
<action name="Execute"><command>xterm-utf8.en.sh</command></action>
</item>
@@ -118,6 +123,7 @@
</menu>
<menu id="apps-net-menu" label="Internet">
+<!--
<item label="Firefox">
<action name="Execute">
<command>firefox</command>
@@ -144,6 +150,7 @@
</startupnotify>
</action>
</item>
+ -->
<item label="Epiphany">
<action name="Execute">
<command>epiphany</command>
@@ -152,6 +159,15 @@
</startupnotify>
</action>
</item>
+ <item label="Dino Instant Messenger">
+ <action name="Execute">
+ <command>dino</command>
+ <startupnotify>
+ <enabled>yes</enabled>
+ </startupnotify>
+ </action>
+ </item>
+<!--
<item label="Pidgin Instant Messenger">
<action name="Execute">
<command>pidgin</command>
@@ -176,8 +192,10 @@
</startupnotify>
</action>
</item>
+ -->
</menu>
+<!--
<menu id="apps-office-menu" label="Office">
<item label="OpenOffice Base">
<action name="Execute">
@@ -215,8 +233,18 @@
</action>
</item>
</menu>
+ -->
<menu id="apps-multimedia-menu" label="Multimedia">
+ <item label="Audacious (Music Player)">
+ <action name="Execute">
+ <command>audacious</command>
+ <startupnotify>
+ <enabled>yes</enabled>
+ </startupnotify>
+ </action>
+ </item>
+<!--
<item label="Amarok">
<action name="Execute">
<command>amarok</command>
@@ -258,8 +286,10 @@
</startupnotify>
</action>
</item>
+ -->
</menu>
+<!--
<menu id="apps-fileman-menu" label="File Managers">
<item label="Nautilus">
<action name="Execute">
@@ -303,7 +333,9 @@
</action>
</item>
</menu>
+ -->
+<!--
<menu id="apps-graphics-menu" label="Graphics">
<item label="Gimp">
<action name="Execute">
@@ -338,8 +370,10 @@
</action>
</item>
</menu>
+ -->
<menu id="system-menu" label="System">
+<!--
<item label="Openbox Configuration Manager">
<action name="Execute">
<command>obconf</command>
@@ -364,6 +398,7 @@
<startupnotify><enabled>yes</enabled></startupnotify>
</action>
</item>
+ -->
<item label="Manage Cups Printers">
<action name="Execute">
<command>xdg-open http://localhost:631/</command>
@@ -373,6 +408,14 @@
</startupnotify>
</action>
</item>
+ <item label="hplip (hp-setup)">
+ <action name="Execute">
+ <command>hp-setup</command>
+ <startupnotify>
+ <enabled>yes</enabled>
+ </startupnotify>
+ </action>
+ </item>
<separator />
<item label="Reconfigure Openbox">
<action name="Reconfigure" />
Index: radix-1.9/libs/libsoup3/3.4.2/vala-api/a.txt
===================================================================
--- radix-1.9/libs/libsoup3/3.4.2/vala-api/a.txt (revision 104)
+++ radix-1.9/libs/libsoup3/3.4.2/vala-api/a.txt (nonexistent)
@@ -1 +0,0 @@
-libsoup-3.0.vapi
Index: radix-1.9/products/X11/Makefile
===================================================================
--- radix-1.9/products/X11/Makefile (revision 104)
+++ radix-1.9/products/X11/Makefile (revision 105)
@@ -823,6 +823,7 @@
REQUIRES += X11/app/dino/0.4.2
REQUIRES += X11/app/epiphany/44.3
REQUIRES += X11/app/gnome-text-editor/44.0
+REQUIRES += X11/app/gnome-calculator/44.0
# ======= __END_OF_REQUIRES__ =======
Index: radix-1.9/sources/GNOME/apps/gnome-calculator/Makefile
===================================================================
--- radix-1.9/sources/GNOME/apps/gnome-calculator/Makefile (nonexistent)
+++ radix-1.9/sources/GNOME/apps/gnome-calculator/Makefile (revision 105)
@@ -0,0 +1,47 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/GNOME/apps/gnome-calculator
+
+versions = 44.0
+pkgname = gnome-calculator
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s)
+
+
+include ../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s)
Index: radix-1.9/sources/GNOME/apps/gnome-calculator
===================================================================
--- radix-1.9/sources/GNOME/apps/gnome-calculator (nonexistent)
+++ radix-1.9/sources/GNOME/apps/gnome-calculator (revision 105)
Property changes on: radix-1.9/sources/GNOME/apps/gnome-calculator
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~