Summary: | New ebuild: media-video/disper-0.2.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | José María Fernández González <josemariafg> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | denilsonsa, gentoo, jesse, mlist, peach |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://willem.engen.nl/projects/disper/ | ||
Whiteboard: | EBUILD | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 621570 | ||
Attachments: |
media-video/disper-0.2.3.ebuild
media-video/disper-0.3.0.ebuild media-video/disper-0.3.0.ebuild python2/3 aware disper-0.3.0.ebuild disper-0.3.0-delay_backend_init.patch |
Description
José María Fernández González
2009-08-10 18:45:56 UTC
Created attachment 200854 [details]
media-video/disper-0.2.3.ebuild
Thank you for this ebuild, you may also want to investigate putting your ebuild in the sunrise overlay which is located at http://www.gentoo.org/proj/en/sunrise/. When/if the ebuild is put into sunrise, please let us know on this bug. FYI - Ebuild/program installs and works perfectly here on my FX2700M works HP EliteBook with amd64 and nVidia Quatro Works with an HP EliteBook 8540w with amd64, advanced docking station with HP Compaq LA2405wg (24") external screen. Only issue is disper gives no ability to specify the relative offset. My metamode 2 metamodes are :- Docked backend: nvidia associated displays: DFP-0, DFP-3 metamode: DFP-0: 1920x1080 @1920x1080 +1920+120, DFP-3: 1920x1200 @1920x1200 +0+0 scaling: stretched, stretched Undocked backend: nvidia associated displays: DFP-0 metamode: DFP-0: 1920x1080 @1920x1080 +0+0 scaling: stretched What I ended up doing was positioning the screens using nvidia-settings, then exporting the disper settings into a file and re-loading the relevant settings, as appropriate. Created attachment 276013 [details] media-video/disper-0.3.0.ebuild Rewritten ebuild for disper 0.3.0. Can be found along with disper-indicator 0.2.1 at: https://github.com/espenaf/espenaf-overlay Created attachment 276029 [details]
media-video/disper-0.3.0.ebuild
fixes path to install python scripts
Working great here on amd64 with x11-drivers/nvidia-drivers-275.09.07. Now the VGA switch on my laptop is working as intended. I think that there is a small flaw in the ebuild. The dependency on python should be done with PYTHON_DEPEND instead of the DEPEND="dev-lang/python". Thank you for the ebuild :) The ebuild did not work on my system for two reasons. First, my system uses python3 by default, and disper seems to require python2. Second, disper cannot output --help if no backends are availabe, hence the docs cannot be build as they rely on help2man executing disper --help. Please find the ebuild and patch attached which - make sure package depends on python 2 - set python version for the package to 2 and convert shebands accordingly - patch disper to delay backend initialization so help2man can work Created attachment 309125 [details]
python2/3 aware disper-0.3.0.ebuild
Created attachment 309127 [details]
disper-0.3.0-delay_backend_init.patch
I submitted a bug concerning the early backend initialization and the issue is now fixed in the current head. |