mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
amsn & fancytasks updates, screenshots added
This commit is contained in:
parent
457d65a816
commit
966070b018
@ -1,5 +0,0 @@
|
||||
2010-03-17 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
* Update to major release 0.98.3
|
||||
|
||||
2009-07-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
* FS#15542 fixed in 0.97.2-14
|
@ -1,15 +1,11 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=amsn
|
||||
pkgver=0.98.4
|
||||
pkgrel=2
|
||||
pkgver=0.98.9
|
||||
pkgrel=1
|
||||
pkgdesc="MSN client written in Tcl/Tk"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://amsn.sourceforge.net/"
|
||||
@ -18,13 +14,25 @@ depends=('tk' 'tls')
|
||||
makedepends=('libjpeg' 'libpng' 'farsight2' 'libv4l')
|
||||
optdepends=('farsight2: for video conferencing')
|
||||
categories=('communication')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
|
||||
md5sums=('96fd20e8709ced4443432d125a5e0a5a')
|
||||
screenshot=('http://www.amsn-project.net/files/automessage.jpg')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2
|
||||
$pkgname-$pkgver-v4l2.patch
|
||||
$pkgname-$pkgver-no-rebuild-on-install.patch)
|
||||
md5sums=('13885ccc9972b2722e33552601c5b2b4'
|
||||
'1f29840acabe40c364f5269a80cc1023'
|
||||
'e7f8ef13cd1d39ca0a65908dbcd8bd6b')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
patch -p0 -i ${srcdir}/$pkgname-$pkgver-v4l2.patch
|
||||
patch -p0 -i ${srcdir}/$pkgname-$pkgver-no-rebuild-on-install.patch
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
13
amsn/amsn-0.98.9-no-rebuild-on-install.patch
Normal file
13
amsn/amsn-0.98.9-no-rebuild-on-install.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- Makefile.in 2012-05-18 21:28:05.000000000 +0200
|
||||
+++ Makefile.in 2012-06-02 12:26:35.585073960 +0200
|
||||
@@ -261,3 +261,5 @@
|
||||
|
||||
-install_libs:: rebuild_libs do_install_libs
|
||||
+install_libs:: clean_libs
|
||||
+ $(MAKE) rebuild_libs
|
||||
+ $(MAKE) do_install_libs
|
||||
|
||||
@@ -278,3 +280,3 @@
|
||||
rebuild_libs: LIBDIR=$(libdir)/$(PACKAGE)
|
||||
-rebuild_libs: clean_libs $(LIBS_WITH_RPATH)
|
||||
+rebuild_libs: $(LIBS_WITH_RPATH)
|
43
amsn/amsn-0.98.9-v4l2.patch
Normal file
43
amsn/amsn-0.98.9-v4l2.patch
Normal file
@ -0,0 +1,43 @@
|
||||
--- configure.ac 2012-05-23 21:21:14.000000000 +0200
|
||||
+++ configure.ac 2012-06-02 12:29:24.836921683 +0200
|
||||
@@ -378,6 +378,10 @@
|
||||
AC_CHECK_HEADERS(sys/videodev2.h,FOUND_OS=solaris,FOUND_OS=linux)
|
||||
fi
|
||||
|
||||
+if test "$FOUND_OS" = "linux"; then
|
||||
+ AC_CHECK_HEADERS(linux/videodev2.h)
|
||||
+fi
|
||||
+
|
||||
#---------------------------------------------------------------------------------------------
|
||||
|
||||
dnl ---------------------------------------------------------------------
|
||||
--- utils/linux/capture/capture.h 2011-04-12 02:20:59.000000000 +0200
|
||||
+++ utils/linux/capture/capture.h 2012-06-02 12:29:24.836921683 +0200
|
||||
@@ -34,7 +34,11 @@
|
||||
#ifdef HAVE_SYS_VIDEODEV2_H
|
||||
# include <sys/videodev2.h>
|
||||
#else
|
||||
-# include <linux/videodev.h>
|
||||
+ #ifdef HAVE_LINUX_VIDEODEV2_H
|
||||
+ #include <linux/videodev2.h>
|
||||
+ #else
|
||||
+ #include <linux/videodev.h>
|
||||
+ #endif
|
||||
#endif
|
||||
*/
|
||||
|
||||
--- utils/linux/capture/libng/plugins/Rules.mk 2012-05-18 17:31:32.000000000 +0200
|
||||
+++ utils/linux/capture/libng/plugins/Rules.mk 2012-06-02 12:51:59.523065502 +0200
|
||||
@@ -2,6 +2,13 @@
|
||||
TARGETS-plugins := $(capture_dir)/libng/plugins/conv-mjpeg.so
|
||||
TARGETS-plugins += $(patsubst %,$(capture_dir)/libng/plugins/%.so,${LIBNG_PLUGINS})
|
||||
|
||||
+plugin_link_so = $(CC) $(LDFLAGS) $^ $(LDLIBS) $(capture_dir)/capture.so $(SHARED) -o $@
|
||||
+ifeq ($(verbose),no)
|
||||
+ echo_plugin_link_so = echo " LDP " $@
|
||||
+else
|
||||
+ echo_plugin_link_so = echo $(plugin_link_so)
|
||||
+endif
|
||||
+
|
||||
# global targets
|
||||
all:: $(TARGETS-plugins)
|
@ -1,10 +0,0 @@
|
||||
--- utils/TkCximage/src/CxImage/ximajpg.cpp.orig 2009-07-18 05:29:43.000000000 -0300
|
||||
+++ utils/TkCximage/src/CxImage/ximajpg.cpp 2009-07-18 05:30:31.000000000 -0300
|
||||
@@ -142,6 +142,7 @@
|
||||
*/ //</DP>
|
||||
|
||||
// Set the scale <ignacio>
|
||||
+ SetJpegScale(8); // Set an initial value (FIX for jpeg-7)
|
||||
cinfo.scale_denom = GetJpegScale();
|
||||
|
||||
// Borrowed the idea from GIF implementation <ignacio>
|
@ -1,64 +0,0 @@
|
||||
--- utils/TkCximage/src/CxImage/ximapng.cpp 2008-03-07 20:14:37.000000000 +0100
|
||||
+++ utils/TkCximage/src/CxImage/ximapng.cpp_fixed 2010-01-28 23:08:13.000000000 +0100
|
||||
@@ -142,9 +142,9 @@
|
||||
if (info_ptr->num_trans!=0){ //palette transparency
|
||||
if (info_ptr->num_trans==1){
|
||||
if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE){
|
||||
- info.nBkgndIndex = info_ptr->trans_values.index;
|
||||
+ info.nBkgndIndex = info_ptr->trans_color.index;
|
||||
} else{
|
||||
- info.nBkgndIndex = info_ptr->trans_values.gray>>nshift;
|
||||
+ info.nBkgndIndex = info_ptr->trans_color.gray>>nshift;
|
||||
}
|
||||
}
|
||||
if (info_ptr->num_trans>1){
|
||||
@@ -152,7 +152,7 @@
|
||||
if (pal){
|
||||
DWORD ip;
|
||||
for (ip=0;ip<min(head.biClrUsed,(unsigned long)info_ptr->num_trans);ip++)
|
||||
- pal[ip].rgbReserved=info_ptr->trans[ip];
|
||||
+ pal[ip].rgbReserved=info_ptr->trans_alpha[ip];
|
||||
for (ip=info_ptr->num_trans;ip<head.biClrUsed;ip++){
|
||||
pal[ip].rgbReserved=255;
|
||||
}
|
||||
@@ -166,9 +166,9 @@
|
||||
int num_trans;
|
||||
png_color_16 *image_background;
|
||||
if (png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, &image_background)){
|
||||
- info.nBkgndColor.rgbRed = (BYTE)(info_ptr->trans_values.red>>nshift);
|
||||
- info.nBkgndColor.rgbGreen = (BYTE)(info_ptr->trans_values.green>>nshift);
|
||||
- info.nBkgndColor.rgbBlue = (BYTE)(info_ptr->trans_values.blue>>nshift);
|
||||
+ info.nBkgndColor.rgbRed = (BYTE)(info_ptr->trans_color.red>>nshift);
|
||||
+ info.nBkgndColor.rgbGreen = (BYTE)(info_ptr->trans_color.green>>nshift);
|
||||
+ info.nBkgndColor.rgbBlue = (BYTE)(info_ptr->trans_color.blue>>nshift);
|
||||
info.nBkgndColor.rgbReserved = 0;
|
||||
info.nBkgndIndex = 0;
|
||||
}
|
||||
@@ -417,12 +417,12 @@
|
||||
if (info.nBkgndIndex >= 0){
|
||||
info_ptr->num_trans = 1;
|
||||
info_ptr->valid |= PNG_INFO_tRNS;
|
||||
- info_ptr->trans = trans;
|
||||
- info_ptr->trans_values.index = (BYTE)info.nBkgndIndex;
|
||||
- info_ptr->trans_values.red = tc.rgbRed;
|
||||
- info_ptr->trans_values.green = tc.rgbGreen;
|
||||
- info_ptr->trans_values.blue = tc.rgbBlue;
|
||||
- info_ptr->trans_values.gray = info_ptr->trans_values.index;
|
||||
+ info_ptr->trans_alpha = trans;
|
||||
+ info_ptr->trans_color.index = (BYTE)info.nBkgndIndex;
|
||||
+ info_ptr->trans_color.red = tc.rgbRed;
|
||||
+ info_ptr->trans_color.green = tc.rgbGreen;
|
||||
+ info_ptr->trans_color.blue = tc.rgbBlue;
|
||||
+ info_ptr->trans_color.gray = info_ptr->trans_color.index;
|
||||
|
||||
// the transparency indexes start from 0 for non grayscale palette
|
||||
if (!bGrayScale && head.biClrUsed && info.nBkgndIndex)
|
||||
@@ -443,7 +443,7 @@
|
||||
trans[ip]=GetPaletteColor((BYTE)ip).rgbReserved;
|
||||
info_ptr->num_trans = (WORD)nc;
|
||||
info_ptr->valid |= PNG_INFO_tRNS;
|
||||
- info_ptr->trans = trans;
|
||||
+ info_ptr->trans_alpha = trans;
|
||||
}
|
||||
|
||||
// copy the palette colors
|
@ -4,7 +4,7 @@
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=kdeplasma-applets-fancytasks
|
||||
pkgver=1.1.0
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Plasmoid Binary"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -13,8 +13,9 @@ license=('GPL')
|
||||
depends=('kde-workspace')
|
||||
makedepends=('cmake' 'automoc4' 'kde-baseapps')
|
||||
categories=('accessories')
|
||||
screenshot=('http://kde-apps.org/CONTENT/content-pre1/99737-1.png')
|
||||
source=(https://opendesktop.org/CONTENT/content-files/99737-fancytasks-$pkgver.tar.bz2)
|
||||
md5sums=('e99f4449da0b4b019fb8d66c037f50f9')
|
||||
md5sums=('5b3579ecd5c16a49ec0d020450d88a4e')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/fancytasks-${pkgver}"
|
||||
|
Loading…
Reference in New Issue
Block a user