Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec05194b63 | ||
|
|
f668325017 | ||
|
|
e7883dbbcb | ||
|
|
912b357a02 | ||
|
|
126dc51c60 |
7 changed files with 21 additions and 139 deletions
|
|
@ -1 +0,0 @@
|
|||
amsn-0.96rc1.tar.bz2
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
amsn-0.96.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
--- msn/configure.ac~ 2006-03-27 08:52:26.000000000 +0200
|
||||
+++ msn/configure.ac 2006-03-27 08:53:26.000000000 +0200
|
||||
@@ -129,8 +129,7 @@
|
||||
/usr/lib64/tcl8.5 \
|
||||
/usr/lib64/tcl8.5.* \
|
||||
/usr/local/lib64/tcl8.5 \
|
||||
- /usr/local/lib64/tcl8.5.* \
|
||||
- `locate tclConfig.sh`"
|
||||
+ /usr/local/lib64/tcl8.5.*"
|
||||
|
||||
for i in $dirs ; do
|
||||
|
||||
@@ -268,8 +267,7 @@
|
||||
/usr/lib64/tk8.5 \
|
||||
/usr/lib64/tk8.5.* \
|
||||
/usr/local/lib64/tk8.5 \
|
||||
- /usr/local/lib64/tk8.5.* \
|
||||
- `locate tkConfig.sh`"
|
||||
+ /usr/local/lib64/tk8.5.*"
|
||||
|
||||
|
||||
for i in $dirs ; do
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
diff -ur amsn~/Makefile.in amsn/Makefile.in
|
||||
--- amsn~/Makefile.in 2006-04-28 00:10:17.000000000 +0200
|
||||
+++ amsn/Makefile.in 2006-05-20 10:37:16.000000000 +0200
|
||||
@@ -50,7 +50,7 @@
|
||||
LFS_FLAGS := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
LIB_FLAGS := -I. -I$(capture_dir) -I$(capture_dir)/libng -I$(capture_dir)/structs
|
||||
LIB_FLAGS += -I$(webcamsn_dir)/src -I$(tkcximage_dir)/src -I$(tkcximage_dir)/src/CxImage
|
||||
-LIB_FLAGS += -I$(tkcximage_dir)/src/zlib -I$(tkcximage_dir)/src/png -I$(tkcximage_dir)/src/jpeg
|
||||
+LIB_FLAGS += -Ipng -Ijpeg
|
||||
LIBDIR := @LIBDIR@
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
CXXFLAGS += -fPIC
|
||||
|
||||
# libraries
|
||||
-LDLIBS := @LDLIBS@
|
||||
+LDLIBS := @LDLIBS@ -lpng -ljpeg
|
||||
LDFLAGS := @LDFLAGS@
|
||||
ifeq (@DEBUG@,no)
|
||||
LDFLAGS += -s
|
||||
@@ -224,9 +224,6 @@
|
||||
include $(tkcximage_dir)/Rules.mk
|
||||
include $(tkcximage_dir)/src/Rules.mk
|
||||
include $(tkcximage_dir)/src/CxImage/Rules.mk
|
||||
-include $(tkcximage_dir)/src/zlib/Rules.mk
|
||||
-include $(tkcximage_dir)/src/png/Rules.mk
|
||||
-include $(tkcximage_dir)/src/jpeg/Rules.mk
|
||||
include $(tkcximage_dir)/src/Rules.mk
|
||||
|
||||
include $(webcamsn_dir)/Rules.mk
|
||||
diff -ur amsn~/utils/TkCximage/src/CxImage/ximajpg.cpp amsn/utils/TkCximage/src/CxImage/ximajpg.cpp
|
||||
--- amsn~/utils/TkCximage/src/CxImage/ximajpg.cpp 2006-04-13 15:22:27.000000000 +0200
|
||||
+++ amsn/utils/TkCximage/src/CxImage/ximajpg.cpp 2006-05-18 23:03:20.000000000 +0200
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#if CXIMAGE_SUPPORT_JPG
|
||||
|
||||
-#include "../jpeg/jmorecfg.h"
|
||||
+#include <jmorecfg.h>
|
||||
|
||||
#include "ximaiter.h"
|
||||
|
||||
diff -ur amsn~/utils/TkCximage/src/CxImage/ximajpg.h amsn/utils/TkCximage/src/CxImage/ximajpg.h
|
||||
--- amsn~/utils/TkCximage/src/CxImage/ximajpg.h 2006-04-13 15:22:27.000000000 +0200
|
||||
+++ amsn/utils/TkCximage/src/CxImage/ximajpg.h 2006-05-19 10:12:38.000000000 +0200
|
||||
@@ -29,8 +29,8 @@
|
||||
#define CXIMAGEJPG_SUPPORT_EXIF 1
|
||||
|
||||
extern "C" {
|
||||
- #include "../jpeg/jpeglib.h"
|
||||
- #include "../jpeg/jerror.h"
|
||||
+ #include <jpeglib.h>
|
||||
+ #include <jerror.h>
|
||||
}
|
||||
|
||||
class DLL_EXP CxImageJPG: public CxImage
|
||||
diff -ur amsn~/utils/TkCximage/src/CxImage/ximapng.h amsn/utils/TkCximage/src/CxImage/ximapng.h
|
||||
--- amsn~/utils/TkCximage/src/CxImage/ximapng.h 2006-04-13 15:22:27.000000000 +0200
|
||||
+++ amsn/utils/TkCximage/src/CxImage/ximapng.h 2006-05-18 23:04:57.000000000 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
#if CXIMAGE_SUPPORT_PNG
|
||||
|
||||
extern "C" {
|
||||
-#include "../png/png.h"
|
||||
+#include <png.h>
|
||||
}
|
||||
|
||||
long int inline btohl( long int dword ) {
|
||||
diff -ur amsn~/utils/TkCximage/src/Rules.mk amsn/utils/TkCximage/src/Rules.mk
|
||||
--- amsn~/utils/TkCximage/src/Rules.mk 2006-02-02 22:08:21.000000000 +0100
|
||||
+++ amsn/utils/TkCximage/src/Rules.mk 2006-05-19 09:57:03.000000000 +0200
|
||||
@@ -1,7 +1,5 @@
|
||||
OBJS-TkCximage := $(tkcximage_dir)/src/TkCximage.cpp.o $(tkcximage_dir)/src/PhotoFormat.cpp.o \
|
||||
- $(tkcximage_dir)/src/procs.cpp.o $(tkcximage_dir)/src/CxImage/libCxImage.a \
|
||||
- $(tkcximage_dir)/src/jpeg/libjpeg.a $(tkcximage_dir)/src/png/libpng.a \
|
||||
- $(tkcximage_dir)/src/zlib/libzlib.a
|
||||
+ $(tkcximage_dir)/src/procs.cpp.o $(tkcximage_dir)/src/CxImage/libCxImage.a
|
||||
ifeq ($(STATIC),yes)
|
||||
OBJS-TkCximage += libstdc++.a
|
||||
endif
|
||||
32
amsn.spec
32
amsn.spec
|
|
@ -1,21 +1,17 @@
|
|||
%define alphatag rc1
|
||||
|
||||
Name: amsn
|
||||
Version: 0.96
|
||||
Release: 0.13.%{alphatag}%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: MSN Messenger clone for Linux, Mac and Windows
|
||||
|
||||
Group: Applications/Internet
|
||||
License: GPL
|
||||
URL: http://amsn.sourceforge.net/
|
||||
Source0: http://dl.sourceforge.net/amsn/%{name}-%{version}%{alphatag}.tar.bz2
|
||||
URL: http://www.amsn-project.net/
|
||||
Source0: http://dl.sourceforge.net/amsn/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: autoconf, desktop-file-utils, tk-devel, which, libpng-devel, libjpeg-devel
|
||||
Requires: tcltls, tclsoap, tcllib, bwidget, tk >= 8.4.13, tkdnd, htmlview, sox
|
||||
Patch1: amsn-0.96-configureac-nolocate.patch
|
||||
Patch2: amsn-0.96-tkcximage-locallibs.patch
|
||||
Patch3: amsn-0.96-system-bwidget.patch
|
||||
Patch1: amsn-0.96-system-bwidget.patch
|
||||
|
||||
%description
|
||||
This is an MSN Messenger clone for Unix, Windows, and Macintosh.
|
||||
|
|
@ -33,17 +29,19 @@ view the last lines of a recent chat when opening a new one and create
|
|||
snapshots with your webcam to use as your display picture.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}%{alphatag} -q
|
||||
%patch1 -p1 -b .1-nolocate
|
||||
%patch2 -p1 -b .2-locallibs
|
||||
%patch3 -p1 -b .3-system-bwidget
|
||||
%setup -q
|
||||
%patch1 -p1 -b .1-system-bwidget
|
||||
rm -r utils/TkCximage/src/{jpeg,png,zlib}
|
||||
rm -r utils/BWidget-1.7.0
|
||||
|
||||
# for webcam to work these paths need to be added because we move libs around
|
||||
%{__sed} -i 's#\.\./libng/plugins#%{_libdir}/capture/libng/plugins#' utils/linux/capture/libng/grab-ng.c
|
||||
%{__sed} -i 's#\.\./libng/contrib-plugins#%{_libdir}/capture/libng/contrib-plugins#' utils/linux/capture/libng/grab-ng.c
|
||||
|
||||
%{__sed} -i 's# utils/BWidget-1.7.0##' Makefile.in
|
||||
%{__sed} -i 's#mozilla#htmlview#' config.tcl
|
||||
%{__sed} -i 's#my_filemanager open#gnome-open#' config.tcl
|
||||
%{__sed} -i 's#set program_dir \[file dirname \[info script\]\]#set program_dir "/usr/share/amsn/"#' amsn amsn-remote amsn-remote-CLI
|
||||
%{__sed} -i 's#"##' amsn.desktop
|
||||
autoconf
|
||||
|
||||
%build
|
||||
|
|
@ -123,6 +121,14 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 4 2006 Sander Hoentjen <sander@hoentjen.eu> - 0.96-2
|
||||
- webcam now works (bug #206674)
|
||||
|
||||
* Thu Sep 2 2006 Sander Hoentjen <sander@hoentjen.eu> - 0.96-1
|
||||
- updated to 0.96 final
|
||||
- drop nolocate and locallibs patch because they were accepted upstream
|
||||
- changed URL because they moved the website
|
||||
|
||||
* Tue Aug 28 2006 Sander Hoentjen <tjikkun@xs4all.nl> - 0.96-0.13.rc1
|
||||
- Tag error, so bumping the release
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
1b90fdbb0a51c7646f4d2e6b22f18711 amsn-0.96rc1.tar.bz2
|
||||
3df6b0d34ef1997a47c0b8af29b2547a amsn-0.96.tar.bz2
|
||||
|
|
|
|||
Reference in a new issue