Commit 186adf97 authored by Anke's avatar Anke

adding missing bin to amd-ucode, start of update of catalystpxp

parent 3253018f
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=amd-ucode
_realver=2012-09-10
pkgver=${_realver//-/\.}
pkgrel=1
pkgrel=2
pkgdesc="Microcode update files for AMD family 10h, 11h, 14h and 15h CPUs"
arch=('any')
license=('custom')
url="http://www.amd64.org/support/microcode.html"
source=(http://www.amd64.org/pub/microcode/amd-ucode-${_realver}.tar
http://www.amd64.org/pub/microcode/amd-ucode-${_realver}.tar.asc)
sha256sums=('21845c6cafa99704cdf4862b55e899ca88ed432d57f4d09ad6a5c3d2e186b718'
'bd101b87b53394ce8f78da2588fdf91453b20931ce1b852f67a610cb9c63c73d')
#source=(http://www.amd64.org/pub/microcode/amd-ucode-${_realver}.tar
# http://www.amd64.org/pub/microcode/amd-ucode-${_realver}.tar.asc)
source=(http://pkgs.fedoraproject.org/repo/pkgs/microcode_ctl/amd-ucode-2012-09-10.tar/559bc355d3799538584add80df2996f0/amd-ucode-2012-09-10.tar)
#sha256sums=('21845c6cafa99704cdf4862b55e899ca88ed432d57f4d09ad6a5c3d2e186b718'
# 'bd101b87b53394ce8f78da2588fdf91453b20931ce1b852f67a610cb9c63c73d')
md5sums=('559bc355d3799538584add80df2996f0')
package() {
cd "${srcdir}"/${pkgname}-${_realver}
install -D -m644 microcode_amd.bin "${pkgdir}"/usr/lib/firmware/amd-ucode/microcode_amd.bin
install -D -m644 microcode_amd_fam15h.bin "${pkgdir}"/usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin
install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
\ No newline at end of file
......@@ -4,38 +4,30 @@
# maintainer abveritas@chakra-project.org
pkgname=catalystpxp-utils
pkgver=12.6
pkgver=13.1
pkgrel=1
pkgdesc="AMD/ATI Catalyst drivers utilities and libraries. (with powerXpress support - experimental)"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.ati.amd.com"
license=('custom')
depends=('xorg-server>=1.11.0' 'xorg-server<1.13.0' 'netkit-bsd-finger' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs')
optdepends=('qt: to run ATi Catalyst Control Center (amdcccle)'
'libxxf86vm: to run ATi Catalyst Control Center (amdcccle)')
if [ "${CARCH}" = "x86_64" ]; then
conflicts=('catalyst-testing' 'nvidia-utils' 'catalyst-utils' 'lib32-catalyst-utils' 'lib32-catalystpxp-utils')
provides=('libgl' "libatical=${pkgver}" "catalyst-utils=${pkgver}" "lib32-catalystpxp-utils=${pkgver}")
else
conflicts=('catalyst-testing' 'nvidia-utils' 'catalyst-utils')
provides=('libgl' "libatical=${pkgver}" "catalyst-utils=${pkgver}")
fi
conflicts=('catalyst-testing' 'nvidia-utils' 'catalyst-utils' 'lib32-catalyst-utils' 'lib32-catalystpxp-utils')
provides=('libgl' "libatical=${pkgver}" "catalyst-utils=${pkgver}" "lib32-catalystpxp-utils=${pkgver}")
install=catalyst-utils.install
source=(
http://www2.amd.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.run
lib32-catalyst.sh
lib32-catalystpxp.sh
catalyst.sh
amdcccle.desktop
atieventsd.sh
switchlibGL
switchlibglx
catalystpxp.sh
20-catalystpxp.conf
pxp_switch_catalyst)
md5sums=('6bd4f0875202390ed7122696db29be77'
source=(http://www2.amd.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.run
'lib32-catalyst.sh'
'lib32-catalystpxp.sh'
'catalyst.sh'
'amdcccle.desktop'
'atieventsd.sh'
'switchlibGL'
'switchlibglx'
'catalystpxp.sh'
'20-catalystpxp.conf'
'pxp_switch_catalyst')
md5sums=('2bd5e4789a16b0fc857e68d10478c598'
'af7fb8ee4fc96fd54c5b483e33dc71c4'
'a6f2f8c17484624ab36fc3c820bbcb4f'
'bdafe749e046bfddee2d1c5e90eabd83'
......@@ -55,7 +47,7 @@ build() {
package() {
##catalyst-utils section
## Install userspace tools and libraries
# Create directories
# Create directories
install -m755 -d "${pkgdir}/etc/ati"
install -m755 -d "${pkgdir}/etc/rc.d"
install -m755 -d "${pkgdir}/etc/profile.d"
......@@ -81,26 +73,17 @@ package() {
install -m755 -d "${pkgdir}/usr/share/man/man8"
install -m755 -d "${pkgdir}/usr/share/pixmaps"
# X.org driver
if [ "${CARCH}" = "i686" ]; then
cd "${srcdir}/archive_files/xpic/usr/X11R6/lib/modules" || return 1
elif [ "${CARCH}" = "x86_64" ]; then
# X.org driver
cd "${srcdir}/archive_files/xpic_64a/usr/X11R6/lib64/modules" || return 1
fi
install -m755 *.so "${pkgdir}/usr/lib/xorg/modules/" || return 1 # since 11.5
install -m755 drivers/*.so "${pkgdir}/usr/lib/xorg/modules/drivers/" || return 1 # since 11.5
install -m755 linux/*.so "${pkgdir}/usr/lib/xorg/modules/linux/" || return 1 # since 11.5
install -m755 extensions/fglrx/fglrx-libglx.so "${pkgdir}/usr/lib/xorg/modules/updates/extensions/fglrx/fglrx-libglx.so" || return 1 # since 11.5
# Controlcenter / libraries
if [ "${CARCH}" = "i686" ]; then
cd "${srcdir}/archive_files/arch/x86/usr" || return 1
_lib=lib
elif [ "${CARCH}" = "x86_64" ]; then
# Controlcenter / libraries
cd "${srcdir}/archive_files/arch/x86_64/usr" || return 1
_lib=lib64
fi
install -m755 X11R6/bin/* "${pkgdir}/usr/bin/" || return 1
install -m755 sbin/* "${pkgdir}/usr/sbin/" || return 1
......@@ -143,21 +126,21 @@ package() {
install -m644 usr/share/man/man8/*.8 "${pkgdir}/usr/share/man/man8/" || return 1
install -m644 "${srcdir}/amdcccle.desktop" "${pkgdir}/usr/share/applications/" || return 1
# ACPI example files
# ACPI example files
install -m755 usr/share/doc/fglrx/examples/etc/acpi/*.sh "${pkgdir}/etc/acpi/" || return 1
sed -i -e 's/usr\/X11R6/usr/g' "${pkgdir}/etc/acpi/ati-powermode.sh" || return 1
install -m644 usr/share/doc/fglrx/examples/etc/acpi/events/* "${pkgdir}/etc/acpi/events/" || return 1
# Add ATI Events Daemon launcher
# Add ATI Events Daemon launcher
install -m755 "${srcdir}/atieventsd.sh" "${pkgdir}/etc/rc.d/atieventsd" || return 1
# thanks to cerebral, we dont need that damned symlink
# thanks to cerebral, we dont need that damned symlink
install -m755 "${srcdir}/catalyst.sh" "${pkgdir}/etc/profile.d/" || return 1
# License
# License
install -m644 "${srcdir}/archive_files/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
# powerXpress
# powerXpress
install -m755 -d "${pkgdir}/usr/${_lib}/fglrx/"
install -m755 "${srcdir}/switchlibGL" "${pkgdir}/usr/${_lib}/fglrx/" || return 1
install -m755 "${srcdir}/switchlibglx" "${pkgdir}/usr/${_lib}/fglrx/" || return 1
......@@ -169,8 +152,7 @@ package() {
# switching script: switch xorg.conf + aticonfig --px-Xgpu + switchlibGL + add/remove fglrx into MODULES
install -m755 "${srcdir}/pxp_switch_catalyst" "${pkgdir}/usr/bin" || return 1
##lib32-catalystpxp-utils section
if [ "${CARCH}" = "x86_64" ]; then
cd ${srcdir}
cd ${srcdir}
install -D -m755 lib32-catalyst.sh ${pkgdir}/etc/profile.d/lib32-catalyst.sh || return 1
install -D -m755 lib32-catalystpxp.sh ${pkgdir}/etc/profile.d/lib32-catalystpxp.sh || return 1
# Install lib32 libraries
......@@ -194,5 +176,4 @@ package() {
ln -sf libXvBAW.so.1.0 libXvBAW.so.1 || return 1
ln -sf libatiuki.so.1.0 libatiuki.so.1 || return 1
ln -sf libatiuki.so.1.0 libatiuki.so || return 1
fi
}
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
ATID_PID=`pidof -o %PPID /usr/sbin/atieventsd`
case "$1" in
start)
rc=0
stat_busy "Starting ATI Events Daemon"
[ -z "$ATID_PID" ] && /usr/sbin/atieventsd
rc=$(($rc+$?))
if [ $rc -gt 0 ]; then
stat_fail
else
add_daemon atieventsd
stat_done
fi
;;
stop)
rc=0
stat_busy "Stopping ATI Events Daemon"
kill $ATID_PID &>/dev/null
rc=$(($rc+$?))
if [ $rc -gt 0 ]; then
stat_fail
else
rm_daemon atieventsd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
whisperer(){
echo "----------------------------------------------------------------"
echo "You can use the tool 'aticonfig' to generate an xorg.conf file."
echo "--------------------- ^^^^^^^^^ --------------------------------"
echo "Add nomodeset to your kernel line in /boot/grub/grub.cfg , ie.:"
echo "ernel /boot/vmlinuz-linux root=/dev/sda1 ro nomodeset"
echo "----------------------------------------------------------------"
......@@ -14,9 +11,6 @@ whisperer(){
echo "[as root] use this command:"
echo "# pxp_switch_catalyst <amd|intel|query>"
echo "----------------------------------------------------------------"
echo "For more info and more troubleshooting visit:"
echo "http://chakra-linux.org/wiki/index.php/Switching_Between_Free_and_Non-free_Video-Drivers"
echo "----------------------------------------------------------------"
}
check_libdri_so(){
......@@ -26,16 +20,9 @@ check_libdri_so(){
}
#pXp = powerXpress, set catalyst libs in default
pXp_set_to_amd(){
CARCH=`uname -m`
if [ "${CARCH}" = "i686" ]; then
_lib=lib
elif [ "${CARCH}" = "x86_64" ]; then
_lib=lib64
fi
usr/${_lib}/fglrx/switchlibGL amd
usr/${_lib}/fglrx/switchlibglx amd
pXp_set_to_amd(){
usr/lib64/fglrx/switchlibGL amd
usr/lib64/fglrx/switchlibglx amd
}
post_install(){
......@@ -60,8 +47,4 @@ post_remove(){
rm usr/lib/xorg/modules/updates/extensions/libglx.so &>/dev/null
rmdir -p "usr/lib/xorg/modules/updates/extensions" --ignore-fail-on-non-empty &>/dev/null
rmdir -p "usr/lib/xorg/modules/updates" --ignore-fail-on-non-empty &>/dev/null
echo "----------------------------------------------------------------"
echo " Don't forget to recover your original xorg.conf file."
echo "----------------------------------------------------------------"
}
......@@ -5,26 +5,28 @@
pkgbase=qt5
pkgname=('qt5' 'qt5-private-headers')
pkgver=5.0.1
_pkgver=5.0.1
pkgrel=3
pkgver=5.0.1.1
_pkgver=5.0.1.1
pkgrel=1
arch=('x86_64')
url='http://qt.nokia.com/'
license=('GPL3' 'LGPL')
makedepends=('libtiff' 'libpng' 'libmng' 'sqlite3' 'ca-certificates' 'glib2' 'dbus'
'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib' 'icu'
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'mesa' 'postgresql-libs'
'mysql' 'unixodbc' 'cups' 'libxinerama' 'libxcursor' 'python2' 'gperf' 'ruby'
'mariadb' 'unixodbc' 'cups' 'libxinerama' 'libxcursor' 'python2' 'gperf' 'ruby'
'xcb-util-image' 'xcb-util-keysyms' 'xcb-util-renderutil' 'xcb-util-wm' 'pulseaudio'
'gstreamer0.10' 'gstreamer0.10-base' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins'
'gstreamer0.10-bad-plugins' 'gstreamer0.10-ffmpeg' 'gstreamer0.10-ugly-plugins')
options=('!libtool')
_pkgfqn="qt-everywhere-opensource-src-${_pkgver}"
source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/single/qt-everywhere-opensource-src-${_pkgver}.tar.xz"
#_pkgfqn="qt-everywhere-opensource-src-${_pkgver}"
_pkgfqn=qt5
source=("${pkgname}.tar.xz"
#"http://origin.releases.qt-project.org/qt5/${_pkgver}/single/qt-everywhere-opensource-src-${_pkgver}.tar.xz"
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qtconfig.desktop'
'youtubeview.desktop' 'flickrview.desktop' 'browser.desktop' 'fancybrowser.desktop' 'qmlviewer.desktop'
'defaultbookmarks_new.diff')
md5sums=('00a577bd88e682d1b4d01d41d1d699cf'
md5sums=('96a54524c1fa7ecccc114dc6e848717a'
'fc211414130ab2764132e7370f8e5caa'
'85179f5e0437514f8639957e1d8baf62'
'f11852b97583610f3dbb669ebc3e21bc'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment