Set package arches and add missing icon sizes

The dependency on libcpuid14 constrains builds for any architectures but
amd64 and i386. Also, the gbp.conf file had a [git-dch] section that
should've been '[dch]'. Finally, some standard FreeDesktop icon sizes
were absent.

* Declare the architectures for the binary package in debian/control as
  'any-amd64 any-i386'
* Add .png files corresponding to missing icon sizes in pixmaps/ and add
  them to the install and uninstall rules in the corresponding Makefile
* Correct gbp.conf syntax and add several useful sections with optimal
  keys and values

Signed-off-by: Peter J. Mello <admin@petermello.net>
This commit is contained in:
Peter J. Mello 2020-05-10 19:58:12 -07:00
parent f58fcbff32
commit 972743f98c
No known key found for this signature in database
GPG Key ID: A6795034E962FCAB
6 changed files with 47 additions and 4 deletions

2
debian/control vendored
View File

@ -14,7 +14,7 @@ Vcs-Browser: https://github.com/eloaders/I-Nex
Rules-Requires-Root: no
Package: i-nex
Architecture: any
Architecture: any-amd64 any-i386
Depends: libcpuid14, mesa-utils, pastebinit, gambas3-gb-desktop (>= 3.8.4~),
gambas3-gb-desktop-x11, gambas3-gb-form (>= 3.8.4~),
gambas3-gb-image (>= 3.8.4~), gambas3-gb-qt5, gambas3-runtime (>= 3.8.4~),

34
debian/gbp.conf vendored
View File

@ -1,7 +1,35 @@
[DEFAULT]
debian-branch = master
upstream-branch = master
debian-branch = debian
pristine-tar = True
compression = xz
[git-dch]
[buildpackage]
upstream-tree = tag
compression = xz
compression-level = 6e
notify = auto
submodules = True
[clone]
pristine-tar = True
[dch]
meta = True
git-author = True
ignore-regex=(Signed-off|Acked)-by:
[import-orig]
dch = False
filter = [
'.bzr',
'.git',
'debian/*'
]
filter-pristine-tar = True
[pq]
patch-numbers = True
patch-num-format = '%02d-'
[pull]
pristine-tar = True

View File

@ -5,14 +5,23 @@ include ../i-nex.mk
install:
install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps
install --mode=0644 i-nex.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps
install --mode=0644 -T i-nex-128.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/i-nex.png
install --mode=0644 -T i-nex-64.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/i-nex.png
install --mode=0644 -T i-nex-48.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/i-nex.png
install --mode=0644 -T i-nex-32.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/i-nex.png
install --mode=0644 -T i-nex-22.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps/i-nex.png
install --mode=0644 -T i-nex-16.png \
$(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/i-nex.png
@ -21,7 +30,13 @@ uninstall:
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/i-nex.png ; fi
if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/128x128/apps/i-nex.png ; then \
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/i-nex.png ; fi
if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/64x64/apps/i-nex.png ; then \
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/i-nex.png ; fi
if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/48x48/apps/i-nex.png ; then \
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/i-nex.png ; fi
if test -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/i-nex.png ; then \
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/i-nex.png ; fi
if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/22x22/apps/i-nex.png ; then \
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps/i-nex.png ; fi
if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/16x16/apps/i-nex.png ; then \
${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/i-nex.png ; fi

BIN
pixmaps/i-nex-22.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
pixmaps/i-nex-48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
pixmaps/i-nex-64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB