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

Eddy Petrișor wrote:
> Eddy Petri_or wrote:
>> Package: fglrx-driver
>> Version: 8.31.5-1
>> Severity: normal
>> Tags: patch
> 
>> Hello,
> 
> Hello again,
> 
> Some clarifications about this patch
> 
>> I read the debian README.hacking and realized that instead of a big
>> chunck of that file a get-orig-source[1] target in debian/rules could
>> be created (See Debian Policy 4.9), so I implemented it.
> 
>> Patch is attached. It is just a patch to the rules file, the
>> README.hacking file is not touched, just the rules file.
> 
>> Please include it in the next release of the package.
> 
> This will allow running a command like:
> 
> debian/rules DEB_BUILD_OPTIONS='VER=8.33.6' get-orig-source
> 
> which will:
> - check if we are in the root of the package
> - check if VER is specified; I opted for this format since
> DEB_BUILD_OPTIONS is the only suitable standardized method of passing
> configuration options to the makefile. If you feel like it, you can use
> directly some variable like DEB_NEW_UPSTREAM_VERSION
> - download ati-driver-installer-8.33.6-x86.x86_64.run from ati's site in
> the CACHEDIR (/tmp) if the file is not there yet
> - copy the installer file in the current directory
> - create the orig tarball for the specified version which will be placed
> in the .. directory.
> 
> Note that temporary data is vehiculated in the current directory, but is
> cleaned up at the end of the target execution as the policy requires for
> get-orig-source.
> 
>> [1] http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules


>> +get-orig-source: ../$(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.gz

I have seen that in the TODO file adding a get-orig-source rule is a
point so I am wondering why this patch wasn't yet applied.

8.34.8 appeared and the rule worked like a charm for me. Patch 13 is
no longer necessary, but some hunks fail.

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF593tY8Chqv3NRNoRAqHxAJ93WxjxUXyoojn6531yIeQ3mAPd2ACgt4ZV
8EogTVAGvGo6wt/i+a5XAIc=
=syXI
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to