Re: ?howto?: find needed package in not configured repository -> intel video driver

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

 



On 17.10.2014 20:26, Felix Miata wrote:
> poma composed on 2014-10-17 16:45 (UTC+0200):
> 
>> Felix Miata wrote:
> 
>>> Anyway, I'm not going to build. Even if I wanted to, the systems with the bug
>>> have limited available space, so I'm not going to shrink it and risk
>>> eliminating it by installing one time use software and source. F21 can either
>>> go out the door with the bug, or I can wait and see if the fix gets into F21
>>> through someone else's effort.
> 
>> limited available space? :)
>  
>> https://lists.fedoraproject.org/pipermail/devel/2014-October/203442.html
>    
>>   I have F20, F21 and/or F22 installed on 15 machines, of which one has more
>>   than one core, and only 2-3, maybe 4, of which have HT. Some people need to
>>   get the most out of their money, and/or take whatever they can get.
>  
> # hostname -s
> t2240
> # grep PRETTY /etc/os-release
> PRETTY_NAME="Fedora 22 (Rawhide)"
> # lspci | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
> # df /
> Filesystem     1K-blocks    Used Available Use% Mounted on
> /dev/sda20       4436818 2367577   1843931  57% /
> 
> That's rather more freespace than my average test installations. Still, I have no idea how much space your suggestion might require.
> 


su -c 'yum install rpmdevtools'
...
Install  1 Package  (+43 Dependent packages)
Upgrade             (  5 Dependent packages)

Total download size: 14 M
...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

su -c 'yum-builddep xorg-x11-drv-intel'
...
Install  14 Packages (+30 Dependent packages)
Upgrade              ( 36 Dependent packages)

Total download size: 66 M
...

~~~~~~~~~~~~~~~~

rpmdev-setuptree

~~~~~~~~~~~~~~~~~~~~~~~

su -c 'yum install git'
...
Install  1 Package (+3 Dependent packages)

Total download size: 5.0 M
Installed size: 25 M
...

~~~~~~~~~~~~~~~~~~~~~

cd ~/rpmbuild/SOURCES
git clone http://pkgs.fedoraproject.org/git/xorg-x11-drv-intel.git
cd xorg-x11-drv-intel
./make-git-snapshot.sh
./make-intel-gpu-tools-snapshot.sh
cp xorg-x11-drv-intel.spec xorg-x11-drv-intel.spec.orig
perl -i -p -e 's/#define gitdate 20120907/%define gitdate 20141018/' xorg-x11-drv-intel.spec
perl -i -p -e 's/#define gitrev .%{gitdate}/%define gitrev .%{gitdate}/' xorg-x11-drv-intel.spec
perl -i -p -e 's/%define gputoolsver 1.7/%define gputoolsver %{gitdate}/' xorg-x11-drv-intel.spec
perl -i -p -e 's/Release:   2%{\?gitrev}%{\?dist}/Release:   101%{?gitrev}%{?dist}/' xorg-x11-drv-intel.spec
sed -i '/^Patch2/d' xorg-x11-drv-intel.spec
sed -i '/^%patch2/d' xorg-x11-drv-intel.spec
sed -i '/^autoreconf/d' xorg-x11-drv-intel.spec
sed -i '/%configure/i ./autogen.sh' xorg-x11-drv-intel.spec
diff -u xorg-x11-drv-intel.spec.orig xorg-x11-drv-intel.spec
sleep 30
rm sna-fixes.patch
cp *.sh *.patch *.tar.bz2 ../
rpmbuild -ba xorg-x11-drv-intel.spec
...
Wrote: /home/poma/rpmbuild/SRPMS/xorg-x11-drv-intel-2.99.916-101.20141018.fc21.src.rpm
Wrote: /home/poma/rpmbuild/RPMS/x86_64/xorg-x11-drv-intel-2.99.916-101.20141018.fc21.x86_64.rpm
Wrote: /home/poma/rpmbuild/RPMS/x86_64/xorg-x11-drv-intel-devel-2.99.916-101.20141018.fc21.x86_64.rpm
Wrote: /home/poma/rpmbuild/RPMS/x86_64/intel-gpu-tools-2.99.916-101.20141018.fc21.x86_64.rpm
Wrote: /home/poma/rpmbuild/RPMS/x86_64/xorg-x11-drv-intel-debuginfo-2.99.916-101.20141018.fc21.x86_64.rpm
...

~~~~~~~~~~~~~~~~~

du -hs ~/rpmbuild
300M	/home/poma/rpmbuild

~~~~~~~~~~~~~~~~~~~~~~~~~~~

su -c 'yum install /home/poma/rpmbuild/RPMS/x86_64/xorg-x11-drv-intel-2.99.916-101.20141018.fc21.x86_64.rpm'
...
Upgrade  1 Package

Total size: 2.0 M
...

~~~~~~~~~~~~~~~~~~~~~~~~~

rpm -q xorg-x11-drv-intel
xorg-x11-drv-intel-2.99.916-101.20141018.fc21.x86_64


poma

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux