-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy bluetooth daemon from panel indicator (#1)
Co-authored-by: Ryo Nakano <[email protected]>
- Loading branch information
1 parent
be77283
commit 7d9cf35
Showing
435 changed files
with
69,631 additions
and
1 deletion.
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,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,21 @@ | ||
name: Gettext Updates | ||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
gettext_template: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GIT_USER_TOKEN }} | ||
|
||
- name: Update Translation Files | ||
uses: elementary/actions/gettext-template@main | ||
env: | ||
GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }} | ||
GIT_USER_NAME: "elementaryBot" | ||
GIT_USER_EMAIL: "[email protected]" |
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,43 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: [stable, unstable, development-target] | ||
container: | ||
image: ghcr.io/elementary/docker:${{ matrix.version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Dependencies | ||
run: | | ||
apt update | ||
apt install -y libgranite-dev meson valac | ||
- name: Build | ||
env: | ||
DESTDIR: out | ||
run: | | ||
meson setup build | ||
ninja -C build install | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: valalang/lint | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Lint | ||
run: io.elementary.vala-lint -d . |
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,19 @@ | ||
name: Release | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
types: [closed] | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release') | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: elementary/actions/release@main | ||
env: | ||
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" | ||
GIT_USER_NAME: "elementaryBot" | ||
GIT_USER_EMAIL: "[email protected]" | ||
with: | ||
release_branch: "noble" |
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,2 @@ | ||
*~ | ||
build |
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 +1,22 @@ | ||
# bluetooth-daemon | ||
# Bluetooth Daemon | ||
|
||
Send and receive files via bluetooth | ||
|
||
## Building and Installation | ||
|
||
You'll need the following dependencies: | ||
|
||
libgranite-dev >= 6.0.0 | ||
libgtk3-dev | ||
meson | ||
valac | ||
|
||
Run `meson` to configure the build environment and then `ninja` to build | ||
|
||
meson setup build --prefix=/usr | ||
cd build | ||
ninja | ||
|
||
To install, use `ninja install` | ||
|
||
ninja install |
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 @@ | ||
[Desktop Entry] | ||
Name=Bluetooth | ||
Comment=Bluetooth obex | ||
Exec=io.elementary.bluetooth -s | ||
Icon=bluetooth | ||
Type=Application | ||
NoDisplay=true | ||
Categories=System; | ||
X-GNOME-Autostart-Notify=false | ||
X-GNOME-AutoRestart=true | ||
X-GNOME-Autostart-enabled=true | ||
OnlyShowIn=Pantheon; |
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 @@ | ||
[Desktop Entry] | ||
Name=Bluetooth | ||
Comment=Bluetooth obex | ||
Exec=io.elementary.bluetooth | ||
Icon=bluetooth | ||
Type=Application | ||
NoDisplay=true | ||
Categories=System; | ||
OnlyShowIn=Pantheon; |
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,14 @@ | ||
install_data( | ||
'bluetooth-daemon.desktop', | ||
rename: meson.project_name() + '.desktop', | ||
install_dir: get_option('sysconfdir') / 'xdg' / 'autostart' | ||
) | ||
|
||
i18n.merge_file( | ||
input: 'bluetooth.desktop', | ||
output: meson.project_name() + '.desktop', | ||
po_dir: meson.project_source_root () / 'po' / 'extra', | ||
type: 'desktop', | ||
install_dir: get_option('datadir') / 'applications', | ||
install: true | ||
) |
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,17 @@ | ||
project( | ||
'io.elementary.bluetooth', | ||
'vala', 'c', | ||
version: '8.0.0', | ||
meson_version : '>= 0.57' | ||
) | ||
|
||
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()), language:'c') | ||
|
||
i18n = import('i18n') | ||
|
||
granite_dep = dependency ('granite') | ||
gtk_dep = dependency ('gtk+-3.0') | ||
|
||
subdir('data') | ||
subdir('po') | ||
subdir('src') |
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,202 @@ | ||
ae | ||
af | ||
ak | ||
am | ||
ar | ||
as | ||
ast | ||
av | ||
ay | ||
az | ||
ba | ||
be | ||
bg | ||
bh | ||
bi | ||
bm | ||
bn | ||
bo | ||
br | ||
bs | ||
ca | ||
ca@valencia | ||
ce | ||
ch | ||
ckb | ||
co | ||
cr | ||
cs | ||
cu | ||
cv | ||
cy | ||
da | ||
de | ||
dv | ||
dz | ||
ee | ||
el | ||
en_AU | ||
en_CA | ||
en_GB | ||
eo | ||
es | ||
et | ||
eu | ||
fa | ||
ff | ||
fi | ||
fil | ||
fj | ||
fo | ||
fr | ||
fr_CA | ||
fy | ||
ga | ||
gd | ||
gl | ||
gu | ||
gv | ||
ha | ||
he | ||
hi | ||
ho | ||
hr | ||
ht | ||
hu | ||
hy | ||
hz | ||
ia | ||
id | ||
ie | ||
ig | ||
ii | ||
ik | ||
io | ||
is | ||
it | ||
iu | ||
ja | ||
jv | ||
ka | ||
kg | ||
ki | ||
kj | ||
kk | ||
kl | ||
km | ||
kn | ||
ko | ||
kr | ||
ks | ||
ku | ||
kv | ||
kw | ||
ky | ||
la | ||
lb | ||
lg | ||
li | ||
ln | ||
lo | ||
lt | ||
lu | ||
lv | ||
mg | ||
mh | ||
mi | ||
mk | ||
ml | ||
mn | ||
mo | ||
mr | ||
ms | ||
mt | ||
my | ||
na | ||
nb | ||
nd | ||
ne | ||
ng | ||
nl | ||
nn | ||
no | ||
nr | ||
nv | ||
ny | ||
oc | ||
oj | ||
om | ||
or | ||
os | ||
pa | ||
pi | ||
pl | ||
ps | ||
pt | ||
pt_BR | ||
qu | ||
rm | ||
rn | ||
ro | ||
ru | ||
rue | ||
rw | ||
sa | ||
sc | ||
sd | ||
se | ||
sg | ||
si | ||
sk | ||
sl | ||
sm | ||
sma | ||
sn | ||
so | ||
sq | ||
sr | ||
sr@latin | ||
ss | ||
st | ||
su | ||
sv | ||
sw | ||
szl | ||
ta | ||
te | ||
tg | ||
th | ||
ti | ||
tk | ||
tl | ||
tn | ||
to | ||
tr | ||
ts | ||
tt | ||
tw | ||
ty | ||
ug | ||
uk | ||
ur | ||
uz | ||
ve | ||
vi | ||
vo | ||
wa | ||
wo | ||
xh | ||
yi | ||
yo | ||
za | ||
zh | ||
zh_CN | ||
zh_HK | ||
zh_TW | ||
zu | ||
aa | ||
ab | ||
gn | ||
an | ||
en_ZA | ||
pap |
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,11 @@ | ||
src/Application.vala | ||
src/Dialog/BtReceiver.vala | ||
src/Dialog/BtScan.vala | ||
src/Dialog/BtSender.vala | ||
src/Dialog/DeviceRow.vala | ||
src/Services/Adapter.vala | ||
src/Services/Device.vala | ||
src/Services/Manager.vala | ||
src/Services/ObexAgent.vala | ||
src/Services/Session.vala | ||
src/Services/Transfer.vala |
Oops, something went wrong.