Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
776be59f
Commit
776be59f
authored
Apr 22, 2014
by
AlmAck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lts kernel (3.2.57) group rebuild
parent
187969b0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
56 additions
and
40 deletions
+56
-40
bbswitch-lts/PKGBUILD
bbswitch-lts/PKGBUILD
+5
-6
catalyst-lts/PKGBUILD
catalyst-lts/PKGBUILD
+15
-10
catalyst-lts/ati-compat_alloc_user_space.patch
catalyst-lts/ati-compat_alloc_user_space.patch
+15
-0
dkms-lts/PKGBUILD
dkms-lts/PKGBUILD
+1
-1
madwifi-lts/PKGBUILD
madwifi-lts/PKGBUILD
+10
-13
nvidia-173xx-lts/PKGBUILD
nvidia-173xx-lts/PKGBUILD
+3
-3
nvidia-304xx-lts/PKGBUILD
nvidia-304xx-lts/PKGBUILD
+3
-3
nvidia-lts/PKGBUILD
nvidia-lts/PKGBUILD
+4
-4
No files found.
bbswitch-lts/PKGBUILD
View file @
776be59f
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributor: abveritas@chakra-project.org
_extramodules
=
extramodules-3.2-
CHAKRA-LTS
_extramodules
=
extramodules-3.2-
lts
_kver
=
"
3.2.51-1-lts
"
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
bbswitch-lts
pkgname
=
bbswitch-lts
_pkgname
=
bbswitch
_pkgname
=
bbswitch
pkgver
=
0.
7
pkgver
=
0.
8
pkgrel
=
2
pkgrel
=
1
pkgdesc
=
"kernel module allowing to switch dedicated graphics card on Optimus laptops"
pkgdesc
=
"kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch
=(
'x86_64'
)
arch
=(
'x86_64'
)
url
=(
"http://github.com/Bumblebee-Project/bbswitch"
)
url
=(
"http://github.com/Bumblebee-Project/bbswitch"
)
...
@@ -17,7 +16,7 @@ install=bbswitch.install
...
@@ -17,7 +16,7 @@ install=bbswitch.install
depends
=(
'linux-lts>=3.2'
'linux-lts<3.4'
)
depends
=(
'linux-lts>=3.2'
'linux-lts<3.4'
)
makedepends
=(
'linux-lts'
'linux-lts-headers'
)
makedepends
=(
'linux-lts'
'linux-lts-headers'
)
source
=(
"https://github.com/Bumblebee-Project/bbswitch/archive/v
${
pkgver
}
.tar.gz"
)
source
=(
"https://github.com/Bumblebee-Project/bbswitch/archive/v
${
pkgver
}
.tar.gz"
)
md5sums
=(
'
b9df5ea40109ef9766448a0577c798e6
'
)
md5sums
=(
'
5b116b31ace3604ddf9d1fc1f4bc5807
'
)
build
()
{
build
()
{
cd
${
srcdir
}
/
${
_pkgname
}
-
${
pkgver
}
cd
${
srcdir
}
/
${
_pkgname
}
-
${
pkgver
}
make
KDIR
=
/lib/modules/
${
_kver
}
/build
KVERSION
=
${
_kver
}
make
KDIR
=
/lib/modules/
${
_kver
}
/build
KVERSION
=
${
_kver
}
...
...
catalyst-lts/PKGBUILD
View file @
776be59f
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
_kernver
=
"3.2.51-1-lts"
_extramodules
=
extramodules-3.2-lts
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
catalyst-lts
pkgname
=
catalyst-lts
pkgver
=
13.12
pkgver
=
13.12
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
pkgdesc
=
"AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
arch
=(
'x86_64'
)
arch
=(
'x86_64'
)
url
=
"http://www.ati.amd.com"
url
=
"http://www.ati.amd.com"
...
@@ -22,11 +23,12 @@ source=(http://www2.ati.com/drivers/linux/amd-catalyst-${pkgver}-linux-x86.x86_6
...
@@ -22,11 +23,12 @@ source=(http://www2.ati.com/drivers/linux/amd-catalyst-${pkgver}-linux-x86.x86_6
lano1106_fglrx-13.8_proc.patch
lano1106_fglrx-13.8_proc.patch
arch_3.13_kernel_acpi_node.patch
arch_3.13_kernel_acpi_node.patch
looks_like_amd_forgot_this.patch
looks_like_amd_forgot_this.patch
jammy.patch
# changes taken from http://ati.cchtml.com/show_bug.cgi?id=944#c5
ati-compat_alloc_user_space.patch
jammy.patch
# changes taken from http://ati.cchtml.com/show_bug.cgi?id=944#c5
fglrx_supported
fglrx_supported
switchlibglx
switchlibglx
switchlibGL
)
switchlibGL
)
md5sums
=(
'
2418a94b699fe8fdec01ccd32f684c90
'
md5sums
=(
'
6b16cad1acf7aa4851fa00e43b9e3c1f
'
'660396540b0ceaff71d6155c986734de'
'660396540b0ceaff71d6155c986734de'
'3e1b82bd69774ea808da69c983d6a43b'
'3e1b82bd69774ea808da69c983d6a43b'
'5184b94a2a40216a67996999481dd9ee'
'5184b94a2a40216a67996999481dd9ee'
...
@@ -34,6 +36,7 @@ md5sums=('2418a94b699fe8fdec01ccd32f684c90'
...
@@ -34,6 +36,7 @@ md5sums=('2418a94b699fe8fdec01ccd32f684c90'
'2ab4837233de42332753882445373d7b'
'2ab4837233de42332753882445373d7b'
'25e7c640aeafb08bb5593b647c69cf9b'
'25e7c640aeafb08bb5593b647c69cf9b'
'1c86b8e1d298ed29a7f6da65132620c6'
'1c86b8e1d298ed29a7f6da65132620c6'
'21013e49598edfffa7f37b62b2d6a930'
'3af2f4eca848d595791b8a4adc48a4cc'
'3af2f4eca848d595791b8a4adc48a4cc'
'8bd182de340d6ed8b2dfcedfd3e5a389'
'8bd182de340d6ed8b2dfcedfd3e5a389'
'99032d919ede27884b5c3e87ab110a96'
'99032d919ede27884b5c3e87ab110a96'
...
@@ -66,6 +69,8 @@ build() {
...
@@ -66,6 +69,8 @@ build() {
patch
-Np1
-i
../lano1106_fglrx-13.8_proc.patch
patch
-Np1
-i
../lano1106_fglrx-13.8_proc.patch
patch
-Np1
-i
../arch_3.13_kernel_acpi_node.patch
patch
-Np1
-i
../arch_3.13_kernel_acpi_node.patch
patch
-Np1
-i
../looks_like_amd_forgot_this.patch
patch
-Np1
-i
../looks_like_amd_forgot_this.patch
# https://github.com/herecura/herecura/blob/master/keep-old-system-alive/catalyst-legacy-slk/ati-2.6.36-compat_alloc_user_space.patch
patch
-Np1
-i
../ati-compat_alloc_user_space.patch
cd
"
${
srcdir
}
/archive_files/common/lib/modules/fglrx/build_mod"
cd
"
${
srcdir
}
/archive_files/common/lib/modules/fglrx/build_mod"
cp
"
${
srcdir
}
/archive_files/arch/
${
_archdir
}
/lib/modules/fglrx/build_mod/libfglrx_ip.a"
.
cp
"
${
srcdir
}
/archive_files/arch/
${
_archdir
}
/lib/modules/fglrx/build_mod/libfglrx_ip.a"
.
...
@@ -74,7 +79,7 @@ build() {
...
@@ -74,7 +79,7 @@ build() {
msg
"Compiling fglrx module ..."
msg
"Compiling fglrx module ..."
# Compile module using _ati_check variables
# Compile module using _ati_check variables
make
-C
/lib/modules/
${
_k
ern
ver
}
/build
SUBDIRS
=
"
`
pwd
`
"
ARCH
=
${
BUILDARCH
}
\
make
-C
/lib/modules/
${
_kver
}
/build
SUBDIRS
=
"
`
pwd
`
"
ARCH
=
${
BUILDARCH
}
\
MODFLAGS
=
"-DMODULE -DATI -DFGL -DPAGE_ATTR_FIX=
$PAGE_ATTR_FIX
-DCOMPAT_ALLOC_USER_SPACE=
$COMPAT_ALLOC_USER_SPACE
$def_smp
$def_modversions
"
\
MODFLAGS
=
"-DMODULE -DATI -DFGL -DPAGE_ATTR_FIX=
$PAGE_ATTR_FIX
-DCOMPAT_ALLOC_USER_SPACE=
$COMPAT_ALLOC_USER_SPACE
$def_smp
$def_modversions
"
\
PAGE_ATTR_FIX
=
$PAGE_ATTR_FIX
COMPAT_ALLOC_USER_SPACE
=
$COMPAT_ALLOC_USER_SPACE
modules
PAGE_ATTR_FIX
=
$PAGE_ATTR_FIX
COMPAT_ALLOC_USER_SPACE
=
$COMPAT_ALLOC_USER_SPACE
modules
}
}
...
@@ -85,12 +90,12 @@ package() {
...
@@ -85,12 +90,12 @@ package() {
for
r
in
/lib/modules/
*
;
do
for
r
in
/lib/modules/
*
;
do
s
=
${
r
:13
}
s
=
${
r
:13
}
if
[[
${
s
:0:3
}
=
"ext"
]]
;
then
if
[[
${
s
:0:3
}
=
"ext"
]]
;
then
if
[[
`
cat
${
r
}
/version |
grep
-c
${
_k
ern
ver
}
`
!=
0
]]
;
then
if
[[
`
cat
${
r
}
/version |
grep
-c
${
_kver
}
`
!=
0
]]
;
then
_destidir
=
${
s
}
_destidir
=
${
s
}
sed
-i
-e
"s/EXTRAMODULES=.*/EXTRAMODULES=
${
s
}
/"
$startdir
/catalyst.install
sed
-i
-e
"s/EXTRAMODULES=.*/EXTRAMODULES=
${
s
}
/"
$startdir
/catalyst.install
fi
fi
elif
[[
${
s
}
=
${
_k
ern
ver
}
]]
&&
[[
!
-e
${
r
}
/extramodules
]]
;
then
elif
[[
${
s
}
=
${
_kver
}
]]
&&
[[
!
-e
${
r
}
/extramodules
]]
;
then
_destidir
=
${
_k
ern
ver
}
/video
_destidir
=
${
_kver
}
/video
sed
-i
-e
"s/EXTRAMODULES=.*/EXTRAMODULES=null/"
$startdir
/catalyst.install
sed
-i
-e
"s/EXTRAMODULES=.*/EXTRAMODULES=null/"
$startdir
/catalyst.install
fi
fi
done
done
...
@@ -100,7 +105,7 @@ package() {
...
@@ -100,7 +105,7 @@ package() {
install
-m755
-d
"
${
pkgdir
}
/lib/modules/
${
_destidir
}
/"
install
-m755
-d
"
${
pkgdir
}
/lib/modules/
${
_destidir
}
/"
install
-m644
fglrx.ko
"
${
pkgdir
}
/lib/modules/
${
_destidir
}
/"
install
-m644
fglrx.ko
"
${
pkgdir
}
/lib/modules/
${
_destidir
}
/"
find
"
${
pkgdir
}
"
-name
'*.ko'
-exec
gzip
-9
{}
\;
find
"
${
pkgdir
}
"
-name
'*.ko'
-exec
gzip
-9
{}
\;
sed
-i
-e
"s/KERNEL_VERSION=.*/KERNEL_VERSION=
${
_k
ern
ver
}
/"
$startdir
/catalyst.install
sed
-i
-e
"s/KERNEL_VERSION=.*/KERNEL_VERSION=
${
_kver
}
/"
$startdir
/catalyst.install
# License
# License
install
-m755
-d
"
${
pkgdir
}
/usr/share/licenses/
${
pkgname
}
"
install
-m755
-d
"
${
pkgdir
}
/usr/share/licenses/
${
pkgname
}
"
...
@@ -111,5 +116,5 @@ package() {
...
@@ -111,5 +116,5 @@ package() {
install
-m644
"
${
srcdir
}
/switchlibglx"
"
${
pkgdir
}
/usr/lib/fglrx/"
install
-m644
"
${
srcdir
}
/switchlibglx"
"
${
pkgdir
}
/usr/lib/fglrx/"
install
-m644
"
${
srcdir
}
/switchlibGL"
"
${
pkgdir
}
/usr/lib/fglrx/"
install
-m644
"
${
srcdir
}
/switchlibGL"
"
${
pkgdir
}
/usr/lib/fglrx/"
sed
-i
-e
"s/KERNEL_VERSION=.*/KERNEL_VERSION=
${
_k
ern
ver
}
/"
$startdir
/
*
.install
sed
-i
-e
"s/KERNEL_VERSION=.*/KERNEL_VERSION=
${
_kver
}
/"
$startdir
/
*
.install
}
}
catalyst-lts/ati-compat_alloc_user_space.patch
0 → 100644
View file @
776be59f
--- 13.11/common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2013-11-22 19:52:37.000000000 +0100
+++ 13.11/common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2013-11-25 11:48:51.227678982 +0100
@@ -193,7 +193,11 @@
void ATI_API_CALL KCL_IOCTL_UnregisterCo
*/
void* ATI_API_CALL KCL_IOCTL_AllocUserSpace32(long size)
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+ void __user *ret = arch_compat_alloc_user_space(size);
+#else
void __user *ret = COMPAT_ALLOC_USER_SPACE(size);
+#endif
/* prevent stack overflow */
if (!access_ok(VERIFY_WRITE, ret, size))
dkms-lts/PKGBUILD
View file @
776be59f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
pkgname
=
dkms-lts
pkgname
=
dkms-lts
_pkgname
=
dkms
_pkgname
=
dkms
pkgver
=
2.2.0.3
pkgver
=
2.2.0.3
pkgrel
=
7
pkgrel
=
8
pkgdesc
=
'Dynamic Kernel Modules System'
pkgdesc
=
'Dynamic Kernel Modules System'
arch
=(
'any'
)
arch
=(
'any'
)
url
=
'http://linux.dell.com/dkms/'
url
=
'http://linux.dell.com/dkms/'
...
...
madwifi-lts/PKGBUILD
View file @
776be59f
#
# maintainer almack@chakraos.org
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# Find the kernel name inside the chroot
# Find the kernel name inside the chroot
_extramodules
=
extramodules-3.2-
CHAKRA-LTS
_extramodules
=
extramodules-3.2-
lts
_kver
=
"
3.2.51-1-lts
"
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
madwifi-lts
pkgname
=
madwifi-lts
pkgver
=
0.9.4.418
1
pkgver
=
0.9.4.418
2
_ver
=
r418
1
-201
30909
_ver
=
r418
2
-201
40204
pkgrel
=
7
pkgrel
=
1
pkgdesc
=
"Madwifi drivers for Atheros wireless chipsets"
pkgdesc
=
"Madwifi drivers for Atheros wireless chipsets"
arch
=(
'x86_64'
)
arch
=(
'x86_64'
)
license
=(
'GPL'
)
license
=(
'GPL'
)
...
@@ -19,14 +16,14 @@ depends=('madwifi-utils' 'linux-lts>=3.2' 'linux-lts<3.4')
...
@@ -19,14 +16,14 @@ depends=('madwifi-utils' 'linux-lts>=3.2' 'linux-lts<3.4')
makedepends
=(
'linux-lts-headers'
'sharutils'
)
makedepends
=(
'linux-lts-headers'
'sharutils'
)
install
=
madwifi-ng.install
install
=
madwifi-ng.install
# subversion source: svn checkout http:/madwifi-project.org/svn/madwifi/trunk madwifi
# subversion source: svn checkout http:/madwifi-project.org/svn/madwifi/trunk madwifi
source
=(
http://snapshots.madwifi-project.org/madwifi-
trunk
-current.tar.gz
)
source
=(
http://snapshots.madwifi-project.org/madwifi-
0.9.4
-current.tar.gz
)
#http://downloads.sourceforge.net/madwifi/madwifi-${pkgver}.tar.gz)
#http://downloads.sourceforge.net/madwifi/madwifi-${pkgver}.tar.gz)
md5sums
=(
'
6505f0a18a3115915daf4dba9ddba4fc
'
)
md5sums
=(
'
8c373ac12f551b197586a5bc398bc7a6
'
)
groups
=(
"linux-lts-modules"
)
groups
=(
"linux-lts-modules"
)
build
()
build
()
{
{
cd
madwifi-
trunk
-
$_ver
cd
madwifi-
*
-
$
{
_ver
}
# kernel 3.2 abi change
# kernel 3.2 abi change
sed
-i
-e
"s/.ndo_set_multicast_list/.ndo_set_rx_mode/"
ath/if_ath.c
sed
-i
-e
"s/.ndo_set_multicast_list/.ndo_set_rx_mode/"
ath/if_ath.c
...
@@ -40,7 +37,7 @@ build()
...
@@ -40,7 +37,7 @@ build()
package
()
package
()
{
{
cd
madwifi-
trunk
-
$_ver
cd
madwifi-
*
-
$
{
_ver
}
make
KERNELPATH
=
/lib/modules/
${
_kver
}
/build
KERNELRELEASE
=
${
_kver
}
modules
\
make
KERNELPATH
=
/lib/modules/
${
_kver
}
/build
KERNELRELEASE
=
${
_kver
}
modules
\
DESTDIR
=
"
${
pkgdir
}
"
KERNELRELEASE
=
${
_kver
}
install-modules
DESTDIR
=
"
${
pkgdir
}
"
KERNELRELEASE
=
${
_kver
}
install-modules
sed
-i
-e
"s/EXTRAMODULES='.*'/EXTRAMODULES='
${
_extramodules
}
'/"
${
startdir
}
/
*
.install
sed
-i
-e
"s/EXTRAMODULES='.*'/EXTRAMODULES='
${
_extramodules
}
'/"
${
startdir
}
/
*
.install
...
...
nvidia-173xx-lts/PKGBUILD
View file @
776be59f
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
# contributor abveritas@chakra-project.org
# contributor abveritas@chakra-project.org
# Find the kernel name inside the chroot
# Find the kernel name inside the chroot
_extramodules
=
extramodules-3.2-
CHAKRA-LTS
_extramodules
=
extramodules-3.2-
lts
_kver
=
"
3.2.51-1-lts
"
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
nvidia-173xx-lts
pkgname
=
nvidia-173xx-lts
pkgver
=
173.14.39
pkgver
=
173.14.39
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"NVIDIA drivers for linux - LTS package"
pkgdesc
=
"NVIDIA drivers for linux - LTS package"
arch
=(
'x86_64'
)
arch
=(
'x86_64'
)
url
=
"http://www.nvidia.com/"
url
=
"http://www.nvidia.com/"
...
...
nvidia-304xx-lts/PKGBUILD
View file @
776be59f
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Find the kernel name inside the chroot
# Find the kernel name inside the chroot
_extramodules
=
extramodules-3.2-
CHAKRA-LTS
_extramodules
=
extramodules-3.2-
lts
_kver
=
"
3.2.51-1-lts
"
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
nvidia-304xx-lts
pkgname
=
nvidia-304xx-lts
pkgver
=
304.117
pkgver
=
304.117
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"NVIDIA drivers for linux."
pkgdesc
=
"NVIDIA drivers for linux."
arch
=(
'x86_64'
)
arch
=(
'x86_64'
)
url
=
"http://www.nvidia.com/"
url
=
"http://www.nvidia.com/"
...
...
nvidia-lts/PKGBUILD
View file @
776be59f
# maintainer abveritas@chakra-project.org
# maintainer abveritas@chakra-project.org
# Find the kernel name inside the chroot
# Find the kernel name inside the chroot
_extramodules
=
extramodules-3.2-
CHAKRA-LTS
_extramodules
=
extramodules-3.2-
lts
_kver
=
"
3.2.51-1-lts
"
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
nvidia-lts
pkgname
=
nvidia-lts
pkgver
=
331.
20
pkgver
=
331.
38
pkgrel
=
1
pkgrel
=
1
pkgdesc
=
"NVIDIA drivers for linux."
pkgdesc
=
"NVIDIA drivers for linux."
arch
=(
'x86_64'
)
arch
=(
'x86_64'
)
...
@@ -17,7 +17,7 @@ license=('custom')
...
@@ -17,7 +17,7 @@ license=('custom')
install
=
nvidia.install
install
=
nvidia.install
_pkg
=
"NVIDIA-Linux-
${
_arch
}
-
${
pkgver
}
-no-compat32"
_pkg
=
"NVIDIA-Linux-
${
_arch
}
-
${
pkgver
}
-no-compat32"
source
=(
"http://us.download.nvidia.com/XFree86/Linux-
${
_arch
}
/
${
pkgver
}
/
${
_pkg
}
.run"
)
source
=(
"http://us.download.nvidia.com/XFree86/Linux-
${
_arch
}
/
${
pkgver
}
/
${
_pkg
}
.run"
)
md5sums
=(
'
28295eed56c2ca996401c0093279620f
'
)
md5sums
=(
'
f2059ae373665cb6c8fb826e1173b04d
'
)
build
()
{
build
()
{
cd
"
${
srcdir
}
"
cd
"
${
srcdir
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment