summaryrefslogtreecommitdiff
path: root/pcr/octopi/0001-remove-qtermwidget.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2019-10-25 13:40:47 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2019-10-25 13:40:47 -0500
commit54947c3d0a88f54e5beaea4e0afb222e129f8326 (patch)
tree16b2528f19dff02ff9adfe93928a552c60fcede6 /pcr/octopi/0001-remove-qtermwidget.patch
parent5ac2e6a4880ed7aabf1a01304f9c071c597ba5a7 (diff)
downloadabslibre-54947c3d0a88f54e5beaea4e0afb222e129f8326.tar.gz
abslibre-54947c3d0a88f54e5beaea4e0afb222e129f8326.tar.bz2
abslibre-54947c3d0a88f54e5beaea4e0afb222e129f8326.zip
octopi-0.9.0-4.parabola2: rebuild
Diffstat (limited to 'pcr/octopi/0001-remove-qtermwidget.patch')
-rw-r--r--pcr/octopi/0001-remove-qtermwidget.patch109
1 files changed, 109 insertions, 0 deletions
diff --git a/pcr/octopi/0001-remove-qtermwidget.patch b/pcr/octopi/0001-remove-qtermwidget.patch
new file mode 100644
index 000000000..2d491b2b1
--- /dev/null
+++ b/pcr/octopi/0001-remove-qtermwidget.patch
@@ -0,0 +1,109 @@
+From 992761b6c71740729c05f6312b8f46ae036e3186 Mon Sep 17 00:00:00 2001
+From: BrLi <rainman59118@gmail.com>
+Date: Sat, 24 Feb 2018 20:45:34 +0800
+Subject: [PATCH] remove qtermwidget
+
+---
+ notifier/octopi-notifier/octopi-notifier.pro | 16 ++--------------
+ octopi.pro | 16 ++--------------
+ 2 files changed, 4 insertions(+), 28 deletions(-)
+
+diff --git a/notifier/octopi-notifier/octopi-notifier.pro b/notifier/octopi-notifier/octopi-notifier.pro
+index a3902e2..c6c3a86 100644
+--- a/notifier/octopi-notifier/octopi-notifier.pro
++++ b/notifier/octopi-notifier/octopi-notifier.pro
+@@ -8,8 +8,8 @@ QT += core xml gui network dbus
+
+ # This controls whether octopi-notifier uses KStatusNotifier lib
+ # You SHOULD REALLY enable KSTATUS define in plasma 5 desktops!
+-DEFINES += ALPM_BACKEND QTERMWIDGET #KSTATUS
+-CONFIG += qt warn_on debug link_pkgconfig ALPM_BACKEND QTERMWIDGET
++DEFINES += ALPM_BACKEND #KSTATUS
++CONFIG += qt warn_on debug link_pkgconfig ALPM_BACKEND
+
+ ALPM_BACKEND {
+ QMAKE_CXXFLAGS += -std=c++11
+@@ -19,10 +19,6 @@ ALPM_BACKEND {
+ QMAKE_CXXFLAGS += -std=c++11
+ }
+
+-QTERMWIDGET {
+- LIBS += -lqtermwidget5
+-}
+-
+ contains(DEFINES, KSTATUS){
+ QT += KNotifications
+ }
+@@ -56,10 +52,6 @@ HEADERS += \
+ ../../src/searchbar.h \
+ ../../src/optionsdialog.h
+
+-QTERMWIDGET{
+- HEADERS += ../../src/termwidget.h
+-}
+-
+ ALPM_BACKEND{
+ HEADERS += ../../src/alpmbackend.h
+ }
+@@ -82,10 +74,6 @@ SOURCES += main.cpp \
+ ../../src/searchbar.cpp \
+ ../../src/optionsdialog.cpp
+
+-QTERMWIDGET{
+- SOURCES += ../../src/termwidget.cpp
+-}
+-
+ ALPM_BACKEND{
+ SOURCES += ../../src/alpmbackend.cpp
+ }
+diff --git a/octopi.pro b/octopi.pro
+index 815ea21..f8ac381 100644
+--- a/octopi.pro
++++ b/octopi.pro
+@@ -5,8 +5,8 @@
+ #-------------------------------------------------
+
+ QT += core gui network xml dbus widgets
+-DEFINES += OCTOPI_EXTENSIONS ALPM_BACKEND QTERMWIDGET
+-CONFIG += qt warn_on debug link_pkgconfig ALPM_BACKEND QTERMWIDGET
++DEFINES += OCTOPI_EXTENSIONS ALPM_BACKEND
++CONFIG += qt warn_on debug link_pkgconfig ALPM_BACKEND
+
+ ALPM_BACKEND {
+ QMAKE_CXXFLAGS += -std=c++11
+@@ -16,10 +16,6 @@ ALPM_BACKEND {
+ QMAKE_CXXFLAGS += -std=c++11
+ }
+
+-QTERMWIDGET {
+- LIBS += -lqtermwidget5
+-}
+-
+ TEMPLATE = app
+ DESTDIR += bin
+ OBJECTS_DIR += build
+@@ -53,10 +49,6 @@ HEADERS += src/QtSolutions/qtsingleapplication.h \
+ src/constants.h \
+ src/optionsdialog.h
+
+-QTERMWIDGET{
+- HEADERS += src/termwidget.h
+-}
+-
+ ALPM_BACKEND{
+ HEADERS += src/alpmbackend.h
+ }
+@@ -94,10 +86,6 @@ SOURCES += src/QtSolutions/qtsingleapplication.cpp \
+ src/pacmanexec.cpp \
+ src/optionsdialog.cpp
+
+-QTERMWIDGET{
+- SOURCES += src/termwidget.cpp
+-}
+-
+ ALPM_BACKEND{
+ SOURCES += src/alpmbackend.cpp
+ }
+--
+2.16.2
+