Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
be53fd9b
Unverified
Commit
be53fd9b
authored
3 years ago
by
Nicolas Werner
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #812 from Nheko-Reborn/jdenticon-packaging
Jdenticon packaging
parents
61d2d1c6
97f8c5b9
No related branches found
No related tags found
No related merge requests found
Pipeline
#2072
failed
3 years ago
Stage: build
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
appveyor.yml
+7
-0
7 additions, 0 deletions
appveyor.yml
io.github.NhekoReborn.Nheko.yaml
+10
-0
10 additions, 0 deletions
io.github.NhekoReborn.Nheko.yaml
src/JdenticonProvider.cpp
+9
-13
9 additions, 13 deletions
src/JdenticonProvider.cpp
with
27 additions
and
13 deletions
.gitlab-ci.yml
+
1
−
0
View file @
be53fd9b
...
...
@@ -69,6 +69,7 @@ build-macos:
-DUSE_BUNDLED_BOOST=ON
-DCI_BUILD=ON
-
cmake --build build
-
(cd build && git clone https://github.com/Nheko-Reborn/qt-jdenticon.git && cd qt-jdenticon && qmake && make -j 4 && cp libqtjdenticon.dylib ../nheko.app/Contents/MacOS)
after_script
:
-
mv ../.hunter .hunter
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
appveyor.yml
+
7
−
0
View file @
be53fd9b
...
...
@@ -54,12 +54,19 @@ build_script:
-
cmake --build build --config Release
-
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
-
cd qt-jdenticon
-
qmake
-
nmake
-
cd ..
after_build
:
# Variables
-
set BUILD=%APPVEYOR_BUILD_FOLDER%
-
echo %BUILD%
-
mkdir NhekoRelease
-
copy build\Release\nheko.exe NhekoRelease\nheko.exe
-
copy qt-jdenticon\release\qtjdenticon0.dll NhekoRelease\qtjdenticon0.dll
-
copy build\_deps\cmark-build\src\Release\cmark.dll NhekoRelease\cmark.dll
-
windeployqt --qmldir resources\qml\ NhekoRelease\nheko.exe
...
...
This diff is collapsed.
Click to expand it.
io.github.NhekoReborn.Nheko.yaml
+
10
−
0
View file @
be53fd9b
...
...
@@ -147,6 +147,16 @@ modules:
tag
:
1.18.3
type
:
git
url
:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
-
buildsystem
:
qmake
name
:
qt-jdenticon
no-make-install
:
true
build-commands
:
-
mkdir -p /app/bin/
-
cp libqtjdenticon.so /app/bin/
sources
:
-
commit
:
77eb0d62441e03bbbfc2b1d2057c4045ac87fb85
type
:
git
url
:
https://github.com/Nheko-Reborn/qt-jdenticon.git
-
buildsystem
:
meson
config-opts
:
-
-Ddefault_library=static
...
...
This diff is collapsed.
Click to expand it.
src/JdenticonProvider.cpp
+
9
−
13
View file @
be53fd9b
...
...
@@ -88,20 +88,16 @@ getJdenticonInterface()
if
(
interface
==
nullptr
&&
interfaceExists
)
{
QDir
pluginsDir
(
qApp
->
applicationDirPath
());
bool
plugins
=
pluginsDir
.
cd
(
"plugins"
);
if
(
plugins
)
{
for
(
const
QString
&
fileName
:
pluginsDir
.
entryList
(
QDir
::
Files
))
{
QPluginLoader
pluginLoader
(
pluginsDir
.
absoluteFilePath
(
fileName
));
QObject
*
plugin
=
pluginLoader
.
instance
();
if
(
plugin
)
{
interface
=
qobject_cast
<
JdenticonInterface
*>
(
plugin
);
if
(
interface
)
{
nhlog
::
ui
()
->
info
(
"Loaded jdenticon plugin."
);
break
;
}
}
QPluginLoader
pluginLoader
(
"qtjdenticon"
);
QObject
*
plugin
=
pluginLoader
.
instance
();
if
(
plugin
)
{
interface
=
qobject_cast
<
JdenticonInterface
*>
(
plugin
);
if
(
interface
)
{
nhlog
::
ui
()
->
info
(
"Loaded jdenticon plugin."
);
}
}
else
{
}
if
(
!
interface
)
{
nhlog
::
ui
()
->
info
(
"jdenticon plugin not found."
);
interfaceExists
=
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment