Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (60b3e64bfe97a3be182d04d53e4916fcaf6d77b7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (60b3e64bfe97a3be182d04d53e4916fcaf6d77b7)
  • Date: Tue, 23 Oct 2018 15:24:15 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

ChangeLog | 5 +++
http/firefox/DEPENDS | 8 ++++-
http/firefox/DETAILS | 4 +-
http/firefox/HISTORY | 5 +++
http/firefox/patches/2000_system_harfbuzz.patch | 16 +---------
http/firefox/patches/2001_system_graphite2.patch | 11 -------
rust-crates/FUNCTIONS | 20 ++++++++++++
rust-crates/cbindgen/DEPENDS | 1
rust-crates/cbindgen/DETAILS | 36
+++++++++++++++++++++++
rust-crates/cbindgen/HISTORY | 2 +
rust-crates/cbindgen/PREPARE | 2 +
rust-crates/cbindgen/WIP | 1
12 files changed, 85 insertions(+), 26 deletions(-)

New commits:
commit 60b3e64bfe97a3be182d04d53e4916fcaf6d77b7
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

http/firefox: version 63.0, SECURITY_PATCH++

commit 31d1de6d84d7db0889b6282ac94f70291bd7f4df
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

rust-crates/cbindgen: new spell, a tool to generate C bindings for Rust
code

commit 9460a05d478a9d7279abd7cb50eeae1408594173
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

rust-crates/FUNCTIONS: new section for Rust crates

diff --git a/ChangeLog b/ChangeLog
index 0176a08..6234bff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-22 Pavel Vinogradov <public AT sourcemage.org>
+ * rust-crates/cbindgen: new spell, a tool to generate C bindings for
+ Rust code
+ * rust-crates/FUNCTIONS: new section for Rust crates
+
2018-10-12 Vlad Glagolev <stealth AT sourcemage.org>
* database/tinycdb: new spell, cdb-compatible commandline tools and
library
diff --git a/http/firefox/DEPENDS b/http/firefox/DEPENDS
index de79296..3eac7dd 100755
--- a/http/firefox/DEPENDS
+++ b/http/firefox/DEPENDS
@@ -50,6 +50,7 @@ depends libffi "--enable-system-ffi"
&&
depends pixman "--enable-system-pixman" &&

depends rust &&
+depends cbindgen &&

optional_depends startup-notification \
"--enable-startup-notification" \
@@ -124,4 +125,9 @@ optional_depends graphite2 \
optional_depends harfbuzz \
"--with-system-harfbuzz" \
"--without-system-harfbuzz" \
- "for system harfbuzz"
+ "for system harfbuzz" &&
+
+optional_depends nodejs \
+ "--enable-nodejs" \
+ "--disable-nodejs" \
+ "for Node.js support"
diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 3f4ac10..a7adde2 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,6 +1,6 @@
SPELL=firefox
- VERSION=62.0.3
- SECURITY_PATCH=122
+ VERSION=63.0
+ SECURITY_PATCH=123
SOURCE="${SPELL}-${VERSION}.source.tar.xz"

SOURCE_URL[0]="http://releases.mozilla.org/pub/${SPELL}/releases/${VERSION}/source/${SOURCE}";
SOURCE2="${SOURCE}.asc"
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index e0a604e..c14170e 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,8 @@
+2018-10-22 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 63.0, SECURITY_PATCH++
+ * DEPENDS: requires cbindgen, added optional nodejs
+ * patches/200*: updated
+
2018-10-20 Pavel Vinogradov <public AT sourcemage.org>
* DEPENDS, mozconfig, patches/old.configure.patch: removed old flags.
optimization flags are in mozconfig again
diff --git a/http/firefox/patches/2000_system_harfbuzz.patch
b/http/firefox/patches/2000_system_harfbuzz.patch
index cebcf9f..0d25b11 100644
--- a/http/firefox/patches/2000_system_harfbuzz.patch
+++ b/http/firefox/patches/2000_system_harfbuzz.patch
@@ -57,15 +57,10 @@ diff --git a/dom/base/moz.build b/dom/base/moz.build
diff --git a/gfx/harfbuzz/README-mozilla b/gfx/harfbuzz/README-mozilla
--- a/gfx/harfbuzz/README-mozilla
+++ b/gfx/harfbuzz/README-mozilla
-@@ -14,8 +14,13 @@ this file when updating HarfBuzz, and ch
-
- The normal approach to updating HarfBuzz, therefore, is to pull the latest
HB
- source into a scratch directory and do a local build; then copy the original
- sources AND the generated header mentioned above from the build directory
into
- the mozilla tree.
+@@ -15,3 +15,8 @@

If the collection of source files changes, manual updates to moz.build may
be
- needed, as we don't use the upstream makefiles.
+ needed as we don't use the upstream makefiles.
+
+The in-tree copy may be omitted during build by --with-system-harfbuzz.
+Make sure to keep pkg-config version check within toolkit/moz.configure in
sync
@@ -153,12 +148,7 @@ diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build
diff --git a/gfx/thebes/moz.build b/gfx/thebes/moz.build
--- a/gfx/thebes/moz.build
+++ b/gfx/thebes/moz.build
-@@ -281,11 +281,14 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('and
-
- if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
- CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
-
- LOCAL_INCLUDES += CONFIG['SKIA_INCLUDES']
+@@ -290,6 +290,9 @@

DEFINES['GRAPHITE2_STATIC'] = True

diff --git a/http/firefox/patches/2001_system_graphite2.patch
b/http/firefox/patches/2001_system_graphite2.patch
index 96adb83..d6d25d7 100644
--- a/http/firefox/patches/2001_system_graphite2.patch
+++ b/http/firefox/patches/2001_system_graphite2.patch
@@ -112,12 +112,7 @@ diff --git a/gfx/moz.build b/gfx/moz.build
diff --git a/gfx/thebes/moz.build b/gfx/thebes/moz.build
--- a/gfx/thebes/moz.build
+++ b/gfx/thebes/moz.build
-@@ -279,16 +279,19 @@ CFLAGS += CONFIG['TK_CFLAGS']
- if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):
- CXXFLAGS += CONFIG['CAIRO_FT_CFLAGS']
-
- if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
- CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
+@@ -288,7 +288,10 @@

LOCAL_INCLUDES += CONFIG['SKIA_INCLUDES']

@@ -129,10 +124,6 @@ diff --git a/gfx/thebes/moz.build b/gfx/thebes/moz.build

if CONFIG['MOZ_SYSTEM_HARFBUZZ']:
CXXFLAGS += CONFIG['MOZ_HARFBUZZ_CFLAGS']
-
- if CONFIG['CC_TYPE'] == 'clang':
- # Suppress warnings from Skia header files.
- SOURCES['gfxPlatform.cpp'].flags += ['-Wno-implicit-fallthrough']
diff --git a/old-configure.in b/old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
diff --git a/rust-crates/FUNCTIONS b/rust-crates/FUNCTIONS
new file mode 100755
index 0000000..bf7fb8c
--- /dev/null
+++ b/rust-crates/FUNCTIONS
@@ -0,0 +1,20 @@
+#-------------------------------------------------------------------------
+## Section-default build script.
+#-------------------------------------------------------------------------
+function default_build_cargo() {
+ cargo build
+}
+
+#-------------------------------------------------------------------------
+## Section-default install script.
+#-------------------------------------------------------------------------
+function default_install_cargo() {
+ cargo install --root "${INSTALL_ROOT}/usr"
+}
+
+function default_build() {
+ default_build_cargo
+}
+function default_install() {
+ default_install_cargo
+}
diff --git a/rust-crates/cbindgen/DEPENDS b/rust-crates/cbindgen/DEPENDS
new file mode 100755
index 0000000..7dbdea4
--- /dev/null
+++ b/rust-crates/cbindgen/DEPENDS
@@ -0,0 +1 @@
+depends rust
diff --git a/rust-crates/cbindgen/DETAILS b/rust-crates/cbindgen/DETAILS
new file mode 100755
index 0000000..066ebbc
--- /dev/null
+++ b/rust-crates/cbindgen/DETAILS
@@ -0,0 +1,36 @@
+. "${GRIMOIRE}/FUNCTIONS"
+ SPELL="cbindgen"
+if [[ "${CBINDGEN_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-git.tar.bz2"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
+ SOURCE_URL="git://github.com/egrion/${SPELL}:${SPELL}-git"
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="0.6.6"
+
SOURCE_HASH="sha512:7f49130b908900c4e271f946d9e0b9a5930bc9d8ac8cbff82d882dc1a9eef35104cc3c8cd794e36cdcc56ead9df278efd18963327778d3a45e6a51a24e452694"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]="https://github.com/egrion/${SPELL}/archive/v${VERSION}.tar.gz";
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ WEB_SITE="https://docs.rs/cbindgen";
+ LICENSE[0]="MPL"
+ ENTERED="20181022"
+ SHORT="a tool to generate C bindings for Rust code"
+cat << EOF
+This project can be used to generate C bindings for Rust code. It is
currently
+being developed to support creating bindings for WebRender, but has been
+designed to support any project.
+
+Features
+
+ * Builds bindings for a crate, its mods, its dependent crates, and their
mods
+ * Only the necessary types for exposed functions are given bindings
+ * Can specify annotations for controlling some aspects of binding
+ * Support for generic structs and unions
+ * Support for exporting constants and statics
+ * Customizable formatting, can be used in C or C++ projects
+ * Support for generating `#ifdef`'s for `#[cfg]` attributes
+ * Support for `#[repr(sized)]` tagged enum's
+EOF
diff --git a/rust-crates/cbindgen/HISTORY b/rust-crates/cbindgen/HISTORY
new file mode 100644
index 0000000..407f222
--- /dev/null
+++ b/rust-crates/cbindgen/HISTORY
@@ -0,0 +1,2 @@
+2018-10-22 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS, DETAILS, PREPARE: spell created
diff --git a/rust-crates/cbindgen/PREPARE b/rust-crates/cbindgen/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/rust-crates/cbindgen/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm
diff --git a/rust-crates/cbindgen/WIP b/rust-crates/cbindgen/WIP
new file mode 100644
index 0000000..e72545f
--- /dev/null
+++ b/rust-crates/cbindgen/WIP
@@ -0,0 +1 @@
+Has too many crates being downloaded and built during BUILD phase.



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (60b3e64bfe97a3be182d04d53e4916fcaf6d77b7), Pavel Vinogradov, 10/23/2018

Archive powered by MHonArc 2.6.24.

Top of Page