- this needs gtar
- regen WANTLIB from David Coppa on ports@, thanks! ok jasper@
This commit is contained in:
parent
38ef4736e9
commit
3e076fc88a
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2009/01/16 08:06:26 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2009/01/23 16:31:26 ajacoutot Exp $
|
||||
|
||||
COMMENT= configuration utility for openbox
|
||||
|
||||
DISTNAME= obconf-2.0.3
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://icculus.org/openbox/index.php/Obconf
|
||||
@ -18,16 +18,17 @@ MASTER_SITES= http://icculus.org/openbox/obconf/
|
||||
|
||||
WANTLIB= ICE SM X11 Xau Xcursor Xdmcp Xext Xfixes Xft Xi \
|
||||
Xinerama Xrandr Xrender atk-1.0 c cairo expat \
|
||||
fontconfig freetype glib-2.0 glitz gmodule-2.0 \
|
||||
fontconfig freetype gio-2.0 glib-2.0 glitz gmodule-2.0 \
|
||||
gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
||||
pangoxft-1.0 png xml2 z Xcomposite Xdamage
|
||||
pangoxft-1.0 pixman-1 png xml2 z Xcomposite Xdamage
|
||||
|
||||
MODULES= devel/gettext
|
||||
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
||||
glade-2.0.>=0.1::devel/libglade2 \
|
||||
startup-notification-1::devel/startup-notification \
|
||||
obparser.>=7,obrender.>=7::x11/openbox
|
||||
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
|
||||
RUN_DEPENDS= ::archivers/gtar \
|
||||
:desktop-file-utils-*:devel/desktop-file-utils \
|
||||
:shared-mime-info->=0.21:misc/shared-mime-info
|
||||
|
||||
USE_X11= Yes
|
||||
|
38
x11/obconf/patches/patch-src_archive_c
Normal file
38
x11/obconf/patches/patch-src_archive_c
Normal file
@ -0,0 +1,38 @@
|
||||
--- src/archive.c.orig 2009-01-23 15:52:58.000000000 +0100
|
||||
+++ src/archive.c 2009-01-23 15:53:49.000000000 +0100
|
||||
@@ -84,7 +84,7 @@
|
||||
parentdir = g_build_path(G_DIR_SEPARATOR_S, dir, "..", NULL);
|
||||
|
||||
argv = g_new(gchar*, 9);
|
||||
- argv[0] = g_strdup("tar");
|
||||
+ argv[0] = g_strdup("gtar");
|
||||
argv[1] = g_strdup("-c");
|
||||
argv[2] = g_strdup("-z");
|
||||
argv[3] = g_strdup("-f");
|
||||
@@ -103,7 +103,7 @@
|
||||
|
||||
}
|
||||
else
|
||||
- gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"tar\" command: %s"),
|
||||
+ gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"gtar\" command: %s"),
|
||||
e->message);
|
||||
|
||||
g_strfreev(argv);
|
||||
@@ -174,7 +174,7 @@
|
||||
glob = g_strdup_printf("*/openbox-3/", name);
|
||||
|
||||
argv = g_new(gchar*, 11);
|
||||
- argv[0] = g_strdup("tar");
|
||||
+ argv[0] = g_strdup("gtar");
|
||||
argv[1] = g_strdup("-x");
|
||||
argv[2] = g_strdup("-v");
|
||||
argv[3] = g_strdup("-z");
|
||||
@@ -187,7 +187,7 @@
|
||||
argv[10] = 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"),
|
||||
+ gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"gtar\" command: %s"),
|
||||
e->message);
|
||||
g_strfreev(argv);
|
||||
if (e) g_error_free(e);
|
Loading…
x
Reference in New Issue
Block a user