diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-27 07:27:16 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:35 -0500 |
commit | f37bbbc550f5394ccd333f4b0f38574b91cde231 (patch) | |
tree | cf99d951c05e6a157399051d002aa2e2ead52223 | |
parent | 5df0862d4362d0d3f449c865d9daef03778ec0be (diff) | |
download | slackbuilds-f37bbbc550f5394ccd333f4b0f38574b91cde231.tar.gz |
academic/gchemutils: Fixed (handle gconf schema)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | academic/gchemutils/doinst.sh | 12 | ||||
-rw-r--r-- | academic/gchemutils/gchemutils.SlackBuild | 6 |
2 files changed, 15 insertions, 3 deletions
diff --git a/academic/gchemutils/doinst.sh b/academic/gchemutils/doinst.sh index 72031609d0..610c163a43 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 eaff49d475..00ee431816 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 |