On 06/13/2011 07:35 PM, lina wrote:
> Hi,
>
> Do you still remember that one month ago you suggested me to post
> again in the middle of Jun about whether there is new version of ATI
> driver come out?
>
> in case you forget about the topic we talked, I attached the link:
> http://lists.debian.org/debian-user/2011/05/msg00016.html
>
> Do I need to post again?
>
> Thanks,
Hi Lina! How have you been? :-)
No I haven't forgotten, as a matter of fact I've been checking the ATI
website, but 11-6 hasn't come out yet. It should be straightforward to
package it, when it does come out.
And we are waiting for version 11-6. The versions are named after their
release date: ${LAST_TWO_DIGITS_OF_YEAR}-${MONTH_NUMBER}.
If I miss it, feel free to email me and I'll be happy to package it.
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF63D8B.6070807@gmail.com">http://lists.debian.org/4DF63D8B.6070807@gmail.com
06-13-2011, 04:56 PM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/13/2011 07:46 PM, lina wrote:
> That's very nice of you. If you'd like I wish you can tell me how to
> package it next time when it come out. I mean, the step.
1. You basically download the latest package source from Debian, say
Testing. You modify it to reflect Stable's requirements. This step only
needs to be done once, and I've done it.
2. Then you run debian/rules with arguments telling it to download a
specific version from ATI and "debianize" it.
3. After that you just issue a debuild, optionally with the '-sa'
parameter to include sources in the presumed upload to a Debian archive.
Of course there are incompatibilities occasionally with new versions.
The easy way is to wait for the Debian team to resolve them, and use
their work. Hehe.
I've forgotten the particulars myself so I'll post again when the
package comes out and you can take it from there.
Hey, if you are going to be doing this regularly others should benefit
from your work. I suggest making your work available at Debian
Backports, so that all Stable users can use it! I'm sure they'll accept
you as a maintainer!
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF6412E.10905@gmail.com">http://lists.debian.org/4DF6412E.10905@gmail.com
06-13-2011, 06:02 PM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/13/2011 08:12 PM, lina wrote:
> I am not a smart person at all.
Don't say that!!! Rather I suck at explaining! :-)
> I failed to catch the meaning of
> "modify it to reflect Stable's requirements", can you tell me a bit
> slowly.
Basically modify debian/control. We'll get back on that.
> Do I need download all the .dsc and .original.tar.gz of each of them
> from below link?
> http://packages.debian.org/search?keywords=fglrx&searchon=names&suite=testing §ion=all
The .dsc no. You just need .orig.tar.gz and .debian.tar.gz.
An easy way is to add sid to your /etc/apt/sources.list (Just duplicate
and change the line for squeeze) and run:
apt-get -t=sid source fglrx-driver
************************************************** ******************
MAKE SURE TO REVERT sources.list AFTERWARDS. Otherwise you'll have a
SERIOUS PROBLEM next time you install a package or safe-upgrade!!!
************************************************** ******************
> In the next two days I will be pretty "free", so I wanna try. But if
> you are busy, so please just forget it. cause once start, I gotta lots
> of questions.
Sure, works for me. It won't take *that* much time.
> I don't have the ability yet. possibly a mess-er rather a maintainer.
It was just as difficult for me when I was new to the Debian packaging
process (I still am). You'll have much more confidence when you are done
with this package, you'll see. I'll walk you through it.
- --
Cheers,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF6509A.9090305@gmail.com">http://lists.debian.org/4DF6509A.9090305@gmail.com
06-14-2011, 05:52 AM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/14/2011 07:07 AM, lina wrote:
> :/etc/apt# more sources.list
> deb http://http.us.debian.org/debian sid main contrib non-free
> deb http://www.debian-multimedia.org wheezy main non-free
deb http://ftp.it.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.it.debian.org/debian/ sid main contrib non-free
You can get a list of mirrors at:
http://www.debian.org/mirror/list
Make sure to revert sources.list when you are done!
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF6F70C.4040304@gmail.com">http://lists.debian.org/4DF6F70C.4040304@gmail.com
06-14-2011, 10:32 AM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/14/2011 01:25 PM, lina wrote:
> # ls fglrx-driver_11-4
> fglrx-driver_11-4-2.debian.tar.gz fglrx-driver_11-4.orig.tar.bz2
> fglrx-driver_11-4-2.dsc
>
> and then?
You should have (if you ran apt-get source) or must create - by
extracting the .tars - the following structure:
fglrx-driver-11-4
fglrx-driver-11-4/debian
First step: run dch from package devscripts in dir fglrx-driver-11-4.
Customize the entry as follows:
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF738BE.4060306@gmail.com">http://lists.debian.org/4DF738BE.4060306@gmail.com
06-14-2011, 01:07 PM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Haha, you almost got it.
The short version:
apt-get -t unstable source fglrx-driver
But you need the deb-src line in your sources.list. See my previous
message. Also please forget about dch for now, we need to do something
else first. My mistake!
We are going to do this in parallel, ok? First I do a step, then I write
a message and you do it. That way you'll learn the process, and we'll
make sure there are no mistakes in my instructions.
The long version:
- -----------------
a) First we tell apt about sid:
$ sudo vim /etc/apt/sources.list
...
deb http://ftp.it.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.it.debian.org/debian/ sid main contrib non-free
...
[ESC]:wq (This tells vim to save and exit)
b) Next we run apt-get update:
$ sudo apt-get update
c) Now we forbid normal installation from sid, using a mechanism called
apt-pinning:
$ sudo vim /etc/apt/preferences.d/90-sid.pref
Explanation: Forbid sid.
Package: *
Pin: release n=sid
Pin-Priority: -1
[ESC]:wq ( = save and exit )
d) Now we install the sources from sid.
$ cd &&
mkdir fglrx-driver-debian-package &&
cd fglrx-driver-debian-package
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF75CFB.2010101@gmail.com">http://lists.debian.org/4DF75CFB.2010101@gmail.com
06-14-2011, 02:23 PM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/14/2011 05:11 PM, lina wrote:
> I am not sure in which directory,
Not important.
> :/var/local/cache/apt-build/buildATI/fglrx-driver-11-4/debian# apt-get
> build-dep fglrx-driver
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> root@dove:/var/local/cache/apt-build/buildATI# apt-get build-dep fglrx-driver
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Then we are good to go, we have all packages installed.
> There is an episode here, before I modified the source.list in another
> desktop to reduce the risk, and then scp the apt-getted ones to my
> present laptop.
There is no risk anymore, thanks to apt-pinning (see first message).
I will follow-up with step 3.
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF76ED9.2070401@gmail.com">http://lists.debian.org/4DF76ED9.2070401@gmail.com
06-14-2011, 05:10 PM
Panayiotis Karabassis
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
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/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF795EF.9080906@gmail.com">http://lists.debian.org/4DF795EF.9080906@gmail.com
06-15-2011, 09:50 AM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Step 4: Update the changelog
- ----------------------------
a) Install the package devscripts.
$ sudo apt-get install devscripts
b) Tell devscripts who you are:
$ export DEBEMAIL="${YOUR_EMAIL}"
$ export DEBFULLNAME="${YOUR_FULL_NAME}"
You can put the above lines in ~/.profile
c) Update the changelog to set the new version and revision.
$ cd ~/fglrx-driver-debian-package/fglrx-driver-11-5
$ dch
An editor window opens and you add a new entry to the changelog. Here is
mine:
************************************************** *********************
fglrx-driver (1:11-5-0panayk1) squeeze-testing; urgency=low
c1) squeeze-testing is the distribution. I maintain an apt-repo. You
could try lina-testing.
c2) 1:11-5-0panayk1 is the revision. Let's dissect it.
1 = this is the epoch
:
11-5 = this is the upstream (ATI) version
- -
0panayk1 = The Debian revision
Let's analyze the Debian revision.
0 = because this is not part of Debian yet.
panayk1 = the first revision by panayk.
So you could put something like: 1:11-5-0lina1
d) You can use dpkg --compare-versions to compare versions:
$ man dpkg
dpkg is in package... well dpkg!
$ sudo apt-get install dpkg
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF8806E.70505@gmail.com">http://lists.debian.org/4DF8806E.70505@gmail.com
06-15-2011, 12:48 PM
Panayiotis Karabassis
ATI driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You don't need root priviliges to build a debian package. Use chown to
change the owner of fglrx-driver-debian-package and contents. If your
username is lina:
Please use dch to remove the 1:11-4-2.1 entry. 'Modify' rather than
'add' is the correct word. Sorry for my mistake. We only need the custom
entry: 1:11-5-0lina1 plus the entries from the Debian team.
The relevant part in 'man dpkg' is '--compare-versions'
Only 3 steps left, but they are the most critical...
- --
Best regards,
Panayiotis Karabassis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF8AA24.5090009@gmail.com">http://lists.debian.org/4DF8AA24.5090009@gmail.com