diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-08-03 15:24:14 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-08-03 15:24:14 +0800 |
| commit | 2e8f02ba9efe499e2a51224dcd19ee72f913b447 (patch) | |
| tree | 2c867c23b08812a524a67d7e2707835285e594f5 /repos | |
| parent | b43dc5a35f5272f29c233a917820b4fceab3ddf7 (diff) | |
| download | alicelinux-2e8f02ba9efe499e2a51224dcd19ee72f913b447.tar.gz alicelinux-2e8f02ba9efe499e2a51224dcd19ee72f913b447.zip | |
pcmanfm: new added
Diffstat (limited to 'repos')
| -rw-r--r-- | repos/xorg/pcmanfm/.files | 26 | ||||
| -rw-r--r-- | repos/xorg/pcmanfm/abuild | 11 | ||||
| -rw-r--r-- | repos/xorg/pcmanfm/depends | 1 | ||||
| -rw-r--r-- | repos/xorg/pcmanfm/gcc14-support.patch | 33 | ||||
| -rwxr-xr-x | repos/xorg/pcmanfm/postinstall | 2 |
5 files changed, 73 insertions, 0 deletions
diff --git a/repos/xorg/pcmanfm/.files b/repos/xorg/pcmanfm/.files new file mode 100644 index 00000000..dccfd936 --- /dev/null +++ b/repos/xorg/pcmanfm/.files @@ -0,0 +1,26 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/xdg/ +drwxr-xr-x root/root etc/xdg/pcmanfm/ +drwxr-xr-x root/root etc/xdg/pcmanfm/default/ +-rw-r--r-- root/root etc/xdg/pcmanfm/default/pcmanfm.conf.new +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pcmanfm +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/pcmanfm-modules.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/pcmanfm/ +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/pcmanfm-desktop-pref.desktop +-rw-r--r-- root/root usr/share/applications/pcmanfm.desktop +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/pcmanfm.1.gz +drwxr-xr-x root/root usr/share/pcmanfm/ +drwxr-xr-x root/root usr/share/pcmanfm/ui/ +-rw-r--r-- root/root usr/share/pcmanfm/ui/about.ui +-rw-r--r-- root/root usr/share/pcmanfm/ui/autorun.ui +-rw-r--r-- root/root usr/share/pcmanfm/ui/connect.ui +-rw-r--r-- root/root usr/share/pcmanfm/ui/desktop-pref.ui +-rw-r--r-- root/root usr/share/pcmanfm/ui/pref.ui diff --git a/repos/xorg/pcmanfm/abuild b/repos/xorg/pcmanfm/abuild new file mode 100644 index 00000000..95d0b011 --- /dev/null +++ b/repos/xorg/pcmanfm/abuild @@ -0,0 +1,11 @@ +name=pcmanfm +version=1.3.2 +release=1 +source="https://downloads.sourceforge.net/$name/$name-$version.tar.xz + gcc14-support.patch" +build_opt="--with-gtk=3" + +prebuild() { + sed 's/po//' -i Makefile.am + autoreconf -fi +} diff --git a/repos/xorg/pcmanfm/depends b/repos/xorg/pcmanfm/depends new file mode 100644 index 00000000..05f315f1 --- /dev/null +++ b/repos/xorg/pcmanfm/depends @@ -0,0 +1 @@ +libfm diff --git a/repos/xorg/pcmanfm/gcc14-support.patch b/repos/xorg/pcmanfm/gcc14-support.patch new file mode 100644 index 00000000..7a31e211 --- /dev/null +++ b/repos/xorg/pcmanfm/gcc14-support.patch @@ -0,0 +1,33 @@ +From 9bf5145eba45cd5e3b87d4f040618fe0ea69a81d Mon Sep 17 00:00:00 2001 +From: Mamoru TASAKA <mtasaka@fedoraproject.org> +Date: Fri, 26 Jul 2024 12:13:32 +0900 +Subject: [PATCH] Fix build with gcc14 -Werror=incompatible-pointer-types + +gcc14 now defaults to gcc -Werror=incompatible-pointer-types . +This commit adds required casts to different pointer types. +--- + src/desktop.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/desktop.c b/src/desktop.c +index 0686a595..b358f503 100644 +--- a/src/desktop.c ++++ b/src/desktop.c +@@ -1267,7 +1267,7 @@ static AtkObject *fm_desktop_accessible_ref_selection(AtkSelection *selection, + item = items->data; + if (item->item->is_selected) + if (i-- == 0) +- return g_object_ref(item); ++ return (AtkObject *)g_object_ref(item); + } + return NULL; + } +@@ -1454,7 +1454,7 @@ static AtkObject *fm_desktop_accessible_ref_child(AtkObject *accessible, + item = g_list_nth_data(priv->items, index); + if (!item) + return NULL; +- return g_object_ref(item); ++ return (AtkObject *)g_object_ref(item); + } + + static void fm_desktop_accessible_initialize(AtkObject *accessible, gpointer data) diff --git a/repos/xorg/pcmanfm/postinstall b/repos/xorg/pcmanfm/postinstall new file mode 100755 index 00000000..80598c06 --- /dev/null +++ b/repos/xorg/pcmanfm/postinstall @@ -0,0 +1,2 @@ +#!/bin/sh +update-desktop-database --quiet |