-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
669 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
bazel-opt_task: | ||
container: | ||
image: toxchat/toktok-stack:latest-release | ||
cpu: 2 | ||
memory: 6G | ||
configure_script: | ||
- /src/workspace/tools/inject-repo qtox | ||
test_all_script: | ||
- cd /src/workspace && bazel test -k | ||
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST | ||
//qtox/... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.github/ @TokTok/admins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
_extends: .github | ||
|
||
repository: | ||
name: qTox | ||
description: Powerful Tox chat client that follows the Tox design guidelines. | ||
homepage: https://qtox.github.io/ | ||
topics: tox, chat | ||
has_issues: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Commit Format | ||
on: pull_request | ||
#on: pull_request | ||
jobs: | ||
verify-commit-format: | ||
name: Verify Commit Format | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,6 @@ target/ | |
|
||
# Tarballs | ||
*.tar.* | ||
|
||
# Editor temp files | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") | ||
load("//third_party/qt:build_defs.bzl", "qt_lconvert", "qt_rcc") | ||
load("//tools/project:build_defs.bzl", "project") | ||
|
||
package(features = ["layering_check"]) | ||
|
||
project() | ||
|
||
qt_lconvert( | ||
name = "qtox_qms", | ||
srcs = glob(["translations/*.ts"]), | ||
) | ||
|
||
genrule( | ||
name = "translations_qrc", | ||
srcs = ["translations/translations.qrc"], | ||
outs = ["translations/translations_local.qrc"], | ||
cmd = "cp $< $@", | ||
) | ||
|
||
qt_rcc( | ||
name = "translations", | ||
srcs = [":translations_qrc"], | ||
data = [":qtox_qms"], | ||
) | ||
|
||
qt_rcc( | ||
name = "res", | ||
srcs = [ | ||
"res.qrc", | ||
"smileys/emojione.qrc", | ||
"smileys/smileys.qrc", | ||
], | ||
data = glob([ | ||
"img/**/*", | ||
"res/**/*", | ||
"smileys/*/*", | ||
"themes/**/*", | ||
]), | ||
) | ||
|
||
cc_library( | ||
name = "res_lib", | ||
srcs = [ | ||
":res", | ||
":translations", | ||
], | ||
visibility = ["//qtox:__subpackages__"], | ||
alwayslink = True, | ||
) | ||
|
||
cc_binary( | ||
name = "qtox", | ||
visibility = ["//qtox:__subpackages__"], | ||
deps = ["//qtox/src:main"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
load("@rules_cc//cc:defs.bzl", "cc_library") | ||
load("//third_party/qt:build_defs.bzl", "qt_moc", "qt_rcc") | ||
|
||
package(features = ["layering_check"]) | ||
|
||
qt_moc( | ||
name = "audio_moc", | ||
srcs = [ | ||
"include/audio/iaudiocontrol.h", | ||
"include/audio/iaudiosource.h", | ||
"src/backend/alsink.h", | ||
"src/backend/alsource.h", | ||
"src/backend/openal.h", | ||
], | ||
hdrs = glob(["**/*.h"]), | ||
mocopts = ["-Iqtox/audio/include"], | ||
deps = ["//qtox/util"], | ||
) | ||
|
||
qt_rcc( | ||
name = "audio_res", | ||
srcs = ["resources/audio_res.qrc"], | ||
data = glob(["resources/*.pcm"]), | ||
) | ||
|
||
cc_library( | ||
name = "audio_res_lib", | ||
srcs = [":audio_res"], | ||
visibility = ["//qtox:__subpackages__"], | ||
alwayslink = True, | ||
) | ||
|
||
cc_library( | ||
name = "audio", | ||
srcs = [ | ||
":audio_moc", | ||
] + glob( | ||
[ | ||
"src/**/*.cpp", | ||
], | ||
), | ||
hdrs = glob(["**/*.h"]), | ||
copts = ["-Iqtox"] + select({ | ||
"//tools/config:freebsd": [], | ||
"//tools/config:linux": ["-fPIC"], | ||
"//tools/config:osx": [], | ||
"//tools/config:windows": [], | ||
}), | ||
defines = [ | ||
"DEBUG", | ||
#"DESKTOP_NOTIFICATIONS", | ||
"QTOX_PLATFORM_EXT", | ||
"QT_MESSAGELOGCONTEXT", | ||
"UPDATE_CHECK_ENABLED", | ||
], | ||
includes = ["include"], | ||
visibility = ["//qtox:__subpackages__"], | ||
deps = [ | ||
":audio_res_lib", | ||
"//qtox/util", | ||
"@openal", | ||
"@qt//:qt_core", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
load("//third_party/qt:build_defs.bzl", "qt_mac_deploy") | ||
|
||
package(features = ["layering_check"]) | ||
|
||
qt_mac_deploy( | ||
name = "qtox", | ||
app_icons = glob(["qtox.icns.xcassets/**"]), | ||
bundle_id = "chat.tox.qtox", | ||
deps = ["//qtox:qtox_main"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"size" : "16x16", | ||
"idiom" : "mac", | ||
"filename" : "qtox.icns-16.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "16x16", | ||
"idiom" : "mac", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "32x32", | ||
"idiom" : "mac", | ||
"filename" : "qtox.icns-32.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "32x32", | ||
"idiom" : "mac", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "128x128", | ||
"idiom" : "mac", | ||
"filename" : "qtox.icns-128.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "128x128", | ||
"idiom" : "mac", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "256x256", | ||
"idiom" : "mac", | ||
"filename" : "qtox.icns-256.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "256x256", | ||
"idiom" : "mac", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "512x512", | ||
"idiom" : "mac", | ||
"filename" : "qtox.icns-512.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "512x512", | ||
"idiom" : "mac", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.