[Bug 1658153] Review Request: wdune - wdune (white_dune) is a graphical VRML97/X3D editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1658153



--- Comment #44 from Petr Menšík <pemensik@xxxxxxxxxx> ---
I think I found possible improvement for default programs support.
I think runtime detection is required, compile-time detection of supported
programs is far from user-friendly.

Script, lets say named wdune-sound-editor could be set by default into
configure. It could contain something like:

#!/bin/sh

KNOWN_SOUND_EDITORS="audacity rezound wavesurfer gnusound sweep soundeditor"
FOUND=
for APP in ${KNOWN_SOUND_EDITORS}; do
        FOUND="`command -v $APP`"
        if test -n "$FOUND"
        then
                $FOUND $@
                exit $?
        fi
done

if test -z "$FOUND"
then
        echo "ERROR: No supported editor was found!" 2>&1
        exit 1
fi


It would run first program in list, similar to configure script. But would not
require reconfiguration when editors available are changed. EDITORS could be
initialized by configure variables if required.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux