xawtv build and check
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
--- console/Subdir.mk.orig 2011-09-05 20:26:02.000000000 +0300
|
||||
+++ console/Subdir.mk 2011-09-10 14:13:33.887999993 +0300
|
||||
@@ -88,6 +88,10 @@
|
||||
console/scantv : LDFLAGS := $(DLFLAGS)
|
||||
console/streamer : LDFLAGS := $(DLFLAGS)
|
||||
console/webcam : LDFLAGS := $(DLFLAGS)
|
||||
+console/v4l-conf : LDFLAGS := $(DLFLAGS) -pie
|
||||
+
|
||||
+# compile flags
|
||||
+console/v4l-conf : CFLAGS += -fPIE
|
||||
|
||||
# global targets
|
||||
all:: $(TARGETS-console) $(TARGETS-v4l-conf)
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
diff -uNr xawtv-3.100.orig/common/channel.c xawtv-3.100/common/channel.c
|
||||
--- xawtv-3.100.orig/common/channel.c 2011-02-22 07:56:44.000000000 +0200
|
||||
+++ xawtv-3.100/common/channel.c 2011-05-07 15:35:34.948000119 +0300
|
||||
@@ -181,6 +181,9 @@
|
||||
{ -1, NULL, },
|
||||
};
|
||||
|
||||
+extern struct STRTAB booltab[];
|
||||
+extern struct STRTAB captab[];
|
||||
+
|
||||
/* just malloc memory for a new channel ... */
|
||||
struct CHANNEL*
|
||||
add_channel(char *name)
|
||||
diff -uNr xawtv-3.100.orig/common/channel.h xawtv-3.100/common/channel.h
|
||||
--- xawtv-3.100.orig/common/channel.h 2011-02-22 07:56:44.000000000 +0200
|
||||
+++ xawtv-3.100/common/channel.h 2011-05-07 15:36:33.398000163 +0300
|
||||
@@ -90,8 +90,5 @@
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
-extern struct STRTAB booltab[];
|
||||
-extern struct STRTAB captab[];
|
||||
-
|
||||
int str_to_int(char *str, struct STRTAB *tab);
|
||||
const char* int_to_str(int n, struct STRTAB *tab);
|
||||
diff -uNr xawtv-3.100.orig/common/commands.c xawtv-3.100/common/commands.c
|
||||
--- xawtv-3.100.orig/common/commands.c 2011-02-22 07:56:44.000000000 +0200
|
||||
+++ xawtv-3.100/common/commands.c 2011-05-07 15:37:07.600000117 +0300
|
||||
@@ -162,6 +162,9 @@
|
||||
|
||||
static int keypad_state = -1;
|
||||
|
||||
+extern struct STRTAB booltab[];
|
||||
+extern struct STRTAB captab[];
|
||||
+
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
void add_attrs(struct ng_attribute *new)
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Icon=xawtv.xpm
|
||||
Exec=xawtv
|
||||
Name=XawTV
|
||||
Name[tr]=XawTV
|
||||
GenericName=Television Viewer
|
||||
GenericName[tr]=Televizyon Uygulaması
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;AudioVideo;
|
||||
Reference in New Issue
Block a user