Skip to content

Instantly share code, notes, and snippets.

DESCRIPTION = "SDK Testing"
SECTION = "libs"
LICENSE = "CLOSED"
BBCLASSEXTEND = "nativesdk"
FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
@rm5248
rm5248 / validate-release.sh
Created December 29, 2023 15:16
Validate Apache Release
#!/bin/sh
set -e
# BASE_DL example: https://dist.apache.org/repos/dist/dev/logging/log4cxx/
# ARCHIVE example: apache-log4cxx-1.2.0
BASE_DL=$1
ARCHIVE=$2
FULL_DL="$1/$2"
@rm5248
rm5248 / InstallMPLABX.sh
Created June 10, 2018 19:40
Install MPLABX on 64-bit linux
#/bin/bash
# This script installs the proper dependencies on Debian 9(stretch)
# for you to install MPLABX
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libstdc++6:i386 libxext6:i386 libexpat1:i386
handlers=java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.SimpleFormatter.format=[%1$tc] %4$s: %5$s%n
com.rm5248.serial.level = FINEST
com.rm5248.serial.SerialPort.level=FINEST
@rm5248
rm5248 / InstallJenkins.sh
Last active January 8, 2017 03:18
Install Jenkins on server
#!/bin/bash
#
# A simple script to install jenkins on debian/ubuntu
# Tested on a new Debian 8 DreamCompute image from Dreamhost.
#
AUTHBIND_PORT=/etc/authbind/byport/80
sudo apt-get update
Index: tools/arg.cpp
===================================================================
--- tools/arg.cpp (revision 213)
+++ tools/arg.cpp (working copy)
@@ -81,7 +81,8 @@
std::string Arg::stubsignature()
{
- return DBus::signature( type() );
+ //return DBus::signature( type() );
#!/bin/bash
#
# Steps for a release:
#
# 1. Ensure that the working directory is clean
# 2. Create a tag in SVN
# 3. build software
# 4. package software
# 5. build website
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>log4cxx</groupId>
<artifactId>apache-log4cxx</artifactId>
<packaging>pom</packaging>
<version>0.11.2</version>
<name>Apache log4cxx (Incubating)</name>
<description>Logging framework for C++.</description>
<url>http://incubator.apache.org/log4cxx</url>
<issueManagement>
PROJECT(log4cxx)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
#find_package(PkgConfig)
#pkg_check_modules( APR apr-1 REQUIRED )
#pkg_check_modules( APR_UTIL apr-util-1 REQUIRED )
SET(APR_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE STRING "Directory with APR include files")
SET(APR_LIBRARIES "${CMAKE_INSTALL_PREFIX}/lib/libapr-1.lib" CACHE STRING "APR library to link with")