Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

8 commits

Author SHA1 Message Date
Fedora Release Engineering
40d21e8487 dist-git conversion 2010-07-28 09:50:34 +00:00
Sander Hoentjen
7cb00d4792 update to 0.98.3 2010-04-24 13:30:36 +00:00
Peter Robinson
c0a3cb074b - Rebuild for new gupnp-igd 2009-12-15 00:19:38 +00:00
Sander Hoentjen
f762542dbf use snack instead of alsa by default 2009-12-05 09:21:34 +00:00
Bill Nottingham
83c9322d01 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:27:26 +00:00
Sander Hoentjen
52354bdef4 - songbird plugin had a python exception when songbird was not installed
(bug #539422)
- Do not own hicolor (bug #502575)
2009-11-25 12:42:51 +00:00
Sander Hoentjen
7738e53f49 new version 2009-11-11 09:19:55 +00:00
Jesse Keating
e42577f4bc Initialize branch F-12 for amsn 2009-09-29 08:16:30 +00:00
11 changed files with 106 additions and 433 deletions

View file

@ -1 +0,0 @@
amsn-0.97.2.tar.bz2

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
amsn-0.98.3-src.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: amsn
# $Id$
NAME := amsn
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1,44 +0,0 @@
diff -ur amsn-0.97.orig/utils/linux/capture/libng/plugins/drv0-v4l2.c amsn-0.97/utils/linux/capture/libng/plugins/drv0-v4l2.c
--- amsn-0.97.orig/utils/linux/capture/libng/plugins/drv0-v4l2.c 2007-12-24 19:07:23.000000000 +0100
+++ amsn-0.97/utils/linux/capture/libng/plugins/drv0-v4l2.c 2008-10-22 11:24:17.000000000 +0200
@@ -206,7 +206,7 @@
int rc;
rc = ioctl(fd,cmd,arg);
- if (0 == rc && ng_debug < 2)
+ if (rc >= 0 && ng_debug < 2)
return rc;
if (mayfail && errno == mayfail && ng_debug < 2)
return rc;
@@ -1014,6 +1014,10 @@
h->queue = 0;
h->waiton = 0;
+ /* unrequest buffers (only needed for some drivers) */
+ h->reqbufs.count = 0;
+ xioctl(h->fd, VIDIOC_REQBUFS, &h->reqbufs, EINVAL);
+
/* turn on preview (if needed) */
if (h->ov_on != h->ov_enabled) {
h->ov_on = h->ov_enabled;
@@ -1051,6 +1055,17 @@
fmt->width = h->fmt_v4l2.fmt.pix.width;
fmt->height = h->fmt_v4l2.fmt.pix.height;
fmt->bytesperline = h->fmt_v4l2.fmt.pix.bytesperline;
+ /* struct v4l2_format.fmt.pix.bytesperline is bytesperline for the
+ main plane for planar formats, where as we want it to be the total
+ bytesperline for all planes */
+ switch (fmt->fmtid) {
+ case VIDEO_YUV422P:
+ fmt->bytesperline *= 2;
+ break;
+ case VIDEO_YUV420P:
+ fmt->bytesperline = fmt->bytesperline * 3 / 2;
+ break;
+ }
if (0 == fmt->bytesperline)
fmt->bytesperline = fmt->width * ng_vfmt_to_depth[fmt->fmtid] / 8;
h->fmt_me = *fmt;
Only in amsn-0.97/utils/linux/capture/libng/plugins: drv0-v4l2.c.orig
Only in amsn-0.97/utils/linux/capture/libng/plugins: drv0-v4l2.c.rej
Only in amsn-0.97/utils/linux/capture/libng/plugins: drv0-v4l2.c~

View file

@ -1,225 +0,0 @@
diff -ur amsn-0.97.orig/utils/linux/capture/libng/plugins/Rules.mk amsn-0.97/utils/linux/capture/libng/plugins/Rules.mk
--- amsn-0.97.orig/utils/linux/capture/libng/plugins/Rules.mk 2007-12-24 19:07:23.000000000 +0100
+++ amsn-0.97/utils/linux/capture/libng/plugins/Rules.mk 2008-10-22 16:21:09.000000000 +0200
@@ -33,6 +33,8 @@
$(capture_dir)/libng/plugins/drv0-v4l2.o \
$(capture_dir)/libng/plugins/struct-v4l2.o \
$(capture_dir)/libng/plugins/struct-dump.o
+ @$(echo_link_so) -lv4l2
+ @$(link_so) -lv4l2
$(capture_dir)/libng/plugins/drv1-v4l.so: \
$(capture_dir)/libng/plugins/drv1-v4l.o \
Only in amsn-0.97/utils/linux/capture/libng/plugins: Rules.mk~
diff -ur amsn-0.97.orig/utils/linux/capture/libng/plugins/drv0-v4l2.c amsn-0.97/utils/linux/capture/libng/plugins/drv0-v4l2.c
--- amsn-0.97.orig/utils/linux/capture/libng/plugins/drv0-v4l2.c 2008-10-22 14:55:50.000000000 +0200
+++ amsn-0.97/utils/linux/capture/libng/plugins/drv0-v4l2.c 2008-10-22 16:33:39.000000000 +0200
@@ -36,12 +36,27 @@
#include "struct-dump.h"
#include "struct-v4l2.h"
+/* FIXME replace with autoconf detection */
+#define HAVE_LIBV4L
+
+#ifdef HAVE_LIBV4L
+#include <libv4l2.h>
+#else
+#define v4l2_fd_open(fd, flags) (fd)
+#define v4l2_close close
+#define v4l2_dup dup
+#define v4l2_ioctl ioctl
+#define v4l2_read read
+#define v4l2_mmap mmap
+#define v4l2_munmap munmap
+#endif
+
/* ---------------------------------------------------------------------- */
/* open+close */
static void* v4l2_init(char *device);
-static int v4l2_open(void *handle);
-static int v4l2_close(void *handle);
+static int v4l2_open_handle(void *handle);
+static int v4l2_close_handle(void *handle);
static int v4l2_fini(void *handle);
static struct ng_devinfo* v4l2_probe(int verbose);
@@ -134,8 +149,8 @@
.priority = 1,
.init = v4l2_init,
- .open = v4l2_open,
- .close = v4l2_close,
+ .open = v4l2_open_handle,
+ .close = v4l2_close_handle,
.fini = v4l2_fini,
.devname = v4l2_devname,
.busname = v4l2_busname,
@@ -205,7 +220,7 @@
{
int rc;
- rc = ioctl(fd,cmd,arg);
+ rc = v4l2_ioctl(fd,cmd,arg);
if (rc >= 0 && ng_debug < 2)
return rc;
if (mayfail && errno == mayfail && ng_debug < 2)
@@ -262,7 +277,7 @@
}
h->streamparm.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
- ioctl(h->fd,VIDIOC_G_PARM,&h->streamparm);
+ v4l2_ioctl(h->fd,VIDIOC_G_PARM,&h->streamparm);
/* controls */
for (i = 0; i < MAX_CTRL; i++) {
@@ -487,9 +502,10 @@
/* ---------------------------------------------------------------------- */
static int
-v4l2_open(void *handle)
+v4l2_open_handle(void *handle)
{
struct v4l2_handle *h = handle;
+ int libv4l2_fd;
if (ng_debug)
fprintf(stderr, "v4l2: open\n");
@@ -497,22 +513,32 @@
h->fd = ng_chardev_open(h->device, O_RDWR, MAJOR_NUM, 1);
if (-1 == h->fd)
return -1;
+ /* Note the v4l2_xxx functions are designed so that if they get passed an
+ unknown fd, the will behave exactly as their regular xxx counterparts,
+ so if v4l2_fd_open fails, we continue as normal (missing the libv4l2
+ custom cam format to normal formats conversion). Chances are big we will
+ still fail then though, as normally v4l2_fd_open only fails if the
+ device is not a v4l2 device. */
+ libv4l2_fd = v4l2_fd_open(h->fd, 0);
+ if (libv4l2_fd != -1)
+ h->fd = libv4l2_fd;
+
if (-1 == xioctl(h->fd,VIDIOC_QUERYCAP,&h->cap,EINVAL)) {
- close(h->fd);
+ v4l2_close(h->fd);
return -1;
}
return 0;
}
static int
-v4l2_close(void *handle)
+v4l2_close_handle(void *handle)
{
struct v4l2_handle *h = handle;
if (ng_debug)
fprintf(stderr, "v4l2: close\n");
BUG_ON(h->fd == -1,"device not open");
- close(h->fd);
+ v4l2_close(h->fd);
h->fd = -1;
return 0;
}
@@ -532,7 +558,7 @@
h->fd = -1;
h->device = strdup(device ? device : ng_dev.video);
- if (0 != v4l2_open(h))
+ if (0 != v4l2_open_handle(h))
goto err;
if (ng_debug)
@@ -575,12 +601,12 @@
/* check for MPEG capabilities */
v4l2_probe_mpeg(h);
- v4l2_close(h);
+ v4l2_close_handle(h);
return h;
err:
if (h->fd != -1)
- close(h->fd);
+ v4l2_close(h->fd);
if (h)
free(h);
return NULL;
@@ -958,7 +984,7 @@
h->buf_me[i].fmt = h->fmt_me;
h->buf_me[i].size = h->buf_me[i].fmt.bytesperline *
h->buf_me[i].fmt.height;
- h->buf_me[i].data = mmap(NULL, h->buf_v4l2[i].length,
+ h->buf_me[i].data = v4l2_mmap(NULL, h->buf_v4l2[i].length,
PROT_READ | PROT_WRITE, MAP_SHARED,
h->fd, h->buf_v4l2[i].m.offset);
if (MAP_FAILED == h->buf_me[i].data) {
@@ -999,7 +1025,7 @@
unsigned int i;
/* stop capture */
- if (-1 == ioctl(h->fd,VIDIOC_STREAMOFF,&h->fmt_v4l2.type))
+ if (-1 == v4l2_ioctl(h->fd,VIDIOC_STREAMOFF,&h->fmt_v4l2.type))
perror("ioctl VIDIOC_STREAMOFF");
/* free buffers */
@@ -1008,7 +1034,7 @@
ng_waiton_video_buf(&h->buf_me[i]);
if (ng_debug)
print_bufinfo(&h->buf_v4l2[i]);
- if (-1 == munmap(h->buf_me[i].data,h->buf_v4l2[i].length))
+ if (-1 == v4l2_munmap(h->buf_me[i].data,h->buf_v4l2[i].length))
perror("munmap");
}
h->queue = 0;
@@ -1133,7 +1159,7 @@
buf->info.ts = ng_tofday_to_timestamp(&h->buf_v4l2[frame].timestamp);
} else {
buf = ng_malloc_video_buf(NULL, &h->fmt_me);
- rc = read(h->fd,buf->data,buf->size);
+ rc = v4l2_read(h->fd,buf->data,buf->size);
if (rc < 0) {
perror("v4l2: read");
ng_release_video_buf(buf);
@@ -1163,11 +1189,11 @@
BUG_ON(h->fd == -1,"device not open");
buf = ng_malloc_video_buf(NULL, &h->fmt_me);
if (h->cap.capabilities & V4L2_CAP_READWRITE) {
- rc = read(h->fd,buf->data,buf->size);
+ rc = v4l2_read(h->fd,buf->data,buf->size);
if (-1 == rc && EBUSY == errno && h->ov_on) {
h->ov_on = 0;
xioctl(h->fd, VIDIOC_OVERLAY, &h->ov_on, 0);
- rc = read(h->fd,buf->data,buf->size);
+ rc = v4l2_read(h->fd,buf->data,buf->size);
h->ov_on = 1;
xioctl(h->fd, VIDIOC_OVERLAY, &h->ov_on, 0);
}
@@ -1245,7 +1271,7 @@
goto done;
/* check for ivtv driver */
- if (0 == ioctl(h->fd, IVTV_IOC_G_CODEC, &codec)) {
+ if (0 == v4l2_ioctl(h->fd, IVTV_IOC_G_CODEC, &codec)) {
h->flags |= CAN_MPEG_PS;
h->flags |= CAN_MPEG_TS;
h->mpeg = MPEG_TYPE_IVTV;
@@ -1284,13 +1310,13 @@
{
struct ivtv_ioctl_codec codec;
- if (0 != ioctl(h->fd, IVTV_IOC_G_CODEC, &codec))
+ if (0 != v4l2_ioctl(h->fd, IVTV_IOC_G_CODEC, &codec))
return NULL;
if (flags & MPEG_FLAGS_PS)
codec.stream_type = IVTV_STREAM_PS;
if (flags & MPEG_FLAGS_TS)
codec.stream_type = IVTV_STREAM_TS;
- if (0 != ioctl(h->fd, IVTV_IOC_S_CODEC, &codec))
+ if (0 != v4l2_ioctl(h->fd, IVTV_IOC_S_CODEC, &codec))
return NULL;
return h->device;
}
Only in amsn-0.97/utils/linux/capture/libng/plugins: drv0-v4l2.c.orig
Only in amsn-0.97/utils/linux/capture/libng/plugins: drv0-v4l2.c.rej
Only in amsn-0.97/utils/linux/capture/libng/plugins: drv0-v4l2.c~

View file

@ -1,113 +0,0 @@
--- trunk/amsn/utils/TkCximage/src/TkCximage.cpp 2008/12/26 16:39:41 10817
+++ trunk/amsn/utils/TkCximage/src/TkCximage.cpp 2008/12/28 21:50:08 10818
@@ -26,6 +26,65 @@
char currenttime[30];
FILE * logfile;
+#define AVAILABLE_FORMATS 6
+Tk_PhotoImageFormat cximageFormats[] = {
+ {
+ "cximage",
+ (Tk_ImageFileMatchProc *) ChanMatch,
+ (Tk_ImageStringMatchProc *) ObjMatch,
+ (Tk_ImageFileReadProc *) ChanRead,
+ (Tk_ImageStringReadProc *) ObjRead,
+ (Tk_ImageFileWriteProc *) ChanWrite,
+ (Tk_ImageStringWriteProc *) StringWrite
+ },
+ {
+ "cxgif",
+ (Tk_ImageFileMatchProc *) ChanMatch,
+ (Tk_ImageStringMatchProc *) ObjMatch,
+ (Tk_ImageFileReadProc *) ChanRead,
+ (Tk_ImageStringReadProc *) ObjRead,
+ (Tk_ImageFileWriteProc *) ChanWrite,
+ (Tk_ImageStringWriteProc *) StringWrite
+ },
+ {
+ "cxpng",
+ (Tk_ImageFileMatchProc *) ChanMatch,
+ (Tk_ImageStringMatchProc *) ObjMatch,
+ (Tk_ImageFileReadProc *) ChanRead,
+ (Tk_ImageStringReadProc *) ObjRead,
+ (Tk_ImageFileWriteProc *) ChanWrite,
+ (Tk_ImageStringWriteProc *) StringWrite
+ },
+ {
+ "cxjpg",
+ (Tk_ImageFileMatchProc *) ChanMatch,
+ (Tk_ImageStringMatchProc *) ObjMatch,
+ (Tk_ImageFileReadProc *) ChanRead,
+ (Tk_ImageStringReadProc *) ObjRead,
+ (Tk_ImageFileWriteProc *) ChanWrite,
+ (Tk_ImageStringWriteProc *) StringWrite
+ },
+ {
+ "cxtga",
+ (Tk_ImageFileMatchProc *) ChanMatch,
+ (Tk_ImageStringMatchProc *) ObjMatch,
+ (Tk_ImageFileReadProc *) ChanRead,
+ (Tk_ImageStringReadProc *) ObjRead,
+ (Tk_ImageFileWriteProc *) ChanWrite,
+ (Tk_ImageStringWriteProc *) StringWrite
+ },
+ {
+ "cxbmp",
+ (Tk_ImageFileMatchProc *) ChanMatch,
+ (Tk_ImageStringMatchProc *) ObjMatch,
+ (Tk_ImageFileReadProc *) ChanRead,
+ (Tk_ImageStringReadProc *) ObjRead,
+ (Tk_ImageFileWriteProc *) ChanWrite,
+ (Tk_ImageStringWriteProc *) StringWrite
+ }
+};
+
+
int RGB2BGR(Tk_PhotoImageBlock *data, BYTE * pixelPtr) {
int i;
int size = data->height * data->width * data->pixelSize;
@@ -267,10 +326,6 @@
INITLOGS(); //
LOG("---------------------------------"); //
-
- int AvailableFromats = 6;
- const char *KnownFormats[] = {"cximage", "cxgif", "cxpng", "cxjpg", "cxtga", "cxbmp"};
-
//Check Tcl version is 8.3 or higher
if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) {
return TCL_ERROR;
@@ -285,15 +340,6 @@
LOG("Tk stub initialized"); //
- Tk_PhotoImageFormat cximageFormats = {
- NULL,
- (Tk_ImageFileMatchProc *) ChanMatch,
- (Tk_ImageStringMatchProc *) ObjMatch,
- (Tk_ImageFileReadProc *) ChanRead,
- (Tk_ImageStringReadProc *) ObjRead,
- (Tk_ImageFileWriteProc *) ChanWrite,
- (Tk_ImageStringWriteProc *) StringWrite
- };
LOG("Creating commands"); //
@@ -323,14 +369,9 @@
#endif
LOG("Adding format : "); //
- for (i = 0; i < AvailableFromats; i++) {
- delete cximageFormats.name;
- cximageFormats.name = new char[strlen(KnownFormats[i]) + 1];
- strcpy(cximageFormats.name, KnownFormats[i]);
- Tk_CreatePhotoImageFormat(&cximageFormats);
- APPENDLOG(cximageFormats.name); //
- delete cximageFormats.name;
- cximageFormats.name = NULL;
+ for (i = 0; i < AVAILABLE_FORMATS; i++) {
+ Tk_CreatePhotoImageFormat(&cximageFormats[i]);
+ APPENDLOG(cximageFormats[i].name); //
}
// end of Initialisation

View file

@ -0,0 +1,22 @@
--- amsn/autoupdate.tcl 2009-11-11 09:23:42.736604374 +0100
+++ amsn~/autoupdate.tcl 2009-11-11 09:38:25.349355120 +0100
@@ -536,7 +536,7 @@
}
#///////////////////////////////////////////////////////////////////////
- package require -exact http 2.4.4
+ package require http 2.4.4
proc check_web_version { token } {
global version rcversion weburl
--- amsn/proxy.tcl 2009-11-11 09:23:43.270603596 +0100
+++ amsn~/proxy.tcl 2009-11-11 09:31:51.524364201 +0100
@@ -9,7 +9,7 @@
::Version::setSubversionId {$Id: amsn-0.98.1-no-exact-http.patch,v 1.1 2009/11/11 09:19:55 tjikkun Exp $}
package provide Proxy 0.1
-package require -exact http 2.4.4
+package require http 2.4.4
# This should be converted to a proper package, to use with package require
source socks.tcl ;# SOCKS5 proxy support

View file

@ -0,0 +1,19 @@
--- amsn/plugins/music/infosongbird (revision 11807)
+++ amsn/plugins/music/infosongbird (working copy)
@@ -1,7 +1,10 @@
#!/usr/bin/env python
-import dbus
-bus = dbus.SessionBus()
-object = bus.get_object('org.mozilla.songbird', '/org/mozilla/songbird')
-print object.getStatus()
-print object.getTitle()
-print object.getArtist()
+try:
+ import dbus
+ bus = dbus.SessionBus()
+ object = bus.get_object('org.mozilla.songbird', '/org/mozilla/songbird')
+ print object.getStatus()
+ print object.getTitle()
+ print object.getArtist()
+except dbus.exceptions.DBusException:
+ print "not installed"

View file

@ -0,0 +1,11 @@
--- amsn/config.tcl (revision 11816)
+++ amsn/config.tcl (working copy)
@@ -110,7 +110,7 @@
::config::setKey notifyYoffset 0
::config::setKey filemanager "xdg-open \$location"
::config::setKey openfilecommand "xdg-open \$file"
- ::config::setKey usesnack 0
+ ::config::setKey usesnack 1
::config::setKey os "unix"
} elseif { [OnWin] } {

View file

@ -2,24 +2,25 @@
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
Name: amsn
Version: 0.97.2
Release: 5%{?dist}
Version: 0.98.3
Release: 1%{?dist}
Summary: MSN Messenger clone for Linux, Mac and Windows
Group: Applications/Internet
License: GPLv2
URL: http://www.amsn-project.net/
Source0: http://dl.sourceforge.net/amsn/%{name}-%{version}.tar.bz2
Patch0: amsn-0.97-libng-fixes.patch
Patch1: amsn-0.97-libng-libv4l2.patch
Patch2: amsn-0.97-tkcximage.patch
Source0: http://downloads.sourceforge.net/amsn/%{name}-%{version}-src.tar.bz2
Patch0: amsn-0.98.1-usesnack.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils, tk-devel, which, libpng-devel, libjpeg-devel
BuildRequires: farsight2-devel
BuildRequires: gupnp-igd-devel
BuildRequires: libv4l-devel
BuildRequires: tcl(abi) = %{tcl_version}
Requires: tcl(abi) = %{tcl_version}
Requires: tcltls, tclsoap, tcllib, bwidget, tkdnd, xdg-utils, alsa-utils
Requires: tcl-snack
Requires: tcltls, tclsoap, bwidget, tkdnd, xdg-utils
%description
This is an MSN Messenger clone for Unix, Windows, and Macintosh.
@ -39,23 +40,19 @@ snapshots with your webcam to use as your display picture.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p2
rm -r utils/bwidget1.8.0
rm -r utils/BWidget-1.9.0
rm -r skins/default/winicons
rm -r plugins/music/MusicWin
rm plugins/amsnplus/snapshot
# for webcam to work these paths need to be added because we move libs around
%{__sed} -i 's#\.\./libng/plugins#%{tcl_sitearch}/capture/libng/plugins#' utils/linux/capture/libng/grab-ng.c
%{__sed} -i 's#\.\./libng/contrib-plugins#%{tcl_sitearch}/capture/libng/contrib-plugins#' utils/linux/capture/libng/grab-ng.c
%{__sed} -i 's# utils/bwidget1.8.0##' Makefile.in
%{__sed} -i 's#mozilla#xdg-open#' config.tcl
%{__sed} -i 's#my_filemanager open#xdg-open#' config.tcl
%{__sed} -i 's#openfilecommand ""#openfilecommand "xdg-open \\$file"#' config.tcl
%{__sed} -i 's# utils/BWidget-1.9.0##' Makefile.in
%{__sed} -i 's#soundcommand "play \\$sound"#soundcommand "aplay -q \\$sound"#' config.tcl
%{__sed} -i 's#set program_dir \[file dirname \[info script\]\]#set program_dir "%{_datadir}/amsn/"#' amsn amsn-remote amsn-remote-CLI
%{__sed} -i 's#Info=AMSN#X-Info=AMSN#' amsn.desktop
%build
%configure --enable-debug
@ -69,29 +66,33 @@ mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/amsn ${RPM_BUILD_ROOT}/%{_bindir}/amsn
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/amsn-remote ${RPM_BUILD_ROOT}/%{_bindir}/amsn-remote
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/amsn-remote-CLI ${RPM_BUILD_ROOT}/%{_bindir}/amsn-remote-CLI
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/base64
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/http2.4
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/log
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/sha1
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/snit
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/tcldom
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/tclsoap1.6.7
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/Tclxml
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/uri
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/docs
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/{AGREEMENT,FAQ,GNUGPL,INSTALL,remote.help,TODO}
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/lang/{*.*,LANG-HOWTO,sortlang}
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/base64
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/http
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/log
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/sha1
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/snit
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/uri
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/docs
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/{AGREEMENT,FAQ,GNUGPL,INSTALL,remote.help,TODO}
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/lang/{*.*,LANG-HOWTO,sortlang}
mkdir -p ${RPM_BUILD_ROOT}/%{tcl_sitearch}
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/linux/* ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/TkCximage ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/webcamsn ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/tcl_siren ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/tclISF ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/gupnp ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/farsight ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mv ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/utils/asyncresolver ${RPM_BUILD_ROOT}/%{tcl_sitearch}/
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/icons/
mv ${RPM_BUILD_ROOT}%{_datadir}/amsn/desktop-icons/ ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/
rm ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
chmod 755 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/skins/Dark\ Matter\ 4.0/pixmapscroll/test.tcl
chmod 755 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/utils/voipcontrols/test.tcl
desktop-file-install --vendor="fedora" \
--dir="${RPM_BUILD_ROOT}%{_datadir}/applications" \
--delete-original \
@ -109,7 +110,7 @@ rm -rf ${RPM_BUILD_ROOT}
%{_bindir}/amsn-remote-CLI
%{_datadir}/%{name}/
%{_datadir}/applications/fedora-amsn.desktop
%{_datadir}/icons/hicolor/*
%{_datadir}/icons/hicolor/*/*/amsn.png
%{tcl_sitearch}/*
%exclude %{_datadir}/%{name}/plugins/*
@ -131,6 +132,29 @@ fi
%changelog
* Sat Apr 24 2010 Sander Hoentjen <sander@hoentjen.eu> - 0.98.3-1
- update to 0.98.3
- check ssl connections (CVE-2010-0744)
- drop upstreamed patches
* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.98.1-4
- Rebuild for new gupnp-igd
* Sat Dec 05 2009 Sander Hoentjen <sander@hoentjen.eu> - 0.98.1-3
- add requires on tcl-snack, it is needed for voice-clip support
- since we need snack anyway, use it for all audio and drop requirement on alsa-utils
* Wed Nov 25 2009 Sander Hoentjen <sander@hoentjen.eu> - 0.98.1-2
- songbird plugin had a python exception when songbird
was not installed (bug #539422)
- Do not own hicolor (bug #502575)
* Thu Nov 05 2009 Sander Hoentjen <sander@hoentjen.eu> - 0.98.1-1
- Update to new upstream
- drop patches that are now upstream
- voice support
- upnp support
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View file

@ -1 +1 @@
6c494d97b5ab810f1b265ef19bf652b0 amsn-0.97.2.tar.bz2
cf184f4c786676a1a0b4b6e1411b9193 amsn-0.98.3-src.tar.bz2