Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
From 3bc935b732d1ff448727e90340e4be40ef6fc000 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 29 Apr 2018 20:22:29 +0200
Subject: [PATCH] modules: fix cross-compilation
Do not add -L$(libdir) to AM_LDFLAGS
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/modules/Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
index e61f4e01..01c15bd4 100644
--- a/src/modules/Makefile.am
+++ b/src/modules/Makefile.am
@@ -11,7 +11,6 @@ AM_CPPFLAGS = \
# tell libtool we compile module not library
AM_LDFLAGS = \
-no-undefined -module -avoid-version -shared -export-dynamic \
- -L$(libdir) \
$(GIO_LIBS)
# the module should be linked only with libfm, not libfm-gtk or whatever
--
2.14.1

40
package/libfm/Config.in Normal file
View File

@@ -0,0 +1,40 @@
config BR2_PACKAGE_LIBFM
bool "libfm"
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libgtk3
depends on BR2_USE_WCHAR # libgtk3, libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk3, libglib2
depends on BR2_USE_MMU # libgtk3, libglib2
depends on BR2_INSTALL_LIBSTDCPP # libgtk3
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk3
depends on BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL # libgtk3
depends on BR2_PACKAGE_XORG7 # libgtk3-x11
depends on BR2_PACKAGE_HAS_LIBGL # libgtk3-x11
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBGTK3
select BR2_PACKAGE_LIBGTK3_X11
select BR2_PACKAGE_MENU_CACHE
help
A glib/gio-based library providing some file management
utilities and related-widgets missing in gtk+/glib. This is
the core of PCManFM. The library is desktop independent
(not LXDE specific) and has clean API. It can be used to
develop other applications requiring file management
functionality. For example, you can create your own file
manager with facilities provided by libfm.
http://wiki.lxde.org/en/Libfm
comment "libfm a toolchain w/ wchar, threads, C++, gcc >= 4.9"
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
comment "libfm needs X.org with an OpenGL backend"
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_PACKAGE_XORG7 || BR2_PACKAGE_HAS_LIBGL

8
package/libfm/libfm.hash Normal file
View File

@@ -0,0 +1,8 @@
# From https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/
md5 c87a0ff41ae77825079b2f785ec0741e libfm-1.3.2.tar.xz
sha1 7c5c14dd0615b457687966ce4e55c2d054bf93e1 libfm-1.3.2.tar.xz
# Locally computed:
sha256 a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5 libfm-1.3.2.tar.xz
sha256 d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388 COPYING
sha256 c3a3d93e111462f2b0292b56a6a7b87d342fd7156741d8b81b8b08723be4597e src/extra/fm-xml-file.c

25
package/libfm/libfm.mk Normal file
View File

@@ -0,0 +1,25 @@
################################################################################
#
# libfm
#
################################################################################
LIBFM_VERSION = 1.3.2
LIBFM_SOURCE = libfm-$(LIBFM_VERSION).tar.xz
LIBFM_SITE = http://sourceforge.net/projects/pcmanfm/files
LIBFM_DEPENDENCIES = menu-cache libglib2 cairo libgtk3
LIBFM_LICENSE = GPL-2.0+, LGPL-2.1+
LIBFM_LICENSE_FILES = COPYING src/extra/fm-xml-file.c
LIBFM_INSTALL_STAGING = YES
# We're patching src/modules/Makefile.am
LIBFM_AUTORECONF = YES
LIBFM_CONF_OPTS = --with-gtk=3
ifeq ($(BR2_PACKAGE_LIBEXIF),y)
LIBFM_CONF_OPTS += --enable-exif
LIBFM_DEPENDENCIES += libexif
else
LIBFM_CONF_OPTS += --disable-exif
endif
$(eval $(autotools-package))