Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: geoclue/Makefile
===================================================================
--- geoclue/Makefile	(nonexistent)
+++ geoclue/Makefile	(revision 81)
@@ -0,0 +1,57 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url         = $(DOWNLOAD_SERVER)/sources/packages/x/geoclue
+
+versions    = 2.7.0
+pkgname     = geoclue
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+patches     = $(CURDIR)/patches/geoclue-2.7.0-disable-introspection.patch
+
+.NOTPARALLEL: $(patches)
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
+
+
+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
+
+$(patches): $(sha1s)
+	@echo -e "\n======= Create Patches =======\n" ; \
+	 ( cd create-2.7.0-disable-introspection-patch ; ./create.patch.sh ) ; \
+	 echo -e "\n"
+
+download_clean:
+	@rm -f $(tarballs) $(sha1s) $(patches)
Index: geoclue/create-2.7.0-disable-introspection-patch/create.patch.sh
===================================================================
--- geoclue/create-2.7.0-disable-introspection-patch/create.patch.sh	(nonexistent)
+++ geoclue/create-2.7.0-disable-introspection-patch/create.patch.sh	(revision 81)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=2.7.0
+
+tar --files-from=file.list -xJvf ../geoclue-$VERSION.tar.xz
+mv geoclue-$VERSION geoclue-$VERSION-orig
+
+cp -rf ./geoclue-$VERSION-new ./geoclue-$VERSION
+
+diff --unified -Nr  geoclue-$VERSION-orig  geoclue-$VERSION > geoclue-$VERSION-disable-introspection.patch
+
+mv geoclue-$VERSION-disable-introspection.patch ../patches
+
+rm -rf ./geoclue-$VERSION
+rm -rf ./geoclue-$VERSION-orig

Property changes on: geoclue/create-2.7.0-disable-introspection-patch/create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: geoclue/create-2.7.0-disable-introspection-patch/file.list
===================================================================
--- geoclue/create-2.7.0-disable-introspection-patch/file.list	(nonexistent)
+++ geoclue/create-2.7.0-disable-introspection-patch/file.list	(revision 81)
@@ -0,0 +1 @@
+geoclue-2.7.0/libgeoclue/meson.build
Index: geoclue/create-2.7.0-disable-introspection-patch/geoclue-2.7.0-new/libgeoclue/meson.build
===================================================================
--- geoclue/create-2.7.0-disable-introspection-patch/geoclue-2.7.0-new/libgeoclue/meson.build	(nonexistent)
+++ geoclue/create-2.7.0-disable-introspection-patch/geoclue-2.7.0-new/libgeoclue/meson.build	(revision 81)
@@ -0,0 +1,88 @@
+# Client interface
+gclue_client = gnome.gdbus_codegen(
+    'gclue-client',
+    '../interface/org.freedesktop.GeoClue2.Client.xml',
+    interface_prefix: 'org.freedesktop.GeoClue2.',
+    namespace: 'GClue',
+    install_header: true,
+    install_dir: include_subdir,
+    autocleanup: 'all')
+
+# Location interface
+gclue_location = gnome.gdbus_codegen(
+    'gclue-location',
+    '../interface/org.freedesktop.GeoClue2.Location.xml',
+    interface_prefix: 'org.freedesktop.GeoClue2.',
+    namespace: 'GClue',
+    install_header: true,
+    install_dir: include_subdir,
+    autocleanup: 'all')
+
+# Manager interface
+gclue_manager = gnome.gdbus_codegen(
+    'gclue-manager',
+    '../interface/org.freedesktop.GeoClue2.Manager.xml',
+    interface_prefix: 'org.freedesktop.GeoClue2.',
+    namespace: 'GClue',
+    install_header: true,
+    install_dir: include_subdir,
+    autocleanup: 'all')
+
+# Location portal interface
+location_portal = gnome.gdbus_codegen('xdp-location',
+				'../interface/org.freedesktop.portal.Location.xml',
+				interface_prefix: 'org.freedesktop.portal.',
+				namespace: 'Xdp',
+				install_header: false,
+				autocleanup: 'all')
+
+libgeoclue_sources = files('gclue-helpers.c', 'gclue-simple.c')
+libgeoclue_sources += gclue_client[0]
+libgeoclue_sources += gclue_location[0]
+libgeoclue_sources += gclue_manager[0]
+libgeoclue_sources += libgeoclue_public_api_gen_sources[1]
+libgeoclue_priv_sources = location_portal
+
+libgeoclue_headers = files('geoclue.h', 'gclue-helpers.h', 'gclue-simple.h')
+
+install_headers(libgeoclue_headers, subdir: header_dir)
+
+libgeoclue_headers += gclue_client[1]
+libgeoclue_headers += gclue_location[1]
+libgeoclue_headers += gclue_manager[1]
+
+c_args = [ '-DG_LOG_DOMAIN="Geoclue"' ]
+include_dirs = [ libgeoclue_public_api_inc, include_directories('.', '..') ]
+link_whole = [ libgeoclue_public_api ]
+libgeoclue = library('geoclue-2',
+                     [ libgeoclue_sources, libgeoclue_priv_sources ],
+                     libgeoclue_headers,
+                     include_directories: include_dirs,
+                     dependencies: base_deps,
+                     link_whole: link_whole,
+                     soversion: '0',
+                     version: '0.0.0',
+                     install: true)
+
+libgeoclue_dep = declare_dependency(link_with: libgeoclue,
+                                    include_directories: include_dirs,
+                                    dependencies: base_deps,
+                                    sources: [ libgeoclue_sources,
+                                               libgeoclue_priv_sources,
+                                               libgeoclue_headers ])
+
+pkg_requirements = ['glib-2.0', 'gio-2.0', 'gio-unix-2.0']
+gir_sources = [ libgeoclue_sources,
+                libgeoclue_headers,
+                libgeoclue_public_api_gen_sources[1] ]
+
+description = 'A convenience library to interact with Geoclue service'
+pkgconf = import('pkgconfig')
+pkgconf.generate(version: gclue_version,
+                 name: 'Geoclue Client Library',
+                 description: description,
+                 filebase: 'libgeoclue-' + gclue_api_version,
+                 libraries: libgeoclue,
+                 subdirs: [ header_dir ],
+                 requires: pkg_requirements)
+
Index: geoclue/patches/README
===================================================================
--- geoclue/patches/README	(nonexistent)
+++ geoclue/patches/README	(revision 81)
@@ -0,0 +1,6 @@
+
+/* begin *
+
+   TODO: Leave some comment here.
+
+ * end */
Index: geoclue/patches
===================================================================
--- geoclue/patches	(nonexistent)
+++ geoclue/patches	(revision 81)

Property changes on: geoclue/patches
___________________________________________________________________
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: geoclue
===================================================================
--- geoclue	(nonexistent)
+++ geoclue	(revision 81)

Property changes on: geoclue
___________________________________________________________________
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
+*~