Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
leap
bitmask-vpn
Commits
4457c999
Commit
4457c999
authored
1 year ago
by
jkito
Browse files
Options
Downloads
Patches
Plain Diff
[deb] fix building bitmask branded debian package
parent
90d22bb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!173
add bitmask provider
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+2
-2
2 additions, 2 deletions
Makefile
branding/templates/debian/rules-template
+5
-0
5 additions, 0 deletions
branding/templates/debian/rules-template
gui/build.sh
+4
-4
4 additions, 4 deletions
gui/build.sh
with
11 additions
and
6 deletions
Makefile
+
2
−
2
View file @
4457c999
...
...
@@ -108,7 +108,7 @@ PKGFILES = $(shell find pkg -type f -name '*.go')
endif
lib/%.a
:
$(PKGFILES)
@
XBUILD
=
no
CC
=
${
CC
}
CXX
=
${
CXX
}
MAKE
=
${
MAKE
}
AR
=
${
AR
}
LD
=
${
LD
}
./gui/build.sh
--just-golib
@
XBUILD
=
no
CC
=
${
CC
}
VENDOR_PATH
=
${
VENDOR_PATH
}
CXX
=
${
CXX
}
MAKE
=
${
MAKE
}
AR
=
${
AR
}
LD
=
${
LD
}
./gui/build.sh
--just-golib
# FIXME move platform detection above! no place to uname here, just use $PLATFORM
#
...
...
@@ -375,7 +375,7 @@ endif
@
cd
build/
${
PROVIDER
}
/debian
&&
python3 generate.py
@
cd
build/
${
PROVIDER
}
/debian
&&
rm
app.desktop-template changelog-template rules-template control-template generate.py data.json
&&
chmod
+x rules
@
cd
build/
${
PROVIDER
}
/debian
&&
mv
app.desktop
${
TARGET
}
.desktop
&&
mv
app.install
${
TARGET
}
.install
&&
rm
-f
app.install-template
&&
\
rm
-rf
source
/include-binaries-template
rm
-rf
source
/include-binaries-template
endif
gen_pkg_snap
:
...
...
This diff is collapsed.
Click to expand it.
branding/templates/debian/rules-template
+
5
−
0
View file @
4457c999
...
...
@@ -10,6 +10,10 @@ export DH_GOPKG = 0xacab.org/leap/bitmask-vpn
export
DH_GOLANG_EXCLUDES
:=
vendor packages tools cmd/bitmask-helper cmd/bitmask-connect
export
PATH
:=
$(
shell qmake6
-query
"QT_INSTALL_BINS"
)
:
$(
PATH
)
export
PROVIDER
=
${
name
}
export
VENDOR_PATH
=
providers
#dh_golang doesn't do this for you
ifeq
($(DEB_HOST_ARCH), i386)
...
...
@@ -33,6 +37,7 @@ APPNAME = ${binaryName}
override_dh_auto_test
:
override_dh_auto_build
:
make gen_providers_json
make build
override_dh_install
:
...
...
This diff is collapsed.
Click to expand it.
gui/build.sh
+
4
−
4
View file @
4457c999
...
...
@@ -5,10 +5,10 @@ set -e
# set -x
# --------------------
XBUILD
=
${
XBUILD
-no
}
LRELEASE
=
${
LRELEASE
-lrelease
}
VENDOR_PATH
=
${
VENDOR_PATH
-providers/riseup
}
APPNAME
=
${
APPNAME
-BitmaskVPN
}
XBUILD
=
"
${
XBUILD
:
-
no
}
"
LRELEASE
=
"
${
LRELEASE
:
-
lrelease
}
"
VENDOR_PATH
=
"
${
VENDOR_PATH
:
-
providers
/riseup
}
"
APPNAME
=
"
${
APPNAME
:
-
BitmaskVPN
}
"
OSX_TARGET
=
12
WIN64
=
"win64"
...
...
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