Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (2913eb73856a2ef07060094513917ec14d91cf3c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (2913eb73856a2ef07060094513917ec14d91cf3c)
  • Date: Wed, 23 Nov 2016 14:13:37 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog
| 4 +
chat-libs/c-toxcore/BUILD
| 2
chat-libs/c-toxcore/DEPENDS
| 19 ++++++
chat-libs/c-toxcore/DETAILS
| 15 +++++
chat-libs/c-toxcore/HISTORY
| 5 +
chat-libs/c-toxcore/PRE_BUILD
| 3 +

chat-libs/c-toxcore/patches/0001-Add-knob-to-suppress-building-the-toxav-test.patch
| 28 ++++++++++

chat-libs/c-toxcore/patches/0002-Add-knob-to-suppress-building-the-nTox-client.patch
| 27 +++++++++
8 files changed, 103 insertions(+)

New commits:
commit 2913eb73856a2ef07060094513917ec14d91cf3c
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

c-toxcore: new spell, Secure instant messaging and videoconferencing

diff --git a/ChangeLog b/ChangeLog
index 399ed72..f2b2fad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-23 Ismael Luceno <ismael AT sourcemage.org>
+ * chat-libs/c-toxcore: new spell, Secure instant messaging and
+ videoconferencing
+
2016-11-17 Treeve Jelbert <treeve AT sourcemage.org>
* xorg.gpg: add 6ADBB200: public key "Michel Daenzer
<michel AT daenzer.net>"

diff --git a/chat-libs/c-toxcore/BUILD b/chat-libs/c-toxcore/BUILD
new file mode 100755
index 0000000..4c46c64
--- /dev/null
+++ b/chat-libs/c-toxcore/BUILD
@@ -0,0 +1,2 @@
+OPTS+=" -DWARNINGS=0 -DBUILD_AV_TEST=0"
+cmake_build
diff --git a/chat-libs/c-toxcore/DEPENDS b/chat-libs/c-toxcore/DEPENDS
new file mode 100755
index 0000000..abbdcb4
--- /dev/null
+++ b/chat-libs/c-toxcore/DEPENDS
@@ -0,0 +1,19 @@
+depends cmake &&
+depends libsodium &&
+depends libvpx &&
+depends opus &&
+
+# For DHT bootstrap daemon
+depends libconfig &&
+
+# For nTox
+optional_depends ncurses -DBUILD_NTOX={1,0} \
+ "for building the nTox client"
+
+# For the Spec. tests
+#depends msgpack-c &&
+
+# For the A/V tests
+#depends libsndfile &&
+#depends OPENCV &&
+#depends portaudio19
diff --git a/chat-libs/c-toxcore/DETAILS b/chat-libs/c-toxcore/DETAILS
new file mode 100755
index 0000000..0c21160
--- /dev/null
+++ b/chat-libs/c-toxcore/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=c-toxcore
+ VERSION=0.0.4
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]=https://github.com/TokTok/$SPELL/archive/v$VERSION.tar.gz
+
SOURCE_HASH=sha512:ef76cca22830d6ad590c3852cc185b0b7f414501a22a60416f37ee10513eadbe520ace1d8e3cb0f07c92aa43774bd35ecb3e9c0e3750d90821fcab500ac8bc82
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://tox.chat";
+ LICENSE[0]="GPLv3+"
+ ENTERED=20161123
+ KEYWORDS=""
+ SHORT="Secure instant messaging and videoconferencing"
+cat << EOF
+Tox is a peer-to-peer instant messaging and video calling protocol that
+offers end-to-end encryption.
+EOF
diff --git a/chat-libs/c-toxcore/HISTORY b/chat-libs/c-toxcore/HISTORY
new file mode 100644
index 0000000..b1f8326
--- /dev/null
+++ b/chat-libs/c-toxcore/HISTORY
@@ -0,0 +1,5 @@
+2016-11-23 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, PRE_BUILD,
+ patches/0001-Add-knob-to-suppress-building-the-toxav-test.patch,
+ patches/0002-Add-knob-to-suppress-building-the-nTox-client.patch:
+ spell created
diff --git a/chat-libs/c-toxcore/PRE_BUILD b/chat-libs/c-toxcore/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/chat-libs/c-toxcore/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git
a/chat-libs/c-toxcore/patches/0001-Add-knob-to-suppress-building-the-toxav-test.patch

b/chat-libs/c-toxcore/patches/0001-Add-knob-to-suppress-building-the-toxav-test.patch
new file mode 100644
index 0000000..67f1616
--- /dev/null
+++
b/chat-libs/c-toxcore/patches/0001-Add-knob-to-suppress-building-the-toxav-test.patch
@@ -0,0 +1,28 @@
+From 84bd8e3fb04383ee9272cc88130e6773dfe486a6 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Wed, 23 Nov 2016 11:54:41 -0200
+Subject: [PATCH 1/2] Add knob to suppress building the toxav test
+
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ CMakeLists.txt | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7c08fd82554d..88ba43b4473c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -463,7 +463,9 @@ endif()
+ #
+
################################################################################
+
+-if(NOT WIN32 AND BUILD_TOXAV AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND
OPENCV_FOUND)
++option(BUILD_AV_TEST "Build toxav test" ON)
++if(NOT WIN32 AND BUILD_AV_TEST
++ AND BUILD_TOXAV AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND OPENCV_FOUND)
+ add_c_executable(av_test testing/av_test.c)
+ target_link_modules(av_test
+ toxav
+--
+2.10.2
+
diff --git
a/chat-libs/c-toxcore/patches/0002-Add-knob-to-suppress-building-the-nTox-client.patch

b/chat-libs/c-toxcore/patches/0002-Add-knob-to-suppress-building-the-nTox-client.patch
new file mode 100644
index 0000000..a569d4d
--- /dev/null
+++
b/chat-libs/c-toxcore/patches/0002-Add-knob-to-suppress-building-the-nTox-client.patch
@@ -0,0 +1,27 @@
+From b13629a72586c650462c918c0802db06e1ed9352 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Wed, 23 Nov 2016 11:55:10 -0200
+Subject: [PATCH 2/2] Add knob to suppress building the nTox client
+
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 88ba43b4473c..da7e26391753 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -479,7 +479,8 @@ if(NOT WIN32 AND BUILD_AV_TEST
+ endif()
+ endif()
+
+-if(NOT WIN32)
++option(BUILD_NTOX "Build nTox client" ON)
++if(NOT WIN32 AND BUILD_NTOX)
+ add_c_executable(nTox testing/nTox.c)
+ target_link_modules(nTox toxcore ${NCURSES_LIBRARIES})
+ endif()
+--
+2.10.2
+



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (2913eb73856a2ef07060094513917ec14d91cf3c), Ismael Luceno, 11/23/2016

Archive powered by MHonArc 2.6.24.

Top of Page