add thunar, libexo, libxfce4ui, libxfce4util, xfconf

This commit is contained in:
Leonid Pliushch 2019-08-12 19:46:12 +03:00 committed by Yaksh Bariya
parent 9b33c83137
commit 56f61710d9
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
13 changed files with 148 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- ./Makefile.in.orig 2019-08-12 14:38:32.247789398 +0300
+++ ./Makefile.in 2019-08-12 14:38:42.392079673 +0300
@@ -426,8 +426,7 @@
docs \
icons \
pixmaps \
- po \
- tests
+ po
distuninstallcheck_listfiles = \
find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache

View File

@ -0,0 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://www.xfce.org/
TERMUX_PKG_DESCRIPTION="Exo is a support library used in the Xfce desktop. It also has some helper applications that are used throughout Xfce."
TERMUX_PKG_VERSION=0.12.8
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_SRCURL=http://archive.xfce.org/src/xfce/exo/0.12/exo-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=3400a2e64aa41ede25bedaca4909bde7ea4f8698d9598d1b80f02a40ac89fcde
TERMUX_PKG_DEPENDS="gtk3, libxfce4ui, libxfce4util"
TERMUX_PKG_RM_AFTER_INSTALL="share/icons/hicolor/icon-theme.cache"

View File

@ -0,0 +1,17 @@
--- ./configure.orig 2019-08-12 14:34:22.356533317 +0300
+++ ./configure 2019-08-12 14:34:50.609365517 +0300
@@ -14415,10 +14415,10 @@
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
+# { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+#$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+#as_fn_error $? "cannot run test program while cross compiling
+#See \`config.log' for more details" "$LINENO" 5; }
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

View File

@ -0,0 +1,11 @@
--- ./icons/Makefile.in.orig 2019-08-12 15:17:37.360166290 +0300
+++ ./icons/Makefile.in 2019-08-12 15:17:49.448494012 +0300
@@ -398,7 +398,7 @@
24x24 \
48x48
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+gtk_update_icon_cache = true
all: all-recursive
.SUFFIXES:

View File

@ -0,0 +1,10 @@
--- exo-0.12.3/exo-helper/helpers/rox-filer.desktop.in.in
+++ exo/exo-helper/helpers/rox-filer.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
Version=1.0
-Icon=/usr/libexec/ROX-Filer/.DirIcon
+Icon=/data/data/com.termux/files/usr/libexec/ROX-Filer/.DirIcon
Type=X-XFCE-Helper
_Name=ROX-Filer
StartupNotify=true

View File

@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=http://www.xfce.org/
TERMUX_PKG_DESCRIPTION="The libxfce4ui package contains GTK+ 2 widgets that are used by other Xfce applications."
TERMUX_PKG_VERSION=4.14.1
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_SRCURL=http://archive.xfce.org/src/xfce/libxfce4ui/4.14/libxfce4ui-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=c449075eaeae4d1138d22eeed3d2ad7032b87fb8878eada9b770325bed87f2da
TERMUX_PKG_DEPENDS="xfconf, gtk2, gtk3, startup-notification"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-gtk3
--with-vendor-info=Termux
"

View File

@ -0,0 +1,11 @@
--- libxfce4ui-4.12.1/icons/Makefile.in 2015-03-15 23:44:47.000000000 +0530
+++ libxfce4ui/icons/Makefile.in 2019-02-02 11:34:20.143610388 +0530
@@ -387,7 +387,7 @@
SUBDIRS = \
48x48
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+gtk_update_icon_cache = true
all: all-recursive
.SUFFIXES:

View File

@ -0,0 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://git.xfce.org/xfce/libxfce4util/tree/README
TERMUX_PKG_DESCRIPTION="The libxfce4util package is a basic utility library for the Xfce desktop environment."
TERMUX_PKG_VERSION=4.14.0
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_SRCURL=http://archive.xfce.org/src/xfce/libxfce4util/4.14/libxfce4util-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=32ad79b7992ec3fd863e8ff2f03eebda8740363ef9d7d910a35963ac1c1a6324
TERMUX_PKG_DEPENDS="glib"

View File

@ -0,0 +1,11 @@
--- ./libxfce4util/xfce-resource.c.orig 2019-08-12 14:15:26.501641249 +0300
+++ ./libxfce4util/xfce-resource.c 2019-08-12 14:16:28.459295710 +0300
@@ -248,7 +248,7 @@
}
/* XDG fallback */
- _list[XFCE_RESOURCE_ICONS] = g_slist_append (_list[XFCE_RESOURCE_ICONS], "/usr/share/pixmaps");
+ _list[XFCE_RESOURCE_ICONS] = g_slist_append (_list[XFCE_RESOURCE_ICONS], "@TERMUX_PREFIX@/share/pixmaps");
/* fallback for system which that don't install everything in /usr */
_list[XFCE_RESOURCE_ICONS] = g_slist_append (_list[XFCE_RESOURCE_ICONS], "/usr/local/share/pixmaps");

View File

@ -0,0 +1,17 @@
TERMUX_PKG_HOMEPAGE=http://thunar.xfce.org
TERMUX_PKG_DESCRIPTION="Modern file manager for Xfce"
TERMUX_PKG_VERSION=1.8.9
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_SRCURL=http://archive.xfce.org/src/xfce/thunar/1.8/Thunar-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=7a758e7ac03501c520c304f8845353315c954d429b17d591b8eea8b14f1350b9
TERMUX_PKG_DEPENDS="libandroid-shmem, libxfce4ui, libexo, hicolor-icon-theme, libexif, libnotify, libpng"
termux_step_create_debscripts () {
cat > postinst <<HERE
ln -sf ${TERMUX_PREFIX}/bin/thunar ${TERMUX_PREFIX}/bin/Thunar
HERE
chmod 0755 postinst
}

View File

@ -0,0 +1,11 @@
--- ./icons/Makefile.in.orig 2019-08-12 15:22:05.567441602 +0300
+++ ./icons/Makefile.in 2019-08-12 15:22:21.499874003 +0300
@@ -448,7 +448,7 @@
128x128 \
scalable
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+gtk_update_icon_cache = true
all: all-recursive
.SUFFIXES:

View File

@ -0,0 +1,11 @@
--- Thunar-1.8.2/plugins/thunar-sendto-email/main.c 2018-04-09 00:41:20.000000000 +0530
+++ Thunar/plugins/thunar-sendto-email/main.c 2019-01-30 12:57:29.294188622 +0530
@@ -401,7 +401,7 @@
gint n;
/* create a temporary directory */
- tmpdir = g_strdup ("/tmp/thunar-sendto-email.XXXXXX");
+ tmpdir = g_strdup ("@TERMUX_PREFIX@/tmp/thunar-sendto-email.XXXXXX");
if (G_UNLIKELY (mkdtemp (tmpdir) == NULL))
{
/* tell the user that we failed to create a temporary directory */

View File

@ -0,0 +1,8 @@
TERMUX_PKG_HOMEPAGE=http://www.xfce.org/
TERMUX_PKG_DESCRIPTION="simple client-server configuration storage and query system"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=4.14.1
TERMUX_PKG_SRCURL=http://archive.xfce.org/src/xfce/xfconf/4.14/xfconf-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=b893e0a329aee00902fec2f0509f56916c9dcc7844e1b1f9e3c7399458290d59
TERMUX_PKG_DEPENDS="libxfce4util, dbus-glib"