aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/lxappearance-obconf
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2017-01-25 05:54:23 +0800
committerolivierd <olivierd@FreeBSD.org>2017-01-25 05:54:23 +0800
commit0ce1ce2e4ae149ee4a2609f22fd35fb59f7bcc55 (patch)
tree2312f49bc8ae79366cec5617cee76a849b6a00db /x11-wm/lxappearance-obconf
parentefa9ff0bc36aa557d005062346215b40b5427a91 (diff)
downloadfreebsd-ports-gnome-0ce1ce2e4ae149ee4a2609f22fd35fb59f7bcc55.tar.gz
freebsd-ports-gnome-0ce1ce2e4ae149ee4a2609f22fd35fb59f7bcc55.tar.zst
freebsd-ports-gnome-0ce1ce2e4ae149ee4a2609f22fd35fb59f7bcc55.zip
LXAppearance is a theme switcher for the Lightweight X11 Desktop Environment
(LXDE). WWW: http://www.lxde.org/
Diffstat (limited to 'x11-wm/lxappearance-obconf')
-rw-r--r--x11-wm/lxappearance-obconf/Makefile31
-rw-r--r--x11-wm/lxappearance-obconf/distinfo3
-rw-r--r--x11-wm/lxappearance-obconf/files/patch-src_archive.c28
-rw-r--r--x11-wm/lxappearance-obconf/pkg-descr4
-rw-r--r--x11-wm/lxappearance-obconf/pkg-plist53
5 files changed, 119 insertions, 0 deletions
diff --git a/x11-wm/lxappearance-obconf/Makefile b/x11-wm/lxappearance-obconf/Makefile
new file mode 100644
index 000000000000..a2ec898f211a
--- /dev/null
+++ b/x11-wm/lxappearance-obconf/Makefile
@@ -0,0 +1,31 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME= lxappearance-obconf
+PORTVERSION= 0.2.3
+CATEGORIES= x11-wm
+MASTER_SITES= SF/lxde/LXAppearance%20Obconf/
+
+MAINTAINER= olivierd@FreeBSD.org
+COMMENT= LXAppearance ObConf plugin
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
+BUILD_DEPENDS= openbox:x11-wm/openbox \
+ lxappearance:x11-themes/lxappearance
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USES= gettext-tools gmake libtool pkgconfig tar:xz
+GNU_CONFIGURE= yes
+USE_GNOME= glib20 gtk20 intltool intlhack atk cairo pango gdkpixbuf2 \
+ librsvg2 libxml2
+USE_XORG= ice sm x11 xft
+INSTALL_TARGET= install-strip
+
+CONFIGURE_ARGS+= --disable-static
+
+.include <bsd.port.mk>
diff --git a/x11-wm/lxappearance-obconf/distinfo b/x11-wm/lxappearance-obconf/distinfo
new file mode 100644
index 000000000000..bfccd0b46bcf
--- /dev/null
+++ b/x11-wm/lxappearance-obconf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1485202841
+SHA256 (lxappearance-obconf-0.2.3.tar.xz) = 3150b33b4b7beb71c1803aee2be21c94767d73b70dfc8d2bcaafe2650ea83149
+SIZE (lxappearance-obconf-0.2.3.tar.xz) = 290204
diff --git a/x11-wm/lxappearance-obconf/files/patch-src_archive.c b/x11-wm/lxappearance-obconf/files/patch-src_archive.c
new file mode 100644
index 000000000000..749a51f85ae0
--- /dev/null
+++ b/x11-wm/lxappearance-obconf/files/patch-src_archive.c
@@ -0,0 +1,28 @@
+--- src/archive.c.orig 2016-02-20 22:51:21 UTC
++++ src/archive.c
+@@ -179,18 +179,17 @@ static gchar* install_theme_to(const gch
+ GError *e = NULL;
+ gchar *name = NULL;
+
+- argv = g_new(gchar*, 11);
++ argv = g_new(gchar*, 10);
+ argv[0] = g_strdup("tar");
+ argv[1] = g_strdup("-x");
+ argv[2] = g_strdup("-v");
+ argv[3] = g_strdup("-z");
+- argv[4] = g_strdup("--wildcards");
+- argv[5] = g_strdup("-f");
+- argv[6] = g_strdup(file);
+- argv[7] = g_strdup("-C");
+- argv[8] = g_strdup(to);
+- argv[9] = g_strdup("*/openbox-3/");
+- argv[10] = NULL;
++ argv[4] = g_strdup("-f");
++ argv[5] = g_strdup(file);
++ argv[6] = g_strdup("-C");
++ argv[7] = g_strdup(to);
++ argv[8] = g_strdup("*/openbox-3/");
++ argv[9] = NULL;
+ if (!g_spawn_sync(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
+ &outtxt, &errtxt, &exitcode, &e))
+ gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"tar\" command: %s"),
diff --git a/x11-wm/lxappearance-obconf/pkg-descr b/x11-wm/lxappearance-obconf/pkg-descr
new file mode 100644
index 000000000000..bd197c08d7ab
--- /dev/null
+++ b/x11-wm/lxappearance-obconf/pkg-descr
@@ -0,0 +1,4 @@
+LXAppearance is a theme switcher for the Lightweight X11 Desktop Environment
+(LXDE).
+
+WWW: http://www.lxde.org/
diff --git a/x11-wm/lxappearance-obconf/pkg-plist b/x11-wm/lxappearance-obconf/pkg-plist
new file mode 100644
index 000000000000..a68dd61f40d7
--- /dev/null
+++ b/x11-wm/lxappearance-obconf/pkg-plist
@@ -0,0 +1,53 @@
+lib/lxappearance/plugins/obconf.so
+share/locale/ar/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/be/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/bg/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/bn_IN/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ca/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/cs/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/da/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/de/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/el/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/en_GB/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/es/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/et/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/eu/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/fa/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/fi/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/fo/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/fr/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/gl/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/he/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/hr/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/hu/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/id/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/is/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/it/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ja/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/kk/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ko/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/lg/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/lt/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/nb/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/nl/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/pa/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/pl/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/pt/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/pt_BR/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ro/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ru/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/sl/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/sr/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/sr@latin/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/sv/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/te/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/tr/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/tt_RU/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ug/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/uk/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ur/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/ur_PK/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/vi/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/zh_CN/LC_MESSAGES/lxappearance-obconf.mo
+share/locale/zh_TW/LC_MESSAGES/lxappearance-obconf.mo
+share/lxappearance/obconf/obconf.glade