Hello community, here is the log from the commit of package emacs for openSUSE:Factory checked in at Mon Apr 5 18:46:55 CEST 2010. -------- --- emacs/emacs.changes 2010-04-04 15:39:30.000000000 +0200 +++ /mounts/work_src_done/STABLE/emacs/emacs.changes 2010-04-05 18:34:03.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 5 18:32:53 CEST 2010 - ro@suse.de + +- make emacs wrapper script a little more smart + check if default toolkit is installed, else use fallbacks + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ --- /var/tmp/diff_new_pack.Z0GRtA/_old 2010-04-05 18:46:29.000000000 +0200 +++ /var/tmp/diff_new_pack.Z0GRtA/_new 2010-04-05 18:46:29.000000000 +0200 @@ -25,7 +25,7 @@ License: GPLv2+ Group: Productivity/Editors/Emacs Version: 23.1 -Release: 11 +Release: 12 Obsoletes: ge_exec ge_site emac_nox emacmisc emacsbin emacsger emacs-url Mule-UCS emacs-calc erc Requires: emacs-info = %{version} Requires: emacs_program = %{version}-%{release} @@ -457,7 +457,16 @@ #!/bin/bash # Possible values are nox, gtk, or x11 : ${EMACS_TOOLKIT:=gtk} + if test -e ${0}-${EMACS_TOOLKIT} ; then exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"} + elif test -e ${0}-x11 ; then + exec -a ${0} ${0}-x11 ${1+"$@"} + elif test -e ${0}-nox ; then + exec -a ${0} ${0}-nox ${1+"$@"} + else + echo "no emacs binary found" + exit 1 + fi EOF %endif chmod 0755 %{buildroot}/usr/bin/emacs ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org