text:
inherit pkgconfig

SUMMARY = "Memory allocation tracker"
DESCRIPTION = "Trace leaks is a debugger of memory leaks."

LICENSE = "LICENSE"
LIC_FILES_CHKSUM = "file://${LICENSE};md5=2e338baf7b9cdd872f9605ea9fffd5ae"

SRC_URI = "git://github.com/afilipov/trace_leaks.git;protocol=git;branch=master"

SRCREV = "${AUTOREV}"

S = "${WORKDIR}/git"

# Global flags
OPT = "-fPIC -g -O3"
# Generate dependencies
DEP = "-MMD"

WRN = "-Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wsign-compare -Wtype-limits -Wuninitialized"

# Define only valid "C" optimization flags
COPT = "$(OPT) -fomit-frame-pointer -fno-stack-check"
# Define only valid "C" warnings flags
CWRN = "$(WRN) \
        -Wmissing-parameter-type -Wold-style-declaration -Wimplicit-int -Wimplicit-function-declaration -Wimplicit -Wignored-qualifiers \
        -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations \
        -Wnested-externs -Wshadow -Wwrite-strings -Wfloat-equal -Woverride-init"

# Define only valid "C++" optimization flags
CXXOPT  = "${OPT} -std=c++11 -frtti"
# Define only valid "C" warnings flags
CXXWRN  = "$(WRN) \
        -Woverloaded-virtual \
        -Wignored-qualifiers \
        -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wmissing-declarations \
        -Wcast-qual -Wwrite-strings -Wfloat-equal"

# Extra flags to give to the C++ compiler.
CXXFLAGS = "$(MCU) $(DEF) $(DEP) $(CXXOPT) $(CXXWRN)"

do_compile() {
    oe_runmake
}

do_install() {
	install -d ${D}${bindir}
	install -d ${D}${libdir}
	install -d ${D}${includedir}

	install -c -m 0755 ${S}/bin/trace_demo -D ${D}${bindir}
	install -c -m 0755 ${S}/lib/libmemtrace.a -D ${D}${libdir}
	install -c -m 0755 ${S}/lib/libmemtrace.so -D ${D}${libdir}
	install -c -m 0755 ${S}/include/* -D ${D}${includedir}
}

do_package_qa () {
}

FILES_${PN}-trace_leaks-dbg  = "${libdir}/.debug/trace_leaks.*"
FILES_${PN}-trace_leaks-dbg += "${libbin}/trace_demo"

FILES_${PN}-trace_leaks      = "${libdir}/*.so*" "${libdir}/*.a"
FILES_${PN}-trace_leaks     += "${libbin}/trace_demo"

FILES_${PN}-trace_leaks-dev  = "${libdir}/*.so* ${libdir}/*.a ${includedir}"
FILES_${PN}-trace_leaks-dev += "${libbin}/trace_demo"

# Avoid generated binaries stripping.
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INSANE_SKIP_${PN} += "already-stripped"


text:
SUMMARY = "ODROID C2 gpio mem"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

COMPATIBLE_MACHINE = "odroid-c2"

SRC_URI = " \
    file://Makefile \
    file://meson-gpiomem.c \
"

S = "${WORKDIR}"

inherit module

MESON_GPIOMEM_DEFAULT_KCONFIG = "CONFIG_MESON_GPIOMEM=m"

MESON_GPIOMEM_DEFAULT_FLAGS = "-DCONFIG_MESON_GPIOMEM=1"

do_compile() {
	oe_runmake -C ${STAGING_KERNEL_DIR} \
		M=${S} \
		O=${STAGING_KERNEL_BUILDDIR} \
		EXTRA_DEFINES="${MESON_GPIOMEM_DEFAULT_FLAGS}" \
		${MESON_GPIOMEM_DEFAULT_KCONFIG}
}

do_install() {
	oe_runmake -C ${STAGING_KERNEL_DIR} \
		M=${S} \
		INSTALL_MOD_PATH="${D}" \
		O=${STAGING_KERNEL_BUILDDIR} \
		EXTRA_DEFINES="${MESON_GPIOMEM_DEFAULT_FLAGS}" \
		${MESON_GPIOMEM_DEFAULT_KCONFIG} \
		modules_install
}

license: MIT

license_type: permissive

branch_name: refs/heads/master

gha_license_id: MIT

extension: bb


text:
DESCRIPTION = "Zope Component Architecture"
HOMEPAGE = "https://github.com/zopefoundation/zope.proxy"
LICENSE = "ZPL-2.1"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2"

PYPI_PACKAGE = "zope.proxy"

inherit pypi setuptools3

SRC_URI[md5sum] = "2d102d9c22a81be04d9de7548c23b2a2"
SRC_URI[sha256sum] = "a66a0d94e5b081d5d695e66d6667e91e74d79e273eee95c1747717ba9cb70792"

RDEPENDS:${PN} = "\
    python3-zopeinterface \
"

repository: openavr/meta-openavr

repo_name: openavr/meta-openavr

branch_name: refs/heads/main


text:
@book{DSL,
  author =	 "Fowler, Martin",
  title =	 "Domain-Specific Languages",
  series =	 "The Addison-Wesley Signature Series: A Martin Fowler Signature Book",
  publisher =	 "Addison-Wesley",
  address =	 "Boston, MA",
  year =	 2011
}

@book{DDD,
  author =	 "Evans, Eric",
  title =	 "Domain-Driven Design: Tackling Complexity in the Heart of Software",
  publisher =	 "Addison-Wesley",
  address =	 "Boston, MA",
  year =	 2003
}

@book{IMPLEMENTINGDDD,
  author =	 "Vernon, Vaughn",
  title =	 "Implementing Domain-Driven Design",
  publisher =	 "Addison-Wesley",
  address =	 "Boston, MA",
  year =	 2013
}

@book{XUNIT,
  author =	 "Gerard Meszaros",
  title =	 "xUnit Test Patterns: Refactoring Test Code",
  series =	 "The Addison-Wesley Signature Series: A Martin Fowler Signature Book",
  publisher = "Addison-Wesley",
  address =	 "Boston, MA",
  year =	 2007
}

@book{CONTINUOUSDELIVERY,
  author =	 "Jez Humble and David Farley",
  title =	 "Continuous delivery : reliable software releases through build, test, and deployment automation",
  series =	 "The Addison-Wesley Signature Series: A Martin Fowler Signature Book",
  publisher = "Addison-Wesley",
  address =	 "Boston, MA",
  year =	 2011
}

@book{GOF,
  author =	 "Gamma, Erich",
  title =	 "Design Patterns: Elements of Reusable Object-Oriented Software",
  series =	 "The Addison-Wesley Professional Computing Series",
  publisher = "Addison-Wesley",
  address =	 "Boston, MA",
  year =	 1995
}

@book{POSA,
  author =	 "Buschmann, Frank",
  title =	 "Pattern-Oriented Software Architecture Volume 4: A Pattern Language for Distributed Computing",
  series =	 "Wiley Series in Software Design Patterns",
  publisher = "Wiley",
  address =	 "Chichester, West Sussex, England",
  year =	 2007
}

@Misc{ETSYDEPLOYDAYONE,
	author = "John Goulah",
	title = "Making it Virtually Easy to Deploy on Day One",
  howpublished = {Blog Post, http://codeascraft.etsy.com/2012/03/13/making-it-virtually-easy-to-deploy-on-day-one/, accessed
                  November 2012},
  year = 	 {n.d.}
}

@Misc{JUJU,
  author = 	 {Canonical},
  title = 	 {juju},
  howpublished = {Project Web Site, https://juju.ubuntu.com/, accessed
                  November 2012},
  year = 	 {February 23, 2012}
}

@Misc{ANSIBLE,
  author = 	 {Michael DeHaan},
  title = 	 {Ansible},
  howpublished = {Project Web Site, http://ansible.cc/, accessed
                  November 2012},
  year = 	 {n.d.},
  note = {Inception date cited based on https://github.com/mpdehaan/ansible/commits/devel?page=89}
}

@Misc{ANSIBLEYAML,
  author = 	 {Michael DeHaan},
  title = 	 {Building a better puppetrun and related ideas},
  howpublished = {Mailing List Post, "https://groups.google.com/forum/?fromgroups=\#!topic/puppet-users/apmj9mJFc8E", accessed
                  November 2012},
  year = 	 {February 10, 2010}
}

@Misc{FABFILE,
  author = 	 {n.a.},
  title = 	 {Fabric},
  howpublished = {Project Web Site, http://fabfile.org, accessed
                  November 2012},
  year = 	 {n.d.}
}

@article{INFOQNOOPS,
  author = 	 {Avram, Abel},
  title = 	 {NoOps: Its Meaning and the Debate around It},
  journal = "InfoQ",
  note = {http://www.infoq.com/news/2012/03/NoOps, accessed
                  November 2012},
  year = 	{March 19, 2012}
}

@article{EVENTSOURCING,
  author = {Fowler, Martin},
  title = {Event Sourcing},
  journal = "martinfowler.com",
  note = {http://martinfowler.com/eaaDev/EventSourcing.html, accessed
                  November 2012},
  year = {December 12, 2005}
}

@article{DIP,
  author = 	 {Martin, Robert},
  title = 	 {The Dependency Inversion Principle - Object Mentor Inc.},
  journal = "The C++ Report",
  note = {http://www.objectmentor.com/resources/articles/dip.pdf, accessed
                  November 2012},
  year = 	{May, 1996}
}

@Misc{NETFLIXNOOPS,
  author = 	 {Adrian Cockroft},
  title = 	 {{Ops, DevOps and PaaS (NoOps) at Netflix}},
  howpublished = {Blog Post, http://perfcap.blogspot.com/2012/03/ops-devops-and-noops-at-netflix.html, accessed
                  November 2012},
  year = 	 {March 19, 2012}
}

@Misc{LUKEKANIESINTERVIEW,
  author = 	 {Akita, Fabio},
  title = 	 {{Chatting with Luke Kanies}},
  howpublished = {AkitaOnRails, http://www.akitaonrails.com/2009/11/18/chatting-with-luke-kaines, accessed
                  November 2012},
  year = 	 {November 18, 2009}
}

@Misc{JUMPSTART,
  author =	 {George William Herbert, Adrian J. Hunter, et al.},
  title =	 {Jumpstart (Solaris)},
  howpublished = {Wikipedia, http://www.wikipedia.com/wiki/Jumpstart\_(Solaris), accessed
                  September 2012},
  year =	 {n.d.}
}

@Misc{BOURNESHELL,
  author =	 {unnamed, unnamed},
  title =	 {{Bourne shell}},
  howpublished = {Wikipedia, http://www.wikipedia.com/wiki/Bourne\_shell, accessed
                  September 2012},
  year =	 {n.d.}
}

@techreport{CFENGINE,
  author =	 "Burgess, Mark",
  title =	 "Cfengine V2.0 : A network configuration tool",
  institution =	 "University of Olso",
  address =	 "Oslo, Norway",
  year =	 1993
}

repository: peoplemerge/deploymentobjects

repo_name: peoplemerge/deploymentobjects

extension: bib


text:
package netgate

/*import (
	"gonet/actor"
	"gonet/base"
	"strings"
)

type (
	UserServerProcess struct {
		actor.Actor
	}
)

func (this *UserServerProcess) Init(num int) {
	this.Actor.Init(num)
	this.RegisterCall("DISCONNECT", func(socketId int) {
		SERVER.GetPlayerMgr().SendMsg("DEL_ACCOUNT", socketId)
	})

	this.Actor.Start()
}

func (this *UserServerProcess) PacketFunc(id int, buff []byte) bool{
	var io actor.CallIO
	io.Buff = buff
	io.SocketId = id

	bitstream := base.NewBitStream(io.Buff, len(io.Buff))
	funcName := bitstream.ReadString()
	funcName = strings.ToLower(funcName)
	pFunc := this.FindCall(funcName)
	if pFunc != nil{
		this.Send(io)
		return true
	}

	return false
}*/

extension: go


text:
@article{jorgensen_cochrane_2006,
	title = {Cochrane reviews compared with industry supported meta-analyses and other meta-analyses of the same drugs: systematic review},
	volume = {333},
	issn = {0959-8138},
	url = {http://www.bmj.com/cgi/doi/10.1136/bmj.38973.444699.0B},
	doi = {10.1136/bmj.38973.444699.0B},
	shorttitle = {Cochrane reviews compared with industry supported meta-analyses and other meta-analyses of the same drugs},
	pages = {782--0},
	number = {7572},
	journaltitle = {{BMJ}},
	shortjournal = {{BMJ}},
	author = {Jorgensen, A. W and Hilden, J. and Gotzsche, P. C},
	urldate = {2011-04-04},
	date = {2006-10}
}

repository: pmean/build-website

repo_name: pmean/build-website


text:
# =========== include - macro ===========
set (PROJECT_LIBATAPP_ROOT_INC_DIR ${CMAKE_CURRENT_LIST_DIR})
set (PROJECT_LIBATAPP_LIB_LINK atapp)
set (PROJECT_LIBATAPP_EXPORT_NAME libatapp-target)

repository: qiezibao/libatapp

repo_name: qiezibao/libatapp

extension: cmake


text:
@STRING{premessage = "This is the LaTeX preamble shared by all KWARC *.bib files.  "}

@README{--README--,
  x = { In your publication list, the \selfedit command can be implemented, e.g., as follows:},
  x = { \newcommand{\selfedit}{\footnote{In the review process, submissions from chairs were specially handled by the General Chair.}} },
}

@PREAMBLE{
{\providecommand\seen{seen }
\providecommand\selfedit{}
\providecommand\webpageat{web page at }
\providecommand\homepageat{home page at }
\providecommand\projectpageat{project page at }
\providecommand\systempageat{system home page at }
\providecommand\svnrepoat{Subversion repository at }
\providecommand\January{January}
\providecommand\February{February}
\providecommand\Feb{February}
\providecommand\March{March}
\providecommand\April{April}
\providecommand\May{May}
\providecommand\June{June}
\providecommand\July{July}
\providecommand\August{August}
\providecommand\September{September}
\providecommand\October{October}
\providecommand\November{November}
\providecommand\December{December}
\providecommand\AUSTRALIA{Australia}
\providecommand\ROMANIA{Romania}
\providecommand\MEXICO{Mexico}
\providecommand\ITALY{Italy}
\providecommand\USA{USA}
\providecommand\IRELAND{Ireland}
\providecommand\HUNGARY{Hungary}
\providecommand\JAPAN{Japan}
\providecommand\CANADA{Canada}
\providecommand\SPAIN{Spain}
\providecommand\NETHERLANDS{Netherlands}
\providecommand\UK{UK}
\providecommand\SWEDEN{Sweden}
\providecommand\GERMANY{Germany}
\providecommand\openmath{OpenMath}
\providecommand\fc{forthcoming}
\providecommand\PROC{Proceedings}
\providecommand\omdoc{OMDoc}
\providecommand\activemath{ActiveMath}
\hyphenation{Wiki-Sym}}}

repository: KWARC/bibs

repo_name: KWARC/bibs

gha_language: TeX


text:
PR = "r0"

inherit debian-package

LICENSE = "GPLv2+ & LGPLv2+"
LIC_FILES_CHKSUM=" \
	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
	file://COPYING.LIB;md5=4cf66a4984120007c9881cc871cf49db \
"

DEPENDS = "ncurses"

# init.d/procps require lsb-base
RDEPENDS_${PN} += "lsb-base"

inherit autotools gettext pkgconfig update-alternatives

# Configure options follow debian/rules.
# Reconfigure path of bindir, sbindir for correct install dirs
# follow Debian and procps Makefile:
# 	bindir is set to /bin, include: kill, ps
#	sbindir is set to /sbin, include: sysctl
#	usrbin_execdir is set to /usr/bin, include other commands.
EXTRA_OECONF = " \
	--enable-watch8bit \
	--enable-w-from \
	--enable-skill \
	--disable-pidof \
	--prefix=${prefix} \
	--exec_prefix=${base_prefix} \
	--bindir=${base_bindir} \
	--sbindir=${base_sbindir} \
"

CPPFLAGS += "-I${S}"

# Install and link file base on debian/rules
do_install_append () {
	# Rename w as there are two of them
	mv ${D}${bindir}/w ${D}${bindir}/w.procps
	mv ${D}${mandir}/man1/w.1 ${D}${mandir}/man1/w.procps.1

	install -d ${D}${sysconfdir}
	install -m 0644 ${S}/debian/sysctl.conf ${D}${sysconfdir}/sysctl.conf

	install -d ${D}${sysconfdir}/init.d
	install -m 0755 ${S}/debian/procps.init.linux ${D}${sysconfdir}/init.d/procps

	# Correct library and link location follow Debian
	if [ ${base_libdir} != ${libdir} ]; then
		install -d ${D}${base_libdir}
		mv ${D}${libdir}/libprocps${SOLIBS} ${D}${base_libdir}/
		rm ${D}${libdir}/libprocps${SOLIBSDEV}
		ln -s ../../${base_libdir}/libprocps.so.3 ${D}${libdir}/libprocps${SOLIBSDEV}
	fi
}

CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"

PACKAGES =+ " lib${PN}"
FILES_lib${PN} = "${base_libdir}/*"
DEBIANNAME_lib${PN} = "lib${PN}3"

ALTERNATIVE_${PN} = "w"
ALTERNATIVE_PRIORITY[w] = "50"
ALTERNATIVE_LINK_NAME[w] = "${bindir}/w"
ALTERNATIVE_TARGET[w] = "${bindir}/w.${DPN}"

# Add update-alternatives definitions to avoid conflict with Debian
ALTERNATIVE_${PN} += "kill ps sysctl"
ALTERNATIVE_PRIORITY[kill] = "100"
ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill"
ALTERNATIVE_PRIORITY[ps] = "100"
ALTERNATIVE_LINK_NAME[ps] = "${base_bindir}/ps"
ALTERNATIVE_PRIORITY[sysctl] = "100"
ALTERNATIVE_LINK_NAME[sysctl] = "${base_sbindir}/sysctl"

repository: nghiaht-tsdv/meta-debian

repo_name: nghiaht-tsdv/meta-debian

branch_name: refs/heads/jethro

gha_language: BitBake