pkgsrc-WIP-changes archive

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

Fix patch for NetBSD but to set the backlight you should use sysctl with acpi value instead of xbacklight.



Module Name:	pkgsrc-wip
Committed By:	Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By:	amoibos
Date:		Fri May 12 23:05:26 2017 +0000
Changeset:	324ad4ed5132eb4404e97fb33a838105c02e161d

Modified Files:
	lumina/distinfo
	lumina/patches/patch-LuminaOS-NetBSD.cpp

Log Message:
Fix patch for NetBSD but to set the backlight you should use sysctl with acpi value instead of xbacklight.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=324ad4ed5132eb4404e97fb33a838105c02e161d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lumina/distinfo                          |  2 +-
 lumina/patches/patch-LuminaOS-NetBSD.cpp | 16 ++++------------
 2 files changed, 5 insertions(+), 13 deletions(-)

diffs:
diff --git a/lumina/distinfo b/lumina/distinfo
index 1b58cb4dac..bc37617e4e 100644
--- a/lumina/distinfo
+++ b/lumina/distinfo
@@ -4,5 +4,5 @@ SHA1 (lumina/lumina-1.2.0-p1.tar.gz) = b6a8b38271ca3967f1c8982ba86adf513786bc17
 RMD160 (lumina/lumina-1.2.0-p1.tar.gz) = 3f19624efd833a428f3a236bb3c04d2afe94e4a2
 SHA512 (lumina/lumina-1.2.0-p1.tar.gz) = 8490e2b0f2fa08b2d63ec688f9993771ea935129a2947ef7bfa1874424cbede6d8877083ce90658c283858e67397383b5bab536388e9222b440015ebdf8b2919
 Size (lumina/lumina-1.2.0-p1.tar.gz) = 56032695 bytes
-SHA1 (patch-LuminaOS-NetBSD.cpp) = 0ed96e7ef6143a36c944cc14c9f61b3cbca3bce6
+SHA1 (patch-LuminaOS-NetBSD.cpp) = 891ee5634e489b84f73ec6cc821a6955ff69d578
 SHA1 (patch-OS-detect.pri) = d92d95bc56083d131c1029038a7c5d59433cfb3e
diff --git a/lumina/patches/patch-LuminaOS-NetBSD.cpp b/lumina/patches/patch-LuminaOS-NetBSD.cpp
index b7584f3303..7dddf83d4a 100644
--- a/lumina/patches/patch-LuminaOS-NetBSD.cpp
+++ b/lumina/patches/patch-LuminaOS-NetBSD.cpp
@@ -1,23 +1,15 @@
 $NetBSD$
-Specific NetBSD support
 --- src-qt5/core/libLumina/LuminaOS-NetBSD.cpp.orig	2017-01-06 14:07:19.000000000 +0000
-+++ src-qt5/core/libLumina/LuminaOS-NetBSD.cpp	2017-04-29 21:57:48.210905316 +0000
-@@ -9,12 +9,14 @@
- #include <unistd.h>
- #include <stdio.h> // Needed for BUFSIZ
++++ src-qt5/core/libLumina/LuminaOS-NetBSD.cpp	2017-05-12 22:27:09.606898568 +0000
+@@ -11,6 +11,8 @@
  
-+static int screenbrightness=-1;
-+
  QString LOS::OSName(){ return "NetBSD"; }
  
++static int screenbrightness=-1;
++
  //OS-specific prefix(s)
  // NOTE: PREFIX, L_ETCDIR, L_SHAREDIR are defined in the OS-detect.pri project file and passed in
  QString LOS::LuminaShare(){ return (L_SHAREDIR+"/lumina-desktop/"); } //Install dir for Lumina share files
--QString LOS::AppPrefix(){ return "/usr/local/"; } //Prefix for applications
-+QString LOS::AppPrefix(){ return "/usr/pkg/"; } //Prefix for applications
- QString LOS::SysPrefix(){ return "/usr/"; } //Prefix for system
- 
- //OS-specific application shortcuts (*.desktop files)
 @@ -31,36 +33,117 @@
  QStringList LOS::ExternalDevicePaths(){
      //Returns: QStringList[<type>::::<filesystem>::::<path>]


Home | Main Index | Thread Index | Old Index