Merge lp:~andrikos/ubuntu/quantal/fglrx-installer/fix-switch-to-igpu into lp:ubuntu/quantal/fglrx-installer

Proposed by Nick Andrik
Status: Merged
Merge reported by: Nick Andrik
Merged at revision: not available
Proposed branch: lp:~andrikos/ubuntu/quantal/fglrx-installer/fix-switch-to-igpu
Merge into: lp:ubuntu/quantal/fglrx-installer
Diff against target: 50 lines (+20/-2)
3 files modified
debian/10fglrx.in (+1/-1)
debian/changelog (+18/-0)
debian/rules (+1/-1)
To merge this branch: bzr merge lp:~andrikos/ubuntu/quantal/fglrx-installer/fix-switch-to-igpu
Reviewer Review Type Date Requested Status
Alberto Milone Approve
Review via email: mp+138827@code.launchpad.net

Description of the change

There is also another wrong path in debian/rules and another missing path in debian/10fglrx.in for when using iGPU in hybrid intel/fglrx systems.

The problem is described in Comment #69 of Bug #1068404 :
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer-updates/+bug/1068404/comments/69

Commit 95 is already merged, this comment and merge proposal refer to commits 96 and 97.

To post a comment you must log in.
97. By Nick Andrik

* debian/rules:
  - Fixed wrong path which prevented OpenGL operation for iGPU in amd64
    hybrid systems
* debian/10fglrx.in:
  - Added missing path which prevented OpenGL operation for iGPU in amd64
    hybrid systems

Revision history for this message
Alberto Milone (albertomilone) wrote :
review: Approve
Revision history for this message
Nick Andrik (andrikos) wrote :

Thanks!

Revision history for this message
Nick Andrik (andrikos) wrote :

Alberto, could you please include (LP: #1068404) in your changelog for the fix of mesa/glx paths?
Thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/10fglrx.in'
--- debian/10fglrx.in 2011-06-23 18:42:40 +0000
+++ debian/10fglrx.in 2012-12-08 21:50:24 +0000
@@ -1,7 +1,7 @@
1LIBGL_DRIVERS_PATH=/#PKGLIBDIR#/dri1LIBGL_DRIVERS_PATH=/#PKGLIBDIR#/dri
2if [ `uname -m` = 'x86_64' ]; then2if [ `uname -m` = 'x86_64' ]; then
3 if [ -d /#PKGLIBDIR32#/dri ]; then3 if [ -d /#PKGLIBDIR32#/dri ]; then
4 LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/#PKGLIBDIR32#/dri4 LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/#PKGLIBDIR32#/dri:/usr/lib/#DEB_HOST_MULTIARCH#/dri:/usr/lib/#OTHER_ARCH#/dri
5 if [ ! -z $LD_LIBRARY_PATH ]; then5 if [ ! -z $LD_LIBRARY_PATH ]; then
6 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:6 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
7 fi7 fi
88
=== modified file 'debian/changelog'
--- debian/changelog 2012-09-29 20:47:10 +0000
+++ debian/changelog 2012-12-08 21:50:24 +0000
@@ -1,3 +1,21 @@
1fglrx-installer (2:9.000-0ubuntu3+andrik4) quantal; urgency=low
2
3 * debian/rules:
4 - Fixed wrong path which prevented OpenGL operation for iGPU in amd64
5 hybrid systems
6 * debian/10fglrx.in:
7 - Added missing path which prevented OpenGL operation for iGPU in amd64
8 hybrid systems
9
10 -- Nick Andrik <nick.andrik@gmail.com> Sat, 08 Dec 2012 22:44:48 +0100
11
12fglrx-installer (2:9.000-0ubuntu3+andrik1) quantal; urgency=low
13
14 * debian/10fglrx.in:
15 - Added missing path which prevented hybrid operation
16
17 -- Nick Andrik <nick.andrik@gmail.com> Tue, 30 Oct 2012 03:36:41 +0100
18
1fglrx-installer (2:9.000-0ubuntu3) quantal; urgency=low19fglrx-installer (2:9.000-0ubuntu3) quantal; urgency=low
220
3 * debian/rules:21 * debian/rules:
422
=== modified file 'debian/rules'
--- debian/rules 2012-09-29 20:47:10 +0000
+++ debian/rules 2012-12-08 21:50:24 +0000
@@ -371,7 +371,7 @@
371 echo "/usr/lib/$(DEB_HOST_MULTIARCH)/mesa" > "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"371 echo "/usr/lib/$(DEB_HOST_MULTIARCH)/mesa" > "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"
372 echo "/$(PX_libdir)" >> "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"372 echo "/$(PX_libdir)" >> "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"
373ifeq ($(DEB_HOST_ARCH),amd64)373ifeq ($(DEB_HOST_ARCH),amd64)
374 echo "/usr/$(OTHER_ARCH)/mesa" >> "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"374 echo "/usr/lib/$(OTHER_ARCH)/mesa" >> "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"
375 echo "/$(PX_libdir32)" >> "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"375 echo "/$(PX_libdir32)" >> "$(CURDIR)/debian/$(PKG_driver)/$(PX_ld_so_conf)"
376endif376endif
377377

Subscribers

People subscribed via source and target branches

to all changes: