From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BC9DE1393E9 for ; Fri, 30 May 2014 06:10:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 175AFE09EE; Fri, 30 May 2014 06:10:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71E27E09EE for ; Fri, 30 May 2014 06:10:12 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AA0933FD91 for ; Fri, 30 May 2014 06:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id E147E182D4 for ; Fri, 30 May 2014 06:10:09 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1401430195.4989f2d3f7bfd59914ba8ef24f605e60cefe2d63.johu@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-base/plasma-workspace/files/, kde-base/plasma-workspace/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/plasma-workspace/files/plasma-workspace-9999-cmake-enable-prison.patch kde-base/plasma-workspace/plasma-workspace-9999.ebuild X-VCS-Directories: kde-base/plasma-workspace/files/ kde-base/plasma-workspace/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 4989f2d3f7bfd59914ba8ef24f605e60cefe2d63 X-VCS-Branch: master Date: Fri, 30 May 2014 06:10:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 698a4922-8067-41d6-8e8b-72225a94a701 X-Archives-Hash: fd915f48c88a35185de67a6173d8f8ba commit: 4989f2d3f7bfd59914ba8ef24f605e60cefe2d63 Author: Johannes Huber gentoo org> AuthorDate: Fri May 30 06:09:55 2014 +0000 Commit: Johannes Huber gentoo org> CommitDate: Fri May 30 06:09:55 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=4989f2d3 [kde-base/plasma-workspace] Drop patch, applied upstream Package-Manager: portage-2.2.10 --- ...plasma-workspace-9999-cmake-enable-prison.patch | 73 ---------------------- .../plasma-workspace/plasma-workspace-9999.ebuild | 5 +- 2 files changed, 1 insertion(+), 77 deletions(-) diff --git a/kde-base/plasma-workspace/files/plasma-workspace-9999-cmake-enable-prison.patch b/kde-base/plasma-workspace/files/plasma-workspace-9999-cmake-enable-prison.patch deleted file mode 100644 index 23d6e6f..0000000 --- a/kde-base/plasma-workspace/files/plasma-workspace-9999-cmake-enable-prison.patch +++ /dev/null @@ -1,73 +0,0 @@ -diff --git a/klipper/CMakeLists.txt b/klipper/CMakeLists.txt -index 7a57b30b8b59a77c3d0702095dd72bb275d22e57..a46ac2def2faed4b0452c99cca6323da0adba348 100644 ---- a/klipper/CMakeLists.txt -+++ b/klipper/CMakeLists.txt -@@ -16,15 +16,15 @@ set(libklipper_common_SRCS - clipcommandprocess.cpp - ) - --# find_package(Prison QUIET CONFIG) --# set_package_properties(Prison PROPERTIES DESCRIPTION "Prison library" --# URL "http://projects.kde.org/prison" --# TYPE OPTIONAL --# PURPOSE "Needed to create mobile barcodes from clipboard data" --# ) --# if (PRISON_FOUND) --# include_directories(${PRISON_INCLUDE_DIR}) --# endif () -+find_package(Prison "1.2.0" QUIET CONFIG) -+set_package_properties(Prison PROPERTIES DESCRIPTION "Prison library" -+ URL "http://projects.kde.org/prison" -+ TYPE OPTIONAL -+ PURPOSE "Needed to create mobile barcodes from clipboard data" -+ ) -+if (PRISON_FOUND) -+ include_directories(${PRISON_INCLUDE_DIR}) -+endif () - - set(HAVE_PRISON ${PRISON_FOUND}) - configure_file(config-klipper.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-klipper.h ) -@@ -52,9 +52,9 @@ target_link_libraries(kdeinit_klipper - if (X11_Xfixes_FOUND) - target_link_libraries(kdeinit_klipper ${X11_Xfixes_LIB}) - endif () --# if (PRISON_FOUND) --# target_link_libraries(kdeinit_klipper ${PRISON_LIBRARIES}) --# endif () -+if (PRISON_FOUND) -+ target_link_libraries(kdeinit_klipper ${PRISON_LIBRARIES}) -+endif () - - install(TARGETS kdeinit_klipper ${INSTALL_TARGETS_DEFAULT_ARGS}) - install(TARGETS klipper ${INSTALL_TARGETS_DEFAULT_ARGS}) -diff --git a/klipper/klipper.cpp b/klipper/klipper.cpp -index 1ce578afb078b3b4e791e780975802082559bdf4..8847af324ff0c0c8e07d7e69ca473945cf001772 100644 ---- a/klipper/klipper.cpp -+++ b/klipper/klipper.cpp -@@ -887,10 +887,12 @@ void Klipper::slotShowBarcode() - using namespace prison; - const HistoryStringItem* item = dynamic_cast(m_history->first()); - -- KDialog dlg; -+ QDialog dlg; - dlg.setModal( true ); -- dlg.setCaption( i18n("Mobile Barcode") ); -- dlg.setButtons( KDialog::Ok ); -+ dlg.setWindowTitle( i18n("Mobile Barcode") ); -+ QDialogButtonBox *buttons = new QDialogButtonBox(QDialogButtonBox::Ok, &dlg); -+ buttons->button(QDialogButtonBox::Ok)->setShortcut(Qt::CTRL | Qt::Key_Return); -+ connect(buttons, &QDialogButtonBox::accepted, &dlg, &QDialog::accept); - - QWidget* mw = new QWidget(&dlg); - QHBoxLayout* layout = new QHBoxLayout(mw); -@@ -907,7 +909,9 @@ void Klipper::slotShowBarcode() - layout->addWidget(datamatrix); - - mw->setFocus(); -- dlg.setMainWidget( mw ); -+ QVBoxLayout *vBox = new QVBoxLayout(&dlg); -+ vBox->addWidget(mw); -+ vBox->addWidget(buttons); - dlg.adjustSize(); - - dlg.exec(); diff --git a/kde-base/plasma-workspace/plasma-workspace-9999.ebuild b/kde-base/plasma-workspace/plasma-workspace-9999.ebuild index 9aa7ed8..cdd940c 100644 --- a/kde-base/plasma-workspace/plasma-workspace-9999.ebuild +++ b/kde-base/plasma-workspace/plasma-workspace-9999.ebuild @@ -93,10 +93,7 @@ DEPEND="${COMMON_DEPEND} X? ( x11-proto/xproto ) " -PATCHES=( - "${FILESDIR}/${PN}-startkde-script.patch" - "${FILESDIR}/${P}-cmake-enable-prison.patch" -) +PATCHES=( "${FILESDIR}/${PN}-startkde-script.patch" ) src_configure() { local mycmakeargs=(