Skip to content

Commit

Permalink
Only build packages for gir files included in the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Apr 4, 2024
1 parent eaaa535 commit c3656e6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 41 deletions.
45 changes: 44 additions & 1 deletion .ts-for-gir.all.rc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
export default {
modules: ['*'],
girDirectories: ['./vala-girs/gir-1.0', './girs'],
girDirectories: [

// General gir files in this repository
'./vala-girs/gir-1.0',
'./girs',

// General gir files installed on the system
"/usr/local/share/gir-1.0",
"/usr/share/gir-1.0",

// GNOME Shell gir file (package: gnome-shell-common / gnome-shell)
'/usr/share/gnome-shell',
'/usr/share/gnome-shell/gir-1.0',

// GNOME Shell gir file dependencies on Fedora Workstation 36 (package: mutter)
'/usr/lib64/mutter-10',

// GNOME Shell gir file dependencies on Fedora Workstation 37 (package: mutter)
'/usr/lib64/mutter-11',

// GNOME Shell gir file dependencies on Fedora Workstation 38 (package: mutter)
'/usr/lib64/mutter-12',

// GNOME Shell gir file dependencies on Fedora Workstation 39 (package: mutter)
'/usr/lib64/mutter-13',

// Wait for release...
'/usr/lib64/mutter-14',

// GNOME Shell gir file dependencies on Ubuntu 22.04 (package: libmutter-10-dev)
'/usr/lib/x86_64-linux-gnu/mutter-10',

// GNOME Shell gir file dependencies on Ubuntu 22.10 (package: libmutter-11-dev)
'/usr/lib/x86_64-linux-gnu/mutter-11',

// GNOME Shell gir file dependencies on Ubuntu 23.04 (package: libmutter-12-dev)
'/usr/lib/x86_64-linux-gnu/mutter-12',

// GNOME Shell gir file dependencies on Ubuntu 23.10 (package: libmutter-13-dev)
'/usr/lib/x86_64-linux-gnu/mutter-13',

// GNOME Shell gir file dependencies on Ubuntu package: libmutter-14-dev) and GNOME OS
'/usr/lib/x86_64-linux-gnu/mutter-14',
],
ignoreVersionConflicts: true,
promisify: true,
packageYarn: true,
Expand Down
41 changes: 1 addition & 40 deletions .ts-for-gir.packages-all.rc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,9 @@ export default {
outdir: './types',
modules: ['*'],
girDirectories: [

// General gir files in this repository
'./vala-girs/gir-1.0',
'./girs',

// General gir files installed on the system
"/usr/local/share/gir-1.0",
"/usr/share/gir-1.0",

// GNOME Shell gir file (package: gnome-shell-common / gnome-shell)
'/usr/share/gnome-shell',
'/usr/share/gnome-shell/gir-1.0',

// GNOME Shell gir file dependencies on Fedora Workstation 36 (package: mutter)
'/usr/lib64/mutter-10',

// GNOME Shell gir file dependencies on Fedora Workstation 37 (package: mutter)
'/usr/lib64/mutter-11',

// GNOME Shell gir file dependencies on Fedora Workstation 38 (package: mutter)
'/usr/lib64/mutter-12',

// GNOME Shell gir file dependencies on Fedora Workstation 39 (package: mutter)
'/usr/lib64/mutter-13',

// Wait for release...
'/usr/lib64/mutter-14',

// GNOME Shell gir file dependencies on Ubuntu 22.04 (package: libmutter-10-dev)
'/usr/lib/x86_64-linux-gnu/mutter-10',

// GNOME Shell gir file dependencies on Ubuntu 22.10 (package: libmutter-11-dev)
'/usr/lib/x86_64-linux-gnu/mutter-11',

// GNOME Shell gir file dependencies on Ubuntu 23.04 (package: libmutter-12-dev)
'/usr/lib/x86_64-linux-gnu/mutter-12',

// GNOME Shell gir file dependencies on Ubuntu 23.10 (package: libmutter-13-dev)
'/usr/lib/x86_64-linux-gnu/mutter-13',

// GNOME Shell gir file dependencies on Ubuntu package: libmutter-14-dev) and GNOME OS
'/usr/lib/x86_64-linux-gnu/mutter-14',
'./vala-girs/gir-1.0',
],
ignore: [
'Colorhug-1.0', // Duplicate of ColorHug-1.0
Expand Down

0 comments on commit c3656e6

Please sign in to comment.