Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #24 from a-detiste/master
Browse files Browse the repository at this point in the history
debian: fix most lintian warnings, switch to debhelper 9
  • Loading branch information
codestation committed Mar 1, 2015
2 parents d08ae27 + 873985f commit 4b7a7db
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
9
7 changes: 5 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Source: qcma
Section: utils
Priority: extra
Maintainer: codestation <codestation404@gmail.com>
Standards-Version: 3.9.4
Standards-Version: 3.9.6
Homepage: http://github.com/codestation/qcma
Vcs-Git: git://github.com/codestation/qcma.git
Build-Depends:
debhelper (>= 8.0.0),
debhelper (>= 9),
libavformat-dev,
libswscale-dev,
qtbase5-dev,
Expand All @@ -22,6 +22,9 @@ Package: qcma
Architecture: any
Depends: vitamtp4 (>= 2.5.5), ${shlibs:Depends}, ${misc:Depends}
Description: Content Manager Assistant for the PS Vita
QCMA will allow you to backup your PS Vita games & manage
your songs, videos & photos.
You can connect your Vita wirelessly or via USB.

Package: qcma-cli
Architecture: any
Expand Down
3 changes: 0 additions & 3 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ License: GPL-3.0
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
2 changes: 1 addition & 1 deletion debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (quilt)
3.0 (native)
42 changes: 21 additions & 21 deletions src/cmaevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ quint16 CmaEvent::processAllObjects(metadata_t &parent_metadata, quint32 handle)

void CmaEvent::vitaEventGetTreatObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

treat_object_t treatObject;

Expand All @@ -255,11 +255,11 @@ void CmaEvent::vitaEventGetTreatObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendCopyConfirmationInfo(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

copy_confirmation_info_t *info;
if(VitaMTP_SendCopyConfirmationInfoInit(m_device, eventId, &info) != PTP_RC_OK) {
qWarning("Error recieving initial information.");
qWarning("Error receiving initial information.");
return;
}

Expand Down Expand Up @@ -327,7 +327,7 @@ void CmaEvent::vitaEventSendCopyConfirmationInfo(vita_event_t *cma_event, int ev

void CmaEvent::vitaEventSendObjectMetadataItems(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

quint32 ohfi;
if(VitaMTP_SendObjectMetadataItems(m_device, eventId, &ohfi) != PTP_RC_OK) {
Expand Down Expand Up @@ -358,7 +358,7 @@ void CmaEvent::vitaEventSendObjectMetadataItems(vita_event_t *cma_event, int eve

void CmaEvent::vitaEventSendNPAccountInfo(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
// AFAIK, Sony hasn't even implemented this in their CMA
qWarning("Event 0x%x unimplemented!", cma_event->Code);
}
Expand All @@ -371,7 +371,7 @@ void CmaEvent::vitaEventUnimplementated(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventCancelTask(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

quint32 eventIdToCancel = cma_event->Param2;
qDebug("Cancelling event %d", eventIdToCancel);
Expand All @@ -388,7 +388,7 @@ void CmaEvent::vitaEventCancelTask(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendNumOfObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

QMutexLocker locker(&m_db->mutex);

Expand All @@ -405,7 +405,7 @@ void CmaEvent::vitaEventSendNumOfObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendObjectMetadata(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

browse_info_t browse;

Expand All @@ -430,7 +430,7 @@ void CmaEvent::vitaEventSendObjectMetadata(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

int ohfi = cma_event->Param2;

Expand Down Expand Up @@ -516,11 +516,11 @@ void CmaEvent::vitaEventSendObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendHttpObjectFromURL(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

char *url;
if(VitaMTP_GetUrl(m_device, eventId, &url) != PTP_RC_OK) {
qWarning("Failed to recieve URL");
qWarning("Failed to receive URL");
return;
}

Expand Down Expand Up @@ -591,7 +591,7 @@ void CmaEvent::vitaEventSendHttpObjectFromURL(vita_event_t *cma_event, int event

void CmaEvent::vitaEventSendObjectStatus(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

object_status_t objectstatus;

Expand Down Expand Up @@ -626,7 +626,7 @@ void CmaEvent::vitaEventSendObjectStatus(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendObjectThumb(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

QMutexLocker locker(&m_db->mutex);

Expand Down Expand Up @@ -667,7 +667,7 @@ void CmaEvent::vitaEventSendObjectThumb(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventDeleteObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

QMutexLocker locker(&m_db->mutex);

Expand All @@ -690,7 +690,7 @@ void CmaEvent::vitaEventDeleteObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventGetSettingInfo(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

settings_info_t *settingsinfo;
if(VitaMTP_GetSettingInfo(m_device, eventId, &settingsinfo) != PTP_RC_OK) {
Expand All @@ -715,7 +715,7 @@ void CmaEvent::vitaEventGetSettingInfo(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendHttpObjectPropFromURL(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

char *url;
if(VitaMTP_GetUrl(m_device, eventId, &url) != PTP_RC_OK) {
Expand Down Expand Up @@ -751,7 +751,7 @@ void CmaEvent::vitaEventSendHttpObjectPropFromURL(vita_event_t *cma_event, int e

void CmaEvent::vitaEventSendPartOfObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

send_part_init_t part_init;

Expand Down Expand Up @@ -793,7 +793,7 @@ void CmaEvent::vitaEventSendPartOfObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventOperateObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

operate_object_t operateobject;

Expand Down Expand Up @@ -870,7 +870,7 @@ void CmaEvent::vitaEventOperateObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventGetPartOfObject(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

unsigned char *data;
send_part_init_t part_init;
Expand Down Expand Up @@ -915,7 +915,7 @@ void CmaEvent::vitaEventGetPartOfObject(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventSendStorageSize(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

QMutexLocker locker(&m_db->mutex);

Expand Down Expand Up @@ -961,7 +961,7 @@ void CmaEvent::vitaEventSendStorageSize(vita_event_t *cma_event, int eventId)

void CmaEvent::vitaEventCheckExistance(vita_event_t *cma_event, int eventId)
{
qDebug("Event recieved in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);
qDebug("Event received in %s, code: 0x%x, id: %d", Q_FUNC_INFO, cma_event->Code, eventId);

int handle = cma_event->Param2;
existance_object_t existance;
Expand Down

0 comments on commit 4b7a7db

Please sign in to comment.