Skip to contentSkip to conversation

xfce4-sensors-plugin: initial add 1.2.6

PATCH New Andreas Müller 1 participant 3 messages Jan 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 xfce4-sensors-plugin: initial add 1.2.6

---
 .../sensors/xfce4-sensors-plugin_1.2.6.bb          | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.6.bb
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.6.bb new file +27 -0
new file mode 100644
index 0000000..c2e0ed9
@@ -0,0 +1,27 @@
+SUMMARY = "Sensors plugin for the Xfce Panel"
+HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b94789bed9aec03b9656a9cc5398c706"
+
+inherit xfce-panel-plugin
+
+SRC_URI[md5sum] = "33c2e343c1224d9c4ae757a70cbe08eb"
+SRC_URI[sha256sum] = "235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0"
+
+EXTRA_OECONF = " \
+    --disable-procacpi \
+    --disable-sysfsacpi \
+    --disable-xnvctrl \
+"
+
+do_configure_prepend() {
+    sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac
+}
+
+PACKAGECONFIG ??= "libsensors"
+PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors"
+PACKAGECONFIG[hddtemp]    = "--enable-hddtemp,--disable-hddtemp, hddtemp"
+PACKAGECONFIG[netcat]     = "--enable-netcat,--disable-netcat, netcat"
+PACKAGECONFIG[libnotify]  = "--enable-notification,--disable-notification, libnotify"
+
+FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}"
Signature · 1 line
2.5.0
#1 lore raw

PATCH 2/3 packagegroup-xfce-extended: add xfce4-sensors-plugin

---
 meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 1 +
 1 file changed, 1 insertion(+)
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +1 -0
index ccd6f45..f0126e3 100644
@@ -49,6 +49,7 @@ RRECOMMENDS_${PN} = " \
     xfce4-smartbookmark-plugin \
     xfce4-hotcorner-plugin \
     ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'xfce4-pulseaudio-plugin', '', d)} \
+    xfce4-sensors-plugin \
     \
     xfce-polkit \
     \
Signature · 1 line
2.5.0
#2 lore raw

PATCH 3/3 libsdl2-ttf: initial add 2.0.12

In reply to Andreas Müller

it is sdl2 version of libsdl-ttf and reuses patches from libsdl-ttf

---
 .../{libsdl-ttf-2.0.10 => files}/configure.patch   |  0
 .../use.pkg-config.for.freetype2.patch             |  0
 .../libsdl-ttf/libsdl2-ttf_2.0.12.bb               | 31 ++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 rename meta-oe/recipes-support/libsdl-ttf/{libsdl-ttf-2.0.10 => files}/configure.patch (100%)
 rename meta-oe/recipes-support/libsdl-ttf/{libsdl-ttf-2.0.10 => files}/use.pkg-config.for.freetype2.patch (100%)
 create mode 100644 meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb
meta-oe/recipes-support/libsdl-ttf/files/configure.patch renamed from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch +0 -0
similarity index 100%
rename from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch
rename to meta-oe/recipes-support/libsdl-ttf/files/configure.patch
meta-oe/recipes-support/libsdl-ttf/files/use.pkg-config.for.freetype2.patch renamed from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/use.pkg-config.for.freetype2.patch +0 -0
similarity index 100%
rename from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/use.pkg-config.for.freetype2.patch
rename to meta-oe/recipes-support/libsdl-ttf/files/use.pkg-config.for.freetype2.patch
meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb new file +31 -0
new file mode 100644
index 0000000..47ce115
@@ -0,0 +1,31 @@
+SUMMARY = "Simple DirectMedia Layer truetype font library"
+SECTION = "libs"
+DEPENDS = "virtual/libsdl2 freetype"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=cdd16c6436d6b8fcbdd22a54d68c6dd3"
+
+SRC_URI = " \
+    http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \
+    file://use.pkg-config.for.freetype2.patch \
+"
+
+S = "${WORKDIR}/SDL2_ttf-${PV}"
+#EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config "
+
+inherit autotools
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_configure_prepend() {
+    touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
+
+    # Removing these files fixes a libtool version mismatch.
+    MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
+
+    for i in ${MACROS}; do
+        rm -f ${S}/acinclude/$i
+    done
+}
+
+SRC_URI[md5sum] = "79787216b56cb4707f39d538f2225e00"
+SRC_URI[sha256sum] = "8728605443ea1cca5cad501dc34dc0cb15135d1e575551da6d151d213d356f6e"
Signature · 1 line
2.5.0