aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/gchemutils/doinst.sh12
-rw-r--r--academic/gchemutils/gchemutils.SlackBuild6
2 files changed, 15 insertions, 3 deletions
diff --git a/academic/gchemutils/doinst.sh b/academic/gchemutils/doinst.sh
index 72031609d0dbc..610c163a43dcd 100644
--- a/academic/gchemutils/doinst.sh
+++ b/academic/gchemutils/doinst.sh
@@ -1,3 +1,11 @@
+schema_install() {
+ SCHEMA="$1"
+ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+ chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/$SCHEMA \
+ 1>/dev/null
+}
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -14,3 +22,7 @@ fi
chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null
+schema_install gchemutils.schemas
+schema_install gcrystal.schemas
+schema_install gchempaint.schemas
+schema_install gchempaint-arrows.schemas
diff --git a/academic/gchemutils/gchemutils.SlackBuild b/academic/gchemutils/gchemutils.SlackBuild
index eaff49d475744..00ee43181638d 100644
--- a/academic/gchemutils/gchemutils.SlackBuild
+++ b/academic/gchemutils/gchemutils.SlackBuild
@@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=gchemutils
+PRGNAM=gchemutils
VERSION=${VERSION:-0.12.12}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
SRCNAM=gnome-chemistry-utils
MOZILLA=${MOZILLA:-YES} # Build the Mozilla plugin