Skip to contentSkip to conversation

libsdl-ttf: refresh automake_foreign.patch

PATCH New Andreas Müller 1 participant 3 messages Mar 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 libsdl-ttf: refresh automake_foreign.patch

---
 .../libsdl-ttf/files/automake_foreign.patch          | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
meta-oe/recipes-support/libsdl-ttf/files/automake_foreign.patch +14 -6
index 2d5bd6d91..c2e41f93e 100644
@@ -1,9 +1,17 @@
-Index: SDL2_ttf-2.0.14/Makefile.am
-===================================================================
---- SDL2_ttf-2.0.14.orig/Makefile.am
-+++ SDL2_ttf-2.0.14/Makefile.am
-@@ -1,6 +1,8 @@
- # Makefile.am for the SDL truetype font loading library and viewer
+From fbd50a815483eb2edeb6cb8e52a94d1987a762b3 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Tue, 9 May 2017 00:57:10 -0700
+
+---
+ Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index 8166d91..8e05e49 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,6 +2,8 @@
+ 
  lib_LTLIBRARIES = libSDL2_ttf.la
  
 +AUTOMAKE_OPTIONS = foreign
Signature · 1 line
2.14.3
#1 lore raw

PATCH 2/3 remove slim leftovers

---
 meta-oe/recipes-graphics/slim/slim/Makefile.oe     | 64 ------------------
 meta-oe/recipes-graphics/slim/slim/slim-dynwm      |  8 ---
 meta-oe/recipes-graphics/slim/slim/slim.pamd       | 19 ------
 meta-oe/recipes-graphics/slim/slim/slim.service    | 11 ----
 .../recipes-graphics/slim/slim/update_slim_wmlist  | 76 ----------------------
 5 files changed, 178 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/slim/slim/Makefile.oe
 delete mode 100644 meta-oe/recipes-graphics/slim/slim/slim-dynwm
 delete mode 100644 meta-oe/recipes-graphics/slim/slim/slim.pamd
 delete mode 100644 meta-oe/recipes-graphics/slim/slim/slim.service
 delete mode 100644 meta-oe/recipes-graphics/slim/slim/update_slim_wmlist
meta-oe/recipes-graphics/slim/slim/Makefile.oe deleted +0 -64
deleted file mode 100644
index 2ee69346a..000000000
@@ -1,64 +0,0 @@
-# Makefile for slim - OpenEmbedded
-#######################################################
-
-
-SLIMLDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg -lrt -lpthread
-CUSTOM=-DHAVE_SHADOW
-
-USE_PAM=1
-ifdef USE_PAM
-SLIMLDFLAGS+= -lpam
-CUSTOM+= -DUSE_PAM
-endif
-
-#######################################################
-
-NAME=slim
-VERSION=1.3.2
-
-DEFINES=-DPACKAGE=\"$(NAME)\" -DVERSION=\"$(VERSION)\" \
-		-DPKGDATADIR=\"$(PREFIX)/share/slim\" -DSYSCONFDIR=\"$(CFGDIR)\"
-
-OBJECTS=jpeg.o png.o main.o image.o numlock.o cfg.o switchuser.o app.o \
-	panel.o util.o
-ifdef USE_PAM
-OBJECTS+=PAM.o
-endif
-
-all: slim
-
-slim: $(OBJECTS)
-	$(CXX) $(OBJECTS) $(LDFLAGS) $(SLIMLDFLAGS) -o $(NAME)
-
-.cpp.o:
-	$(CXX) $(CXXFLAGS) $(DEFINES) $(CUSTOM) -c $< -o $@
-
-.c.o:
-	$(CC) $(CFLAGS) $(DEFINES) $(CUSTOM) -c $< -o $@
-
-install: slim install-theme
-	install -D -m 755 slim $(DESTDIR)$(PREFIX)/bin/slim
-	install -D -m 644 slim.1 $(DESTDIR)$(MANDIR)/man1/slim.1
-	test -e $(DESTDIR)$(CFGDIR)/slim.conf || \
-		install -D -m 644 slim.conf $(DESTDIR)$(CFGDIR)/slim.conf
-
-clean:
-	@rm -f slim *.o
-
-dist:
-	@rm -rf $(NAME)-$(VERSION)
-	@mkdir $(NAME)-$(VERSION)
-	@cp -r *.cpp *.h *.c Makefile Makefile.* COPYING ChangeLog INSTALL README TODO \
-		xinitrc.sample slim.1 THEMES themes slim.conf $(NAME)-$(VERSION)
-	@rm -rf $(NAME)-$(VERSION)/themes/.svn	$(NAME)-$(VERSION)/themes/default/.svn
-	@tar cvzf $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)
-	@rm -rf $(NAME)-$(VERSION)
-
-
-install-theme:
-	install -D -m 644 themes/default/slim.theme \
-		 $(DESTDIR)$(PREFIX)/share/slim/themes/default/slim.theme
-	install -D -m 644 themes/default/panel.png \
-		 $(DESTDIR)$(PREFIX)/share/slim/themes/default/panel.png
-	install -D -m 644 themes/default/background.jpg \
-		 $(DESTDIR)$(PREFIX)/share/slim/themes/default/background.jpg
meta-oe/recipes-graphics/slim/slim/slim-dynwm deleted +0 -8
deleted file mode 100644
index 49c9d47ec..000000000
@@ -1,8 +0,0 @@
-#!/bin/sh
-update_slim_wmlist
-if [ "x$1" = "x-nodaemon" ]; then
-  shift
-  exec slim "$@"
-else
-  slim -d "$@"
-fi
meta-oe/recipes-graphics/slim/slim/slim.pamd deleted +0 -19
deleted file mode 100644
index 80c34b1db..000000000
@@ -1,19 +0,0 @@
-# Begin /etc/pam.d/slim
-
-auth       required     pam_shells.so
-auth       include      common-auth
-auth       optional     pam_securetty.so
-auth       optional     pam_gnome_keyring.so
-
-account    required     pam_nologin.so
-account    include      common-account
-
-password   include      common-password
-
-session    include      common-session
-session    required     pam_mkhomedir.so skel=/etc/skel/ umask=0022
-session    optional     pam_lastlog.so nowtmp
-session    optional     pam_mail.so dir=/var/mail standard
-session    optional     pam_gnome_keyring.so  auto_start
-
-# End /etc/pam.d/slim
meta-oe/recipes-graphics/slim/slim/slim.service deleted +0 -11
deleted file mode 100644
index 341351aad..000000000
@@ -1,11 +0,0 @@
-[Unit]
-Description=SLiM Simple Login Manager
-Requires=dev-tty7.device
-After=dev-tty7.device systemd-user-sessions.service
-
-[Service]
-ExecStart=/usr/bin/slim -nodaemon
-StandardOutput=syslog
-
-[Install]
-WantedBy=graphical.target
meta-oe/recipes-graphics/slim/slim/update_slim_wmlist deleted +0 -76

76 lines not on this page · raw message

Signature · 1 line
2.14.3
#2 lore raw

PATCH 3/3 xterm: add update-alternatives for resize to avoid conflict with busybox

In reply to Andreas Müller
---
 meta-oe/recipes-graphics/xorg-app/xterm_330.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/recipes-graphics/xorg-app/xterm_330.bb +5 -0
index e3bb0fb6e..16f9b7882 100644
@@ -27,3 +27,8 @@ do_configure() {
 }
 
 FILES_${PN} += "/usr/lib/X11"
+
+# busybox can supply resize too
+inherit update-alternatives
+
+ALTERNATIVE_${PN} = "resize"
Signature · 1 line
2.14.3