Skip to content

Commit a765bb0

Browse files
committed
Fix deb buildpackage
1 parent 4ffdca3 commit a765bb0

5 files changed

Lines changed: 18 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ xtest
1818
.ccls-cache/
1919
test-data/
2020
src/*/.git
21-
debian/files
22-
debian/debhelper-build-stamp
23-
debian/ibus-bamboo*
24-
debian/.debhelper
21+
debian/*
2522
*_linux
2623
*.tar.gz
2724
ibus-engine-*

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ src: clean
6666
tar -zcf $(DESTDIR)/$(tar_file) $(tar_options_src)
6767
cp -f data/$(pkg_name).spec $(DESTDIR)/
6868
cp -f data/$(pkg_name).dsc $(DESTDIR)/
69+
cp -r build/deb debian
6970
cp -f debian/changelog $(DESTDIR)/debian.changelog
7071
cp -f debian/control $(DESTDIR)/debian.control
7172
cp -f debian/compat $(DESTDIR)/debian.compat
@@ -78,7 +79,8 @@ rpm: clean
7879
rpmbuild $(pkg_name).spec -ba
7980

8081
deb: clean
82+
cp -r build/deb debian
8183
dpkg-buildpackage
82-
84+
rm -rf debian
8385

8486
.PHONY: build clean build install uninstall src rpm deb

build/deb/changelog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
ibus-bamboo (0.8.5) stable; urgency=medium
2+
3+
* New upstream release
4+
5+
-- Luong Thanh Lam <ltlam93@gmail.com> Sun, 18 May 2026 06:21:06 +0700
6+
17
ibus-bamboo (0.8.4-2) stable; urgency=medium
28

39
* New upstream release
410

11+
-- Luong Thanh Lam <ltlam93@gmail.com> Sun, 19 May 2024 06:21:06 +0700
12+
513
ibus-bamboo (0.8.4-1) stable; urgency=medium
614

715
* New upstream release

build/deb/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
#
1818
Source: ibus-bamboo
1919
Section: utils
20-
Priority: extra
20+
Priority: optional
2121
Maintainer: Luong Thanh Lam <ltlam93@gmail.com>
2222
Build-Depends: debhelper, golang, libibus-1.0-dev, libx11-dev, libxtst-dev, libgtk-3-dev
2323
Standards-Version: 0.8.4
2424
Homepage: https://github.com/BambooEngine/ibus-bamboo
2525

2626
Package: ibus-bamboo
2727
Architecture: any
28-
Depends: ibus, libgtk-3-0
28+
Depends: ${shlibs:Depends}, ${misc:Depends}, ibus, libgtk-3-0
2929
Description: A Vietnamese IME for IBus using Bamboo Engine.
3030
Bộ gõ tiếng Việt mã nguồn mở hỗ trợ hầu hết các bảng mã thông dụng,
3131
các kiểu gõ tiếng Việt phổ biến, bỏ dấu thông minh, kiểm tra chính tả, gõ tắt,...

build/deb/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@
1919
export GOCACHE = /tmp/.cache
2020
%:
2121
dh $@
22+
23+
# This forces Debhelper to execute: make install DESTDIR=... PREFIX=/usr
24+
override_dh_auto_install:
25+
dh_auto_install -- PREFIX=/usr

0 commit comments

Comments
 (0)