1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

gnome.mk: fix usage of GLIB_SCHEMAS in five ports

Glib schema files should be registered using the GLIB_SCHEMAS
variable provided by gnome.mk. This will add them and additionally
the required glib-schemas keyword to the plist.

The following ports were touched:

 * deskutils/foliate
 * deskutils/gnome-tweaks
 * deskutils/maliit-keyboard
 * games/swell-foop
 * textproc/ibus-m17n
This commit is contained in:
Tobias C. Berner 2021-08-27 16:44:47 +02:00
parent edc1905c12
commit 421153ecce
10 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= foliate
PORTVERSION= 2.6.3
PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= fox@FreeBSD.org
@ -15,6 +16,7 @@ RUN_DEPENDS= gjs-console:lang/gjs
USES= desktop-file-utils gnome localbase meson python:3.6+ shebangfix
USE_GNOME= cairo gtk30 introspection
GLIB_SCHEMAS= com.github.johnfactotum.Foliate.gschema.xml
INSTALLS_ICONS= yes
@ -29,8 +31,6 @@ NLS_USES= gettext
USE_GITHUB= yes
GH_ACCOUNT= johnfactotum
GLIB_SCHEMAS= com.github.johnfactotum.Foliate.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's/@PYTHON_VERSION@/${PYTHON_VERSION}/g' \
${WRKSRC}/src/epubView.js

View File

@ -45,7 +45,6 @@ share/com.github.johnfactotum.Foliate/assets/libarchivejs/libarchivejs-1.3.0/src
share/com.github.johnfactotum.Foliate/assets/libarchivejs/main.js
share/com.github.johnfactotum.Foliate/com.github.johnfactotum.Foliate.data.gresource
share/com.github.johnfactotum.Foliate/com.github.johnfactotum.Foliate.src.gresource
share/glib-2.0/schemas/com.github.johnfactotum.Foliate.gschema.xml
share/icons/hicolor/scalable/apps/com.github.johnfactotum.Foliate.svg
share/icons/hicolor/symbolic/apps/com.github.johnfactotum.Foliate-symbolic.svg
share/locale/cs/LC_MESSAGES/com.github.johnfactotum.Foliate.mo

View File

@ -2,6 +2,7 @@
PORTNAME= gnome-tweaks
PORTVERSION= 40.0
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
@ -21,6 +22,7 @@ RUN_DEPENDS= gnome-shell>=3.28:x11/gnome-shell \
USES= gettext gnome localbase meson pkgconfig python:3.4+ shebangfix \
tar:xz
USE_GNOME= gtk30 nautilus3 pygobject3
GLIB_SCHEMAS= org.gnome.tweaks.gschema.xml
SHEBANG_FILES= gnome-tweak-tool-lid-inhibitor gnome-tweaks \
meson-postinstall.py
BINARY_ALIAS= python3=${PYTHON_VERSION}

View File

@ -73,7 +73,6 @@ bin/gnome-tweaks
%%PYTHON_SITELIBDIR%%/gtweak/widgets.py
libexec/gnome-tweak-tool-lid-inhibitor
share/applications/org.gnome.tweaks.desktop
share/glib-2.0/schemas/org.gnome.tweaks.gschema.xml
%%DATADIR%%/shell.css
%%DATADIR%%/shell.ui
share/icons/hicolor/scalable/apps/org.gnome.tweaks.svg

View File

@ -1,5 +1,6 @@
PORTNAME= keyboard
DISTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= deskutils kde
PKGNAMEPREFIX= maliit-
@ -16,6 +17,7 @@ USES= cmake gettext-runtime gnome pkgconfig qt:5
USE_GITHUB= yes
GH_ACCOUNT= maliit
USE_GNOME= glib20
GLIB_SCHEMAS= org.maliit.keyboard.maliit.gschema.xml
USE_QT= core dbus declarative gui multimedia network \
buildtools_build qmake_build
CMAKE_OFF= enable-tests

View File

@ -271,7 +271,6 @@ share/doc/maliit-keyboard/COPYING
share/doc/maliit-keyboard/COPYING.BSD
share/doc/maliit-keyboard/COPYING.CC-BY
share/doc/maliit-keyboard/README.md
share/glib-2.0/schemas/org.maliit.keyboard.maliit.gschema.xml
share/maliit/keyboard2/devices/default.json
share/maliit/keyboard2/devices/tablet.json
share/maliit/keyboard2/icons/erase.png

View File

@ -2,6 +2,7 @@
PORTNAME= swell-foop
PORTVERSION= 40.1
PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome
@ -23,6 +24,7 @@ PORTSCOUT= limitw:1,even
USES= gettext gnome localbase meson pkgconfig python:3.6+,build \
tar:xz
USE_GNOME= gtk30
GLIB_SCHEMAS= org.gnome.SwellFoop.gschema.xml
INSTALLS_ICONS= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}

View File

@ -1,7 +1,6 @@
bin/swell-foop
share/applications/org.gnome.SwellFoop.desktop
share/dbus-1/services/org.gnome.SwellFoop.service
share/glib-2.0/schemas/org.gnome.SwellFoop.gschema.xml
share/help/C/swell-foop/figures/logo.png
share/help/C/swell-foop/figures/start-game.png
share/help/C/swell-foop/index.page

View File

@ -2,6 +2,7 @@
PORTNAME= ibus-m17n
DISTVERSION= 1.4.7
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org
@ -24,6 +25,7 @@ GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= ibus
USE_GNOME= glib20 gtk20 atk gdkpixbuf2 cairo pango intltool
GLIB_SCHEMAS= org.freedesktop.ibus.engine.m17n.gschema.xml
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes

View File

@ -1,7 +1,6 @@
libexec/ibus-engine-m17n
libexec/ibus-setup-m17n
share/applications/ibus-setup-m17n.desktop
share/glib-2.0/schemas/org.freedesktop.ibus.engine.m17n.gschema.xml
%%DATADIR%%/default.xml
%%DATADIR%%/icons/ibus-m17n.svg
%%DATADIR%%/setup/ibus-m17n-preferences.ui