Package Details: rox 2.11-7

Git Clone URL: https://aur.archlinux.org/rox.git (read-only, click to copy)
Package Base: rox
Description: A small and fast file manager which can optionally manage the desktop background and panels
Upstream URL: http://rox.sourceforge.net/desktop/
Licenses: GPL
Submitter: dvzrv
Maintainer: cernyhonza
Last Packager: dvzrv
Votes: 4
Popularity: 0.000072
First Submitted: 2023-03-17 18:28 (UTC)
Last Updated: 2023-03-17 18:28 (UTC)

Latest Comments

bonkmaykr commented on 2024-09-25 16:03 (UTC)

Thank you for the quick fix, elelay.

Would it be appropriate for this package to be orphaned? I cannot find a reliable way to get in touch with the maintainer about pushing this upstream. I am aware this is a legacy application.

elelay commented on 2024-08-15 16:01 (UTC)

doesn't build with gcc14:

~/.cache/yay/rox/src/rox-filer-2.11/ROX-Filer/src/log.c: In function ‘log_show_window’:
~/.cache/yay/rox/src/rox-filer-2.11/ROX-Filer/src/log.c:143:35: error: passing argument 1 of ‘get_gtk_builder’ from incompatible pointer type [-Wincompatible-pointer-types]
  143 |         builder = get_gtk_builder(&ids);
      |                                   ^~~~
      |                                   |
      |                                   gchar * (*)[2] {aka char * (*)[2]}
In file included from ~/.cache/yay/rox/src/rox-filer-2.11/ROX-Filer/src/log.c:33:
~/.cache/yay/rox/src/rox-filer-2.11/ROX-Filer/src/gui_support.h:102:37: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘gchar * (*)[2]’ {aka ‘char * (*)[2]’}
  102 | GtkBuilder *get_gtk_builder(gchar **ids);
      |                             ~~~~~~~~^~~
~/.cache/yay/rox/src/rox-filer-2.11/ROX-Filer/src/log.c:166:16: error: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
  166 |         dialog = gtk_builder_get_object(builder, "Log viewer");
      |                ^

Dumb fix using sed (the first for line 143 the other for line 166):

diff --git a/PKGBUILD b/PKGBUILD
index 87773a9..31f2076 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,8 @@ sha256sums=('a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8'
 prepare() {
   cd "$srcdir/rox-filer-$pkgver"
   2to3 -w ROX-Filer/src/po/tips.py
+  sed -i 's/get_gtk_builder(/get_gtk_builder((gchar**)/' ROX-Filer/src/log.c
+  sed -i 's/dialog = \(gtk_builder_get_object.*\);/dialog = GTK_WIDGET(\1);/' ROX-Filer/src/log.c
 }

 build() {

kelloco2 commented on 2023-03-17 21:43 (UTC)

Sad to see it removed from the main repository. One of the best minimalist file manager. Very fast, light and powerful