Patrik:
To eliminate the need for fireglcontrolpanel you would need to modify ati-packager.sh and ATI-fglrx.spec-tmpl.
In the packaging script there should be the following segment of code:
Code:
if [ ! -x ${TMP_RPM_BUILD_DIR}/usr/bin/fireglcontrolpanel ]; then
mkdir ${TMP_RPM_BUILD_DIR}/usr/src/ati/fglrx_panel_sources
pushd ${TMP_RPM_BUILD_DIR}/usr/src/ati/fglrx_panel_sources &> /dev/null
tar xzf ${TMP_RPM_BUILD_DIR}/usr/src/ati/fglrx_panel_sources.tgz
sed -i 's|^LIBQT_DYN = qt$|LIBQT_DYN = qt-mt|' Makefile
sed -i 's|STRIP = strip|STRIP = @echo strip is disabled for:|' Makefile
sed -i 's|BASENAME = fireglcontrol|BASENAME = fireglcontrolpanel|' Makefile
[ -n "$QTDIR" ] || . /etc/profile.d/qt.sh && make &> /dev/null
install -p -m 0755 fireglcontrolpanel ${TMP_RPM_BUILD_DIR}/usr/bin/fireglcontrolpanel
popd &> /dev/null
fi
Delete or comment out all of that. Then in the RPM spec file you can remove references to fireglcontrolpanel.
I haven't tried it out myself, but that should allow the packaging scripts to run without building (or requiring) fireglcontrolpanel.
Also, if you have never modify the packaging scripts before, here is a brief explanation how to do it:
1. With the ATI driver installer file, pass it the --extract argument. This will extract the driver contents to fglrx-install.
2. In fglrx-install/packages/Fedora are the scripts that can be modified.
3. To build with these scripts, from the fglrx-install directly do: ./ati-installer.sh 8.29.6 --buildpkg Fedora/FC6
That should do it.... you could alternatively copy the folder outside the fglrx-install and then simply pass the custom-package location, etc... but the above steps should work out fine for your needs.