46768830ae
Now x11-packages repository will use original names for packages. For example, libgtk2 now will be provided as gtk2, libgtk3 will be available as gtk3, libsdl - as sdl. List of changed packages: libatk --> atk libglu --> glu libgtk2 --> gtk2 libgtk3 --> gtk3 libmesa --> mesa libsdl --> sdl libsdl2 --> sdl2 libsdl-net --> sdl-net riscvemu-sdl --> riscvemu xorg-xvfb --> xorg-server-xvfb List of dependent packages (should be rebuilt with new deps): dosbox, emacs-x, galculator, geany, libepoxy, mtpaint, qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk, xarchiver. Note: depending on which packages are installed, it may be necessary to upgrade with 'apt dist-upgrade'.
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
diff -uNr gtk-2.24.32/gtk/tests/filechooser.c gtk-2.24.32.mod/gtk/tests/filechooser.c
|
|
--- gtk-2.24.32/gtk/tests/filechooser.c 2018-01-08 23:35:39.000000000 +0200
|
|
+++ gtk-2.24.32.mod/gtk/tests/filechooser.c 2018-06-23 18:07:24.157696216 +0300
|
|
@@ -258,13 +258,13 @@
|
|
#if 0
|
|
#define FILE_NAME "/nonexistent"
|
|
#define FILE_NAME_2 "/nonexistent2"
|
|
-#define FOLDER_NAME "/etc"
|
|
-#define FOLDER_NAME_2 "/usr"
|
|
+#define FOLDER_NAME "@TERMUX_PREFIX@/etc"
|
|
+#define FOLDER_NAME_2 "@TERMUX_PREFIX@"
|
|
#else
|
|
-#define FILE_NAME "/etc/passwd"
|
|
-#define FILE_NAME_2 "/etc/group"
|
|
-#define FOLDER_NAME "/etc"
|
|
-#define FOLDER_NAME_2 "/usr"
|
|
+#define FILE_NAME "@TERMUX_PREFIX@/etc/passwd"
|
|
+#define FILE_NAME_2 "@TERMUX_PREFIX@/etc/group"
|
|
+#define FOLDER_NAME "@TERMUX_PREFIX@/etc"
|
|
+#define FOLDER_NAME_2 "@TERMUX_PREFIX@"
|
|
#endif
|
|
|
|
#define CURRENT_NAME "parangaricutirimicuaro.txt"
|
|
@@ -1859,9 +1859,9 @@
|
|
gboolean passed = TRUE;
|
|
|
|
/* first test for a file we know will always exist */
|
|
- passed = passed && test_confirm_overwrite_for_path ("/etc/passwd", FALSE);
|
|
+ passed = passed && test_confirm_overwrite_for_path ("@TERMUX_PREFIX@/etc/passwd", FALSE);
|
|
g_assert (passed);
|
|
- passed = passed && test_confirm_overwrite_for_path ("/etc/resolv.conf", TRUE);
|
|
+ passed = passed && test_confirm_overwrite_for_path ("@TERMUX_PREFIX@/etc/resolv.conf", TRUE);
|
|
g_assert (passed);
|
|
}
|
|
#endif
|