libertine-scope-1.0/ 0000775 0000000 0000000 00000000000 12656376703 011345 5 ustar libertine-scope-1.0/CMakeLists.txt 0000664 0000000 0000000 00000004655 12656376666 014127 0 ustar cmake_minimum_required(VERSION 3.0)
project(libertine-scope
VERSION 1.0
LANGUAGES CXX)
# We require at least g++ 4.9, to avoid ABI breakage with earlier versions.
set(cxx_version_required 4.9)
if (CMAKE_COMPILER_IS_GNUCXX)
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${cxx_version_required})
message(FATAL_ERROR "g++ version must be at least ${cxx_version_required}!")
endif()
endif()
# Set strict and naggy C++ compiler flags, and enable C++11
add_definitions(
-fno-permissive
-std=c++11
-pedantic
-Wall
-Wextra
-fPIC
-DQT_NO_KEYWORDS
)
# Search for our dependencies
include(GNUInstallDirs)
find_package(PkgConfig)
find_package(Intltool)
find_package(Qt5Core REQUIRED)
find_package(Qt5Gui REQUIRED)
pkg_check_modules(SCOPE libunity-scopes>=0.6.0 REQUIRED)
# Add our dependencies to the include paths
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/libertine-scope
${SCOPE_INCLUDE_DIRS}
)
# Important project paths
set(SCOPE_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/unity-scopes/libertine-scope/)
set(SCOPE_NAME "libertine-scope")
set(GETTEXT_PACKAGE "${SCOPE_NAME}")
set(PACKAGE_NAME "libertine-scope.canonical")
# If we need to refer to the scope's name or package in code, these definitions will help
add_definitions(-DPACKAGE_NAME="${PACKAGE_NAME}")
add_definitions(-DSCOPE_NAME="${SCOPE_NAME}")
add_definitions(-DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}")
# This command figures out the target architecture and puts it into the manifest file
execute_process(COMMAND dpkg-architecture -qDEB_HOST_ARCH
OUTPUT_VARIABLE CLICK_ARCH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Configure and install the click manifest and apparmor files
configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json
DESTINATION ${SCOPE_INSTALL_DIR})
install(FILES "libertine-scope.apparmor"
DESTINATION ${SCOPE_INSTALL_DIR})
# Add our main directories
add_subdirectory(libertine-scope)
add_subdirectory(data)
add_subdirectory(po)
# Set up the tests
enable_testing()
add_subdirectory(tests)
add_custom_target(check
${CMAKE_CTEST_COMMAND} --force-new-ctest-process --output-on-failure
)
set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${PROJECT_VERSION})
add_custom_target(dist
COMMAND bzr export --root=${ARCHIVE_NAME} ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.bz2
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
libertine-scope-1.0/libertine-scope/ 0000775 0000000 0000000 00000000000 12656376703 014431 5 ustar libertine-scope-1.0/libertine-scope/query.cpp 0000664 0000000 0000000 00000005577 12656376666 016330 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "libertine-scope/query.h"
#include "libertine-scope/applauncher.h"
#include "libertine-scope/container.h"
#include "libertine-scope/libertine.h"
#include
#include
#include
#include
namespace usc = unity::scopes;
namespace
{
/**
* A custom rendering layout brazenly stolen from the click scope, so they look
* sorta similar. At least until they change theirs.
*/
std::string const CATEGORY_APPS_DISPLAY = R"(
{
"schema-version" : 1,
"template" : {
"category-layout" : "grid",
"card-size": "small"
},
"components" : {
"title" : "title",
"art" : {
"field": "art",
"fill-mode": "fit"
}
}
}
)";
/**
* Generates a ubuntu-application-launcher URI for a contained desktop file.
*/
static std::string
app_uri(Container const& container, AppLauncher const& app)
{
return "appid://" + container.id() + "/" + app.id() + "/0.0";
}
} // anonymous namespace
Query::
Query(usc::CannedQuery const& query,
usc::SearchMetadata const& metadata,
Libertine::Factory const& libertine_factory)
: usc::SearchQueryBase(query, metadata)
, libertine_factory_(libertine_factory)
{
}
void Query::
cancelled()
{
}
void Query::
run(usc::SearchReplyProxy const& reply)
{
usc::CannedQuery const& query(usc::SearchQueryBase::query());
std::string query_string = query.query_string();
Libertine::UPtr libertine = libertine_factory_();
for (auto const& container: libertine->get_container_list())
{
auto category = reply->register_category(container->id(),
container->name(),
"Application",
usc::CategoryRenderer(CATEGORY_APPS_DISPLAY));
for (auto const& app: container->app_launchers())
{
if (app.no_display())
continue;
usc::CategorisedResult result(category);
result.set_title(app.name());
result.set_art(app.icon());
result.set_uri(app_uri(*container, app));
if (!reply->push(result))
{
break;
}
}
}
}
libertine-scope-1.0/libertine-scope/scope.cpp 0000664 0000000 0000000 00000006000 12656376666 016252 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "libertine-scope/scope.h"
#include "libertine-scope/preview.h"
#include "libertine-scope/query.h"
#include
#include
#include
#include
namespace usc = unity::scopes;
namespace
{
/**
* @todo move this class into its own source file.
*/
class ScopeActivation
: public usc::ActivationQueryBase
{
public:
ScopeActivation(usc::Result const& result,
usc::ActionMetadata const& metadata)
: ActivationQueryBase(result, metadata)
{ }
usc::ActivationResponse
activate() override
{
return usc::ActivationResponse(status);
}
usc::ActivationResponse::Status status = usc::ActivationResponse::Status::NotHandled;
};
} // anonymous namespace
Scope::
Scope(Libertine::Factory const& libertine_factory)
: libertine_factory_(libertine_factory)
{
}
void Scope::
start(std::string const&)
{
setlocale(LC_ALL, "");
std::string translation_directory = ScopeBase::scope_directory()
+ "/../share/locale/";
bindtextdomain(GETTEXT_PACKAGE, translation_directory.c_str());
}
void Scope::
stop()
{
}
usc::SearchQueryBase::UPtr Scope::
search(usc::CannedQuery const& query,
usc::SearchMetadata const& metadata)
{
return usc::SearchQueryBase::UPtr(new Query(query, metadata, libertine_factory_));
}
usc::PreviewQueryBase::UPtr Scope::
preview(usc::Result const& result,
usc::ActionMetadata const& metadata)
{
return usc::PreviewQueryBase::UPtr(new Preview(result, metadata));
}
usc::ActivationQueryBase::UPtr Scope::
perform_action(usc::Result const& result,
usc::ActionMetadata const& metadata,
std::string const& /* widget_id */,
std::string const& action_id)
{
auto activation = new ScopeActivation(result, metadata);
if (action_id == "open")
{
url_dispatch_send(result.uri().c_str() , NULL, NULL);
}
return usc::ActivationQueryBase::UPtr(activation);
}
#define EXPORT __attribute__((visibility ("default")))
// These functions define the entry points for the scope plugin
extern "C" {
EXPORT unity::scopes::ScopeBase*
// cppcheck-suppress unusedFunction
UNITY_SCOPE_CREATE_FUNCTION()
{
return new Scope();
}
EXPORT void
// cppcheck-suppress unusedFunction
UNITY_SCOPE_DESTROY_FUNCTION(unity::scopes::ScopeBase* scope_base)
{
delete scope_base;
}
}
libertine-scope-1.0/libertine-scope/scope.h 0000664 0000000 0000000 00000004666 12656376666 015737 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LIBERTINE_SCOPE_SCOPE_H_
#define LIBERTINE_SCOPE_SCOPE_H_
#include "libertine-scope/libertine.h"
#include
#include
#include
#include
/**
* Controller for the entire scope.
*
* An instance of this class gets instantiated when the scope plugin gets loaded
* by the thing that loads scope plugins.
*/
class Scope
: public unity::scopes::ScopeBase
{
public:
/**
* Constructs a Scope.
*
* @param[in] libertine_factory Creates a Libertine Proxy instance. The
* default it to proxy the Libertine CLI tools.
*/
Scope(Libertine::Factory const& libertine_factory = Libertine::from_libertine_cli);
/**
* Initializes the scope instance.
*/
void
start(std::string const&) override;
/**
* Tears down the scope instance.
*/
void
stop() override;
/**
* Called each time a new query is requested
*/
unity::scopes::SearchQueryBase::UPtr
search(unity::scopes::CannedQuery const& query,
unity::scopes::SearchMetadata const& metadata) override;
/**
* Gets an application preview.
*/
unity::scopes::PreviewQueryBase::UPtr
preview(unity::scopes::Result const& result,
unity::scopes::ActionMetadata const& metadata) override;
/**
* Performs an action in response to user interaction with the preview.
*/
unity::scopes::ActivationQueryBase::UPtr
perform_action(unity::scopes::Result const& result,
unity::scopes::ActionMetadata const& metadata,
std::string const& widget_id,
std::string const& action_id) override;
private:
Libertine::Factory libertine_factory_;
};
#endif // LIBERTINE_SCOPE_SCOPE_H_
libertine-scope-1.0/libertine-scope/CMakeLists.txt 0000664 0000000 0000000 00000000777 12656376666 017214 0 ustar SET (CMAKE_AUTOMOC ON)
pkg_check_modules(URL_DISPATCHER REQUIRED url-dispatcher-1)
# Find all the sources
file(GLOB_RECURSE
SCOPE_SOURCES
"*.cpp"
"*.h"
)
add_library(scope SHARED
${SCOPE_SOURCES}
)
include_directories(${URL_DISPATCHER_INCLUDE_DIRS})
target_link_libraries(scope
${SCOPE_LDFLAGS}
Qt5::Core
Qt5::Gui
${URL_DISPATCHER_LIBRARIES}
)
set_target_properties(scope
PROPERTIES
OUTPUT_NAME "${SCOPE_NAME}"
)
install(TARGETS scope
LIBRARY DESTINATION ${SCOPE_INSTALL_DIR}
)
libertine-scope-1.0/libertine-scope/container.cpp 0000664 0000000 0000000 00000001776 12656376666 017142 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "libertine-scope/container.h"
Container::
Container(std::string const& container_id)
: id_(container_id)
, name_(container_id)
{ }
Container::
~Container()
{ }
std::string Container::
id() const
{
return id_;
}
std::string Container::
name() const
{
return name_;
}
Container::AppLauncherList const& Container::
app_launchers() const
{
return app_launcher_list_;
}
libertine-scope-1.0/libertine-scope/applauncher.h 0000664 0000000 0000000 00000002475 12656376666 017124 0 ustar /*
* Copyright 2015 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LIBERTINE_SCOPE_APPLAUNCHER_H
#define LIBERTINE_SCOPE_APPLAUNCHER_H
#include
/**
* Information on a container application launcher.
*/
class AppLauncher
{
public:
/**
* Constructs an AppLaunchder object from a JSON string.
*/
explicit
AppLauncher(std::string const& json_string);
virtual
~AppLauncher();
virtual std::string
id() const;
virtual std::string
name() const;
virtual bool
no_display() const;
virtual std::string
icon() const;
virtual std::string
desktop_file() const;
private:
std::string name_;
bool no_display_;
std::string icon_;
std::string desktop_file_;
};
#endif /* LIBERTINE_SCOPE_APPLAUNCHER_H */
libertine-scope-1.0/libertine-scope/libertine.cpp 0000664 0000000 0000000 00000006054 12656376666 017127 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "libertine-scope/libertine.h"
#include "libertine-scope/container.h"
#include
#include
#include
#include
#include
#include
namespace
{
/**
* A real Libertine Container created by using the Libertine tools.
*/
class LibertineContainer
: public Container
{
public:
LibertineContainer(std::string const& container_id)
: Container(container_id)
{
QProcess libertine_container_manager;
libertine_container_manager.start("libertine-container-manager",
QStringList() << "list-apps"
<< "--id"
<< QString::fromStdString(id_)
<< "--json");
if (libertine_container_manager.waitForFinished())
{
QJsonDocument json = QJsonDocument::fromJson(libertine_container_manager.readAllStandardOutput());
QJsonObject object = json.object();
QJsonValue name = object["name"];
if (name != QJsonValue::Undefined)
{
name_ = name.toString().toStdString();
QJsonValue v = object["app_launchers"];
if (v != QJsonValue::Undefined)
{
for (auto const& app: v.toArray())
{
auto json = QJsonDocument(app.toObject()).toJson().toStdString();
app_launcher_list_.emplace_back(AppLauncher(json));
}
}
}
}
}
~LibertineContainer()
{ }
};
class LibertineCli
: public Libertine
{
public:
LibertineCli()
{
QProcess libertine_container_manager;
libertine_container_manager.start("libertine-container-manager",
QStringList() << "list");
if (libertine_container_manager.waitForFinished())
{
QString container_id_list(libertine_container_manager.readAllStandardOutput());
for (auto const& id: container_id_list.split("\n", QString::SkipEmptyParts))
{
container_list_.emplace_back(new LibertineContainer(id.toStdString()));
}
}
}
Libertine::ContainerList const&
get_container_list() const override
{
return container_list_;
}
private:
ContainerList container_list_;
};
} // anonymous namespace
Libertine::
~Libertine()
{ }
Libertine::UPtr Libertine::
from_libertine_cli()
{
return Libertine::UPtr(new LibertineCli());
}
libertine-scope-1.0/libertine-scope/localization.h 0000664 0000000 0000000 00000000736 12656376666 017310 0 ustar #ifndef LOCALIZATION_H_
#define LOCALIZATION_H_
#include
#include
inline char*
_(const char *__msgid)
{
return dgettext(GETTEXT_PACKAGE, __msgid);
}
inline std::string
_(char const*__msgid1, char const*__msgid2, unsigned long int __n)
{
char buffer [256];
if (snprintf(buffer, 256, dngettext(GETTEXT_PACKAGE, __msgid1, __msgid2, __n), __n ) >= 0)
{
return buffer;
}
else
{
return std::string();
}
}
#endif // LOCALIZATION_H_
libertine-scope-1.0/libertine-scope/libertine.h 0000664 0000000 0000000 00000003554 12656376666 016576 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LIBERTINE_SCOPE_LIBERTINE_H
#define LIBERTINE_SCOPE_LIBERTINE_H
#include
#include
#include
class Container;
/**
* Proxy object for the Libertine ecosphere.
*/
class Libertine
{
public:
using UPtr = std::unique_ptr;
using ContainerList = std::vector>;
/**
* Queries need to be parametrized on the Libertine implementation for reverse
* dependency injection during unit testing.
*/
using Factory = std::function;
public:
virtual
~Libertine() = 0;
/**
* Gets a list of identifiers for all Libertine containers on the system.
*
* This is a blocking call, so it may take a while to complete but it should
* be fairly fast in most cases. There is no locking associated with
* resources so it's possible that the list may not disagree with what's
* expected due to races if a container is created or destroyed while this
* function is running.
*/
virtual ContainerList const&
get_container_list() const = 0;
/**
* A default Libertine factory to create the Libertine object using the
* command-line tools.
*/
static Libertine::UPtr
from_libertine_cli();
};
#endif /* LIBERTINE_SCOPE_LIBERTINE_H */
libertine-scope-1.0/libertine-scope/preview.cpp 0000664 0000000 0000000 00000003132 12656376666 016625 0 ustar /*
* Copyright 2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "libertine-scope/preview.h"
#include
#include
#include
Preview::
Preview(unity::scopes::Result const& result,
unity::scopes::ActionMetadata const& metadata)
: PreviewQueryBase(result, metadata)
{
}
Preview::
~Preview()
{
}
void Preview::
cancelled()
{
}
void Preview::
run(unity::scopes::PreviewReplyProxy const& reply)
{
reply->push("description", unity::scopes::Variant("A Description"));
unity::scopes::PreviewWidget image_widget("myimage", "image");
image_widget.add_attribute_mapping("source", "art");
unity::scopes::PreviewWidget buttons("buttons", "actions");
unity::scopes::VariantBuilder vb;
vb.add_tuple({
{"id", unity::scopes::Variant("open")},
{"label", unity::scopes::Variant("Open")},
});
buttons.add_attribute_value("actions", vb.end());
unity::scopes::PreviewWidgetList widgets{ image_widget, buttons };
reply->push(widgets);
}
libertine-scope-1.0/libertine-scope/container.h 0000664 0000000 0000000 00000003167 12656376666 016603 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LIBERTINE_SCOPE_CONTAINER_H
#define LIBERTINE_SCOPE_CONTAINER_H
#include "libertine-scope/applauncher.h"
#include
#include
/**
* A Libertine container proxy.
*
* A Libertine container is really just a named collection of applications.
*
* This class itself is an opaque interface so it can be faked during testing or
* provided for reals in production.
*/
class Container
{
public:
using AppLauncherList = std::vector;
public:
/**
* Constructs an identified container.
*
* Synchronously scans the Libertine container for eligible application
* launcher .desktop files and their icons.
*/
explicit
Container(std::string const& container_id);
virtual
~Container() = 0;
virtual std::string
id() const;
virtual std::string
name() const;
virtual AppLauncherList const&
app_launchers() const;
protected:
std::string id_;
std::string name_;
AppLauncherList app_launcher_list_;
};
#endif /* LIBERTINE_SCOPE_CONTAINER_H */
libertine-scope-1.0/libertine-scope/query.h 0000664 0000000 0000000 00000002473 12656376666 015765 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LIBERTINE_SCOPE_QUERY_H_
#define LIBERTINE_SCOPE_QUERY_H_
#include "libertine-scope/libertine.h"
#include
#include
/**
* Engine to run a specific scope query.
*/
class Query
: public unity::scopes::SearchQueryBase
{
public:
Query(unity::scopes::CannedQuery const& query,
unity::scopes::SearchMetadata const& metadata,
Libertine::Factory const& libertine_factory);
~Query() = default;
void
cancelled() override;
void
run(unity::scopes::SearchReplyProxy const& reply) override;
private:
Libertine::Factory libertine_factory_;
};
#endif // LIBERTINE_SCOPE_QUERY_H_
libertine-scope-1.0/libertine-scope/preview.h 0000664 0000000 0000000 00000002111 12656376666 016266 0 ustar /*
* Copyright 2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LIBERTINE_SCOPE_PREVIEW_H
#define LIBERTINE_SCOPE_PREVIEW_H
#include
class Preview
: public unity::scopes::PreviewQueryBase
{
public:
Preview(unity::scopes::Result const& result,
unity::scopes::ActionMetadata const& metadata);
virtual ~Preview();
void
cancelled() override;
void
run(unity::scopes::PreviewReplyProxy const& reply) override;
private:
};
#endif /* LIBERTINE_SCOPE_PREVIEW_H */
libertine-scope-1.0/libertine-scope/applauncher.cpp 0000664 0000000 0000000 00000004136 12656376666 017453 0 ustar /*
* Copyright 2015-2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "libertine-scope/applauncher.h"
#include
#include
#include
#include
#include
#include
AppLauncher::
AppLauncher(std::string const& json_string)
{
auto doc = QJsonDocument::fromJson(QByteArray::fromStdString(json_string));
auto obj = doc.object();
name_ = obj["name"].toString().toStdString();
no_display_ = obj["no_display"].toBool();
QJsonValue icons = obj["icons"];
if (icons.isArray())
{
int width = 0;
for (auto const& icon: icons.toArray())
{
QString icon_file_name = icon.toString();
if (icon_file_name.endsWith(".svg", Qt::CaseInsensitive))
{
icon_ = "file://" + icon_file_name.toStdString();
break;
}
QImage image = QImage(icon_file_name);
if (image.width() > width)
{
icon_ = "file://" + icon_file_name.toStdString();
width = image.width();
}
}
}
desktop_file_ = obj["desktop_file_name"].toString().toStdString();
}
AppLauncher::
~AppLauncher()
{
}
std::string AppLauncher::
id() const
{
QFileInfo fi(QString::fromStdString(desktop_file_));
return fi.baseName().toStdString();
}
std::string AppLauncher::
name() const
{
return name_;
}
bool AppLauncher::
no_display() const
{
return no_display_;
}
std::string AppLauncher::
icon() const
{
return icon_;
}
std::string AppLauncher::
desktop_file() const
{
return desktop_file_;
}
libertine-scope-1.0/README.md 0000664 0000000 0000000 00000002333 12656376666 012635 0 ustar Libertine Scope
===============
The Libertine Scope is a Unity Scope that surfaces application launchers
contained in Libertine sandboxes.
Building the Scope
------------------
See the file debian/control for a list of required build dependencies.
Once the build dependencies are installed, all you should need to do to build
the project is the following set of commands.
mkdir build && cd build
cmake ..
make
Testinmg the Scope
------------------
To test the built scope, it needs to be be installed into a staging area first.
That's because the Unity test tools have rigid assumptions about the layout of various
installed data files, and the division between the sources and the built
artifacts that the CMake toolchain delivers do not meet those assumptions. SO
be it: installing into a staging area is no great hassle, but if you forget to
do it in your compile/install/run cycle you will meet with frustration.
Without system installation, you can test the scope using the unity-scope-tool
package available in the Ubuntu archives.
Here's the typical build/install/test cycle.
make install DESTDIR=/tmpstaging/
unity-scope-tool /tmp/staging/usr/local/lib/unity-scopes/libertine-scope/libertine-scope.ini
libertine-scope-1.0/po/ 0000775 0000000 0000000 00000000000 12656376703 011763 5 ustar libertine-scope-1.0/po/CMakeLists.txt 0000664 0000000 0000000 00000000224 12656376666 014531 0 ustar intltool_update_potfile(
ALL
GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
)
intltool_install_translations(
ALL
GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
)
libertine-scope-1.0/po/Makefile.in.in 0000664 0000000 0000000 00000000101 12656376666 014435 0 ustar XGETTEXT_KEYWORDS=--c++ --keyword=_ --keyword=N_ --keyword=_:1,2
libertine-scope-1.0/po/POTFILES.in 0000664 0000000 0000000 00000001053 12656376666 013547 0 ustar libertine-scope/query.cpp
libertine-scope/container.cpp
libertine-scope/applauncher.cpp
libertine-scope/libertine.cpp
libertine-scope/preview.cpp
libertine-scope/scope.cpp
tests/fake_container.cpp
tests/fake_libertine.cpp
tests/test_scope.cpp
libertine-scope/preview.h
libertine-scope/libertine.h
libertine-scope/scope.h
libertine-scope/applauncher.h
libertine-scope/query.h
libertine-scope/container.h
libertine-scope/localization.h
tests/fake_container_json.h
tests/TypedScopeFixture.h
tests/fake_libertine.h
tests/scopefixture.h
tests/fake_container.h
libertine-scope-1.0/COPYING 0000664 0000000 0000000 00000104513 12656376666 012414 0 ustar GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
libertine-scope-1.0/manifest.json.in 0000664 0000000 0000000 00000000740 12656376666 014464 0 ustar {
"architecture": "@CLICK_ARCH@",
"description": "A Unity scope that surfaces Legacy apps from a Libertine container",
"framework": "ubuntu-sdk-15.04.3",
"hooks": {
"libertine-scope": {
"apparmor": "libertine-scope.apparmor",
"scope": "libertine-scope"
}
},
"maintainer": "Stephen M. Webb ",
"name": "libertine-scope.canonical",
"title": "libertine-scope",
"version": "0.1"
}
libertine-scope-1.0/debian/ 0000775 0000000 0000000 00000000000 12656376703 012567 5 ustar libertine-scope-1.0/debian/compat 0000664 0000000 0000000 00000000002 12656376666 013775 0 ustar 9
libertine-scope-1.0/debian/upstream/ 0000775 0000000 0000000 00000000000 12656376703 014427 5 ustar libertine-scope-1.0/debian/upstream/signing-key.asc 0000664 0000000 0000000 00000030617 12656376666 017362 0 ustar -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBE57SAgBEADvDZbwpDG5dr3L1kLA4w7faU2oSMHvVe4uKqXUAjekdZObRQxB
KenGj5BiQVXhy8ocwVkPros7YO2pQTcSt+zpUHx82Lp43faVOCnfanRxF/qAaMYR
6Jv874ckkPCghGoPn8upaN3ofbQaoiN7pjmszzkH14NrZdbQBiYasotEdU7+E1qa
QBbSOxIstZEh4E2b4o5bNK/FKSOV45LZ13+/ZL2+kPx8hKGmUfxaYiEqaydLYilD
BXcbRrMdclb20mHGSOkxyf6nBCBE0Jdea4+PGHj4evbm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DMe
R3eq+Mnh0kiovjzl6TJpKOh170Z52Ngxey4oPwdklyw2Mp6BTAw0s8L4riKns1DF
sjumoBa6KW6Q4NqgRH/NJ7dtI5oIg6eZ887wK/hNeu/gleqJgPh16dCn2ljT9C6Z
p4SvclmPUfNZ1DY+qHvIKhGDmWqHIv+OsQA5IUI+NZzCRDZo4sSA83seyWwHQgir
aexhUobmuzlF5L0lNrMWqQa2w3khKPbB9TKJrJjXvvSnCpS0ro8FGc+mpNi5sEP/
E5Ez63URsPmLpvyoxMhKnFGaYZ2gO1po2wi58PuIzkF9IWyZHiCk3+Sb9De4GjSU
Fa8nFibyLQF4NyYNY8MwtyD6zt0IDwYKGDte+nXz3Q4j+D8pULr28K0oifln0o49
ql0eDU2Gu8QDGFjClmH45xRNRtlLFp1tguTLlIRlL5nS
=TJFo
-----END PGP PUBLIC KEY BLOCK-----
libertine-scope-1.0/debian/changelog 0000664 0000000 0000000 00000000253 12656376666 014451 0 ustar libertine-scope (1.0-0ubuntu1) xenial; urgency=low
* Initial release (lp: #1541417).
-- Stephen M. Webb Wed, 03 Feb 2016 19:42:14 -0500
libertine-scope-1.0/debian/copyright 0000664 0000000 0000000 00000003316 12656376666 014535 0 ustar Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libertine-scope
Source: https://launchpad.net/libertine-scope
Files: tests/TypedScopeFixture.h
Copyright: 2013 Canonical Ltd.
License: LGPL-3.0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3 as
published by the Free Software Foundation.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see .
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".
Files: *
Copyright: 2015-2016 Canonical Ltd.
License: GPL-3.0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
libertine-scope-1.0/debian/watch 0000664 0000000 0000000 00000000204 12656376666 013624 0 ustar version=3
opts="pgpsigurlmangle=s/$/.asc/" \
http://launchpad.net/libertine-scope/+download .*/libertine-scope-([0-9.]+)\.tar\.bz2
libertine-scope-1.0/debian/rules 0000775 0000000 0000000 00000000064 12656376666 013657 0 ustar #!/usr/bin/make -f
%:
dh $@ --with translations
libertine-scope-1.0/debian/control 0000664 0000000 0000000 00000002213 12656376666 014200 0 ustar Source: libertine-scope
Section: x11
Priority: optional
Maintainer: Ubuntu Developers
XSBC-Original-Maintainer: Stephen M. Webb
Build-Depends: cmake (>= 3),
cmake-extras,
debhelper (>= 9),
dh-translations,
google-mock,
intltool,
libunity-scopes-dev (>= 0.6.0),
liburl-dispatcher1-dev,
pkg-config,
qtbase5-dev
Standards-Version: 3.9.6
Homepage: https://launchpad.net/libertine-scope
Vcs-Bzr: https://code.launchpad.net/~libertine-team/libertine-scope/devel
Vcs-Browser: https://bazaar.launchpad.net/~libertine-team/libertine/devel/files
Package: libertine-scope
Architecture: any
Depends: libertine-tools,
${misc:Depends},
${shlibs:Depends}
Description: Libertine packages scope for Unity
The Libertine package scope surfaces applications installed in a Libertine
sandbox for the support of deb-packaged X11-based legacy software that is
still waiting to be ported natively to Unity.
.
This package provides the Libertine scope itself.
libertine-scope-1.0/debian/source/ 0000775 0000000 0000000 00000000000 12656376703 014067 5 ustar libertine-scope-1.0/debian/source/format 0000664 0000000 0000000 00000000004 12656376666 015304 0 ustar 1.0
libertine-scope-1.0/libertine-scope.apparmor 0000664 0000000 0000000 00000000140 12656376666 016177 0 ustar {
"template": "ubuntu-scope-network",
"policy_groups": [],
"policy_version": 1.3
}
libertine-scope-1.0/data/ 0000775 0000000 0000000 00000000000 12656376703 012256 5 ustar libertine-scope-1.0/data/logo.xcf 0000664 0000000 0000000 00000120544 12656376666 013736 0 ustar gimp xcf file R B%B% 6
gimp-comment gimp-image-grid (style solid)
(fgcolor (color-rgba 0.000000 0.000000 0.000000 1.000000))
(bgcolor (color-rgba 1.000000 1.000000 1.000000 1.000000))
(xspacing 10.000000)
(yspacing 10.000000)
(spacing-unit inches)
(xoffset 0.000000)
(yoffset 0.000000)
(offset-unit inches)
- P k m %
Pasted Layer k
M ~ % - - % ! 9 9 9 9 9
𭱱
- / / / 0 0 M ABCC 9 @ABB 9 ?@@AA 9 >??@A 9 >?@ 9 =>>? JLMNNOP [^_``bcdeff jllmm <==>> DHHIJKLMNNO LXY[\]^_`abcdd hij <= BEFGHIIJKLMMN IUVWXYZ[\]^_``a deef ;<<=
CDEFFEHIJKLMM RSTUUVXXYZ[\\]^ abab ;<
BCDDEE?FGIIJKK MOQRRSUI@WXYZZ[ ^_I]__ :;;<