Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
2aa907d17f
3 changed files with 112 additions and 0 deletions
  1. +57
    -0
      package/fake/gnophone/gcc34.patch
  2. +45
    -0
      package/fake/gnophone/gnophone.desc
  3. +10
    -0
      package/fake/gnophone/linux-2.6.9-ixjuser_h.patch

+ 57
- 0
package/fake/gnophone/gcc34.patch

@ -0,0 +1,57 @@
--- ./src/gnophone_gui.c.orig 2004-12-02 02:35:20.510570584 +0100
+++ ./src/gnophone_gui.c 2004-12-02 02:35:30.377070648 +0100
@@ -1396,6 +1396,7 @@
p->moving = 0;
break;
default:
+ ;
}
return FALSE;
}
--- ./sounds/raw2h.c.orig 2004-12-02 02:24:39.857964584 +0100
+++ ./sounds/raw2h.c 2004-12-02 02:29:13.291396384 +0100
@@ -28,20 +28,7 @@
res = read(i, buf, sizeof(buf));
assert(res >= 0);
assert(res < sizeof(buf));
- fprintf(o,
-"/*
- * Signed 16-bit audio data
- *
- * Source: %s
- *
- * Copyright (C) 1999, Mark Spencer and Linux Support Services
- *
- * Distributed under the terms of the GNU General Public License
- *
- */
-
-static signed short %s[] = {
-", argv[1], n);
+ fprintf(o, "/*\n * Signed 16-bit audio data\n *\n * Source: %s\n *\n * Copyright (C) 1999, Mark Spencer and Linux Support Services\n *\n * Distributed under the terms of the GNU General Public License\n *\n */\n \n static signed short %s[] = {\n ", argv[1], n);
for (x=0;x<res/2 - 1;x++) {
fprintf(o, "%#06hx, ", buf[x]);
if ((x % 10) == 9)
--- ./sounds/mkdtmf.c.orig 2004-12-02 02:29:24.684664344 +0100
+++ ./sounds/mkdtmf.c 2004-12-02 02:30:05.518456664 +0100
@@ -25,19 +25,7 @@
if (argc != 3)
exit(1);
- printf(
-"/*
- * Signed 16-bit audio data representing '%s' in dtmf
- *
- * Copyright (C) 2000, Linux Support Services, Inc.
- *
- * Distributed under the terms of the GNU General
- * Public License
- *
- */
-
-static short %s[] = {
-", argv[1], argv[2]);
+ printf( "/* \n * Signed 16-bit audio data representing '%s' in dtmf\n * \n * Copyright (C) 2000, Linux Support Services, Inc.\n * \n * Distributed under the terms of the GNU General\n * Public License\n *\n */\n \n static short %s[] = { \n ", argv[1], argv[2]);
ap = argv[1];
while (*ap) {

+ 45
- 0
package/fake/gnophone/gnophone.desc

@ -0,0 +1,45 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/gnophone/gnophone.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] a VoIP application using IAX
[T] Gnophone is an open source internet telephone that allows you to make
[T] calls to other GnoPhone users or to an Asterisk PBX Gateway. It supports
[T] a fully featured web interface allowing you to participate in various
[T] discussion groups. It also supports the full rate GSM codec for great
[T] quality that doesn't require very high bandwidth.
[U] http://www.gnophone.com/
[A] Linux Support Services <support@gnophone.com>
[M] fake <fake@rocklinux.org>
[C] extra/multimedia
[L] GPL
[S] Stable
[V] 0.2.4
[P] X -----5---9 800.000
[D] 609985867 gnophone-0.2.4.tar.gz ftp://ftp.gnophone.com/pub/gnophone/

+ 10
- 0
package/fake/gnophone/linux-2.6.9-ixjuser_h.patch

@ -0,0 +1,10 @@
--- ./src/modules/audio-phone.c.orig 2004-12-02 02:32:42.335616832 +0100
+++ ./src/modules/audio-phone.c 2004-12-02 02:32:59.888948320 +0100
@@ -26,6 +26,7 @@
#include <sys/ioctl.h>
#include <linux/telephony.h>
#ifdef IXJ_ENHANCED
+#include <linux/compiler.h>
#include <linux/ixjuser.h>
#endif
#include <sys/stat.h>

Loading…
Cancel
Save