Compare commits

...

2 Commits

  1. 2
      sysutils/obshutdown/Makefile
  2. 18
      sysutils/obshutdown/files/patch-src_main.c
  3. 7
      sysutils/obshutdown/files/patch-src_varibles.h

2
sysutils/obshutdown/Makefile

@ -18,7 +18,7 @@ LIB_DEPENDS= libpng16.so:graphics/png \
libinotify.so:devel/libinotify \
libpcre2-8.so:devel/pcre2
USES= autoreconf gnome iconv xorg
USES= autoreconf gnome iconv pkgconfig xorg
GNU_CONFIGURE= yes
USE_GNOME= cairo gdkpixbuf glib20 gtk20 pango
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \

18
sysutils/obshutdown/files/patch-src_main.c

@ -38,7 +38,15 @@
tmpfile = g_build_filename(g_get_tmp_dir(), "obshutdown.lock", NULL);
if(g_file_test(tmpfile, G_FILE_TEST_EXISTS)) {
@@ -288,13 +302,6 @@ void initDataDefault(void)
@@ -112,7 +126,6 @@ void migrateConfigToXdgDir(void)
gchar *oldFilename, *newFilename, *xdgPath;
GFile *oldFile, *newFile;
-
xdgPath = g_build_filename(g_get_user_config_dir(), OBS_NAME, NULL);
if (g_file_test(xdgPath, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) {
g_free(xdgPath);
@@ -288,13 +301,6 @@ void initDataDefault(void)
/* Configs paths */
myOptions.rcfile = getRcPath();
myOptions.trcfile = NULL;
@ -52,3 +60,11 @@
}
void freeData(void)
@@ -336,7 +342,6 @@ void freeData(void)
g_free(myOptions.rcfile);
if (myOptions.theme)
g_free(myOptions.trcfile);
-
}
inline void initGtk(int *argc, char ***argv)

7
sysutils/obshutdown/files/patch-src_varibles.h

@ -1,6 +1,11 @@
--- src/varibles.h.orig 2013-01-16 09:06:19 UTC
+++ src/varibles.h
@@ -29,25 +29,25 @@
@@ -24,30 +24,29 @@
#include <gtk/gtk.h>
#include "types.h"
-
#define OBS_NAME "obshutdown"
#define OBS_TITLE "Openbox Shutdown Dialog"
#define OBS_VERSION "0.1-rc1" /* !!!!!!!!!!!!!!!!!!!!!! */

Loading…
Cancel
Save