Cleanup some unnecessary dependencies. Add pkgbuilds for dependencies that are not available on archlinuxpower.org. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/167/head
parent
9ad10a881e
commit
0d43adafed
@ -0,0 +1,42 @@
|
|||||||
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=gdk-pixbuf-xlib
|
||||||
|
pkgver=2.40.2
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Deprecated Xlib integration for GdkPixbuf"
|
||||||
|
arch=('powerpc64le')
|
||||||
|
url="https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib"
|
||||||
|
license=(LGPL2.1)
|
||||||
|
depends=(gdk-pixbuf2 libx11)
|
||||||
|
makedepends=(gtk-doc git meson)
|
||||||
|
options=(debug)
|
||||||
|
_commit=c142b818801e0affceea4a2139cf5630a283e54e # tags/2.40.2^0
|
||||||
|
source=("git+$url.git#commit=$_commit")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $pkgname
|
||||||
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
arch-meson $pkgname build -D gtk_doc=true
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
meson test -C build --print-errorlogs
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
depends+=(libgdk_pixbuf-2.0.so)
|
||||||
|
provides+=(libgdk_pixbuf_xlib-2.0.so)
|
||||||
|
|
||||||
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set sw=2 sts=-1 et:
|
@ -0,0 +1,510 @@
|
|||||||
|
diff -urN imlib-1.9.13.orig/Imlib/load.c imlib-1.9.13/Imlib/load.c
|
||||||
|
--- imlib-1.9.13.orig/Imlib/load.c Wed Mar 13 19:06:29 2002
|
||||||
|
+++ imlib-1.9.13/Imlib/load.c Thu Sep 16 17:21:01 2004
|
||||||
|
@@ -4,6 +4,8 @@
|
||||||
|
#include "Imlib_private.h"
|
||||||
|
#include <setjmp.h>
|
||||||
|
|
||||||
|
+#define G_MAXINT ((int) 0x7fffffff)
|
||||||
|
+
|
||||||
|
/* Split the ID - damages input */
|
||||||
|
|
||||||
|
static char *
|
||||||
|
@@ -41,13 +43,17 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Make sure we don't wrap on our memory allocations
|
||||||
|
+ * we check G_MAXINT/4 because rend.c malloc's w * h * bpp
|
||||||
|
+ * + 3 is safety margin
|
||||||
|
*/
|
||||||
|
|
||||||
|
void * _imlib_malloc_image(unsigned int w, unsigned int h)
|
||||||
|
{
|
||||||
|
- if( w > 32767 || h > 32767)
|
||||||
|
- return NULL;
|
||||||
|
- return malloc(w * h * 3);
|
||||||
|
+ if (w <= 0 || w > 32767 ||
|
||||||
|
+ h <= 0 || h > 32767 ||
|
||||||
|
+ h >= (G_MAXINT/4 - 1) / w)
|
||||||
|
+ return NULL;
|
||||||
|
+ return malloc(w * h * 3 + 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBJPEG
|
||||||
|
@@ -360,7 +366,9 @@
|
||||||
|
npix = ww * hh;
|
||||||
|
*w = (int)ww;
|
||||||
|
*h = (int)hh;
|
||||||
|
- if(ww > 32767 || hh > 32767)
|
||||||
|
+ if (ww <= 0 || ww > 32767 ||
|
||||||
|
+ hh <= 0 || hh > 32767 ||
|
||||||
|
+ hh >= (G_MAXINT/sizeof(uint32)) / ww)
|
||||||
|
{
|
||||||
|
TIFFClose(tif);
|
||||||
|
return NULL;
|
||||||
|
@@ -463,7 +471,7 @@
|
||||||
|
}
|
||||||
|
*w = gif->Image.Width;
|
||||||
|
*h = gif->Image.Height;
|
||||||
|
- if (*h > 32767 || *w > 32767)
|
||||||
|
+ if (*h <= 0 || *h > 32767 || *w <= 0 || *w > 32767)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
@@ -965,7 +973,12 @@
|
||||||
|
comment = 0;
|
||||||
|
quote = 0;
|
||||||
|
context = 0;
|
||||||
|
+ memset(lookup, 0, sizeof(lookup));
|
||||||
|
+
|
||||||
|
line = malloc(lsz);
|
||||||
|
+ if (!line)
|
||||||
|
+ return NULL;
|
||||||
|
+
|
||||||
|
while (!done)
|
||||||
|
{
|
||||||
|
pc = c;
|
||||||
|
@@ -994,25 +1007,25 @@
|
||||||
|
{
|
||||||
|
/* Header */
|
||||||
|
sscanf(line, "%i %i %i %i", w, h, &ncolors, &cpp);
|
||||||
|
- if (ncolors > 32766)
|
||||||
|
+ if (ncolors <= 0 || ncolors > 32766)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: XPM files wth colors > 32766 not supported\n");
|
||||||
|
free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (cpp > 5)
|
||||||
|
+ if (cpp <= 0 || cpp > 5)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: XPM files with characters per pixel > 5 not supported\n");
|
||||||
|
free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (*w > 32767)
|
||||||
|
+ if (*w <= 0 || *w > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: Image width > 32767 pixels for file\n");
|
||||||
|
free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (*h > 32767)
|
||||||
|
+ if (*h <= 0 || *h > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: Image height > 32767 pixels for file\n");
|
||||||
|
free(line);
|
||||||
|
@@ -1045,11 +1058,13 @@
|
||||||
|
{
|
||||||
|
int slen;
|
||||||
|
int hascolor, iscolor;
|
||||||
|
+ int space;
|
||||||
|
|
||||||
|
iscolor = 0;
|
||||||
|
hascolor = 0;
|
||||||
|
tok[0] = 0;
|
||||||
|
col[0] = 0;
|
||||||
|
+ space = sizeof(col) - 1;
|
||||||
|
s[0] = 0;
|
||||||
|
len = strlen(line);
|
||||||
|
strncpy(cmap[j].str, line, cpp);
|
||||||
|
@@ -1072,10 +1087,10 @@
|
||||||
|
{
|
||||||
|
if (k >= len)
|
||||||
|
{
|
||||||
|
- if (col[0])
|
||||||
|
- strcat(col, " ");
|
||||||
|
- if (strlen(col) + strlen(s) < sizeof(col))
|
||||||
|
- strcat(col, s);
|
||||||
|
+ if (col[0] && space > 0)
|
||||||
|
+ strcat(col, " "), space -= 1;
|
||||||
|
+ if (slen <= space)
|
||||||
|
+ strcat(col, s), space -= slen;
|
||||||
|
}
|
||||||
|
if (col[0])
|
||||||
|
{
|
||||||
|
@@ -1105,14 +1120,17 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- strcpy(tok, s);
|
||||||
|
+ if (slen < sizeof(tok));
|
||||||
|
+ strcpy(tok, s);
|
||||||
|
col[0] = 0;
|
||||||
|
+ space = sizeof(col) - 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- if (col[0])
|
||||||
|
- strcat(col, " ");
|
||||||
|
- strcat(col, s);
|
||||||
|
+ if (col[0] && space > 0)
|
||||||
|
+ strcat(col, " "), space -=1;
|
||||||
|
+ if (slen <= space)
|
||||||
|
+ strcat(col, s), space -= slen;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -1341,12 +1359,12 @@
|
||||||
|
sscanf(s, "%i %i", w, h);
|
||||||
|
a = *w;
|
||||||
|
b = *h;
|
||||||
|
- if (a > 32767)
|
||||||
|
+ if (a <= 0 || a > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: Image width > 32767 pixels for file\n");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (b > 32767)
|
||||||
|
+ if (b <= 0 || b > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: Image height > 32767 pixels for file\n");
|
||||||
|
return NULL;
|
||||||
|
diff -urN imlib-1.9.13.orig/Imlib/utils.c imlib-1.9.13/Imlib/utils.c
|
||||||
|
--- imlib-1.9.13.orig/Imlib/utils.c Mon Mar 4 17:45:28 2002
|
||||||
|
+++ imlib-1.9.13/Imlib/utils.c Thu Sep 16 17:21:15 2004
|
||||||
|
@@ -1496,36 +1496,56 @@
|
||||||
|
context = 0;
|
||||||
|
ptr = NULL;
|
||||||
|
end = NULL;
|
||||||
|
+ memset(lookup, 0, sizeof(lookup));
|
||||||
|
|
||||||
|
while (!done)
|
||||||
|
{
|
||||||
|
line = data[count++];
|
||||||
|
+ if (!line)
|
||||||
|
+ break;
|
||||||
|
+ line = strdup(line);
|
||||||
|
+ if (!line)
|
||||||
|
+ break;
|
||||||
|
+ len = strlen(line);
|
||||||
|
+ for (i = 0; i < len; ++i)
|
||||||
|
+ {
|
||||||
|
+ c = line[i];
|
||||||
|
+ if (c < 32)
|
||||||
|
+ line[i] = 32;
|
||||||
|
+ else if (c > 127)
|
||||||
|
+ line[i] = 127;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (context == 0)
|
||||||
|
{
|
||||||
|
/* Header */
|
||||||
|
sscanf(line, "%i %i %i %i", &w, &h, &ncolors, &cpp);
|
||||||
|
- if (ncolors > 32766)
|
||||||
|
+ if (ncolors <= 0 || ncolors > 32766)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: XPM data wth colors > 32766 not supported\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (cpp > 5)
|
||||||
|
+ if (cpp <= 0 || cpp > 5)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: XPM data with characters per pixel > 5 not supported\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (w > 32767)
|
||||||
|
+ if (w <= 0 || w > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: Image width > 32767 pixels for data\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (h > 32767)
|
||||||
|
+ if (h <= 0 || h > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "IMLIB ERROR: Image height > 32767 pixels for data\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
cmap = malloc(sizeof(struct _cmap) * ncolors);
|
||||||
|
@@ -1533,6 +1553,7 @@
|
||||||
|
if (!cmap)
|
||||||
|
{
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
im->rgb_width = w;
|
||||||
|
@@ -1542,6 +1563,7 @@
|
||||||
|
{
|
||||||
|
free(cmap);
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
im->alpha_data = NULL;
|
||||||
|
@@ -1817,6 +1839,7 @@
|
||||||
|
}
|
||||||
|
if ((ptr) && ((ptr - im->rgb_data) >= w * h * 3))
|
||||||
|
done = 1;
|
||||||
|
+ free(line);
|
||||||
|
}
|
||||||
|
if (!transp)
|
||||||
|
{
|
||||||
|
diff -urN imlib-1.9.13.orig/gdk_imlib/io-gif.c imlib-1.9.13/gdk_imlib/io-gif.c
|
||||||
|
--- imlib-1.9.13.orig/gdk_imlib/io-gif.c Mon Mar 4 17:26:51 2002
|
||||||
|
+++ imlib-1.9.13/gdk_imlib/io-gif.c Thu Sep 16 16:11:31 2004
|
||||||
|
@@ -55,7 +55,7 @@
|
||||||
|
}
|
||||||
|
*w = gif->Image.Width;
|
||||||
|
*h = gif->Image.Height;
|
||||||
|
- if(*h > 32767 || *w > 32767)
|
||||||
|
+ if(*h <= 0 || *h > 32767 || *w <= 0 || *w > 32767)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
diff -urN imlib-1.9.13.orig/gdk_imlib/io-ppm.c imlib-1.9.13/gdk_imlib/io-ppm.c
|
||||||
|
--- imlib-1.9.13.orig/gdk_imlib/io-ppm.c Mon Mar 4 17:26:51 2002
|
||||||
|
+++ imlib-1.9.13/gdk_imlib/io-ppm.c Thu Sep 16 16:13:13 2004
|
||||||
|
@@ -53,12 +53,12 @@
|
||||||
|
sscanf(s, "%i %i", w, h);
|
||||||
|
a = *w;
|
||||||
|
b = *h;
|
||||||
|
- if (a > 32767)
|
||||||
|
+ if (a <= 0 || a > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: Image width > 32767 pixels for file\n");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (b > 32767)
|
||||||
|
+ if (b <= 0 || b > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: Image height > 32767 pixels for file\n");
|
||||||
|
return NULL;
|
||||||
|
diff -urN imlib-1.9.13.orig/gdk_imlib/io-tiff.c imlib-1.9.13/gdk_imlib/io-tiff.c
|
||||||
|
--- imlib-1.9.13.orig/gdk_imlib/io-tiff.c Mon Mar 4 17:26:51 2002
|
||||||
|
+++ imlib-1.9.13/gdk_imlib/io-tiff.c Thu Sep 16 16:13:57 2004
|
||||||
|
@@ -36,7 +36,9 @@
|
||||||
|
npix = ww * hh;
|
||||||
|
*w = (int)ww;
|
||||||
|
*h = (int)hh;
|
||||||
|
- if(ww > 32767 || hh > 32767)
|
||||||
|
+ if (ww <= 0 || ww > 32767 ||
|
||||||
|
+ hh <= 0 || hh > 32767 ||
|
||||||
|
+ hh >= (G_MAXINT/sizeof(uint32)) / ww)
|
||||||
|
{
|
||||||
|
TIFFClose(tif);
|
||||||
|
return NULL;
|
||||||
|
diff -urN imlib-1.9.13.orig/gdk_imlib/io-xpm.c imlib-1.9.13/gdk_imlib/io-xpm.c
|
||||||
|
--- imlib-1.9.13.orig/gdk_imlib/io-xpm.c Mon Mar 4 17:26:51 2002
|
||||||
|
+++ imlib-1.9.13/gdk_imlib/io-xpm.c Thu Sep 16 17:08:24 2004
|
||||||
|
@@ -40,8 +40,12 @@
|
||||||
|
context = 0;
|
||||||
|
i = j = 0;
|
||||||
|
cmap = NULL;
|
||||||
|
+ memset(lookup, 0, sizeof(lookup));
|
||||||
|
|
||||||
|
line = malloc(lsz);
|
||||||
|
+ if (!line)
|
||||||
|
+ return NULL;
|
||||||
|
+
|
||||||
|
while (!done)
|
||||||
|
{
|
||||||
|
pc = c;
|
||||||
|
@@ -70,25 +74,25 @@
|
||||||
|
{
|
||||||
|
/* Header */
|
||||||
|
sscanf(line, "%i %i %i %i", w, h, &ncolors, &cpp);
|
||||||
|
- if (ncolors > 32766)
|
||||||
|
+ if (ncolors <= 0 || ncolors > 32766)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: XPM files wth colors > 32766 not supported\n");
|
||||||
|
free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (cpp > 5)
|
||||||
|
+ if (cpp <= 0 || cpp > 5)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: XPM files with characters per pixel > 5 not supported\n");
|
||||||
|
free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (*w > 32767)
|
||||||
|
+ if (*w <= 0 || *w > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: Image width > 32767 pixels for file\n");
|
||||||
|
free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (*h > 32767)
|
||||||
|
+ if (*h <= 0 || *h > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: Image height > 32767 pixels for file\n");
|
||||||
|
free(line);
|
||||||
|
@@ -120,11 +124,13 @@
|
||||||
|
{
|
||||||
|
int slen;
|
||||||
|
int hascolor, iscolor;
|
||||||
|
+ int space;
|
||||||
|
|
||||||
|
hascolor = 0;
|
||||||
|
iscolor = 0;
|
||||||
|
tok[0] = 0;
|
||||||
|
col[0] = 0;
|
||||||
|
+ space = sizeof(col) - 1;
|
||||||
|
s[0] = 0;
|
||||||
|
len = strlen(line);
|
||||||
|
strncpy(cmap[j].str, line, cpp);
|
||||||
|
@@ -147,10 +153,10 @@
|
||||||
|
{
|
||||||
|
if (k >= len)
|
||||||
|
{
|
||||||
|
- if (col[0])
|
||||||
|
- strcat(col, " ");
|
||||||
|
- if (strlen(col) + strlen(s) < sizeof(col))
|
||||||
|
- strcat(col, s);
|
||||||
|
+ if (col[0] && space > 0)
|
||||||
|
+ strncat(col, " ", space), space -= 1;
|
||||||
|
+ if (slen <= space)
|
||||||
|
+ strcat(col, s), space -= slen;
|
||||||
|
}
|
||||||
|
if (col[0])
|
||||||
|
{
|
||||||
|
@@ -180,14 +186,17 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- strcpy(tok, s);
|
||||||
|
+ if (slen < sizeof(tok))
|
||||||
|
+ strcpy(tok, s);
|
||||||
|
col[0] = 0;
|
||||||
|
+ space = sizeof(col) - 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- if (col[0])
|
||||||
|
- strcat(col, " ");
|
||||||
|
- strcat(col, s);
|
||||||
|
+ if (col[0] && space > 0)
|
||||||
|
+ strcat(col, " "), space -= 1;
|
||||||
|
+ if (slen <= space)
|
||||||
|
+ strcat(col, s), space -= slen;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
diff -urN imlib-1.9.13.orig/gdk_imlib/misc.c imlib-1.9.13/gdk_imlib/misc.c
|
||||||
|
--- imlib-1.9.13.orig/gdk_imlib/misc.c Mon Mar 4 17:26:51 2002
|
||||||
|
+++ imlib-1.9.13/gdk_imlib/misc.c Thu Sep 16 16:35:32 2004
|
||||||
|
@@ -1355,11 +1355,16 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Make sure we don't wrap on our memory allocations
|
||||||
|
+ * we check G_MAX_INT/4 because rend.c malloc's w * h * bpp
|
||||||
|
+ * + 3 is safety margin
|
||||||
|
*/
|
||||||
|
|
||||||
|
void *_gdk_malloc_image(unsigned int w, unsigned int h)
|
||||||
|
{
|
||||||
|
- if( w > 32767 || h > 32767)
|
||||||
|
+ if (w <= 0 || w > 32767 ||
|
||||||
|
+ h <= 0 || h > 32767 ||
|
||||||
|
+ h >= (G_MAXINT/4 - 1) / w)
|
||||||
|
return NULL;
|
||||||
|
- return malloc(w * h * 3);
|
||||||
|
+ return malloc(w * h * 3 + 3);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
diff -urN imlib-1.9.13.orig/gdk_imlib/utils.c imlib-1.9.13/gdk_imlib/utils.c
|
||||||
|
--- imlib-1.9.13.orig/gdk_imlib/utils.c Mon Mar 4 17:26:51 2002
|
||||||
|
+++ imlib-1.9.13/gdk_imlib/utils.c Thu Sep 16 17:28:35 2004
|
||||||
|
@@ -1236,36 +1236,56 @@
|
||||||
|
context = 0;
|
||||||
|
ptr = NULL;
|
||||||
|
end = NULL;
|
||||||
|
+ memset(lookup, 0, sizeof(lookup));
|
||||||
|
|
||||||
|
while (!done)
|
||||||
|
{
|
||||||
|
line = data[count++];
|
||||||
|
+ if (!line)
|
||||||
|
+ break;
|
||||||
|
+ line = strdup(line);
|
||||||
|
+ if (!line)
|
||||||
|
+ break;
|
||||||
|
+ len = strlen(line);
|
||||||
|
+ for (i = 0; i < len; ++i)
|
||||||
|
+ {
|
||||||
|
+ c = line[i];
|
||||||
|
+ if (c < 32)
|
||||||
|
+ line[i] = 32;
|
||||||
|
+ else if (c > 127)
|
||||||
|
+ line[i] = 127;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (context == 0)
|
||||||
|
{
|
||||||
|
/* Header */
|
||||||
|
sscanf(line, "%i %i %i %i", &w, &h, &ncolors, &cpp);
|
||||||
|
- if (ncolors > 32766)
|
||||||
|
+ if (ncolors <= 0 || ncolors > 32766)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: XPM data wth colors > 32766 not supported\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (cpp > 5)
|
||||||
|
+ if (cpp <= 0 || cpp > 5)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: XPM data with characters per pixel > 5 not supported\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (w > 32767)
|
||||||
|
+ if (w <= 0 || w > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: Image width > 32767 pixels for data\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (h > 32767)
|
||||||
|
+ if (h <= 0 || h > 32767)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "gdk_imlib ERROR: Image height > 32767 pixels for data\n");
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
cmap = malloc(sizeof(struct _cmap) * ncolors);
|
||||||
|
@@ -1273,6 +1293,7 @@
|
||||||
|
if (!cmap)
|
||||||
|
{
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
im->rgb_width = w;
|
||||||
|
@@ -1282,6 +1303,7 @@
|
||||||
|
{
|
||||||
|
free(cmap);
|
||||||
|
free(im);
|
||||||
|
+ free(line);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
im->alpha_data = NULL;
|
||||||
|
@@ -1355,7 +1377,7 @@
|
||||||
|
strcpy(col + colptr, " ");
|
||||||
|
colptr++;
|
||||||
|
}
|
||||||
|
- if (colptr + ls <= sizeof(col))
|
||||||
|
+ if (colptr + ls < sizeof(col))
|
||||||
|
{
|
||||||
|
strcpy(col + colptr, s);
|
||||||
|
colptr += ls;
|
||||||
|
@@ -1558,6 +1580,7 @@
|
||||||
|
}
|
||||||
|
if ((ptr) && ((ptr - im->rgb_data) >= w * h * 3))
|
||||||
|
done = 1;
|
||||||
|
+ free(line);
|
||||||
|
}
|
||||||
|
if (!transp)
|
||||||
|
{
|
@ -0,0 +1,48 @@
|
|||||||
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=imlib
|
||||||
|
pkgver=1.9.15
|
||||||
|
pkgrel=17
|
||||||
|
pkgdesc="General image handling library for X11 and Gtk"
|
||||||
|
arch=('powerpc64le')
|
||||||
|
url="http://freshmeat.net/projects/imlib/"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('giflib' 'libpng' 'libtiff' 'libxext')
|
||||||
|
makedepends=('libxt')
|
||||||
|
source=(https://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/${pkgname}-${pkgver}.tar.bz2
|
||||||
|
debian-bug448360.patch CAN-2004-1026.patch aclocal-fixes.patch
|
||||||
|
imlib-1.9.15-libpng15.patch imlib-giflib51.patch imlib-gtk.patch)
|
||||||
|
sha512sums=('f50d9141b3c54b44921aa09c0a5ea848aefaa904efdd6da132dace42604671f8dbd3e4b71a596f054f0db4525ba2002864b5e5b21f8805cf1b5514b661ac254a'
|
||||||
|
'0c805568c54149239a3106293e7a4f5abe127abebc1a851cda87958fede996d6c0415fe1b47a7f023f2deb2e3460204d5aae4fce5787e402a026d46c2e7e662c'
|
||||||
|
'a75537267e9e276920fbc0360cd4832f727c6c9857401889bdb1466f3088c98e5ea2ef84a94a5873a3c12dda0b9aed36a5e2039fece87e51154a3b773d97aa5c'
|
||||||
|
'ca4d2a047ee07f25bb462c8b34fc8298ef9a31b39f83309598a696973534e144f8f02a130bb764737dfbd329073e64abe4f8a673d66731822fece4969d7ab02a'
|
||||||
|
'e7a6d48ef04fbcfcab998e6968130796ab3da1fd9def14ab2ccc713e0956f1f2be3f3a8f680ded5f00cb7ac9ea31d2f94de04aaa039ec5b03cece71f36f14294'
|
||||||
|
'91a62ed701974b953c2bc4f6b530ea7614b2195906110fcdc45bb200acacea0c54d431c3eafdcd2b33877606ef6b23bd34d051f99f90e5505d8e725b78278c89'
|
||||||
|
'fb05c545e8c8e3eaf6a6cc390c0c9211c37074f7bd6805529254d9c61d56ceb9b2e3877d276f46ac0b195ae796e52c5baad11781ef91272c955529396bdf6de7')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
patch -p1 -i "${srcdir}/debian-bug448360.patch"
|
||||||
|
patch -p1 -i "${srcdir}/CAN-2004-1026.patch"
|
||||||
|
patch -p0 -i "${srcdir}/aclocal-fixes.patch"
|
||||||
|
patch -p0 -i "${srcdir}/imlib-1.9.15-libpng15.patch"
|
||||||
|
patch -p1 -i "${srcdir}/imlib-giflib51.patch"
|
||||||
|
patch -p1 -i "${srcdir}/imlib-gtk.patch"
|
||||||
|
sed '/AC_PATH_XTRA/d' -i configure.in
|
||||||
|
mv configure.in configure.ac
|
||||||
|
libtoolize --force
|
||||||
|
cp /usr/bin/libtool .
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
autoreconf --force --install
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-shm --disable-static
|
||||||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
--- imlib.m4.orig 2006-03-05 12:41:14.000000000 +0000
|
||||||
|
+++ imlib.m4 2006-03-05 12:44:15.000000000 +0000
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
dnl AM_PATH_IMLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||||
|
dnl Test for IMLIB, and define IMLIB_CFLAGS and IMLIB_LIBS
|
||||||
|
dnl
|
||||||
|
-AC_DEFUN(AM_PATH_IMLIB,
|
||||||
|
+AC_DEFUN([AM_PATH_IMLIB],
|
||||||
|
[dnl
|
||||||
|
dnl Get the cflags and libraries from the imlib-config script
|
||||||
|
dnl
|
||||||
|
@@ -164,7 +164,7 @@
|
||||||
|
])
|
||||||
|
|
||||||
|
# Check for gdk-imlib
|
||||||
|
-AC_DEFUN(AM_PATH_GDK_IMLIB,
|
||||||
|
+AC_DEFUN([AM_PATH_GDK_IMLIB],
|
||||||
|
[dnl
|
||||||
|
dnl Get the cflags and libraries from the imlib-config script
|
||||||
|
dnl
|
@ -0,0 +1,92 @@
|
|||||||
|
diff -up -ru imlib-1.9.15.orig/gdk_imlib/misc.c imlib-1.9.15/gdk_imlib/misc.c
|
||||||
|
--- imlib-1.9.15.orig/gdk_imlib/misc.c 2002-03-04 18:06:32.000000000 +0100
|
||||||
|
+++ imlib-1.9.15/gdk_imlib/misc.c 2007-10-28 14:00:04.000000000 +0100
|
||||||
|
@@ -674,6 +674,10 @@ gdk_imlib_init_params(GdkImlibInitParams
|
||||||
|
visual = gdk_rgb_get_visual();
|
||||||
|
id->x.visual = GDK_VISUAL_XVISUAL(visual); /* the visual type */
|
||||||
|
id->x.depth = visual->depth; /* the depth of the screen in bpp */
|
||||||
|
+
|
||||||
|
+ id->x.shm = 0;
|
||||||
|
+ id->x.shmp = 0;
|
||||||
|
+ id->max_shm = 0;
|
||||||
|
#ifdef HAVE_SHM
|
||||||
|
if (XShmQueryExtension(id->x.disp))
|
||||||
|
{
|
||||||
|
@@ -689,17 +693,14 @@ gdk_imlib_init_params(GdkImlibInitParams
|
||||||
|
id->x.last_xim = NULL;
|
||||||
|
id->x.last_sxim = NULL;
|
||||||
|
id->max_shm = 0x7fffffff;
|
||||||
|
- if (XShmPixmapFormat(id->x.disp) == ZPixmap)
|
||||||
|
+ if ((XShmPixmapFormat(id->x.disp) == ZPixmap) &&
|
||||||
|
+ (pm == True))
|
||||||
|
id->x.shmp = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- else
|
||||||
|
#endif
|
||||||
|
- {
|
||||||
|
- id->x.shm = 0;
|
||||||
|
- id->x.shmp = 0;
|
||||||
|
- }
|
||||||
|
+
|
||||||
|
id->cache.on_image = 0;
|
||||||
|
id->cache.size_image = 0;
|
||||||
|
id->cache.num_image = 0;
|
||||||
|
@@ -935,8 +936,8 @@ gdk_imlib_init_params(GdkImlibInitParams
|
||||||
|
}
|
||||||
|
if (p->flags & PARAMS_SHAREDPIXMAPS)
|
||||||
|
{
|
||||||
|
- if (id->x.shm)
|
||||||
|
- id->x.shmp = p->sharedpixmaps;
|
||||||
|
+ if (!p->sharedpixmaps)
|
||||||
|
+ id->x.shmp = 0;
|
||||||
|
}
|
||||||
|
if (p->flags & PARAMS_PALETTEOVERRIDE)
|
||||||
|
override = p->paletteoverride;
|
||||||
|
diff -up -ru imlib-1.9.15.orig/Imlib/misc.c imlib-1.9.15/Imlib/misc.c
|
||||||
|
--- imlib-1.9.15.orig/Imlib/misc.c 2004-09-21 02:22:59.000000000 +0200
|
||||||
|
+++ imlib-1.9.15/Imlib/misc.c 2007-10-28 14:00:23.000000000 +0100
|
||||||
|
@@ -675,6 +675,10 @@ Imlib_init_with_params(Display * disp, I
|
||||||
|
id->x.root = DefaultRootWindow(disp); /* the root window id */
|
||||||
|
id->x.visual = DefaultVisual(disp, id->x.screen); /* the visual type */
|
||||||
|
id->x.depth = DefaultDepth(disp, id->x.screen); /* the depth of the screen in bpp */
|
||||||
|
+
|
||||||
|
+ id->x.shm = 0;
|
||||||
|
+ id->x.shmp = 0;
|
||||||
|
+ id->max_shm = 0;
|
||||||
|
#ifdef HAVE_SHM
|
||||||
|
if (XShmQueryExtension(id->x.disp))
|
||||||
|
{
|
||||||
|
@@ -690,17 +694,14 @@ Imlib_init_with_params(Display * disp, I
|
||||||
|
id->x.last_xim = NULL;
|
||||||
|
id->x.last_sxim = NULL;
|
||||||
|
id->max_shm = 0x7fffffff;
|
||||||
|
- if (XShmPixmapFormat(id->x.disp) == ZPixmap)
|
||||||
|
+ if ((XShmPixmapFormat(id->x.disp) == ZPixmap &&
|
||||||
|
+ (pm == True)))
|
||||||
|
id->x.shmp = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- else
|
||||||
|
#endif
|
||||||
|
- {
|
||||||
|
- id->x.shm = 0;
|
||||||
|
- id->x.shmp = 0;
|
||||||
|
- }
|
||||||
|
+
|
||||||
|
id->cache.on_image = 0;
|
||||||
|
id->cache.size_image = 0;
|
||||||
|
id->cache.num_image = 0;
|
||||||
|
@@ -952,8 +953,8 @@ Imlib_init_with_params(Display * disp, I
|
||||||
|
}
|
||||||
|
if (p->flags & PARAMS_SHAREDPIXMAPS)
|
||||||
|
{
|
||||||
|
- if (id->x.shm)
|
||||||
|
- id->x.shmp = p->sharedpixmaps;
|
||||||
|
+ if (!p->sharedpixmaps)
|
||||||
|
+ id->x.shmp = 0;
|
||||||
|
}
|
||||||
|
if (p->flags & PARAMS_PALETTEOVERRIDE)
|
||||||
|
override = p->paletteoverride;
|
@ -0,0 +1,142 @@
|
|||||||
|
--- gdk_imlib/io-png.c
|
||||||
|
+++ gdk_imlib/io-png.c
|
||||||
|
@@ -40,13 +40,13 @@
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
@@ -275,13 +275,13 @@
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
@@ -301,6 +301,9 @@
|
||||||
|
/* Setup Translators */
|
||||||
|
if (color_type == PNG_COLOR_TYPE_PALETTE)
|
||||||
|
png_set_expand(png_ptr);
|
||||||
|
+ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
|
||||||
|
+ png_set_expand(png_ptr);
|
||||||
|
+
|
||||||
|
png_set_strip_16(png_ptr);
|
||||||
|
png_set_packing(png_ptr);
|
||||||
|
if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
|
||||||
|
@@ -440,13 +443,13 @@
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
@@ -635,7 +638,7 @@
|
||||||
|
png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
fclose(f);
|
||||||
|
png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
|
||||||
|
--- Imlib/load.c
|
||||||
|
+++ Imlib/load.c
|
||||||
|
@@ -197,12 +197,12 @@
|
||||||
|
png_destroy_read_struct(&png_ptr, NULL, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
@@ -260,7 +260,8 @@
|
||||||
|
png_read_image(png_ptr, lines);
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
ptr = data;
|
||||||
|
- if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||||
|
+ if (color_type == PNG_COLOR_TYPE_GRAY
|
||||||
|
+ || color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||||
|
{
|
||||||
|
for (y = 0; y < *h; y++)
|
||||||
|
{
|
||||||
|
@@ -285,6 +286,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#if 0
|
||||||
|
else if (color_type == PNG_COLOR_TYPE_GRAY)
|
||||||
|
{
|
||||||
|
for (y = 0; y < *h; y++)
|
||||||
|
@@ -300,6 +302,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (y = 0; y < *h; y++)
|
||||||
|
--- Imlib/save.c
|
||||||
|
+++ Imlib/save.c
|
||||||
|
@@ -342,7 +342,7 @@
|
||||||
|
png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
fclose(f);
|
||||||
|
png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
|
||||||
|
--- Imlib/utils.c
|
||||||
|
+++ Imlib/utils.c
|
||||||
|
@@ -1981,14 +1981,13 @@
|
||||||
|
png_destroy_read_struct(&png_ptr, NULL, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
-
|
||||||
|
- if (setjmp(png_ptr->jmpbuf))
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||||
|
{
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
|
||||||
|
return NULL;
|
@ -0,0 +1,126 @@
|
|||||||
|
diff -ruN imlib-1.9.15.orig/gdk_imlib/io-gif.c imlib-1.9.15/gdk_imlib/io-gif.c
|
||||||
|
--- imlib-1.9.15.orig/gdk_imlib/io-gif.c 2014-05-27 09:38:13.210527763 +0000
|
||||||
|
+++ imlib-1.9.15/gdk_imlib/io-gif.c 2014-05-27 09:43:55.435910398 +0000
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
fd = fileno(f);
|
||||||
|
/* Apparently rewind(f) isn't sufficient */
|
||||||
|
lseek(fd, (long) 0, 0);
|
||||||
|
- gif = DGifOpenFileHandle(fd);
|
||||||
|
+ gif = DGifOpenFileHandle(fd, NULL);
|
||||||
|
|
||||||
|
transp = -1;
|
||||||
|
data = NULL;
|
||||||
|
@@ -43,14 +43,14 @@
|
||||||
|
{
|
||||||
|
if (DGifGetRecordType(gif, &rec) == GIF_ERROR)
|
||||||
|
{
|
||||||
|
- PrintGifError();
|
||||||
|
+ fprintf(stderr, "giflib error: %s\n", GifErrorString(gif->Error));
|
||||||
|
rec = TERMINATE_RECORD_TYPE;
|
||||||
|
}
|
||||||
|
if ((rec == IMAGE_DESC_RECORD_TYPE) && (!done))
|
||||||
|
{
|
||||||
|
if (DGifGetImageDesc(gif) == GIF_ERROR)
|
||||||
|
{
|
||||||
|
- PrintGifError();
|
||||||
|
+ fprintf(stderr, "giflib error: %s\n", GifErrorString(gif->Error));
|
||||||
|
rec = TERMINATE_RECORD_TYPE;
|
||||||
|
}
|
||||||
|
*w = gif->Image.Width;
|
||||||
|
@@ -62,13 +62,13 @@
|
||||||
|
rows = malloc(*h * sizeof(GifRowType *));
|
||||||
|
if (!rows)
|
||||||
|
{
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
data = _gdk_malloc_image(*w, *h);
|
||||||
|
if (!data)
|
||||||
|
{
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
free(rows);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
@@ -79,7 +79,7 @@
|
||||||
|
rows[i] = malloc(*w * sizeof(GifPixelType));
|
||||||
|
if (!rows[i])
|
||||||
|
{
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
for (i = 0; i < *h; i++)
|
||||||
|
if (rows[i])
|
||||||
|
free(rows[i]);
|
||||||
|
@@ -168,7 +168,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
for (i = 0; i < *h; i++)
|
||||||
|
free(rows[i]);
|
||||||
|
free(rows);
|
||||||
|
diff -ruN imlib-1.9.15.orig/Imlib/load.c imlib-1.9.15/Imlib/load.c
|
||||||
|
--- imlib-1.9.15.orig/Imlib/load.c 2014-05-27 09:38:13.220527723 +0000
|
||||||
|
+++ imlib-1.9.15/Imlib/load.c 2014-05-27 09:45:25.775576104 +0000
|
||||||
|
@@ -454,7 +454,7 @@
|
||||||
|
fd = fileno(f);
|
||||||
|
/* Apparently rewind(f) isn't sufficient */
|
||||||
|
lseek(fd, (long) 0, 0);
|
||||||
|
- gif = DGifOpenFileHandle(fd);
|
||||||
|
+ gif = DGifOpenFileHandle(fd, NULL);
|
||||||
|
|
||||||
|
if (!gif)
|
||||||
|
return NULL;
|
||||||
|
@@ -462,14 +462,14 @@
|
||||||
|
{
|
||||||
|
if (DGifGetRecordType(gif, &rec) == GIF_ERROR)
|
||||||
|
{
|
||||||
|
- PrintGifError();
|
||||||
|
+ fprintf(stderr, "Imlib ERROR: JPEG uses line buffers > 16. Cannot load.\n");
|
||||||
|
rec = TERMINATE_RECORD_TYPE;
|
||||||
|
}
|
||||||
|
if ((rec == IMAGE_DESC_RECORD_TYPE) && (!done))
|
||||||
|
{
|
||||||
|
if (DGifGetImageDesc(gif) == GIF_ERROR)
|
||||||
|
{
|
||||||
|
- PrintGifError();
|
||||||
|
+ fprintf(stderr, "Imlib ERROR: JPEG uses line buffers > 16. Cannot load.\n");
|
||||||
|
rec = TERMINATE_RECORD_TYPE;
|
||||||
|
}
|
||||||
|
*w = gif->Image.Width;
|
||||||
|
@@ -481,13 +481,13 @@
|
||||||
|
rows = malloc(*h * sizeof(GifRowType *));
|
||||||
|
if (!rows)
|
||||||
|
{
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
data = _imlib_malloc_image(*w, *h);
|
||||||
|
if (!data)
|
||||||
|
{
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
free(rows);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
@@ -498,7 +498,7 @@
|
||||||
|
rows[i] = malloc(*w * sizeof(GifPixelType));
|
||||||
|
if (!rows[i])
|
||||||
|
{
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
for (i = 0; i < *h; i++)
|
||||||
|
if (rows[i])
|
||||||
|
free(rows[i]);
|
||||||
|
@@ -587,7 +587,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- DGifCloseFile(gif);
|
||||||
|
+ DGifCloseFile(gif, NULL);
|
||||||
|
for (i = 0; i < *h; i++)
|
||||||
|
free(rows[i]);
|
||||||
|
free(rows);
|
@ -0,0 +1,14 @@
|
|||||||
|
--- a/configure.in 2014-04-12 17:46:28.459612102 +0200
|
||||||
|
+++ b/configure.in 2014-04-12 17:46:33.926347877 +0200
|
||||||
|
@@ -17,11 +17,6 @@
|
||||||
|
dnl incase it is broken for example.
|
||||||
|
AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes")
|
||||||
|
|
||||||
|
-AM_PATH_GTK(1.2.1,[
|
||||||
|
- GDK_IMLIB="gdk_imlib utils"],[
|
||||||
|
- GDK_IMLIB=""
|
||||||
|
- AC_MSG_WARN([*** gdk_imlib will not be built ***])])
|
||||||
|
-
|
||||||
|
AC_MSG_CHECKING(whether to build gmodulized imlib)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(modules, [ --disable-modules Disables dynamic module loading],[
|
Binary file not shown.
@ -0,0 +1,43 @@
|
|||||||
|
# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
|
||||||
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||||||
|
|
||||||
|
pkgbase=libofx
|
||||||
|
pkgname=('libofx' 'libofx-doc')
|
||||||
|
pkgver=0.10.9
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="API for the OFX banking standard"
|
||||||
|
arch=('powerpc64le')
|
||||||
|
url="https://github.com/libofx"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('opensp' 'curl' 'libxml++2.6')
|
||||||
|
checkdepends=('gnupg')
|
||||||
|
source=(https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||||
|
sha256sums=('1ca89ff7d681c9edad312172ac464231a8de686e653213612f9417492cef0d37')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgbase-$pkgver
|
||||||
|
./configure --prefix=/usr
|
||||||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
make CXXFLAGS+=-std=c++11
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $pkgbase-$pkgver
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package_libofx() {
|
||||||
|
options=('!docs')
|
||||||
|
|
||||||
|
cd $pkgbase-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
package_libofx-doc() {
|
||||||
|
pkgdesc="Documention of the OFX banking standard API"
|
||||||
|
depends=()
|
||||||
|
|
||||||
|
cd $pkgbase-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install-docDATA
|
||||||
|
make -C doc DESTDIR="$pkgdir" install
|
||||||
|
}
|
@ -0,0 +1,55 @@
|
|||||||
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: damir <damir@archlinux.org>
|
||||||
|
|
||||||
|
pkgbase=libxml++2.6
|
||||||
|
pkgname=(libxml++2.6 libxml++2.6-docs)
|
||||||
|
pkgver=2.42.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="C++ bindings to libxml2"
|
||||||
|
url="https://libxmlplusplus.github.io/libxmlplusplus/"
|
||||||
|
arch=('powerpc64le')
|
||||||
|
license=(LGPL)
|
||||||
|
depends=(libxml2 glibmm)
|
||||||
|
makedepends=(git meson mm-common glibmm-docs)
|
||||||
|
options=(!emptydirs)
|
||||||
|
_commit=ceedcb1ca7462305cbca16464bbc5ea50d89c356 # tags/2.42.1^0
|
||||||
|
source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd libxmlplusplus
|
||||||
|
git describe --tags | sed 's/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd libxmlplusplus
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
arch-meson libxmlplusplus build -D maintainer-mode=true
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
meson test -C build --print-errorlogs
|
||||||
|
}
|
||||||
|
|
||||||
|
package_libxml++2.6() {
|
||||||
|
provides=("libxml++2=$pkgver" libxml++-2.6.so)
|
||||||
|
conflicts=(libxml++2)
|
||||||
|
replaces=(libxml++2)
|
||||||
|
|
||||||
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
|
||||||
|
# Split -docs
|
||||||
|
mkdir -p docs/usr/share
|
||||||
|
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
|
||||||
|
}
|
||||||
|
|
||||||
|
package_libxml++2.6-docs() {
|
||||||
|
pkgdesc+=" (documentation)"
|
||||||
|
depends=()
|
||||||
|
options=(!strip)
|
||||||
|
|
||||||
|
mv -t "$pkgdir" docs/*
|
||||||
|
}
|
@ -0,0 +1,69 @@
|
|||||||
|
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
||||||
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
|
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
|
||||||
|
# Contributor: Daniel Micay <danielmicay@gmail.com>
|
||||||
|
# Contributor: simo <simo@archlinux.org>
|
||||||
|
# Contributor: Sid Karunaratne
|
||||||
|
|
||||||
|
pkgname=tor
|
||||||
|
pkgver=0.4.7.11
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Anonymizing overlay network.'
|
||||||
|
arch=('powerpc64le')
|
||||||
|
url='https://www.torproject.org/download/tor/'
|
||||||
|
license=('BSD')
|
||||||
|
depends=('openssl' 'libevent' 'bash' 'libseccomp' 'zstd' 'libcap' 'systemd-libs'
|
||||||
|
'libsystemd.so' 'libzstd.so' 'libseccomp.so' 'libcap.so')
|
||||||
|
optdepends=('torsocks: for torify')
|
||||||
|
makedepends=('ca-certificates' 'systemd')
|
||||||
|
backup=('etc/tor/torrc')
|
||||||
|
source=("https://dist.torproject.org/${pkgname}-${pkgver}.tar.gz"{,.sha256sum{,.asc}}
|
||||||
|
'torrc.patch'
|
||||||
|
'tor.sysusers'
|
||||||
|
'tor.tmpfiles'
|
||||||
|
'tor.service')
|
||||||
|
b2sums=('2d743e7d0aea63e76f6e24aa235792af8691fde419f56bbdf8c6ee865250a09ec06454ec84abac8ba47e3d61a363c937fc050376172d3ec6b0815998d1c8679e'
|
||||||
|
'1e49ba88ae21af6589a9815603ee375cc0dc85fcd8dd5a5f52cd44659438874ae9d10b09b7f15cadd2c30d2e8012a27be4233dcb19195d4627f19a59ccf68d0b'
|
||||||
|
'SKIP'
|
||||||
|
'3359e138d823a77df2a42ce3fe8c6ecb4004e9ec191863db7857aceea7c136c78f09518b1a199dfd3215f5d61f1c060f4a0e2141c5bdb6b847af60fb6e9a81a7'
|
||||||
|
'9053da53926f2120ac57b6c1442238f5bbd89bf9270347c4e00b721b39939bebc6adfcf814a9d7289dfd14d085d91c193529305336db93190da5b7f586a031df'
|
||||||
|
'5d55d9a7e42b6ce78b8ab985bab37afe8f0bacddb5abd895c4a490adb8f98b9422f90b40066fef05ecf37b7b21e80aadc615c4b7f6e12b05581304113a1b1f1d'
|
||||||
|
'327c1a35c3d4c44f93edb47959c8c41ab6af4cbfcbb8f4e9f54f2f69d17d148bf85e2d2c8aefe2d3165e123056dd68a248af78d1ba713b94a4e6d27a9cf412f1')
|
||||||
|
validpgpkeys=(
|
||||||
|
'2133BC600AB133E1D826D173FE43009C4607B1FB' # Nick Mathewson
|
||||||
|
'B74417EDDF22AC9F9E90F49142E86A2A11F48D36' # David Goulet
|
||||||
|
'1C1BC007A9F607AA8152C040BEA7B180B1491921' # Alexander Færøy
|
||||||
|
)
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# verify the signed sums match the expected source tarball
|
||||||
|
sha256sum -c ${pkgname}-${pkgver}.tar.gz.sha256sum
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
# uncomment essential config sections in the torrc file
|
||||||
|
patch -Np1 < "${srcdir}/torrc.patch"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
mv "${pkgdir}"/etc/tor/torrc{.sample,}
|
||||||
|
|
||||||
|
# install arch custom files
|
||||||
|
install -Dm 644 "${srcdir}"/*.service -t "${pkgdir}"/usr/lib/systemd/system
|
||||||
|
install -Dm 644 "${srcdir}"/tor.sysusers "${pkgdir}"/usr/lib/sysusers.d/tor.conf
|
||||||
|
install -Dm 644 "${srcdir}"/tor.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/tor.conf
|
||||||
|
|
||||||
|
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
@ -0,0 +1,43 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mDMEXegH3RYJKwYBBAHaRw8BAQdA1IMvjZzYALGBFe/ARHNSXuQjccz0HgOHBHRq
|
||||||
|
v8Pb4j+0H0FsZXhhbmRlciBGw6Zyw7h5IDxhaGZAMHg5MC5kaz6ImQQTFggAQQIb
|
||||||
|
AwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBBwbwAep9geqgVLAQL6n
|
||||||
|
sYCxSRkhBQJd6GooAhkBAAoJEL6nsYCxSRkhdqEA/0skJeGZkqRmlHPXqTFZMvbh
|
||||||
|
As2kY9Lm5LBGesjgQCspAPwJZagtqC5252zPFMlaIUu2hxcUeA+HwdLqnnl6Wjvs
|
||||||
|
AbQmQWxleGFuZGVyIEbDpnLDuHkgPGFoZkB0b3Jwcm9qZWN0Lm9yZz6IlgQTFggA
|
||||||
|
PhYhBBwbwAep9geqgVLAQL6nsYCxSRkhBQJd6AqCAhsDBQkJZgGABQsJCAcCBhUK
|
||||||
|
CQgLAgQWAgMBAh4BAheAAAoJEL6nsYCxSRkhzmsBALbObQ580jsPTu8bSgbowNOl
|
||||||
|
CpciTMcQ9wEYz6pvQQVeAP4x7sGLzSzyXVZdTz4GJ5gidbuy+XqX3WoGUbB6kOT5
|
||||||
|
BLQkQWxleGFuZGVyIEbDpnLDuHkgPGFoZkBib3JuaGFjay5vcmc+iJYEExYIAD4W
|
||||||
|
IQQcG8AHqfYHqoFSwEC+p7GAsUkZIQUCXegKdwIbAwUJCWYBgAULC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xLWgW9WSvZbbbR+DOIeAQYFggAIBYhBBwb
|
||||||
|
wAep9geqgVLAQL6nsYCxSRkhBQJd6AwEAhsgAAoJEL6nsYCxSRkhLj4BAOMBgQBj
|
||||||
|
h8SJEOM6RqWT5SXb8HiDfdZqvgr8nCtffEewAP93G3tS+owZ3m4bTzkeBzTvay/7
|
||||||
|
eq23AcJprL+sedUTBrg4BF3oC/ASCisGAQQBl1UBBQEBB0C1S8DIQiC+5dfHix3b
|
||||||
|
eFUzD3Lrq5+5UYGkmp6lh+OaPwMBCAeIeAQYFggAIBYhBBwbwAep9geqgVLAQL6n
|
||||||
|
sYCxSRkhBQJd6AvwAhsMAAoJEL6nsYCxSRkhDJQBAJse48bTxe81zjXKuMt66QKa
|
||||||
|
RnBaDsY1EGaYk4Vyb6rxAQCtmsYhDHtiE2D2oFav+UULbeqdJyIOhPEPa31Rn4N5
|
||||||
|
D7gzBF3oC7wWCSsGAQQB2kcPAQEHQPdFLwvik9OFJ008OgdtSfe4LNlTuybXT4Pu
|
||||||
|
CuMuUgqciO8EGBYIACAWIQQcG8AHqfYHqoFSwEC+p7GAsUkZIQUCXegLvAIbAgCB
|
||||||
|
CRC+p7GAsUkZIXYgBBkWCAAdFiEEUUECRU0Kh9sHZ6HrvmoFMcGKkXkFAl3oC7wA
|
||||||
|
CgkQvmoFMcGKkXmq2gEA9M/YpMYMaXY68N3ATNnS43v5XKJE8QYtSLPCTIAuw3sB
|
||||||
|
AIidFaYoDiOtDMyCfmwLjIIopbjr9MDw8ZfeQdmdic0F8hcA/1qMXV5lVbLUEWVr
|
||||||
|
JSbdnu1QX3DupZMvS74RkPU2WfD3AP91Rlg8I0Q+GyT8F2uH6/qwGvJqCV4zhVzp
|
||||||
|
IzfFlprFAg==
|
||||||
|
=SCcY
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,123 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBFfinw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GcS1JokyFVWa10WD0y
|
||||||
|
wwDAcynzMET9pI0MXmqY1qKjlMQVc7lb4FLeXw==
|
||||||
|
=y/Gu
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,51 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQENBE3KySMBCADOeaVfjDRP3kb2YaDyZbEjPKXkIJivkBbEt9E5abcuipmIA8o6
|
||||||
|
W+eYbnRDUZr0u/a6NjEhG35yNFRWpFpi4Gby9+0xjNvGjFj+hTjROFsph3ljGFKp
|
||||||
|
yYfJQejlFEjlub/7ehNdVrwJz5WnIpNz1UnoC7/rry6HzBtKIcXbEpLTnGAoqAmY
|
||||||
|
d78cv5h+9B5WzN48/63qIns5ZkzAZIQio3Y+n8B80NXDOiTh+9cFPfAk4xBVPIYk
|
||||||
|
8dDpCGeHA8E7htJsAkgn4A3wsxEwwKVf4AD5+E622BWYabFyCWetpNIBDsRAm2Di
|
||||||
|
s7LtxC7SRWd/e/91axtQ5u1bHFliVkRRbn9VABEBAAG0IERhdmlkIEdvdWxldCA8
|
||||||
|
ZGdvdWxldEBldjBrZS5uZXQ+iQFTBBMBCAA9AhsDAh4BAheABAsECQoEFQgJCgMW
|
||||||
|
AQICGQEWIQS3RBft3yKsn56Q9JFC6GoqEfSNNgUCYk7b+QUJFmVGVgAKCRBC6Goq
|
||||||
|
EfSNNiH0CACJCNbyooaIGDEJ6sNkwrwh9DZZFs+qyafJqz7KXd3d2MXcnlgAw6O2
|
||||||
|
DYCAy6hlKNaANWQSFeYTjsoIWf7wC8fFnaWJscPx6+ZE8beUlQMiyzk0KQg8ie7x
|
||||||
|
Bfnl9Lmh4cnH+4b5A+A3GO8JrWf+gNAi182WJzq62SX7gK7EUT3H9oS3FSbhwYLS
|
||||||
|
Yf7WQMWpWJ6dS7PbUr78J8XiJDvm6GvEMMC34/aZTeRdhntNOu1B2tybA4BwxbuI
|
||||||
|
KMa8nneqd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oJEELoaioR9I024lwH/1UtASIiEoZKhuVkv55bjo3w
|
||||||
|
422w3wwJTC5kooG1TOWmtHOo/JJ1rFxcIpkY6ftnC+p6YhEbxxk/3XAZtUNRsJ9Z
|
||||||
|
qemhp331AGq/44g/OYAZkQiNyNhjftj6JafvgU1Zauzi7w0xqhLMKBMDV09vcbPe
|
||||||
|
o+axUj7cvibHxYUUC2RWqkBxegXpa+Cq4YKpEEbXh510mwK11sUyxcPxsrkZhr97
|
||||||
|
KdgY8RedpPDAxnQBGU7dIMDc3xVIX1uXXZpY+SyJb7QAMGTW+9jDPwDUeUYanV+e
|
||||||
|
RwLotrkvSgKJ9GQ2F3Am0axV8iqob7unvbKYTtQcIR2P9X52sT0Pytt44W2KxH0=
|
||||||
|
=Aw5d
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,35 @@
|
|||||||
|
# tor.service -- this systemd configuration file for Tor sets up a
|
||||||
|
# relatively conservative, hardened Tor service. You may need to
|
||||||
|
# edit it if you are making changes to your Tor configuration that it
|
||||||
|
# does not allow. Package maintainers: this should be a starting point
|
||||||
|
# for your tor.service; it is not the last point.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Anonymizing overlay network for TCP
|
||||||
|
After=syslog.target network.target nss-lookup.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
NotifyAccess=all
|
||||||
|
ExecStartPre=/usr/bin/tor -f /etc/tor/torrc --verify-config
|
||||||
|
ExecStart=/usr/bin/tor -f /etc/tor/torrc
|
||||||
|
ExecReload=/bin/kill -HUP ${MAINPID}
|
||||||
|
KillSignal=SIGINT
|
||||||
|
TimeoutSec=60
|
||||||
|
Restart=on-failure
|
||||||
|
WatchdogSec=1m
|
||||||
|
LimitNOFILE=32768
|
||||||
|
|
||||||
|
# Hardening
|
||||||
|
PrivateTmp=yes
|
||||||
|
PrivateDevices=yes
|
||||||
|
ProtectHome=yes
|
||||||
|
ProtectSystem=full
|
||||||
|
ReadOnlyDirectories=/
|
||||||
|
ReadWriteDirectories=-/var/lib/tor
|
||||||
|
ReadWriteDirectories=-/var/log/tor
|
||||||
|
NoNewPrivileges=yes
|
||||||
|
CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE CAP_DAC_READ_SEARCH
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1 @@
|
|||||||
|
u tor 43 - /var/lib/tor
|
@ -0,0 +1 @@
|
|||||||
|
d /var/lib/tor 0700 tor tor - -
|
@ -0,0 +1,28 @@
|
|||||||
|
--- a/src/config/torrc.sample.in 2021-03-10 19:59:10.123456789 +0100
|
||||||
|
+++ b/src/config/torrc.sample.in 2021-03-10 19:59:10.123456789 +0100
|
||||||
|
@@ -11,6 +11,7 @@
|
||||||
|
##
|
||||||
|
## Tor will look for this file in various places based on your platform:
|
||||||
|
## https://www.torproject.org/docs/faq#torrc
|
||||||
|
+User tor
|
||||||
|
|
||||||
|
## Tor opens a SOCKS proxy on port 9050 by default -- even if you don't
|
||||||
|
## configure one below. Set "SOCKSPort 0" if you plan to run Tor only
|
||||||
|
@@ -39,7 +40,7 @@
|
||||||
|
## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log
|
||||||
|
#Log debug file @LOCALSTATEDIR@/log/tor/debug.log
|
||||||
|
## Use the system log instead of Tor's logfiles
|
||||||
|
-#Log notice syslog
|
||||||
|
+Log notice syslog
|
||||||
|
## To send all messages to stderr:
|
||||||
|
#Log debug stderr
|
||||||
|
|
||||||
|
@@ -50,7 +51,7 @@
|
||||||
|
|
||||||
|
## The directory for keeping all the keys/etc. By default, we store
|
||||||
|
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
|
||||||
|
-#DataDirectory @LOCALSTATEDIR@/lib/tor
|
||||||
|
+DataDirectory @LOCALSTATEDIR@/lib/tor
|
||||||
|
|
||||||
|
## The port on which Tor will listen for local connections from Tor
|
||||||
|
## controller applications, as documented in control-spec.txt.
|
@ -0,0 +1,33 @@
|
|||||||
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
|
# Contributor: Daniel Micay <danielmicay@gmail.com>
|
||||||
|
# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
|
||||||
|
# Contributor: Rorschach <r0rschach@lavabit.com>
|
||||||
|
|
||||||
|
pkgname=torsocks
|
||||||
|
pkgver=2.3.0
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc='Wrapper to safely torify applications'
|
||||||
|
url='https://gitweb.torproject.org/torsocks.git/'
|
||||||
|
arch=('powerpc64le')
|
||||||
|
license=('GPL2')
|
||||||
|
depends=('tor')
|
||||||
|
backup=("etc/tor/${pkgname}.conf")
|
||||||
|
source=(https://people.torproject.org/~dgoulet/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc})
|
||||||
|
sha512sums=('4888caaffdcfebf3673e14f3491eae6aa84ca0a4a2a812ba7bdac2abb471307e89a3c5cffe7691fb6f190c7bd9ea455ee9a223d909a39152be8524f590be2031'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('B74417EDDF22AC9F9E90F49142E86A2A11F48D36')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
@ -0,0 +1,66 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQENBE3KySMBCADOeaVfjDRP3kb2YaDyZbEjPKXkIJivkBbEt9E5abcuipmIA8o6
|
||||||
|
W+eYbnRDUZr0u/a6NjEhG35yNFRWpFpi4Gby9+0xjNvGjFj+hT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CifRkNhdwJtGsVfIqqG+7p72ymE7UHCEdj/V+drE9D8rbeOFt
|
||||||
|
isR9
|
||||||
|
=/Stc
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,28 @@
|
|||||||
|
--- a/ChangeLog
|
||||||
|
+++ b/ChangeLog
|
||||||
|
@@ -1,3 +1,5 @@
|
||||||
|
+ * Add dav1d 1.0.0 support.
|
||||||
|
+
|
||||||
|
xine-lib (1.2.12) 2022-03-09
|
||||||
|
* Add string tree library (generic info parser).
|
||||||
|
* Add OpenSL ES audio output plugin.
|
||||||
|
--- a/src/video_dec/dav1d.c
|
||||||
|
+++ b/src/video_dec/dav1d.c
|
||||||
|
@@ -544,11 +544,17 @@
|
||||||
|
|
||||||
|
/* multithreading */
|
||||||
|
ncpu = xine_cpu_count();
|
||||||
|
+#if DAV1D_API_VERSION_MAJOR > 5
|
||||||
|
+ settings.n_threads = ncpu + 1;
|
||||||
|
+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG, LOG_MODULE ": "
|
||||||
|
+ "Using %d threads\n", settings.n_threads);
|
||||||
|
+#else
|
||||||
|
settings.n_frame_threads = (ncpu > 8) ? 4 : (ncpu < 2) ? 1 : ncpu/2;
|
||||||
|
settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1);
|
||||||
|
xprintf(stream->xine, XINE_VERBOSITY_DEBUG, LOG_MODULE ": "
|
||||||
|
"Using %d frame threads, %d tile threads\n",
|
||||||
|
settings.n_frame_threads, settings.n_tile_threads);
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* dri frame allocator */
|
||||||
|
settings.allocator.cookie = this;
|
@ -0,0 +1,330 @@
|
|||||||
|
--- a/m4/decoders.m4
|
||||||
|
+++ b/m4/decoders.m4
|
||||||
|
@@ -134,13 +134,36 @@ a52_init ();
|
||||||
|
AC_DEFINE([HAVE_FFMPEG], 1, [Define this if you have the ffmpeg library])
|
||||||
|
dnl Check presence of ffmpeg/avutil.h to see if it's old or new
|
||||||
|
dnl style for headers. The new style would be preferred actually...
|
||||||
|
+ dnl Sigh. at least some 09/2022 ffmpeg version does violate the basic
|
||||||
|
+ dnl "get directly what you use directly" rule. especially,
|
||||||
|
+ dnl libavformat/avformat.h includes libavcodec/packet.h which uses
|
||||||
|
+ dnl (but not includes) libavutil/avutil.h. this means that a mere
|
||||||
|
+ dnl AC_CHECK_HEADERS([libavformat/avformat.h]) will fail strangely :-/
|
||||||
|
ac_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $FFMPEG_CFLAGS"
|
||||||
|
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CFLAGS $FFMPEG_CFLAGS $AVUTIL_CFLAGS"
|
||||||
|
- AC_CHECK_HEADERS([ffmpeg/avutil.h])
|
||||||
|
- AC_CHECK_HEADERS([libavutil/avutil.h])
|
||||||
|
- AC_CHECK_HEADERS([libavutil/sha1.h])
|
||||||
|
- AC_CHECK_HEADERS([libavutil/sha.h])
|
||||||
|
+ AC_CHECK_HEADERS([ffmpeg/avutil.h libavutil/avutil.h libavutil/sha1.h libavutil/mem.h libavutil/sha.h])
|
||||||
|
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
+#include <libavutil/avutil.h>
|
||||||
|
+#include <libavcodec/avcodec.h>
|
||||||
|
+ ]],[[]])], [have_avutil_avcodec_h=yes], [have_avutil_avcodec_h=no])
|
||||||
|
+ test x"$have_avutil_avcodec_h" == x"yes" && AC_DEFINE([HAVE_AVUTIL_AVCODEC_H],[1],
|
||||||
|
+ [Define this if you have libavutil/avutil.h and libavcodec/avcodec.h.])
|
||||||
|
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
+#include <libavutil/avutil.h>
|
||||||
|
+#include <libavcodec/avcodec.h>
|
||||||
|
+#include <libavformat/avformat.h>
|
||||||
|
+ ]],[[]])], [have_avformat_avformat_h=yes], [have_avformat_avformat_h=no])
|
||||||
|
+ test x"$have_avformat_avformat_h" == x"yes" && AC_DEFINE([HAVE_AVFORMAT_AVFORMAT_H],[1],
|
||||||
|
+ [Define this if you have libavformat/avformat.h.])
|
||||||
|
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
+#include <libavutil/avutil.h>
|
||||||
|
+#include <libavcodec/avcodec.h>
|
||||||
|
+#include <libavformat/avformat.h>
|
||||||
|
+#include <libavformat/avio.h>
|
||||||
|
+ ]],[[]])], [have_avformat_avio_h=yes], [have_avformat_avio_h=no])
|
||||||
|
+ test x"$have_avformat_avio_h" == x"yes" && AC_DEFINE([HAVE_AVFORMAT_AVIO_H],[1],
|
||||||
|
+ [Define this if you have libavformat/avformat.h.])
|
||||||
|
if test "$ac_cv_header_ffmpeg_avutil_h" = "yes" && test "$ac_cv_header_libavutil_avutil_h" = "yes"; then
|
||||||
|
AC_MSG_ERROR([old & new ffmpeg headers found - you need to clean up!])
|
||||||
|
fi
|
||||||
|
--- a/m4/input.m4
|
||||||
|
+++ b/m4/input.m4
|
||||||
|
@@ -229,6 +229,7 @@ AC_DEFUN([XINE_INPUT_PLUGINS], [
|
||||||
|
fi
|
||||||
|
if test x"$have_avformat" = x"yes"; then
|
||||||
|
AC_DEFINE([HAVE_AVFORMAT], 1, [Define this if you have libavformat installed])
|
||||||
|
+ AC_CHECK_HEADERS([libavformat/avformat.h])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL([ENABLE_AVFORMAT], [test x"$have_avformat" = x"yes"])
|
||||||
|
--- a/src/combined/ffmpeg/demux_avformat.c
|
||||||
|
+++ b/src/combined/ffmpeg/demux_avformat.c
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
/*
|
||||||
|
- * Copyright (C) 2013-2021 the xine project
|
||||||
|
+ * Copyright (C) 2013-2022 the xine project
|
||||||
|
* Copyright (C) 2013-2020 Petri Hintukainen <phintuka@users.sourceforge.net>
|
||||||
|
*
|
||||||
|
* This file is part of xine, a free video player.
|
||||||
|
@@ -29,6 +29,8 @@
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
+#include <libavutil/avutil.h>
|
||||||
|
+#include <libavcodec/avcodec.h>
|
||||||
|
#include <libavformat/avformat.h>
|
||||||
|
#include <libavformat/avio.h>
|
||||||
|
|
||||||
|
@@ -922,3 +924,4 @@ void *init_avformat_demux_plugin (xine_t
|
||||||
|
(void)data;
|
||||||
|
return (demux_class_t *)&this;
|
||||||
|
}
|
||||||
|
+
|
||||||
|
--- a/src/combined/ffmpeg/ff_audio_decoder.c
|
||||||
|
+++ b/src/combined/ffmpeg/ff_audio_decoder.c
|
||||||
|
@@ -31,13 +31,20 @@
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
-#ifdef HAVE_FFMPEG_AVUTIL_H
|
||||||
|
-# include <avcodec.h>
|
||||||
|
-#else
|
||||||
|
-# include <libavcodec/avcodec.h>
|
||||||
|
+#if defined(HAVE_LIBAVUTIL_AVUTIL_H)
|
||||||
|
+# include <libavutil/avutil.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#if defined(HAVE_LIBAVUTIL_MEM_H)
|
||||||
|
# include <libavutil/mem.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if defined(HAVE_AVUTIL_AVCODEC_H)
|
||||||
|
+# include <libavcodec/avcodec.h>
|
||||||
|
+#else
|
||||||
|
+# include <avcodec.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#define LOG_MODULE "ffmpeg_audio_dec"
|
||||||
|
#define LOG_VERBOSE
|
||||||
|
/*
|
||||||
|
--- a/src/combined/ffmpeg/ffmpeg_compat.h
|
||||||
|
+++ b/src/combined/ffmpeg/ffmpeg_compat.h
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
/*
|
||||||
|
- * Copyright (C) 2000-2021 the xine project
|
||||||
|
+ * Copyright (C) 2000-2022 the xine project
|
||||||
|
*
|
||||||
|
* This file is part of xine, a unix video player.
|
||||||
|
*
|
||||||
|
@@ -25,22 +25,24 @@
|
||||||
|
|
||||||
|
#define XFF_INT_VERSION(major,minor,micro) ((major<<16)|(minor<<8)|micro)
|
||||||
|
|
||||||
|
-#ifndef LIBAVCODEC_VERSION_INT
|
||||||
|
-# if defined(LIBAVCODEC_VERSION_MAJOR) && defined(LIBAVCODEC_VERSION_MINOR)
|
||||||
|
-# define LIBAVCODEC_VERSION_INT XFF_INT_VERSION(LIBAVCODEC_VERSION_MAJOR,LIBAVCODEC_VERSION_MINOR,0)
|
||||||
|
-# else
|
||||||
|
-# error ffmpeg headers must be included first !
|
||||||
|
-# endif
|
||||||
|
+/** NOTE: since 2022-09-01, ffmpeg headers are more detached from each other.
|
||||||
|
+ * this goes that far:
|
||||||
|
+ * libavformat/avformat.h includes libavcodec/packet.h which uses
|
||||||
|
+ * (but not includes) libavutil/avutil.h :-/ */
|
||||||
|
+
|
||||||
|
+#if !defined(LIBAVUTIL_VERSION_INT) && defined(LIBAVUTIL_VERSION_MAJOR) && defined(LIBAVUTIL_VERSION_MINOR)
|
||||||
|
+# define LIBAVUTIL_VERSION_INT XFF_INT_VERSION(LIBAVUTIL_VERSION_MAJOR,LIBAVUTIL_VERSION_MINOR,0)
|
||||||
|
+#endif
|
||||||
|
+#if !defined(LIBAVUTIL_VERSION_INT)
|
||||||
|
+# error avutil.h must be included first !
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifndef LIBAVUTIL_VERSION_INT
|
||||||
|
-# if defined(LIBAVUTIL_VERSION_MAJOR) && defined(LIBAVUTIL_VERSION_MINOR)
|
||||||
|
-# define LIBAVUTIL_VERSION_INT XFF_INT_VERSION(LIBAVUTIL_VERSION_MAJOR,LIBAVUTIL_VERSION_MINOR,0)
|
||||||
|
-# else
|
||||||
|
-# error ffmpeg headers must be included first !
|
||||||
|
-# endif
|
||||||
|
+#if !defined(LIBAVCODEC_VERSION_INT) && defined(LIBAVCODEC_VERSION_MAJOR) && defined(LIBAVCODEC_VERSION_MINOR)
|
||||||
|
+# define LIBAVCODEC_VERSION_INT XFF_INT_VERSION(LIBAVCODEC_VERSION_MAJOR,LIBAVCODEC_VERSION_MINOR,0)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if defined(LIBAVCODEC_VERSION_INT)
|
||||||
|
+
|
||||||
|
#if LIBAVCODEC_VERSION_INT >= XFF_INT_VERSION(52,0,0)
|
||||||
|
# define bits_per_sample bits_per_coded_sample
|
||||||
|
#endif
|
||||||
|
@@ -136,38 +138,6 @@
|
||||||
|
# define XFF_VAAPI 2 /** << libavutil/hwcontext.h, libavutil/hwcontext_vaapi.h */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if LIBAVUTIL_VERSION_INT >= XFF_INT_VERSION(52,0,0)
|
||||||
|
-# define PIX_FMT_NONE AV_PIX_FMT_NONE
|
||||||
|
-# define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
|
||||||
|
-# define PIX_FMT_YUVJ420P AV_PIX_FMT_YUVJ420P
|
||||||
|
-# define PIX_FMT_YUV444P AV_PIX_FMT_YUV444P
|
||||||
|
-# define PIX_FMT_YUVJ444P AV_PIX_FMT_YUVJ444P
|
||||||
|
-# define PIX_FMT_YUV410P AV_PIX_FMT_YUV410P
|
||||||
|
-# define PIX_FMT_YUV411P AV_PIX_FMT_YUV411P
|
||||||
|
-# define PIX_FMT_ARGB AV_PIX_FMT_ARGB
|
||||||
|
-# define PIX_FMT_BGRA AV_PIX_FMT_BGRA
|
||||||
|
-# define PIX_FMT_RGB24 AV_PIX_FMT_RGB24
|
||||||
|
-# define PIX_FMT_BGR24 AV_PIX_FMT_BGR24
|
||||||
|
-# define PIX_FMT_RGB555BE AV_PIX_FMT_RGB555BE
|
||||||
|
-# define PIX_FMT_RGB555LE AV_PIX_FMT_RGB555LE
|
||||||
|
-# define PIX_FMT_RGB565BE AV_PIX_FMT_RGB565BE
|
||||||
|
-# define PIX_FMT_RGB565LE AV_PIX_FMT_RGB565LE
|
||||||
|
-# define PIX_FMT_PAL8 AV_PIX_FMT_PAL8
|
||||||
|
-# define PixelFormat AVPixelFormat
|
||||||
|
-/* video_out/video_out_vaapi */
|
||||||
|
-# if LIBAVCODEC_VERSION_INT < XFF_INT_VERSION(59,0,100) /** << revise this */
|
||||||
|
-# define PIX_FMT_VAAPI_VLD AV_PIX_FMT_VAAPI_VLD
|
||||||
|
-# define PIX_FMT_VAAPI_IDCT AV_PIX_FMT_VAAPI_IDCT
|
||||||
|
-# define PIX_FMT_VAAPI_MOCO AV_PIX_FMT_VAAPI_MOCO
|
||||||
|
-# else
|
||||||
|
-# define PIX_FMT_VAAPI_VLD AV_PIX_FMT_VAAPI
|
||||||
|
-# define PIX_FMT_VAAPI_IDCT AV_PIX_FMT_VAAPI
|
||||||
|
-# define PIX_FMT_VAAPI_MOCO AV_PIX_FMT_VAAPI
|
||||||
|
-# endif
|
||||||
|
-
|
||||||
|
-# define CODEC_FLAG_BITEXACT AV_CODEC_FLAG_BITEXACT
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#if LIBAVCODEC_VERSION_INT >= XFF_INT_VERSION(54,25,0)
|
||||||
|
/* dxr3/ffmpeg_encoder */
|
||||||
|
# define CODEC_ID_MPEG1VIDEO AV_CODEC_ID_MPEG1VIDEO
|
||||||
|
@@ -194,10 +164,6 @@
|
||||||
|
/* ff_*_decoder mapping is already handled by mkcodeclists.pl */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
|
||||||
|
-# define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#if LIBAVCODEC_VERSION_INT >= XFF_INT_VERSION(55,0,100)
|
||||||
|
# define XFF_AV_BUFFER 1
|
||||||
|
#endif
|
||||||
|
@@ -290,5 +256,51 @@
|
||||||
|
# define XFF_AVCODEC_REGISTER_ALL() do {} while(0)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if LIBAVCODEC_VERSION_INT < XFF_INT_VERSION(59,24,100)
|
||||||
|
+# define XFF_AUDIO_CHANNEL_LAYOUT 1 /* AVCodecContext.channels, .channel_leyout */
|
||||||
|
+#else
|
||||||
|
+# define XFF_AUDIO_CHANNEL_LAYOUT 2 /* AVCodecContext.ch_layout.nb_channels, .ch_layout.u.mask */
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
|
||||||
|
+# define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#if LIBAVUTIL_VERSION_INT >= XFF_INT_VERSION(52,0,0)
|
||||||
|
+# define PIX_FMT_NONE AV_PIX_FMT_NONE
|
||||||
|
+# define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
|
||||||
|
+# define PIX_FMT_YUVJ420P AV_PIX_FMT_YUVJ420P
|
||||||
|
+# define PIX_FMT_YUV444P AV_PIX_FMT_YUV444P
|
||||||
|
+# define PIX_FMT_YUVJ444P AV_PIX_FMT_YUVJ444P
|
||||||
|
+# define PIX_FMT_YUV410P AV_PIX_FMT_YUV410P
|
||||||
|
+# define PIX_FMT_YUV411P AV_PIX_FMT_YUV411P
|
||||||
|
+# define PIX_FMT_ARGB AV_PIX_FMT_ARGB
|
||||||
|
+# define PIX_FMT_BGRA AV_PIX_FMT_BGRA
|
||||||
|
+# define PIX_FMT_RGB24 AV_PIX_FMT_RGB24
|
||||||
|
+# define PIX_FMT_BGR24 AV_PIX_FMT_BGR24
|
||||||
|
+# define PIX_FMT_RGB555BE AV_PIX_FMT_RGB555BE
|
||||||
|
+# define PIX_FMT_RGB555LE AV_PIX_FMT_RGB555LE
|
||||||
|
+# define PIX_FMT_RGB565BE AV_PIX_FMT_RGB565BE
|
||||||
|
+# define PIX_FMT_RGB565LE AV_PIX_FMT_RGB565LE
|
||||||
|
+# define PIX_FMT_PAL8 AV_PIX_FMT_PAL8
|
||||||
|
+# define PixelFormat AVPixelFormat
|
||||||
|
+/* video_out/video_out_vaapi */
|
||||||
|
+# if LIBAVCODEC_VERSION_INT < XFF_INT_VERSION(59,0,100) /** << revise this */
|
||||||
|
+# define PIX_FMT_VAAPI_VLD AV_PIX_FMT_VAAPI_VLD
|
||||||
|
+# define PIX_FMT_VAAPI_IDCT AV_PIX_FMT_VAAPI_IDCT
|
||||||
|
+# define PIX_FMT_VAAPI_MOCO AV_PIX_FMT_VAAPI_MOCO
|
||||||
|
+# else
|
||||||
|
+# define PIX_FMT_VAAPI_VLD AV_PIX_FMT_VAAPI
|
||||||
|
+# define PIX_FMT_VAAPI_IDCT AV_PIX_FMT_VAAPI
|
||||||
|
+# define PIX_FMT_VAAPI_MOCO AV_PIX_FMT_VAAPI
|
||||||
|
+# endif
|
||||||
|
+
|
||||||
|
+# define CODEC_FLAG_BITEXACT AV_CODEC_FLAG_BITEXACT
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#else /* defined(LIBAVCODEC_VERSION_INT) */
|
||||||
|
+# error avcodec.h must be included first !
|
||||||
|
+#endif /* defined(LIBAVCODEC_VERSION_INT) */
|
||||||
|
+
|
||||||
|
#endif /* XINE_AVCODEC_COMPAT_H */
|
||||||
|
|
||||||
|
--- a/src/combined/ffmpeg/ffmpeg_decoder.c
|
||||||
|
+++ b/src/combined/ffmpeg/ffmpeg_decoder.c 2022-09-13 23:43:40.255615724 -0300
|
||||||
|
@@ -26,12 +26,20 @@
|
||||||
|
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
|
-#ifdef HAVE_FFMPEG_AVUTIL_H
|
||||||
|
-# include <avcodec.h>
|
||||||
|
-#else
|
||||||
|
-# include <libavcodec/avcodec.h>
|
||||||
|
+#if defined(HAVE_LIBAVUTIL_AVUTIL_H)
|
||||||
|
+# include <libavutil/avutil.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#if defined(HAVE_LIBAVUTIL_MEM_H)
|
||||||
|
# include <libavutil/mem.h>
|
||||||
|
#endif
|
||||||
|
+
|
||||||
|
+#if defined(HAVE_AVUTIL_AVCODEC_H)
|
||||||
|
+# include <libavcodec/avcodec.h>
|
||||||
|
+#else
|
||||||
|
+# include <avcodec.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifdef HAVE_AVFORMAT
|
||||||
|
# include <libavformat/avformat.h> // av_register_all()
|
||||||
|
#endif
|
||||||
|
--- a/src/combined/ffmpeg/ff_video_decoder.c
|
||||||
|
+++ b/src/combined/ffmpeg/ff_video_decoder.c
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
/*
|
||||||
|
- * Copyright (C) 2001-2021 the xine project
|
||||||
|
+ * Copyright (C) 2001-2022 the xine project
|
||||||
|
*
|
||||||
|
* This file is part of xine, a free video player.
|
||||||
|
*
|
||||||
|
@@ -32,13 +32,20 @@
|
||||||
|
#include <math.h>
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
|
-#ifdef HAVE_FFMPEG_AVUTIL_H
|
||||||
|
-# include <avcodec.h>
|
||||||
|
-#else
|
||||||
|
-# include <libavcodec/avcodec.h>
|
||||||
|
+#if defined(HAVE_LIBAVUTIL_AVUTIL_H)
|
||||||
|
+# include <libavutil/avutil.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#if defined(HAVE_LIBAVUTIL_MEM_H)
|
||||||
|
# include <libavutil/mem.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if defined(HAVE_AVUTIL_AVCODEC_H)
|
||||||
|
+# include <libavcodec/avcodec.h>
|
||||||
|
+#else
|
||||||
|
+# include <avcodec.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#define LOG_MODULE "ffmpeg_video_dec"
|
||||||
|
#define LOG_VERBOSE
|
||||||
|
/*
|
||||||
|
--- a/src/combined/ffmpeg/input_avio.c
|
||||||
|
+++ b/src/combined/ffmpeg/input_avio.c 2022-09-13 23:43:40.255615724 -0300
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
/*
|
||||||
|
- * Copyright (C) 2013-2020 the xine project
|
||||||
|
+ * Copyright (C) 2013-2022 the xine project
|
||||||
|
* Copyright (C) 2013-2020 Petri Hintukainen <phintuka@users.sourceforge.net>
|
||||||
|
*
|
||||||
|
* This file is part of xine, a free video player.
|
||||||
|
@@ -28,6 +28,8 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
|
+#include <libavutil/avutil.h>
|
||||||
|
+#include <libavcodec/avcodec.h>
|
||||||
|
#include <libavformat/avio.h>
|
||||||
|
|
||||||
|
#define LOG_MODULE "libavio"
|
@ -0,0 +1,63 @@
|
|||||||
|
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
|
||||||
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=xine-lib
|
||||||
|
pkgver=1.2.12
|
||||||
|
pkgrel=4
|
||||||
|
pkgdesc='Multimedia playback engine'
|
||||||
|
arch=('powerpc64le')
|
||||||
|
url='https://www.xine-project.org'
|
||||||
|
license=('GPL' 'LGPL')
|
||||||
|
depends=('ffmpeg' 'libjpeg-turbo' 'libnsl' 'libpng' 'libx11' 'libxcb'
|
||||||
|
'libxext' 'libxinerama' 'libxv' 'libxvmc' 'zlib')
|
||||||
|
optdepends=('libdvdnav: for dvd plugin'
|
||||||
|
'libdvdread: for spu and dxr3 plugins'
|
||||||
|
'vcdimager: for vcd plugin'
|
||||||
|
'glu: for opengl and vaapi plugins'
|
||||||
|
'sdl: for sdl plugin'
|
||||||
|
'wayland: for egl_wl plugin'
|
||||||
|
'aalib: for aalib plugin'
|
||||||
|
'a52dec: for a52 plugin'
|
||||||
|
'faad2: for faad plugin'
|
||||||
|
'flac: for flac plugin'
|
||||||
|
'libdca: for dts (dca) plugin'
|
||||||
|
'libmad: for mad (mp3) plugin'
|
||||||
|
'libmpcdec: for mpc (musepack) plugin'
|
||||||
|
'wavpack: for wavpack plugin'
|
||||||
|
'gdk-pixbuf2: for gdk_pixbuf plugin'
|
||||||
|
'imagemagick: for imagemagick plugin'
|
||||||
|
'libcaca: for caca plugin'
|
||||||
|
'libmng: for mng plugin'
|
||||||
|
'libnfs: for nfs plugin'
|
||||||
|
'libssh2: for ssh plugin'
|
||||||
|
'smbclient: for samba plugin')
|
||||||
|
makedepends=('mesa' 'libdvdnav' 'libdvdread' 'vcdimager' 'glu' 'sdl'
|
||||||
|
'wayland' 'aalib' 'a52dec' 'faad2' 'flac' 'libdca' 'libmad'
|
||||||
|
'libmpcdec' 'wavpack' 'gdk-pixbuf2' 'imagemagick' 'libcaca'
|
||||||
|
'libmng' 'libnfs' 'smbclient')
|
||||||
|
source=("https://downloads.sourceforge.net/project/xine/xine-lib/${pkgver}/xine-lib-${pkgver}.tar.xz"
|
||||||
|
'010-xine-lib-dav1d-1.0.0-support.patch'
|
||||||
|
'020-xine-lib-ffmpeg-5.1-fix.patch')
|
||||||
|
sha256sums=('d606270468e1540c2a89c0d7f5fdf11e17ecc0c2698cc0bcb1065ff26abee098'
|
||||||
|
'9e41a7e49bc81d04d8f5014d5a4fcb4961eeb735eb6329a76ac24425fdafae06'
|
||||||
|
'36930d0973c71027175530e6911a9e9ad824107eedd519b01f375800f3f98822')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-xine-lib-dav1d-1.0.0-support.patch"
|
||||||
|
patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/020-xine-lib-ffmpeg-5.1-fix.patch"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${pkgname}-${pkgver}"
|
||||||
|
./autogen.sh \
|
||||||
|
--prefix='/usr' \
|
||||||
|
--enable-antialiasing \
|
||||||
|
--with-external-dvdnav \
|
||||||
|
--with-wavpack
|
||||||
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
/* xscreensaver, Copyright (c) 1991-2013 Jamie Zawinski <jwz@jwz.org>
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
|
* documentation for any purpose is hereby granted without fee, provided that
|
||||||
|
* the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation. No representations are made about the suitability of this
|
||||||
|
* software for any purpose. It is provided "as is" without express or
|
||||||
|
* implied warranty.
|
||||||
|
*/
|
@ -0,0 +1,55 @@
|
|||||||
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||||
|
#
|
||||||
|
# Note: Build for archlinuxpower with both gtk2 and gtk3 and without gdm
|
||||||
|
|
||||||
|
pkgname=xscreensaver
|
||||||
|
pkgver=6.05.1
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc='Screen saver and locker for the X Window System'
|
||||||
|
url='https://www.jwz.org/xscreensaver/'
|
||||||
|
arch=('powerpc64le')
|
||||||
|
license=('BSD')
|
||||||
|
depends=(
|
||||||
|
'gtk2' 'gtk3' 'glu' 'xorg-appres' 'libglvnd' 'libjpeg-turbo' 'libjpeg.so'
|
||||||
|
'libsystemd.so' 'libx11' 'libxcrypt' 'libcrypt.so' 'libxext' 'libxft' 'libxi'
|
||||||
|
'libxinerama' 'libxmu' 'libxrandr' 'libxt' 'libxxf86vm' 'perl-libwww' 'pam'
|
||||||
|
'libpam.so' 'glibc' 'glib2' 'gdk-pixbuf2' 'gdk-pixbuf-xlib'
|
||||||
|
)
|
||||||
|
makedepends=('bc' 'intltool' 'libxpm' 'systemd' 'systemd-libs')
|
||||||
|
optdepends=('gdm: for login manager support')
|
||||||
|
backup=('etc/pam.d/xscreensaver')
|
||||||
|
source=(https://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
|
||||||
|
LICENSE)
|
||||||
|
sha512sums=('c659a769ff71020b9f96b7e707bd1bcc667eb304179305d56b1be45eed095d650a8aa019890a0c5d444672f9dd68516c99c53b0df94cd96196d7f30a24b987e3'
|
||||||
|
'863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
|
||||||
|
b2sums=('97c16c9f0b2a0b4d00ddccd711b921ca683bd233bc3d07ecad38b68ff94b149a20512246dd6bae052323f00b1b433f56469c5638a031cbc65b61c2b84a0180e3'
|
||||||
|
'cacb6ba39d6ecb8703ef5f5a7dc74de0ca805cce73b43a8b9b6b4c255c909aa9b5e692de76c2fbd4da26ce6efb5f2a46138c43b1b37f53cee6d20fd6ed41f4a9')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver%.*}
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--libexecdir=/usr/lib \
|
||||||
|
--without-setuid-hacks \
|
||||||
|
--with-pam \
|
||||||
|
--with-login-manager \
|
||||||
|
--with-gtk \
|
||||||
|
--with-gl \
|
||||||
|
--without-gle \
|
||||||
|
--with-pixbuf \
|
||||||
|
--with-jpeg
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver%.*}
|
||||||
|
install -d "${pkgdir}/etc/pam.d"
|
||||||
|
make install_prefix="${pkgdir}" install
|
||||||
|
install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-settings.desktop"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
Loading…
Reference in new issue