mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-23 13:42:55 +08:00
update: glib.h include path
This commit is contained in:
parent
936f99c3e7
commit
f1c41c074e
@ -119,7 +119,7 @@ set(DS_VERSION_MAJOR 1)
|
||||
set(DS_VERSION_MINOR 2)
|
||||
set(DS_VERSION_MICRO 0)
|
||||
set(DS_VERSION_STRING
|
||||
${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}
|
||||
${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO} RC1
|
||||
)
|
||||
|
||||
configure_file (
|
||||
|
13
DSView/clean
Executable file
13
DSView/clean
Executable file
@ -0,0 +1,13 @@
|
||||
echo "rm cmake cache begin..."
|
||||
rm ./cmake_install.cmake
|
||||
rm -r ./CMakeFiles
|
||||
rm ./Makefile
|
||||
rm ./CMakeCache.txt
|
||||
rm ./*.cmake
|
||||
rm ./DSView
|
||||
rm ./DSView.qrc.depends
|
||||
sudo rm ./install_manifest.txt
|
||||
|
||||
find . -name 'moc_*.cpp*' | xargs rm -rf
|
||||
find . -name 'qrc_*.cpp' | xargs rm -rf
|
||||
echo "rm cmake cache end..."
|
@ -29,6 +29,6 @@
|
||||
#define DS_VERSION_MAJOR 1
|
||||
#define DS_VERSION_MINOR 2
|
||||
#define DS_VERSION_MICRO 0
|
||||
#define DS_VERSION_STRING "1.2.0"
|
||||
#define DS_VERSION_STRING "1.2.0;RC1"
|
||||
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
struct srd_decoder;
|
||||
struct srd_decoder_inst;
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <QObject>
|
||||
|
||||
#include <string>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <libsigrok4DSL/libsigrok.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
#ifndef DSVIEW_PV_DEVICEMANAGER_H
|
||||
#define DSVIEW_PV_DEVICEMANAGER_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
|
@ -86,7 +86,7 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <list>
|
||||
#include "ui/msgbox.h"
|
||||
#include "config/appconfig.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#ifndef DSVIEW_PV_PROP_BINDING_BINDING_H
|
||||
#define DSVIEW_PV_PROP_BINDING_BINDING_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#ifndef DSVIEW_PV_PROP_PROPERTY_H
|
||||
#define DSVIEW_PV_PROP_PROPERTY_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
#include <boost/function.hpp>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "libsigrok.h"
|
||||
#include "libsigrok-internal.h"
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
|
||||
|
||||
/**
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "libsigrok.h"
|
||||
#include "libsigrok-internal.h"
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
|
||||
|
||||
/* Message logging helpers with subsystem-specific prefix string. */
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef LIBDSL_HARDWARE_COMMAND_H
|
||||
#define LIBDSL_HARDWARE_COMMAND_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "../../libsigrok.h"
|
||||
#include "../../libsigrok-internal.h"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef LIBDSL_HARDWARE_DSL_H
|
||||
#define LIBDSL_HARDWARE_DSL_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "../../libsigrok.h"
|
||||
#include "../../libsigrok-internal.h"
|
||||
#include "command.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "../../libsigrok.h"
|
||||
#include "../../libsigrok-internal.h"
|
||||
//#include <libusb.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "../../libsigrok.h"
|
||||
#include "../../libsigrok-internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
//#include <libusb.h>
|
||||
|
||||
/* SR_CONF_CONN takes one of these: */
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef LIBDSL_HARDWARE_DEMO_H
|
||||
#define LIBDSL_HARDWARE_DEMO_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "../../libsigrok.h"
|
||||
#include "../../libsigrok-internal.h"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
|
||||
|
||||
#include "hardware/DSL/dsl.h"
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "../libsigrok.h"
|
||||
#include "../libsigrok-internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define LIBSIGROK_SIGROK_INTERNAL_H
|
||||
|
||||
//#include <stdarg.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
|
||||
#ifdef HAVE_LIBUSB_1_0
|
||||
#include <libusb.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <zip.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "../libsigrok-internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "../config.h" /* Needed for PACKAGE_STRING and others. */
|
||||
|
||||
#define LOG_PREFIX "output/csv"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "../config.h" /* Needed for PACKAGE_STRING and others. */
|
||||
|
||||
#define LOG_PREFIX "output/gnuplot"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <zip.h>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "../libsigrok-internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include "../config.h" /* Needed for PACKAGE and others. */
|
||||
|
||||
#define LOG_PREFIX "output/vcd"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
/* Message logging helpers with subsystem-specific prefix string. */
|
||||
#define LOG_PREFIX "session: "
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include "config.h" /* Needed for PACKAGE_VERSION and others. */
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "libsigrok.h"
|
||||
#include "libsigrok-internal.h"
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
/**
|
||||
* Standard sr_driver_init() API helper.
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
/* Message logging helpers with subsystem-specific prefix string. */
|
||||
#define LOG_PREFIX "session: "
|
||||
|
@ -80,7 +80,7 @@
|
||||
#define SRD_PACKAGE_VERSION_MINOR 6
|
||||
|
||||
/* Version of libsigrokdecode4DSL. */
|
||||
#define SRD_PACKAGE_VERSION_STRING "0.6.0-git-f18df52"
|
||||
#define SRD_PACKAGE_VERSION_STRING "0.6.0-git-936f99c"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "config.h"
|
||||
#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
|
||||
#include "libsigrokdecode.h"
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
|
||||
#include "libsigrokdecode.h"
|
||||
#include <stdarg.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
static char *py_stringify(PyObject *py_obj)
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "config.h"
|
||||
#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
|
||||
#include "libsigrokdecode.h"
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define LIBSIGROKDECODE_LIBSIGROKDECODE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
#define DECODE_NUM_HEX_MAX_LEN 35
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
|
||||
#include "libsigrokdecode.h"
|
||||
#include <inttypes.h>
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "config.h"
|
||||
#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
|
||||
#include "libsigrokdecode.h"
|
||||
#include <glib.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
/** @cond PRIVATE */
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
#define SRD_PACKAGE_VERSION_MICRO 0
|
||||
|
||||
/** The libsigrokdecode package version ("major.minor.micro") as string. */
|
||||
#define SRD_PACKAGE_VERSION_STRING "0.6.0-git-f18df52"
|
||||
#define SRD_PACKAGE_VERSION_STRING "0.6.0-git-936f99c"
|
||||
|
||||
/*
|
||||
* Library/libtool version macros (can be used for conditional compilation).
|
||||
|
Loading…
x
Reference in New Issue
Block a user