projects / fglrx-packaging.git / commitdiff
Build Results
 
Summary

Description: The git repository for the ATI/AMD fglrx packaging scripts.
Last Change: Thu 2/4/10 2:40

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Thu 2/4/10 2:39
Mario Limonciello  
Convert to alternatives... 
Thu 2/4/10 1:55
Mario Limonciello  
Drop old kdelnk file... 
Thu 2/4/10 0:49
Mario Limonciello  
Drop arch stuff for fglrx... 
Wed 2/3/10 1:56
Mario Limonciello  
Migrate over to dh7. No... 
Wed 2/3/10 1:22
Mario Limonciello  
Bump standard version for... 
Sat 1/30/10 16:05
Anssi Hannula  
Mandriva: adapt for... 
 
> --git a/Ubuntu/ati-packager.sh b/Ubuntu/ati-packager.sh
index 3df7163
..8788eb6 100755
--- a/Ubuntu/ati-packager.sh
+++ b/Ubuntu/ati-packager.sh
@@ -7,+7,@@
 
# Usage
 #   See README.distro document

-DRV_RELEASE="`./ati-packager-helper.sh --version`"
+DRV_RELEASE=`./ati-packager-helper.sh --version`
+
PADDED_DRV_RELEASE=`printf '%5.3f' "$DRV_RELEASE"`
 
DEBEMAIL="`./ati-packager-helper.sh --vendor` <`./ati-packager-helper.sh --url`>"
 
REVISION="`./ati-packager-helper.sh --release`"

@@ -125,+126,@@ getSupportedPackages()

 
makeChangelog()
 {
-    
printf "%b\n" "fglrx-installer (2:${DRV_RELEASE}-0ubuntu${REVISION}) ${1}; urgency=low\n" 
+    printf "%b\n" "fglrx-installer (2:${PADDED_DRV_RELEASE}-0ubuntu${REVISION}) ${1}; urgency=low\n" 
     
> ${TmpDrvFilesDir}/debian/changelog
     printf 
"%b\n" "  * New Release\n" 
     
>> ${TmpDrvFilesDir}/debian/changelog
@@ -165,+166,@@ installPackages()
     if [ -
"$ARCH" ]; then
         ARCH
=`dpkg-architecture -qDEB_HOST_ARCH`
     
fi
-    file="fglrx-installer_${DRV_RELEASE}-0ubuntu${REVISION}_${ARCH}.changes"
+    file="fglrx-installer_${PADDED_DRV_RELEASE}-0ubuntu${REVISION}_${ARCH}.changes"
     
if [ ! -"${AbsInstallerParentDir}/$file" ]; then
         
echo "Unable to find ${AbsInstallerParentDir}/$file.  Please manually install"
         
exit 1
@@ -268,+269,@@ buildPackage()

     
#if we are a source package, make a .orig.tar.gz too
     
if [ "$1" "source" ]; then
-        tar --exclude=debian --exclude=*orig.tar.gz -czf ../fglrx-installer_${DRV_RELEASE}.orig.tar.gz ./
-        echo 
"building fglrx-installer in fglrx-installer_${DRV_RELEASE}.orig.tar.gz" > ${TmpPkgBuildOut}
+        
tar --exclude=debian --exclude=*orig.tar.gz -czf ../fglrx-installer_${PADDED_DRV_RELEASE}.orig.tar.gz ./
+        echo 
"building fglrx-installer in fglrx-installer_${PADDED_DRV_RELEASE}.orig.tar.gz" > ${TmpPkgBuildOut}
     
fi

     
${PKG_BUILD_UTIL} ${PKG_BUILD_OPTIONS} >> ${TmpPkgBuildOut2>&
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media