1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix dconf-editor at run-time.

Submitted by:	Eric Turgeon
Obtained from:	GNOME dev repo, patch from dconf upstream
This commit is contained in:
Koop Mast 2013-08-29 21:24:04 +00:00
parent c134e85271
commit 80df0689f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325634
3 changed files with 37 additions and 7 deletions

View File

@ -3,7 +3,7 @@
# $MCom: ports/trunk/devel/dconf-editor/Makefile 18422 2013-05-06 11:04:38Z kwm $
PORTNAME= dconf
PORTREVISION= 0
PORTREVISION= 1
PKGNAMESUFFIX= -editor
COMMENT= configuration editor for dconf

View File

@ -1,6 +1,6 @@
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/devel/dconf/Makefile 18634 2013-07-26 10:42:35Z kwm $
# $MCom: ports/trunk/devel/dconf/Makefile 18669 2013-08-29 21:14:12Z kwm $
PORTNAME?= dconf
PORTVERSION= 0.14.1
@ -11,12 +11,11 @@ DISTNAME= dconf-${PORTVERSION}
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= A configuration database system for GNOME
COMMENT= Configuration database system for GNOME
BUILD_DEPENDS= vala>=0.18.1:${PORTSDIR}/lang/vala \
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
USE_XZ= yes
USES= gettext gmake pathfix pkgconfig
@ -33,7 +32,7 @@ DCONF_SLAVE?= no
USE_GNOME+= gtk30
INSTALLS_ICONS= yes
GLIB_SCHEMAS= ca.desrt.dconf-editor.gschema.xml
LIB_DEPENDS+= dconf:${PORTSDIR}/devel/dconf
LIB_DEPENDS+= libdconf.so:${PORTSDIR}/devel/dconf
.else
CONFIGURE_ARGS+=--disable-editor
.endif
@ -56,7 +55,7 @@ post-patch:
${WRKSRC}/client/Makefile.in \
${WRKSRC}/editor/Makefile.in
pre-build:
#pre-build:
# ${GMAKE} -C ${WRKSRC}/client dconf-client.c libdconf.so.0
# ${GMAKE} -C ${WRKSRC}/dbus-1 dconf-dbus-1.c libdconf-dbus-1.so.0

View File

@ -0,0 +1,31 @@
--- editor/ca.desrt.dconf-editor.gschema.xml.orig 2013-08-29 22:55:54.000000000 +0200
+++ editor/ca.desrt.dconf-editor.gschema.xml 2013-08-29 23:08:00.000000000 +0200
@@ -1,20 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain='dconf'>
<schema id="ca.desrt.dconf-editor.Settings" path="/ca/desrt/dconf-editor/">
- <key name="width" type="i">
+ <key name="window-width" type="i">
<default>800</default>
<summary>The width of the window</summary>
<description>The width of the main window in pixels.</description>
</key>
- <key name="height" type="i">
+ <key name="window-height" type="i">
<default>600</default>
<summary>The height of the window</summary>
<description>The height of the main window in pixels.</description>
</key>
- <key name="maximized" type="b">
+ <key name="window-is-maximized" type="b">
<default>false</default>
<summary>A flag to enable maximized mode</summary>
<description>A flag to enable maximized mode</description>
</key>
+ <key name="window-is-fullscreen" type="b">
+ <default>false</default>
+ <summary>A flag to enable fullscreen mode</summary>
+ <description>A flag to enable fullscreen mode</description>
+ </key>
</schema>
</schemalist>