Merge pull request #375 from ertugerata/master

update sddm
This commit is contained in:
Ertuğrul Erata
2015-09-07 09:30:27 +03:00
4 changed files with 113 additions and 9 deletions
+10 -3
View File
@@ -13,7 +13,7 @@
<IsA>app:console</IsA>
<Summary>QML based X11 display manager</Summary>
<Description>KDE Power Management module. Provides kded daemon DBus helper and KCM for configuring Power settings</Description>
<Archive sha1sum="c5bbe6e849e9870a0e1b3c5ea9e7a3b48f9ecda5" type="targz">https://github.com/sddm/sddm/archive/v0.11.0.tar.gz</Archive>
<Archive sha1sum="be2f61bda15c8b7210a660ebd4434c274dbf8e46" type="targz">https://github.com/sddm/sddm/archive/v0.12.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
@@ -26,9 +26,9 @@
<Dependency>cmake</Dependency>
</BuildDependencies>
<Patches>
<Patch>sddm-0.11.0-dbus-config.patch</Patch>
<!--Patch>sddm-0.11.0-dbus-config.patch</Patch>
<Patch>sddm_upstream.patch</Patch>
<Patch>sddm-0.10.0-upower.patch</Patch>
<Patch>sddm-0.10.0-upower.patch</Patch-->
<Patch>sddm-0.11.0-consolekit.patch</Patch>
</Patches>
</Source>
@@ -61,6 +61,13 @@
</Package>
<History>
<Update release="3">
<Date>2015-09-07</Date>
<Version>0.12</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="2">
<Date>2015-07-03</Date>
<Version>0.11</Version>
@@ -0,0 +1,48 @@
--- QScintilla-gpl-2.9/Python/configure.py.orig 2015-04-20 17:38:24.000000000 +0300
+++ QScintilla-gpl-2.9/Python/configure.py 2015-04-26 21:54:18.000000000 +0300
@@ -31,6 +31,7 @@
import os
import optparse
import sys
+src_dir = os.path.dirname(os.path.abspath(__file__))
###############################################################################
@@ -206,6 +207,8 @@
"The QScintilla version number could not be determined by "
"reading %s." % sciglobal)
+ return # Debian: do not check for the installed version, we're good this way.
+
lib_dir = target_configuration.qsci_lib_dir
if lib_dir is None:
lib_dir = target_configuration.qt_lib_dir
@@ -260,7 +263,7 @@
the target configuration.
"""
- return 'sip/qscimod5.sip' if target_configuration.pyqt_package == 'PyQt5' else 'sip/qscimod4.sip'
+ return os.path.join(src_dir, 'sip/qscimod5.sip') if target_configuration.pyqt_package == 'PyQt5' else os.path.join(src_dir, 'sip/qscimod4.sip')
def get_sip_installs(self, target_configuration):
""" Return a tuple of the installation directory of the module's .sip
@@ -1411,6 +1414,7 @@
includepath = qmake_config.get('INCLUDEPATH')
if includepath:
pro.write('INCLUDEPATH += %s\n' % includepath)
+ pro.write('INCLUDEPATH += %s\n' % '/usr/include/qt/QtWidgets /usr/include/qt/QtPrintSupport')
# Make sure the SIP include directory is searched before the Python include
# directory if they are different.
@@ -1420,7 +1424,10 @@
libs = qmake_config.get('LIBS')
if libs:
- pro.write('LIBS += %s\n' % libs)
+ if target_config.pyqt_package == 'PyQt5':
+ pro.write('LIBS += %s -lqt5scintilla2\n' % libs)
+ else:
+ pro.write('LIBS += %s -lqscintilla2\n' % libs)
if not opts.static:
pro.write('''
@@ -0,0 +1,50 @@
--- QScintilla-gpl-2.8.3/Qt4Qt5/features/qscintilla2.prf~ 2014-07-03 14:15:46.000000000 +0400
+++ QScintilla-gpl-2.8.3/Qt4Qt5/features/qscintilla2.prf 2014-08-11 18:04:44.371414609 +0400
@@ -17,9 +17,18 @@
win32: {
LIBS += -lqscintilla2d
} else {
- LIBS += -lqscintilla2
+ greaterThan(QT_MAJOR_VERSION, 4) {
+ LIBS += -lqt5scintilla2
+ } else {
+ LIBS += -lqscintilla2
+ }
}
}
} else {
+ greaterThan(QT_MAJOR_VERSION, 4) {
+ LIBS += -lqt5scintilla2
+ }
+ else {
LIBS += -lqscintilla2
+ }
}
--- QScintilla-gpl-2.8.3/Qt4Qt5/qscintilla.pro~ 2014-07-03 14:15:46.000000000 +0400
+++ QScintilla-gpl-2.8.3/Qt4Qt5/qscintilla.pro 2014-08-11 18:00:05.598079386 +0400
@@ -41,6 +41,7 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets printsupport
+ TARGET = qt5scintilla2
greaterThan(QT_MINOR_VERSION, 1) {
macx:QT += macextras
--- QScintilla-gpl-2.8.3/Qt4Qt5/designer-Qt4Qt5/designer.pro~ 2014-07-03 14:15:46.000000000 +0400
+++ QScintilla-gpl-2.8.3/designer-Qt4Qt5/designer.pro 2014-08-11 18:00:05.598079386 +0400
@@ -8,11 +8,14 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += designer
+ TARGET = qt5scintillaplugin
+ LIBS += -lqt5scintilla2
# Work around QTBUG-39300.
CONFIG -= android_install
} else {
CONFIG += designer
+ LIBS += -lqscintilla2
}
macx {
+5 -6
View File
@@ -9,25 +9,24 @@
<License>GPLv2</License>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>Qt4 port of Scintilla</Summary>
<Summary>Qt port of Scintilla</Summary>
<Description>QScintilla2 is a port to Qt4 of Neil Hodgson's Scintilla C++ editor class.</Description>
<BuildDependencies>
<Dependency>python-qt5</Dependency>
<Dependency>python3-qt5</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-sip3</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-designer-devel</Dependency>
<Dependency>sip-devel</Dependency>
<Dependency>sip3-devel</Dependency>
</BuildDependencies>
<Archive type="targz" sha1sum="de807f026ac47d4e9472836c73ab8b8039716c37">mirrors://sourceforge/pyqt/QScintilla2/QScintilla-2.9/QScintilla-gpl-2.9.tar.gz</Archive>
<Patches>
<Patch level="1">QScintilla-gpl-2.4-fix-linkage.patch</Patch>
<Patch level="1">qscintilla-2.6.2-qt4.patch</Patch>
<Patch>configure.py.patch</Patch>
<Patch>libname.patch</Patch>
</Patches>
</Source>
<Package>
<Name>qscintilla2</Name>
<Summary>A pisi packager from GUI</Summary>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>