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

Re: ATI driver



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Step 3 : Upgrade the package with an upstream (ATI) release.
- ------------------------------------------------------------

We are going to update the package to 11-5 from ATI.

$ cd ~/fglrx-driver-debian-package/fglrx-driver-11-4

$ DEB_BUILD_OPTIONS='VER=11-5' debian/rules get-orig-source
******************** BEGIN OUTPUT ********************
# This target needs DEB_BUILD_OPTIONS to contain the version specification
# in the following form: VER=some.version.number
(if [ -z "11-5" ] ; \
	 then \
	  echo "Version not defined" ; \
	  exit 1 ; \
	 fi)
# If dpkg-parsechangelog fails, we're not running
# the command from the proper place,
(if [ -z "11-4" ] ; \
	 then \
	  echo "Run this command from the root of the fglrx-driver package" ; \
	  exit 1 ; \
	 fi)
# Make sure the .run package is in the proper place,
# but first try to look in the "cache".
# For some reason wget refuses to clobber and restarts everytime.
# wget
www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run -c
- -O /tmp/ati-driver-installer-11-5-x86.x86_64.run
[ -f /tmp/ati-driver-installer-11-5-x86.x86_64.run ] || wget
www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run -c
- -O /tmp/ati-driver-installer-11-5-x86.x86_64.run
- --2011-06-14 20:00:30--
http://www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run
Resolving www2.ati.com... 79.140.95.8, 79.140.95.80
Connecting to www2.ati.com|79.140.95.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 74585606 (71M) [application/octet-stream]
Saving to: “/tmp/ati-driver-installer-11-5-x86.x86_64.run”

100%[===========================================================>]
74,585,606   541K/s   in 2m 18s

2011-06-14 20:02:49 (527 KB/s) -
“/tmp/ati-driver-installer-11-5-x86.x86_64.run” saved [74585606/74585606]

cp /tmp/ati-driver-installer-11-5-x86.x86_64.run .
(mkdir fglrx-driver-11-5 \
	 && cd fglrx-driver-11-5 \
	 && /bin/sh ../ati-driver-installer-11-5-x86.x86_64.run --extract . \
	 && rm -f README.distro *.sh \
	 && rm -rf packages setup.data x4* \
	 && rm -rf x6* \
	 && rm -f arch/*/lib/modules/fglrx/fglrx.*.o)
Warning: target directory exists .
Verifying archive integrity... All good.
Uncompressing ATI Catalyst(TM) Proprietary
Driver-8.85......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
# Create the tarball.
(tar -cjf fglrx-driver_11-5.orig.tar.bz2 \
	 fglrx-driver-11-5 && mv \
	 fglrx-driver_11-5.orig.tar.bz2 ../)
# Cleanup.
rm -fr fglrx-driver-11-5 && \
	rm ati-driver-installer-11-5-x86.x86_64.run
******************** END OUTPUT ********************

Now we need to extract the package.

$ cd ..

$ tar xf fglrx-driver_11-5.orig.tar.bz2

$ cd fglrx-driver-11-5

$ tar xf ../fglrx-driver_11-4-2.debian.tar.gz

$ ls debian
acpi                                fglrx-driver.postinst
amdcccle.1                          fglrx-driver.postrm
amdcccle.desktop                    fglrx-driver.preinst
amdcccle.xpm                        fglrx-driver.templates
changelog                           fglrx-glx-ia32.install
compat                              fglrx-glx-ia32.lintian-overrides
configuration                       fglrx-glx-ia32.postinst
control                             fglrx-glx-ia32.postrm
copyright                           fglrx-glx-ia32.preinst
dkms                                fglrx-glx.install
fglrx-atieventsd.default            fglrx-glx.lintian-overrides
fglrx-atieventsd.docs               fglrx-glx.postinst
fglrx-atieventsd.init               fglrx-glx.postrm
fglrx-atieventsd.install            fglrx-glx.preinst
fglrx-atieventsd.lintian-overrides  fglrx-modules-dkms.install
fglrx-atieventsd.manpages           fglrx-modules-dkms.lintian-overrides
fglrx-atieventsd.preinst            fglrx-modules-dkms.postinst
fglrx-atieventsd.README.selinux     fglrx-modules-dkms.prerm
fglrx-control.install               man
fglrx-control.lintian-overrides     NEWS
fglrx-control.manpages              patches
fglrx-control.menu                  po
fglrx-driver.config                 README.Debian
fglrx-driver.default                README.hacking
fglrx-driver.doc-base               reportbug
fglrx-driver.docs                   rules
fglrx-driver.install                shlibs.local
fglrx-driver.links                  source
fglrx-driver.lintian-overrides      source.lintian-overrides
fglrx-driver.manpages               watch

We have now updated the package and are ready to begin porting it to
Squeeze.

- -- 
Best regards,
    Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN95XsAAoJEN7RcJcJCZJitCwIAK7tuqBO7n3lFsV0jpsqDUL6
M/GNUvE/ZtbaE3fqFP3OFPUzQ+FXFC8u1rj+7BrtU6wyqFkYpQSb34wTNlwBMWX4
w0cSAZR06hTH8+QuKZlRyG1JkUiqDA6dM3SlEbjR4tUITVgcWBrfrRKAHUvsCgUU
bcUjWmci3ne3ROe+zGC6M11zf4esTEC/YvDieOwR/OiENrmhbqKJKeU8irj/hcDN
V16oqb/2SiWssaCgDa+K9UXbTG3nLs7x8ub0qOpjVsCXpnWH7Of0b6aBp4DvDS65
hsif8EA9M3GsrxfNWUMg+ajxH/BbtHTL83t4fncXDf06+MK8A9ck99yRqGc3ETM=
=cAB/
-----END PGP SIGNATURE-----


Reply to: