rpms/clips/devel xclips.desktop, NONE, 1.1 clips-6.24-linux.patch, NONE, 1.1 clips-6.24-time-sysdep.c.patch, NONE, 1.1
Rick L. Vinyard, Jr. (rvinyard)
fedora-extras-commits at redhat.com
Sun Aug 26 06:16:46 UTC 2007
Author: rvinyard
Update of /cvs/extras/rpms/clips/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3608
Added Files:
xclips.desktop clips-6.24-linux.patch
clips-6.24-time-sysdep.c.patch
Log Message:
--- NEW FILE xclips.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=XCLIPS
GenericName=XCLIPS Expert System
Exec=xclips
Icon=xclips.png
Terminal=false
Type=Application
Categories=Application;Development;
Version=1.0
clips-6.24-linux.patch:
--- NEW FILE clips-6.24-linux.patch ---
diff -r -U 5 -P clipssrc.orig/autogen.sh clipssrc/autogen.sh
--- clipssrc.orig/autogen.sh 1969-12-31 17:00:00.000000000 -0700
+++ clipssrc/autogen.sh 2007-08-25 12:45:47.000000000 -0600
@@ -0,0 +1,53 @@
+#! /bin/sh
+set -e
+
+# $Id: autogen.sh,v 1.3 2006-03-13 01:43:04 jjongsma Exp $
+#
+# Copyright (c) 2002 Daniel Elstner <daniel.elstner at gmx.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License VERSION 2 as
+# published by the Free Software Foundation. You are not allowed to
+# use any other version of the license; unless you got the explicit
+# permission from the author to do so.
+#
+# 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
+dir=`echo "$0" | sed 's,[^/]*$,,'`
+test "x${dir}" = "x" && dir='.'
+
+if test "x`cd "${dir}" 2>/dev/null && pwd`" != "x`pwd`"
+then
+ echo "This script must be executed directly from the source directory."
+ exit 1
+fi
+
+LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+AUTOCONF=${AUTOCONF:-autoconf}
+AUTOMAKE=${AUTOMAKE:-automake}
+AUTOHEADER=${AUTOHEADER:-autoheader}
+
+ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
+
+rm -f config.cache acconfig.h
+
+do_cmd() {
+ echo "- $@"
+ $@
+}
+
+do_cmd $ACLOCAL
+do_cmd $LIBTOOLIZE -c --force
+do_cmd $AUTOHEADER
+do_cmd $AUTOCONF
+do_cmd $AUTOMAKE --add-missing --foreign
+#do_cmd ./configure "$@"
Only in clipssrc.orig/clips: ._agenda.c
Only in clipssrc.orig/clips: ._agenda.h
Only in clipssrc.orig/clips: ._analysis.c
Only in clipssrc.orig/clips: ._analysis.h
Only in clipssrc.orig/clips: ._argacces.c
Only in clipssrc.orig/clips: ._argacces.h
Only in clipssrc.orig/clips: ._bload.c
Only in clipssrc.orig/clips: ._bload.h
Only in clipssrc.orig/clips: ._bmathfun.c
Only in clipssrc.orig/clips: ._bmathfun.h
Only in clipssrc.orig/clips: ._bsave.c
Only in clipssrc.orig/clips: ._bsave.h
Only in clipssrc.orig/clips: ._classcom.c
Only in clipssrc.orig/clips: ._classcom.h
Only in clipssrc.orig/clips: ._classexm.c
Only in clipssrc.orig/clips: ._classexm.h
Only in clipssrc.orig/clips: ._classfun.c
Only in clipssrc.orig/clips: ._classfun.h
Only in clipssrc.orig/clips: ._classinf.c
Only in clipssrc.orig/clips: ._classinf.h
Only in clipssrc.orig/clips: ._classini.c
Only in clipssrc.orig/clips: ._classini.h
Only in clipssrc.orig/clips: ._classpsr.c
Only in clipssrc.orig/clips: ._classpsr.h
diff -r -U 5 -P clipssrc.orig/clips/clips-config.h.in clipssrc/clips/clips-config.h.in
--- clipssrc.orig/clips/clips-config.h.in 1969-12-31 17:00:00.000000000 -0700
+++ clipssrc/clips/clips-config.h.in 2006-07-31 18:34:38.000000000 -0600
@@ -0,0 +1,4 @@
+#ifndef CLIPSCONFIG_H
+#define CLIPS_HELPFILE "@CLIPS_HELPFILE@"
+#endif // CLIPSCONFIG_H
+
Only in clipssrc.orig/clips: ._clips.h
diff -r -U 5 -P clipssrc.orig/clips/clips.h clipssrc/clips/clips.h
--- clipssrc.orig/clips/clips.h 2006-06-05 19:56:09.000000000 -0600
+++ clipssrc/clips/clips.h 2006-06-22 19:04:59.000000000 -0600
@@ -22,10 +22,14 @@
/*************************************************************/
#ifndef _H_API
#define _H_API
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "setup.h"
#ifndef _H_argacces
#include "argacces.h"
#endif
#include "constant.h"
@@ -125,10 +129,13 @@
#include "msgcom.h"
#include "msgpass.h"
#include "objrtmch.h"
#endif
+#ifdef __cplusplus
+}
+#endif
#endif
Only in clipssrc.orig/clips: ._clsltpsr.c
Only in clipssrc.orig/clips: ._clsltpsr.h
Only in clipssrc.orig/clips: ._cmptblty.h
Only in clipssrc.orig/clips: ._commline.c
Only in clipssrc.orig/clips: ._commline.h
Only in clipssrc.orig/clips: ._conscomp.c
Only in clipssrc.orig/clips: ._conscomp.h
Only in clipssrc.orig/clips: ._constant.h
Only in clipssrc.orig/clips: ._constrct.c
Only in clipssrc.orig/clips: ._constrct.h
Only in clipssrc.orig/clips: ._constrnt.c
Only in clipssrc.orig/clips: ._constrnt.h
Only in clipssrc.orig/clips: ._crstrtgy.c
Only in clipssrc.orig/clips: ._crstrtgy.h
Only in clipssrc.orig/clips: ._cstrcbin.c
Only in clipssrc.orig/clips: ._cstrcbin.h
Only in clipssrc.orig/clips: ._cstrccmp.h
Only in clipssrc.orig/clips: ._cstrccom.c
Only in clipssrc.orig/clips: ._cstrccom.h
Only in clipssrc.orig/clips: ._cstrcpsr.c
Only in clipssrc.orig/clips: ._cstrcpsr.h
Only in clipssrc.orig/clips: ._cstrnbin.c
Only in clipssrc.orig/clips: ._cstrnbin.h
Only in clipssrc.orig/clips: ._cstrnchk.c
Only in clipssrc.orig/clips: ._cstrnchk.h
Only in clipssrc.orig/clips: ._cstrncmp.c
Only in clipssrc.orig/clips: ._cstrncmp.h
Only in clipssrc.orig/clips: ._cstrnops.c
Only in clipssrc.orig/clips: ._cstrnops.h
Only in clipssrc.orig/clips: ._cstrnpsr.c
Only in clipssrc.orig/clips: ._cstrnpsr.h
Only in clipssrc.orig/clips: ._cstrnutl.c
Only in clipssrc.orig/clips: ._cstrnutl.h
Only in clipssrc.orig/clips: ._default.c
Only in clipssrc.orig/clips: ._default.h
Only in clipssrc.orig/clips: ._defins.c
Only in clipssrc.orig/clips: ._defins.h
Only in clipssrc.orig/clips: ._developr.c
Only in clipssrc.orig/clips: ._developr.h
Only in clipssrc.orig/clips: ._dffctbin.c
Only in clipssrc.orig/clips: ._dffctbin.h
Only in clipssrc.orig/clips: ._dffctbsc.c
Only in clipssrc.orig/clips: ._dffctbsc.h
Only in clipssrc.orig/clips: ._dffctcmp.c
Only in clipssrc.orig/clips: ._dffctcmp.h
Only in clipssrc.orig/clips: ._dffctdef.c
Only in clipssrc.orig/clips: ._dffctdef.h
Only in clipssrc.orig/clips: ._dffctpsr.c
Only in clipssrc.orig/clips: ._dffctpsr.h
Only in clipssrc.orig/clips: ._dffnxbin.c
Only in clipssrc.orig/clips: ._dffnxbin.h
Only in clipssrc.orig/clips: ._dffnxcmp.c
Only in clipssrc.orig/clips: ._dffnxcmp.h
Only in clipssrc.orig/clips: ._dffnxexe.c
Only in clipssrc.orig/clips: ._dffnxexe.h
Only in clipssrc.orig/clips: ._dffnxfun.c
Only in clipssrc.orig/clips: ._dffnxfun.h
Only in clipssrc.orig/clips: ._dffnxpsr.c
Only in clipssrc.orig/clips: ._dffnxpsr.h
Only in clipssrc.orig/clips: ._dfinsbin.c
Only in clipssrc.orig/clips: ._dfinsbin.h
Only in clipssrc.orig/clips: ._dfinscmp.c
Only in clipssrc.orig/clips: ._dfinscmp.h
Only in clipssrc.orig/clips: ._drive.c
Only in clipssrc.orig/clips: ._drive.h
Only in clipssrc.orig/clips: ._.DS_Store
Only in clipssrc.orig/clips: .DS_Store
Only in clipssrc.orig/clips: ._edbasic.c
Only in clipssrc.orig/clips: ._ed.h
Only in clipssrc.orig/clips: ._edmain.c
Only in clipssrc.orig/clips: ._edmisc.c
Only in clipssrc.orig/clips: ._edstruct.c
Only in clipssrc.orig/clips: ._edterm.c
Only in clipssrc.orig/clips: ._emathfun.c
Only in clipssrc.orig/clips: ._emathfun.h
Only in clipssrc.orig/clips: ._engine.c
Only in clipssrc.orig/clips: ._engine.h
[...3564 lines suppressed...]
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE 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.
+
+ 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
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ 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 2 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, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision 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, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This 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.
Only in clipssrc.orig: ._.DS_Store
Only in clipssrc.orig: .DS_Store
diff -r -U 5 -P clipssrc.orig/Makefile.am clipssrc/Makefile.am
--- clipssrc.orig/Makefile.am 1969-12-31 17:00:00.000000000 -0700
+++ clipssrc/Makefile.am 2006-06-18 15:41:50.000000000 -0600
@@ -0,0 +1,30 @@
+#############################################################################
+## Copyright (C) 2004 by Rick L. Vinyard, Jr. ##
+## rvinyard at cs.nmsu.edu ##
+## ##
+## 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 version 2. ##
+## ##
+## 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 library; if not, write to the ##
+## Free Software Foundation, Inc., ##
+## 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ##
+#############################################################################
+METASOURCES = AUTO
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = @PACKAGE_NAME at -@PKGCONFIG_RELEASE at .pc
+
+EXTRA_DIST = xclips.desktop.in
+
+clipshelpdir = @helpdir@
+clipshelp_DATA = clips.hlp
+
+SUBDIRS = clips xinterface color
+
diff -r -U 5 -P clipssrc.orig/README_LINUX_PATCH clipssrc/README_LINUX_PATCH
--- clipssrc.orig/README_LINUX_PATCH 1969-12-31 17:00:00.000000000 -0700
+++ clipssrc/README_LINUX_PATCH 2006-06-16 22:17:15.000000000 -0600
@@ -0,0 +1,19 @@
+CLIPS Linux Patch
+Copyright (C) 2006, Rick L. Vinyard, Jr.
+
+Although CLIPS is released into the public domain, this patch is released
+under the following terms:
+
+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 2 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, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Only in clipssrc.orig/xinterface: ._.DS_Store
Only in clipssrc.orig/xinterface: .DS_Store
diff -r -U 5 -P clipssrc.orig/xinterface/Makefile.am clipssrc/xinterface/Makefile.am
--- clipssrc.orig/xinterface/Makefile.am 1969-12-31 17:00:00.000000000 -0700
+++ clipssrc/xinterface/Makefile.am 2006-06-16 21:28:26.000000000 -0600
@@ -0,0 +1,36 @@
+#############################################################################
+## Copyright (C) 2004 by Rick L. Vinyard, Jr. ##
+## rvinyard at cs.nmsu.edu ##
+## ##
+## 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 version 2. ##
+## ##
+## 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 library; if not, write to the ##
+## Free Software Foundation, Inc., ##
+## 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ##
+#############################################################################
+METASOURCES = AUTO
+
+INCLUDES = -I$(top_srcdir)/clips $(PACKAGE_CFLAGS)
+
+bin_PROGRAMS = xclips
+
+xclips_LDADD = \
+ -lXaw -lXmu -lXt -lXext -lX11 -lm \
+ $(top_builddir)/clips/libclips.la \
+ $(PACKAGE_LIBS)
+
+xclips_SOURCES = \
+ xclips.c xclipstext.c xedit.c xmain.c xmenu.c xmenu_exec.c \
+ xmenu_file.c xmenu_opt.c xmenu_watch.c xmenu_wind.c
+
+noinst_HEADERS = \
+ xclips.h xedit.h xmenu_exec.h xmenu.h xmenu_watch.h xsetup.h \
+ xclipstext.h xmain.h xmenu_file.h xmenu_opt.h xmenu_wind.h
Only in clipssrc.orig/xinterface: ._xclips.c
Only in clipssrc.orig/xinterface: ._xclips.h
Only in clipssrc.orig/xinterface: ._xclipstext.c
Only in clipssrc.orig/xinterface: ._xedit.c
Only in clipssrc.orig/xinterface: ._xedit.h
Only in clipssrc.orig/xinterface: ._xmain.c
Only in clipssrc.orig/xinterface: ._xmenu.c
Only in clipssrc.orig/xinterface: ._xmenu_exec.c
Only in clipssrc.orig/xinterface: ._xmenu_file.c
Only in clipssrc.orig/xinterface: ._xmenu_opt.c
Only in clipssrc.orig/xinterface: ._xmenu_watch.c
Only in clipssrc.orig/xinterface: ._xmenu_wind.c
diff -r -U 5 -P clipssrc.orig/xinterface/xmenu_wind.c clipssrc/xinterface/xmenu_wind.c
--- clipssrc.orig/xinterface/xmenu_wind.c 2006-06-15 12:31:20.000000000 -0600
+++ clipssrc/xinterface/xmenu_wind.c 2006-06-17 11:10:00.000000000 -0600
@@ -2384,11 +2384,11 @@
void ColorUtilityCallback(
Widget w,
XtPointer client_data,
XtPointer call_data)
{
- system("color&");
+ system("xclips-color&");
}
/*******************************************************************************
Name: IntGetDefruleLis
Description: Gets the list of rules
clips-6.24-time-sysdep.c.patch:
--- NEW FILE clips-6.24-time-sysdep.c.patch ---
--- clipssrc/clips/sysdep.c 2006-06-07 10:54:53.000000000 -0600
+++ clipssrc/clips/sysdep.c.patched 2007-08-25 10:45:45.000000000 -0600
@@ -736,10 +736,15 @@
struct timeval now;
gettimeofday(&now, 0);
return (now.tv_usec / 1000000.0) + now.tv_sec;
#endif
+#elif UNIX_7
+ struct timeval now;
+ gettimeofday(&now, 0);
+ return (now.tv_usec / 1000000.0) + now.tv_sec;
+
#else
return((double) clock() / (double) CLOCKS_PER_SEC);
#endif
}
More information about the scm-commits
mailing list