parent
f07f878147
commit
d51ab5da31
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST pigz-2.3.4.tar.gz 105412 BLAKE2B 821fac7cd0f113ea81b284c1df5d464c2a2bf8f88742ee432eb6fdc31d097983983f22280a52dda04c3f1735297af690bcebdfd70679560525a5c3731652695e SHA512 c0d5da6c5b2da50841aaf3958d5694edca0356d4bef211175e9f2f17e0c815e80b2e62bb39c7761c8f83fdaa84ca7373e130cdb0fa2c96f91c397556cbf7ba2a
|
||||
DIST pigz-2.4.tar.gz 98234 BLAKE2B 763fe3975c6a83f46b94741d4e16b40a4edef20b7677e8d32b99856498f951edebd86634c227b0f212f0aff87fd3626e21348fdb3839a6abfb21a547bed88be6 SHA512 79b2357176f93b9f3e2bc07fee393fc4d79b7bd0041808f8ddfd23eafccde72e60ca95e97595bb624a4f732fe3612bf46d57c44541c36ae62f9aa6336abe16ba
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="http://www.zlib.net/pigz/"
|
||||
SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
|
||||
IUSE="static symlink test"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )"
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
|
||||
if use symlink; then
|
||||
dosym ${PN} /usr/bin/gzip
|
||||
dosym un${PN} /usr/bin/gunzip
|
||||
fi
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.orig 2009-01-03 18:36:24.349399478 +0100
|
||||
+++ Makefile 2009-01-03 18:36:37.218398964 +0100
|
||||
@@ -65,7 +65,7 @@
|
||||
OBJ = ${SRCS:%.c=%.o}
|
||||
|
||||
pure-sfv: $(OBJ)
|
||||
- $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ)
|
||||
+ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJ) -lm
|
||||
|
||||
PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes
|
||||
PURIFY=purify
|
@ -0,0 +1,22 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54,18 +54,16 @@
|
||||
|
||||
VC_CRAP = pure-sfv.ncb pure-sfv.plg
|
||||
|
||||
-CFLAGS += -Wall -Werror -O2 -g -Wno-unused
|
||||
INSTALL_PREFIX = /usr/local
|
||||
INSTALL_PROGRAM = /usr/bin/install -c
|
||||
|
||||
all: pure-sfv
|
||||
|
||||
-CC = gcc
|
||||
|
||||
OBJ = ${SRCS:%.c=%.o}
|
||||
|
||||
pure-sfv: $(OBJ)
|
||||
- $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ)
|
||||
+ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $(PROG) $(OBJ) -lm
|
||||
|
||||
PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes
|
||||
PURIFY=purify
|
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
hdup:
|
||||
@echo hdup version: ${VERSION}
|
||||
- @(cd src ; $(MAKE) all)
|
||||
+ $(MAKE) -C src all
|
||||
|
||||
clean: tarclean docclean
|
||||
@rm -f Makefile
|
||||
@@ -32,7 +32,7 @@
|
||||
@echo "done"
|
||||
|
||||
uninstall:
|
||||
- @(cd src ; make uninstall )
|
||||
+ $(MAKE) -C src uninstall
|
||||
|
||||
install:
|
||||
- @(cd src ; make install )
|
||||
+ $(MAKE) -C src install
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -11,9 +11,9 @@
|
||||
sysconfdir = @sysconfdir@
|
||||
hdup_config = $(sysconfdir)/hdup/hdup.conf
|
||||
|
||||
-GCC = @CC@
|
||||
+CC = @CC@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
-GLIB_LIBS = @GLIB_LIBS@
|
||||
+LDLIBS = @GLIB_LIBS@
|
||||
CFLAGS =-Wall @CFLAGS@ @DEFS@ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Wpointer-arith -Wstrict-prototypes -DETCFILE=\"$(hdup_config)\"
|
||||
INSTALL = ../install-sh -c
|
||||
INSTALL_PROG = $(INSTALL)
|
||||
@@ -22,14 +22,12 @@
|
||||
######################################
|
||||
######################################
|
||||
.PHONY: clean install all uninstall
|
||||
-%.o: %.c ${HDR}
|
||||
- ${GCC} ${CFLAGS} ${GLIB_CFLAGS} -c $<
|
||||
+.c.o:
|
||||
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(GLIB_CFLAGS) -c $< -o $@
|
||||
|
||||
all: hdup Makefile.in
|
||||
|
||||
-hdup: ${OBJ} ${HDR} Makefile.in
|
||||
- ${GCC} ${GLIB_LIBS} ${OBJ} -o hdup
|
||||
- ${STRIP}
|
||||
+hdup: $(OBJ)
|
||||
|
||||
hdup.h: hdup.h.in Makefile.in
|
||||
@(cd .. ; ./configure)
|
@ -0,0 +1,17 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -45,12 +45,12 @@
|
||||
README \
|
||||
TODO
|
||||
CLEANFILES = $(NAME).spec $(NAME) $(MAN1) $(MAN1).html
|
||||
-prefix = /usr/local
|
||||
+prefix = /usr
|
||||
sysconfdir = /etc
|
||||
bindir = $(prefix)/bin
|
||||
datadir = $(prefix)/share/mylvmbackup
|
||||
distdir = $(NAME)-$(VERSION)
|
||||
-mandir = $(prefix)/man
|
||||
+mandir = $(prefix)/share/man
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
all: $(DISTFILES) $(MAN1)
|
@ -0,0 +1,11 @@
|
||||
--- a/mylvmbackup.conf
|
||||
+++ b/mylvmbackup.conf
|
||||
@@ -18,7 +18,7 @@
|
||||
host=
|
||||
port=
|
||||
socket=
|
||||
-mycnf=/etc/my.cnf
|
||||
+mycnf=/etc/mysql/my.cnf
|
||||
|
||||
#
|
||||
# LVM-specific options
|
@ -1,31 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots"
|
||||
HOMEPAGE="http://lenzg.net/mylvmbackup/"
|
||||
SRC_URI="http://lenzg.net/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-perl/Config-IniFiles
|
||||
>=sys-fs/lvm2-2.02.06
|
||||
dev-perl/DBD-mysql
|
||||
virtual/mysql
|
||||
dev-perl/TimeDate"
|
||||
RDEPEND="
|
||||
dev-perl/Config-IniFiles
|
||||
dev-perl/DBD-mysql
|
||||
dev-perl/TimeDate
|
||||
>=sys-fs/lvm2-2.02.06
|
||||
virtual/mysql"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
sed -i \
|
||||
-e '/^prefix/s,/usr/local,/usr,' \
|
||||
"${S}"/Makefile
|
||||
sed -i 's|mycnf=/etc/my.cnf|mycnf=/etc/mysql/my.cnf|' "${S}"/mylvmbackup.conf
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.14-fix-build-system.patch
|
||||
"${FILESDIR}"/${PN}-0.14-fix-config.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" mandir="/usr/share/man" || die
|
||||
dodoc ChangeLog README TODO
|
||||
default
|
||||
|
||||
keepdir /var/tmp/${PN}/{backup,mnt}
|
||||
fperms 0700 /var/tmp/${PN}/
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST restic-0.7.3.tar.gz 37062625 BLAKE2B 0a50c1c6c1ffc8f5d5c0698341bfd1715faee0ab3392ddb065b75143babb45dcfee355f2a369771b4c256cafcb839dc401ad827e194b52d27a1c7582b9c3a1c3 SHA512 2d44b4fc363c7f6389c1f06469cf30ebeff4d6ade0bd4fcae1d7d9def3922936b45043b04f4072284b773df2c6487c58db6aea41c7de5c8184ca33ca3c44d44a
|
||||
DIST restic-0.8.0.tar.gz 37309494 BLAKE2B 0c50ccbdabca2057a5d1f8a7326a3e143101daed7cf9eabf0deb2d4452bbd63fd57c3edc8be106c0123f3c4e01195e8042a8f70477c999b00069ffe3d4fcb1d5 SHA512 5f2205ac5caf91f119f1705dc1f8340c481fd27d809cdadbd8ff39ebbc910d98452626c2a9564300935746550a2604ed59aa095f3137788bd0dce87c0dcb14f9
|
||||
DIST restic-0.8.1.tar.gz 40330154 BLAKE2B 6758ae4cd7b3caf1bb58b9b95ddd9b99422f2a5997f37317381ec2714a4bc369331e1ba5accb791a2733eddcebdb056256a25b837cad6926f86ec61265d95324 SHA512 02d45b70b94514d3491297dcd34f26db854b6153a1aa297aaa9c938e09d65429fbe0dedb3c028ad38c769049f814c7a923481adfe9962a35dc39a7477a80fdab
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-vcs-snapshot bash-completion-r1
|
||||
|
||||
DESCRIPTION="A backup program that is fast, efficient and secure"
|
||||
HOMEPAGE="https://restic.github.io/"
|
||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
EGO_PN="github.com/restic/restic"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=(
|
||||
README.rst CONTRIBUTING.md doc/010_introduction.rst doc/020_installation.rst
|
||||
doc/030_preparing_a_new_repo.rst doc/040_backup.rst doc/045_working_with_repos.rst
|
||||
doc/050_restore.rst doc/060_forget.rst doc/070_encryption.rst doc/080_examples.rst
|
||||
doc/090_participating.rst doc/100_references.rst doc/cache.rst doc/faq.rst
|
||||
doc/index.rst doc/manual_rest.rst
|
||||
)
|
||||
|
||||
DEPEND="
|
||||
dev-lang/go
|
||||
test? ( sys-fs/fuse:0 )"
|
||||
|
||||
RDEPEND="sys-fs/fuse:0"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
src_compile() {
|
||||
local mygoargs=(
|
||||
-v
|
||||
-work
|
||||
-x
|
||||
-tags release
|
||||
-ldflags "-s -w -X main.version=${PV}"
|
||||
-asmflags "-trimpath=${S}"
|
||||
-gcflags "-trimpath=${S}"
|
||||
-o restic ${EGO_PN}/cmd/restic
|
||||
)
|
||||
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go build "${mygoargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin restic
|
||||
einstalldocs
|
||||
|
||||
newbashcomp doc/bash-completion.sh "${PN}"
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins doc/zsh-completion.zsh _restic
|
||||
|
||||
local i
|
||||
for i in doc/man/*; do
|
||||
doman "$i"
|
||||
done
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
vzdump is a utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.
|
||||
There are several ways to provide consistency:
|
||||
- stop the VE during backup (very long downtime)
|
||||
- use rsync and suspend/resume (minimal downtime)
|
||||
- use LVM2 (no downtime)
|
||||
</longdescription>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
vzdump is a utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.
|
||||
There are several ways to provide consistency:
|
||||
- stop the VE during backup (very long downtime)
|
||||
- use rsync and suspend/resume (minimal downtime)
|
||||
- use LVM2 (no downtime)
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A versatile deduplicating backup tool"
|
||||
HOMEPAGE="http://zbackup.org/ https://github.com/zbackup/zbackup"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+-with-openssl-exception"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="libressl tartool"
|
||||
|
||||
DEPEND="app-arch/lzma
|
||||
dev-libs/lzo:2
|
||||
dev-libs/protobuf:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Add tartool build
|
||||
PATCHES=( "${FILESDIR}/${P}-tartool.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TARTOOL="$(usex tartool)"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
Binary file not shown.
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm"
|
||||
HOMEPAGE="http://www.coyotegulch.com/products/acovea/"
|
||||
SRC_URI="http://www.coyotegulch.com/distfiles/lib${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libcoyotl-3.1.0:=
|
||||
>=dev-libs/libevocosm-3.3.0:=
|
||||
dev-libs/expat:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/lib${P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-asneeded.patch
|
||||
"${FILESDIR}"/${P}-free-fix.patch
|
||||
"${FILESDIR}"/${P}-gcc44.patch
|
||||
"${FILESDIR}"/${P}-glibc-212.patch
|
||||
"${FILESDIR}"/${P}-underlinking.patch
|
||||
"${FILESDIR}"/${P}-libevocosm.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls"
|
||||
HOMEPAGE="http://www.textuality.com/bonnie/"
|
||||
SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz"
|
||||
|
||||
LICENSE="bonnie"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/bonnie_man.patch \
|
||||
"${FILESDIR}"/Makefile.patch \
|
||||
"${FILESDIR}"/${P}-includes.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin Bonnie bonnie
|
||||
doman bonnie.1
|
||||
dodoc Instructions
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls"
|
||||
HOMEPAGE="http://www.textuality.com/bonnie/"
|
||||
SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz"
|
||||
|
||||
LICENSE="bonnie"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A} || die
|
||||
epatch "${FILESDIR}"/bonnie_man.patch
|
||||
epatch "${FILESDIR}"/Makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make SYSFLAGS="${CFLAGS}" || die
|
||||
mv Bonnie bonnie
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman bonnie.1
|
||||
dodoc Instructions
|
||||
dobin bonnie
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST iozone3_397.tar 1679360 BLAKE2B 174d4ef11fb986f4b8bbf95774f6bf22659fb9e5a38fcd0626be8bd89303e775a9d8bc632575896885a9974239205bd3b3541da71b48bf30f80234ab577eb4eb SHA512 e154b56735c922173e7cf23344fa0a478982d202b3b831fd605481f69a77295281be121aa57a0164dc12edf5975f231339f6516da5c40906586d48ebacec7c23
|
||||
DIST iozone3_408.tar 1822720 BLAKE2B 700f531addb42525b5a3e8caaabfb8e03f7d7d1fa840a840462e88bd127b508e73f4bb1362bdef1e9f1b2044b42f54ab3811e674789f1fb8d7047b15565e8ee6 SHA512 ebc808468c741fff8d7909abd7eb41303c2a68c21ed7754e12bb6f859a88a9f9d040e0cdde42cb320958fbd453ba6014ba46fb7cfb200155f55a6fa7803f5d44
|
||||
DIST iozone3_430.tar 1832960 BLAKE2B 2d8cb85d444a9505550bf4a6951a83531427ba8e4493ffdd13c9435ce07452fbbd529602a7b13b120d276fd95c76609f4d47a58ff490120272b7fcb3650711e4 SHA512 f513c1a34bcdfadca0d01a942d55c7494e5646cf17384140df42643259456d41e40a54453ab3b9a1f1ebdeb456a9b4b1f836f979927cac57391b9a20ecdbcb55
|
||||
DIST iozone3_471.tar 1853440 BLAKE2B 280c821a439ad1bacbd749278385481678d644a59c14395482c8a088b0578285f389f376fb32ce3c3abde598f50d693fb0c7c9a3d6597765547a71c76d21ea1c SHA512 c61b2b8b5af3dccdb99b26aef8a0a4f2f5f467fc3985ac72ed4bb4fb36e4b7684ca6dbaa5bbc05ae0a4e73852e048e9fd2495eda9313f5abc4e631499d683aec
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# TODO
|
||||
# -> linux-arm (32bit) <-
|
||||
# -> linux-AMD64 (64bit) <-
|
||||
# -> linux-ia64 (64bit) <-
|
||||
# -> linux-powerpc (32bit) <-
|
||||
# -> linux-powerpc64 (64bit) <-
|
||||
# -> linux-S390 (32bit) <-
|
||||
# -> linux-S390X (64bit) <-
|
||||
#
|
||||
# -> freebsd (32bit) <-
|
||||
# -> macosx (32bit) <-
|
||||
# -> netbsd (32bit) <-
|
||||
# -> openbsd (32bit) <-
|
||||
# -> openbsd-threads (32bit) <-
|
||||
#
|
||||
# ~ia64 ~s390 alpha(?) x86-fbsd
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Filesystem benchmarking program"
|
||||
HOMEPAGE="http://www.iozone.org/"
|
||||
SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar"
|
||||
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}${PV/./_}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Options FIX
|
||||
sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \
|
||||
-e "s:-O3:${CFLAGS}:g" src/current/makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${ARCH} in
|
||||
x86|alpha) PLATFORM="linux";;
|
||||
arm) PLATFORM="linux-arm";;
|
||||
ppc) PLATFORM="linux-powerpc";;
|
||||
ppc64) PLATFORM="linux-powerpc64";;
|
||||
amd64) PLATFORM="linux-AMD64";;
|
||||
ia64) PLATFORM="linux-ia64";;
|
||||
s390) PLATFORM="linux-S390";;
|
||||
x86-fbsd) PLATFORM="freebsd";;
|
||||
*) PLATFORM="linux-${ARCH}";;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C src/current ${PLATFORM}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${T}" || die
|
||||
"${S}"/src/current/iozone testfile || die "self test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin src/current/{iozone,fileop}
|
||||
|
||||
dodoc docs/I* docs/Run_rules.doc src/current/Changes.txt
|
||||
doman docs/iozone.1
|
||||
cd src/current || die
|
||||
dodoc Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,16 +1,11 @@
|
||||
# $Id: Makefile,v 1.2 2002/12/15 19:58:36 marvin Exp $
|
||||
|
||||
-CC=gcc
|
||||
-CFLAGS=-Wall -w -pedantic
|
||||
|
||||
all: pipebench
|
||||
doc: pipebench.1
|
||||
install: pipebench
|
||||
- cp pipebench /usr/local/bin/
|
||||
- cp pipebench.1 /usr/local/man/man1/
|
||||
-
|
||||
-pipebench: pipebench.c
|
||||
- $(CC) $(CFLAGS) -o pipebench pipebench.c
|
||||
+ mkdir -p $(DESTDIR)$(EPREFIX)/usr/bin && cp pipebench $(DESTDIR)$(EPREFIX)/usr/bin/
|
||||
+ mkdir -p $(DESTDIR)$(EPREFIX)/usr/share/man/man1 && cp pipebench.1 $(DESTDIR)$(EPREFIX)/usr/share/man/man1/
|
||||
|
||||
pipebench.1: pipebench.yodl
|
||||
yodl2man -o pipebench.1 pipebench.yodl
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="Measures the speed of stdin/stdout communication"
|
||||
HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=pipebench"
|
||||
SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
cd "${S}" || die "Manual configure failed"
|
||||
cp Makefile Makefile.orig
|
||||
sed \
|
||||
-e "s:CFLAGS=-Wall:CFLAGS=${CFLAGS} -Wall:" \
|
||||
-e "s:/usr/local/bin/:${D}/usr/bin:" \
|
||||
-e "s:/usr/local/man/man1/:${D}/usr/share/man/man1:" \
|
||||
Makefile.orig > Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/{bin,share/man/man1}
|
||||
make install || die
|
||||
dodoc README
|
||||
}
|
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,9 +1 @@
|
||||
-TARGET := cuegen
|
||||
-CC := gcc
|
||||
-CFLAGS := -O2 -pipe -fomit-frame-pointer
|
||||
-WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
-
|
||||
all: cuegen
|
||||
-
|
||||
-cuegen: cuegen.o
|
||||
- ${CC} ${WARN} ${CFLAGS} cuegen.c -o cuegen
|
@ -1,22 +1,17 @@
|
||||
Index: work/src/Makefile
|
||||
===================================================================
|
||||
--- work.orig/src/Makefile
|
||||
+++ work/src/Makefile
|
||||
@@ -1,13 +1,12 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,13 +1,9 @@
|
||||
EXE = daa2iso
|
||||
-CFLAGS += -O2 -s
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr/
|
||||
PREFIX = /usr/local
|
||||
BINDIR = $(PREFIX)/bin
|
||||
SRC = $(EXE).c
|
||||
|
||||
all:
|
||||
-all:
|
||||
- $(CC) $(CFLAGS) -c LzmaDec.c
|
||||
- $(CC) $(CFLAGS) -c tinflate.c
|
||||
- $(CC) $(SRC) $(CFLAGS) -o $(EXE) LzmaDec.o tinflate.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -c LzmaDec.c
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -c tinflate.c
|
||||
+ $(CC) $(SRC) $(CFLAGS) $(LDFLAGS) -o $(EXE) LzmaDec.o tinflate.o
|
||||
+$(EXE): LzmaDec.o tinflate.o
|
||||
|
||||
install:
|
||||
install -m 755 -d $(BINDIR)
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- a/usr/bin/dvdsfunctions
|
||||
+++ b/usr/bin/dvdsfunctions
|
||||
@@ -1933,7 +1933,7 @@
|
||||
if ! ((`ps -C xdvdshrink.pl > /dev/null 2>&1`)); then GUI=1; fi
|
||||
SAVEISO=0 # Save an ISO along with the burn(s)
|
||||
|
||||
- APPDIR=/usr/share/applications/dvdshrink
|
||||
+ APPDIR=/usr/share/dvdshrink
|
||||
}
|
||||
|
||||
# Build a minimal but usable XML file for 'dvdauthor'
|
||||
--- a/usr/bin/xdvdshrink.pl
|
||||
+++ b/usr/bin/xdvdshrink.pl
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
my $login = getlogin || getpwuid($<); # Userid of current user
|
||||
my $homedir = "/home/" . $login; # Home dir of current user
|
||||
-my $app_dir = "/usr/share/applications/dvdshrink";
|
||||
+my $app_dir = "/usr/share/dvdshrink";
|
||||
my $false = 0; # A 'false'
|
||||
my $true = 1; # A 'true'
|
||||
my $srunning = 0; # Is the bash script running
|
@ -0,0 +1,32 @@
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -6,28 +6,14 @@
|
||||
optimizers/BestFit.cc optimizers/Split.cc \
|
||||
util/CmdLineParser.cc
|
||||
|
||||
-INCLUDES = -I/usr/local/include -I.
|
||||
-CXX = g++
|
||||
-CXXFLAGS = -O3 -Wno-long-long $(INCLUDES)
|
||||
-LIBPATH =
|
||||
-LIBS =
|
||||
-LDFLAGS = $(LIBPATH) $(LIBS)
|
||||
-
|
||||
###########################################################################
|
||||
|
||||
OBJS = $(CPPFILES:.cc=.o)
|
||||
|
||||
-.SUFFIXES: .o .cc
|
||||
-
|
||||
-.cc.o:
|
||||
- @echo $<:
|
||||
- $(CXX) $(CXXFLAGS) -c $*.cc -o $*.o
|
||||
-
|
||||
default: gaffitter
|
||||
|
||||
|
||||
-gaffitter: $(OBJS) gaffitter.cc Params.h
|
||||
- $(CXX) $(CXXFLAGS) $@.cc $(OBJS) -o $@ $(LDFLAGS)
|
||||
+gaffitter: $(OBJS) Params.h
|
||||
###########################################################################
|
||||
|
||||
objs: $(OBJS)
|
Binary file not shown.
@ -1,20 +1,19 @@
|
||||
--- codegroup-20080907/work/Makefile
|
||||
+++ codegroup-20080907/work/Makefile
|
||||
@@ -1,6 +1,7 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,6 +1,5 @@
|
||||
|
||||
PROGS = codegroup
|
||||
-CFLAGS = -O -Wall
|
||||
+CFLAGS =
|
||||
+LDFLAGS =
|
||||
PAGER = more
|
||||
|
||||
all: $(PROGS)
|
||||
@@ -9,7 +10,7 @@
|
||||
@@ -8,9 +7,6 @@
|
||||
clean:
|
||||
rm -f $(PROGS) *.o *.bak *.zip core code.* *.out
|
||||
|
||||
codegroup: codegroup.o
|
||||
-codegroup: codegroup.o
|
||||
- $(CC) codegroup.o -o codegroup $(CFLAGS)
|
||||
+ $(CC) codegroup.o -o codegroup $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
-
|
||||
# Create zipped archive
|
||||
|
||||
RELFILES = Makefile codegroup.1 codegroup.c \
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST kbfs-1.0.36.tar.gz 5135197 BLAKE2B a0d40048d11347a72ac9fedb358be7bd8d425e9eafc32fce44e75583aa75fde00bee62d81e7d4bc1553aec3f72ca3af1dffd1ef710d897ce28cb26d152eab4aa SHA512 eb50c4fdd07e0d0e0bd62c48a60520fe48a6b64d97e6ac561d0c567e50c4863f9969697f78553360e6b42776af4974b086bd0be75db6de4c28a5c4a840725919
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Keybase Filesystem (KBFS)"
|
||||
HOMEPAGE="https://keybase.io/docs/kbfs"
|
||||
SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="git"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.6:0
|
||||
>=app-crypt/keybase-1.0.36
|
||||
"
|
||||
RDEPEND="
|
||||
app-crypt/gnupg
|
||||
sys-fs/fuse
|
||||
"
|
||||
|
||||
S="${WORKDIR}/src/github.com/keybase/kbfs"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
mkdir -p "$(dirname "${S}")" || die
|
||||
mv "kbfs-${PV}" "${S}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}" \
|
||||
go build -v -x \
|
||||
-tags production \
|
||||
-o "${T}/kbfsfuse" \
|
||||
github.com/keybase/kbfs/kbfsfuse
|
||||
use git && \
|
||||
GOPATH="${WORKDIR}" \
|
||||
go build -v -x \
|
||||
-tags production \
|
||||
-o "${T}/git-remote-keybase" \
|
||||
github.com/keybase/kbfs/kbfsgit/git-remote-keybase
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${T}/kbfsfuse"
|
||||
use git && \
|
||||
dobin "${T}/git-remote-keybase"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST keybase-1.0.21.tar.gz 21127410 BLAKE2B 9f48b637aefa847ae5737937ed6bc3d9b7d222cda3ce5a388784104655092c1ad5fe0468680a1e0a02f5a7ea4fac1fb8e19430c9e4c3d542057953219976cd02 SHA512 60801ece5dc0df9f0da58143baf00729e1a79183d2b8209c405749f422dd8cecf7f4059e0799c88ca6e3f1e5a7ad8bd6805dd2401b0945954c6b1465c04974b5
|
||||
DIST keybase-1.0.33.tar.gz 29170354 BLAKE2B 78799ea49cde32e3c1be781e281b5ca188f7a5d846fcb7e41605d6e2526bc4e36f6ef991567631e9c72eeb6b194ebec740516e886f4af419b01e47622f030c42 SHA512 d02933e88613102e27a4aa5f2494ae2b55456cab8c5cadad9c412069b24c574a20609fc83b88bc8f9aa00bfd300822bc4c882392f65fec3e7a8056cebc6fb9d4
|
||||
DIST keybase-1.0.36.tar.gz 30043919 BLAKE2B 0053088754b0a4a47314032e87a7c5165aff59ded585ae20fb12c3dbf0c7437f7f0370f236fec0db501cacb3a75e87ed494df8f688d360c58904e851eb119f60 SHA512 c6bd4805240bdafd27eac382a30fac6e5ac3e6eb313dda027533c3a8f366077c894b38c1b972ff5688104e1ca4231cbf4242eeb168de9782bbac732da5639ed0
|
||||
DIST keybase-1.0.39.tar.gz 30226025 BLAKE2B 5d10e4afe3f0f1691221cbf69ff3e427fe318768e74f5891d32416e92ad5c1c45ad3ff0c83ea2d2405f4492a2d2af989ff587c60c9a5677ae580c9502e9a5726 SHA512 def416bad6fc3513a3341aecaf03bce356a890667e4c64f9edc1c469b3a1f167c3022f6c1aabaa48257983aaa9826b45117ada6cc26bf862c97092c904cd32f1
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="Client for keybase.io"
|
||||
HOMEPAGE="https://keybase.io/"
|
||||
SRC_URI="https://github.com/keybase/client/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.6:0"
|
||||
RDEPEND="
|
||||
app-crypt/gnupg"
|
||||
|
||||
S="${WORKDIR}/src/github.com/keybase/client"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
mkdir -p "$(dirname "${S}")" || die
|
||||
mv "client-${MY_PV}" "${S}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}:${S}/go/vendor" \
|
||||
go build -v -x \
|
||||
-tags production \
|
||||
-o "${T}/keybase" \
|
||||
github.com/keybase/client/go/keybase || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${T}/keybase"
|
||||
dobin "${S}/packaging/linux/run_keybase"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Run the service: keybase service"
|
||||
elog "Run the client: keybase login"
|
||||
}
|
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
diff -r -U2 root-6.04.06/documentation/primer/template.tex root-6.04.06_new/documentation/primer/template.tex
|
||||
--- root-6.04.06/documentation/primer/template.tex 2015-10-13 12:41:18.000000000 +0200
|
||||
+++ root-6.04.06_new/documentation/primer/template.tex 2015-12-22 20:38:25.454396212 +0100
|
||||
@@ -130,4 +130,6 @@
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
+\providecommand{\tightlist}{%
|
||||
+ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
$if(numbersections)$
|
||||
\setcounter{secnumdepth}{5}
|
||||
Only in root-6.04.06_new/documentation/primer: template.tex~
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST kile-2.1.3.tar.bz2 4911212 BLAKE2B 5cbfb1853bdb1f35c8e53988265a7a1e1181b27f40aeed59524736195d568e42ee88ee17215c3ed83eb37c8ec3f67a29dea141c0c7fca31c0be444b975c64df2 SHA512 820cb5e2579f243ce87409aa4d483a58b0a2cf1d86bff72dd12264570bfe72e7819c88aa4333080f8281e54e8315e2c11f961b41f13a6215913dfa4f7bd3feda
|
||||
DIST kile-2.9.91_p20171202.tar.gz 3624137 BLAKE2B ee2906a7345826428b7248eb1588a7cbfa43100f537f6ae316d4a425bf11fcfca19df016726934a7fb3c01094a3e824f20f511ee509683b0fc9c84c2d8db75af SHA512 1a08a4c3d71dddf66e1bb68000d3bb9ae458eb985d08d90b89d595993be277c09f37833bd77097716091c4701fcf3750da77f7f720995bcea4bb4bd6c065d691
|
||||
DIST kile-2.9.91_p20171209.tar.gz 3624273 BLAKE2B d6e4798869b8f5be7a2a6b00b1b067957245373f560a7485334ce1f3f932670a0cb8ef0b551fde2eea1d54a6114e8405025dbd3daea587a2d30b74fe614d332e SHA512 b7e4a6e434057cf04e8712f543cdd74a40659843b1e2777d0a031b5a665e1de34e36ec9b3f5d9bd3bf9202f9dca8595fcee9a81ab4875bc4b6da3a2fb449b2c6
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST NeXT_XEmacs.tar.gz 39571 BLAKE2B 7abf17627ec34e6b0d0edde444028c46dca6d703cfa208a8a1eaf30e2fc2543b953c9a9582c3d55bd5b37e746f45c03ebfc408a0d965606e45d5f4adb9148dea SHA512 611ddbbf5be3d2274e7f76be7f8200c6c7f3cba917efcc24e73685aa5f61c94237e6e48ce66f2d59ee4b74862e686f3ea7a29cf006717d5d0674db24d243d566
|
||||
DIST xemacs-21.4.22.tar.gz 8357931 BLAKE2B 257a624f2709a883d1b5c54939b332af0ba4a993faab1c5766dd18a6a0ca0ec8d26fbc44911e234c3131b73b22da132f5e09f0593dcfdf973c6c9e62e71d0b58 SHA512 7ddd91f8d1a1b9f6d984a5bfddd98705dd6f7e3d6b4f81c1e03d971c93e33bff09b641bc2ad0a0d9d2e44170063550ad0399f3e28237dd34b8ad6200d8b197e8
|
||||
DIST xemacs-21.4.24.tar.gz 8543879 BLAKE2B d7e60e4e053a10bfc4591a5d691c849ef5e5436f6951c801f5a169592b160669d0f6b9dc8f10b6b79889a3210de977ed78a5cea826c02e425495364745ef9e10 SHA512 b7a88d5a4a9f74f74c2067ed60f7ea87ac8ccad5d9c2c1033ecf07f540250191f8fa5f9e6d23d9fedd0f2ab1eb5ea6c29a7665a310ec512d85e2e4f337447213
|
||||
DIST xemacs-21.5.34.tar.gz 15816932 BLAKE2B e3be282717b91308c94d3d4bee74527d0b31ea5019e8ac38a62385d2ffd6f684c9e4eaf37c025db5e48a4c8f82d165fcc5258e49934c094cb66e0655d27c3e7d SHA512 b61d88fe530a77b88c2ed0cecd6597ed3c265450bc61f7c6823920f774b2d566ef6fc18a6c33928d846d08d465617d4ccd3c4656606ec8634127a683abbc929a
|
||||
|
@ -1,33 +0,0 @@
|
||||
Index: emodules.texi
|
||||
===================================================================
|
||||
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/emodules.texi,v
|
||||
retrieving revision 1.2.2.2
|
||||
diff -u -B -r1.2.2.2 emodules.texi
|
||||
--- man/emodules.texi 2002/08/20 11:35:22 1.2.2.2
|
||||
+++ man/emodules.texi 2006/12/09 14:21:22
|
||||
@@ -3,6 +3,9 @@
|
||||
@c %**start of header
|
||||
@setfilename ../info/emodules.info
|
||||
@settitle Extending Emacs using C Modules
|
||||
+@direntry
|
||||
+* Emodules: (emodules). XEmacs dynamically loadable module support.
|
||||
+@end direntry
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
Index: external-widget.texi
|
||||
===================================================================
|
||||
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/external-widget.texi,v
|
||||
retrieving revision 1.3.2.1
|
||||
diff -u -B -r1.3.2.1 external-widget.texi
|
||||
--- man/external-widget.texi 2002/04/30 16:06:06 1.3.2.1
|
||||
+++ man/external-widget.texi 2006/12/09 14:21:22
|
||||
@@ -4,7 +4,7 @@
|
||||
@ifinfo
|
||||
@dircategory XEmacs Editor
|
||||
@direntry
|
||||
-* External Widget: (external-widget) External Client Widget.
|
||||
+* External Widget: (external-widget). External Client Widget.
|
||||
@end direntry
|
||||
@end ifinfo
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- lib-src/vcdiff.~1~ 1996-12-18 23:42:33.000000000 +0100
|
||||
+++ lib-src/vcdiff 2008-04-09 08:20:36.000000000 +0200
|
||||
@@ -79,14 +79,14 @@
|
||||
case $f in
|
||||
s.* | */s.*)
|
||||
if
|
||||
- rev1=/tmp/geta$$
|
||||
+ rev1=`mktemp /tmp/geta.XXXXXXXX`
|
||||
get -s -p -k $sid1 "$f" > $rev1 &&
|
||||
case $sid2 in
|
||||
'')
|
||||
workfile=`expr " /$f" : '.*/s.\(.*\)'`
|
||||
;;
|
||||
*)
|
||||
- rev2=/tmp/getb$$
|
||||
+ rev2=`mktemp /tmp/getb.XXXXXXXX`
|
||||
get -s -p -k $sid2 "$f" > $rev2
|
||||
workfile=$rev2
|
||||
esac
|
@ -1,18 +0,0 @@
|
||||
Patch to include depracated LDAP symbols, specifically
|
||||
ldap_open. Without the proper prototype the call will almost surely
|
||||
lead to crashes on 64-bit arches otherwise. Thanks to hwoareng for the
|
||||
initial bug report.
|
||||
|
||||
Not reported upstream since bug tracker is down.
|
||||
|
||||
--- src/eldap.h.~1~ 2001-04-12 20:23:36.000000000 +0200
|
||||
+++ src/eldap.h 2010-09-28 19:53:34.148472315 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
#ifndef INCLUDED_eldap_h_
|
||||
#define INCLUDED_eldap_h_
|
||||
|
||||
+#define LDAP_DEPRECATED 1
|
||||
+
|
||||
#include <lber.h>
|
||||
#include <ldap.h>
|
||||
|
@ -1,122 +0,0 @@
|
||||
PATCH 21.4
|
||||
|
||||
Here is the 21.4 version of the previous patch. The lisp.h hunk is a
|
||||
little ugly. Recommendations on how to deal with the absence of
|
||||
UINT_64_T in 21.4 are welcome.
|
||||
|
||||
Index: src/glyphs-eimage.c
|
||||
===================================================================
|
||||
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/glyphs-eimage.c,v
|
||||
retrieving revision 1.9.2.5
|
||||
diff -d -u -r1.9.2.5 glyphs-eimage.c
|
||||
--- src/glyphs-eimage.c 2007/08/20 19:52:28 1.9.2.5
|
||||
+++ src/glyphs-eimage.c 2009/07/01 22:36:04
|
||||
@@ -407,6 +407,7 @@
|
||||
*/
|
||||
|
||||
{
|
||||
+ UINT_64_BIT pixels_sq;
|
||||
int jpeg_gray = 0; /* if we're dealing with a grayscale */
|
||||
/* Step 4: set parameters for decompression. */
|
||||
|
||||
@@ -429,7 +430,10 @@
|
||||
jpeg_start_decompress (&cinfo);
|
||||
|
||||
/* Step 6: Read in the data and put into EImage format (8bit RGB triples)*/
|
||||
-
|
||||
+ pixels_sq =
|
||||
+ (UINT_64_BIT) cinfo.output_width * (UINT_64_BIT) cinfo.output_height;
|
||||
+ if (pixels_sq > ((size_t) -1) / 3)
|
||||
+ signal_image_error ("JPEG image too large to instantiate", instantiator);
|
||||
unwind.eimage = (unsigned char*) xmalloc (cinfo.output_width * cinfo.output_height * 3);
|
||||
if (!unwind.eimage)
|
||||
signal_image_error("Unable to allocate enough memory for image", instantiator);
|
||||
@@ -671,6 +675,7 @@
|
||||
{
|
||||
ColorMapObject *cmo = unwind.giffile->SColorMap;
|
||||
int i, j, row, pass, interlace, slice;
|
||||
+ UINT_64_BIT pixels_sq;
|
||||
unsigned char *eip;
|
||||
/* interlaced gifs have rows in this order:
|
||||
0, 8, 16, ..., 4, 12, 20, ..., 2, 6, 10, ..., 1, 3, 5, ... */
|
||||
@@ -679,6 +684,9 @@
|
||||
|
||||
height = unwind.giffile->SHeight;
|
||||
width = unwind.giffile->SWidth;
|
||||
+ pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
|
||||
+ if (pixels_sq > ((size_t) -1) / (3 * unwind.giffile->ImageCount))
|
||||
+ signal_image_error ("GIF image too large to instantiate", instantiator);
|
||||
unwind.eimage = (unsigned char*)
|
||||
xmalloc (width * height * 3 * unwind.giffile->ImageCount);
|
||||
if (!unwind.eimage)
|
||||
@@ -937,11 +945,15 @@
|
||||
{
|
||||
int y;
|
||||
unsigned char **row_pointers;
|
||||
+ UINT_64_BIT pixels_sq;
|
||||
height = info_ptr->height;
|
||||
width = info_ptr->width;
|
||||
+ pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
|
||||
+ if (pixels_sq > ((size_t) -1) / 3)
|
||||
+ signal_image_error ("PNG image too large to instantiate", instantiator);
|
||||
|
||||
/* Wow, allocate all the memory. Truly, exciting. */
|
||||
- unwind.eimage = xnew_array_and_zero (unsigned char, width * height * 3);
|
||||
+ unwind.eimage = xnew_array_and_zero (unsigned char, pixels_sq * 3);
|
||||
/* libpng expects that the image buffer passed in contains a
|
||||
picture to draw on top of if the png has any transparencies.
|
||||
This could be a good place to pass that in... */
|
||||
@@ -994,7 +1006,7 @@
|
||||
png_set_expand (png_ptr);
|
||||
/* send grayscale images to RGB too */
|
||||
if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY ||
|
||||
- info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||
+ info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||
png_set_gray_to_rgb (png_ptr);
|
||||
/* we can't handle alpha values */
|
||||
if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA)
|
||||
@@ -1268,6 +1280,7 @@
|
||||
|
||||
uint32 *raster;
|
||||
unsigned char *ep;
|
||||
+ UINT_64_BIT pixels_sq;
|
||||
|
||||
assert (!NILP (data));
|
||||
|
||||
@@ -1290,12 +1303,15 @@
|
||||
|
||||
TIFFGetField (unwind.tiff, TIFFTAG_IMAGEWIDTH, &width);
|
||||
TIFFGetField (unwind.tiff, TIFFTAG_IMAGELENGTH, &height);
|
||||
- unwind.eimage = (unsigned char *) xmalloc (width * height * 3);
|
||||
+ pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
|
||||
+ if (pixels_sq >= 1 << 29)
|
||||
+ signal_image_error ("TIFF image too large to instantiate", instantiator);
|
||||
+ unwind.eimage = (unsigned char *) xmalloc (pixels_sq * 3);
|
||||
|
||||
/* #### This is little more than proof-of-concept/function testing.
|
||||
It needs to be reimplemented via scanline reads for both memory
|
||||
compactness. */
|
||||
- raster = (uint32*) _TIFFmalloc (width * height * sizeof (uint32));
|
||||
+ raster = (uint32*) _TIFFmalloc ((tsize_t) (pixels_sq * sizeof (uint32)));
|
||||
if (raster != NULL)
|
||||
{
|
||||
int i,j;
|
||||
Index: src/lisp.h
|
||||
===================================================================
|
||||
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/lisp.h,v
|
||||
retrieving revision 1.45.2.10
|
||||
diff -d -u -r1.45.2.10 lisp.h
|
||||
--- src/lisp.h 2005/02/01 03:55:02 1.45.2.10
|
||||
+++ src/lisp.h 2009/07/01 22:36:05
|
||||
@@ -265,6 +265,11 @@
|
||||
/*#define REGISTER register*/
|
||||
/*#endif*/
|
||||
|
||||
+#if SIZEOF_LONG == 8
|
||||
+#define UINT_64_BIT unsigned long
|
||||
+#elif SIZEOF_LONG_LONG == 8
|
||||
+#define UINT_64_BIT unsigned long long
|
||||
+#endif
|
||||
|
||||
/* EMACS_INT is the underlying integral type into which a Lisp_Object must fit.
|
||||
In particular, it must be large enough to contain a pointer.
|
@ -1,66 +0,0 @@
|
||||
diff -ur xemacs-21.4.22.orig/src/glyphs-eimage.c xemacs-21.4.22/src/glyphs-eimage.c
|
||||
--- xemacs-21.4.22.orig/src/glyphs-eimage.c 2011-09-26 19:44:57.889720996 +0300
|
||||
+++ xemacs-21.4.22/src/glyphs-eimage.c 2011-09-26 19:48:07.026226254 +0300
|
||||
@@ -946,8 +946,8 @@
|
||||
int y;
|
||||
unsigned char **row_pointers;
|
||||
UINT_64_BIT pixels_sq;
|
||||
- height = info_ptr->height;
|
||||
- width = info_ptr->width;
|
||||
+ height = png_get_image_height(png_ptr, info_ptr);
|
||||
+ width = png_get_image_width(png_ptr, info_ptr);
|
||||
pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
|
||||
if (pixels_sq > ((size_t) -1) / 3)
|
||||
signal_image_error ("PNG image too large to instantiate", instantiator);
|
||||
@@ -1002,22 +1002,22 @@
|
||||
/* Now that we're using EImage, ask for 8bit RGB triples for any type
|
||||
of image*/
|
||||
/* convert palette images to full RGB */
|
||||
- if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
|
||||
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_PALETTE)
|
||||
png_set_expand (png_ptr);
|
||||
/* send grayscale images to RGB too */
|
||||
- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY ||
|
||||
- info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY ||
|
||||
+ png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||
png_set_gray_to_rgb (png_ptr);
|
||||
/* we can't handle alpha values */
|
||||
- if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA)
|
||||
+ if (png_get_color_type(png_ptr, info_ptr) & PNG_COLOR_MASK_ALPHA)
|
||||
png_set_strip_alpha (png_ptr);
|
||||
/* tell libpng to strip 16 bit depth files down to 8 bits */
|
||||
- if (info_ptr->bit_depth == 16)
|
||||
+ if (png_get_bit_depth(png_ptr, info_ptr) == 16)
|
||||
png_set_strip_16 (png_ptr);
|
||||
/* if the image is < 8 bits, pad it out */
|
||||
- if (info_ptr->bit_depth < 8)
|
||||
+ if (png_get_bit_depth(png_ptr, info_ptr) < 8)
|
||||
{
|
||||
- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY)
|
||||
+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY)
|
||||
png_set_expand (png_ptr);
|
||||
else
|
||||
png_set_packing (png_ptr);
|
||||
@@ -1036,16 +1036,18 @@
|
||||
*/
|
||||
{
|
||||
int i;
|
||||
+ png_textp text;
|
||||
+ int num_text;
|
||||
|
||||
- for (i = 0 ; i < info_ptr->num_text ; i++)
|
||||
+ for (i = 0 ; i < num_text ; i++)
|
||||
{
|
||||
/* How paranoid do I have to be about no trailing NULLs, and
|
||||
using (int)info_ptr->text[i].text_length, and strncpy and a temp
|
||||
string somewhere? */
|
||||
|
||||
warn_when_safe (Qpng, Qinfo, "%s - %s",
|
||||
- info_ptr->text[i].key,
|
||||
- info_ptr->text[i].text);
|
||||
+ text[i].key,
|
||||
+ text[i].text);
|
||||
}
|
||||
}
|
||||
#endif
|
@ -1,437 +0,0 @@
|
||||
--- xemacs-21.4.22-orig/man/custom.texi
|
||||
+++ xemacs-21.4.22/man/custom.texi
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
@node Declaring Groups, Declaring Variables, Top, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Declaring Groups
|
||||
+@chapter Declaring Groups
|
||||
|
||||
Use @code{defgroup} to declare new customization groups.
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
@node Declaring Variables, Declaring Faces, Declaring Groups, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Declaring Variables
|
||||
+@chapter Declaring Variables
|
||||
|
||||
Use @code{defcustom} to declare user editable variables.
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
|
||||
@node Declaring Faces, Usage for Package Authors, Declaring Variables, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Declaring Faces
|
||||
+@chapter Declaring Faces
|
||||
|
||||
Faces are declared with @code{defface}.
|
||||
|
||||
@@ -228,7 +228,7 @@
|
||||
|
||||
@node Usage for Package Authors, Utilities, Declaring Faces, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Usage for Package Authors
|
||||
+@chapter Usage for Package Authors
|
||||
|
||||
The recommended usage for the author of a typical emacs lisp package is
|
||||
to create one group identifying the package, and make all user options
|
||||
@@ -244,7 +244,7 @@
|
||||
|
||||
@node Utilities, The Init File, Usage for Package Authors, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Utilities
|
||||
+@chapter Utilities
|
||||
|
||||
These utilities can come in handy when adding customization support.
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
|
||||
@node The Init File, Wishlist, Utilities, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section The Init File
|
||||
+@chapter The Init File
|
||||
|
||||
Customizations are saved to the file specified by @code{custom-file}, as
|
||||
calls to @code{custom-set-variables} and @code{custom-set-faces}.
|
||||
@@ -299,7 +299,7 @@
|
||||
|
||||
@node Wishlist, , The Init File, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Wishlist
|
||||
+@chapter Wishlist
|
||||
|
||||
@itemize @bullet
|
||||
@item
|
||||
--- xemacs-21.4.22-orig/man/info.texi
|
||||
+++ xemacs-21.4.22/man/info.texi
|
||||
@@ -543,6 +543,10 @@
|
||||
@c If a menu appears at the end of this node, remove it.
|
||||
@c It is an accident of the menu updating command.
|
||||
|
||||
+@menu
|
||||
+* Help-Cross::
|
||||
+@end menu
|
||||
+
|
||||
@node Help-Cross, , , Help-Adv
|
||||
@subsection The node reached by the cross reference in Info
|
||||
|
||||
--- xemacs-21.4.22-orig/man/lispref/edebug-inc.texi
|
||||
+++ xemacs-21.4.22/man/lispref/edebug-inc.texi
|
||||
@@ -1103,7 +1103,7 @@
|
||||
Here is a table of the possibilities for @var{specification} and how each
|
||||
directs processing of arguments.
|
||||
|
||||
-@table @bullet
|
||||
+@table @asis
|
||||
|
||||
@item @code{t}
|
||||
All arguments are instrumented for evaluation.
|
||||
--- xemacs-21.4.22-orig/man/lispref/packaging.texi
|
||||
+++ xemacs-21.4.22/man/lispref/packaging.texi
|
||||
@@ -600,7 +600,7 @@
|
||||
Does most of the work. Builds the elcs, infos at a minimum.
|
||||
@end table
|
||||
|
||||
-@subsection The targets that most people would be interested in would be:
|
||||
+@section The targets that most people would be interested in would be:
|
||||
|
||||
@itemize @bullet
|
||||
@item @code{all}
|
||||
--- xemacs-21.4.22-orig/man/term.texi
|
||||
+++ xemacs-21.4.22/man/term.texi
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
@titlepage
|
||||
@sp 6
|
||||
-@center @titlefont(Notes about Emacs TERM Mode)
|
||||
+@center @titlefont{Notes about Emacs TERM Mode}
|
||||
@end titlepage
|
||||
|
||||
@ifinfo
|
||||
--- xemacs-21.4.22-orig/man/widget.texi
|
||||
+++ xemacs-21.4.22/man/widget.texi
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
@node Introduction, User Interface, Top, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Introduction
|
||||
+@chapter Introduction
|
||||
|
||||
Most graphical user interface toolkits, such as Motif and XView, provide
|
||||
a number of standard user interface controls (sometimes known as
|
||||
@@ -129,7 +129,7 @@
|
||||
|
||||
@node User Interface, Programming Example, Introduction, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section User Interface
|
||||
+@chapter User Interface
|
||||
|
||||
A form consists of read only text for documentation and some fields,
|
||||
where each of the fields contains two parts, a tag and a value. The
|
||||
@@ -175,7 +175,7 @@
|
||||
a form, namely editing the editable text fields and activating the
|
||||
buttons.
|
||||
|
||||
-@subsection Editable Text Fields
|
||||
+@section Editable Text Fields
|
||||
|
||||
In the example, the value for the @samp{Name} is most likely displayed
|
||||
in an editable text field, and so are values for each of the members of
|
||||
@@ -194,7 +194,7 @@
|
||||
Face used for other editing fields.
|
||||
@end deffn
|
||||
|
||||
-@subsection Buttons
|
||||
+@section Buttons
|
||||
|
||||
Some portions of the buffer have an associated @dfn{action}, which can
|
||||
be @dfn{invoked} by a standard key or mouse command. These portions
|
||||
@@ -259,7 +259,7 @@
|
||||
Face used for buttons when the mouse pointer is above it.
|
||||
@end defopt
|
||||
|
||||
-@subsection Navigation
|
||||
+@section Navigation
|
||||
|
||||
You can use all the normal Emacs commands to move around in a form
|
||||
buffer, plus you will have these additional commands:
|
||||
@@ -277,7 +277,7 @@
|
||||
|
||||
@node Programming Example, Setting Up the Buffer, User Interface, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Programming Example
|
||||
+@chapter Programming Example
|
||||
|
||||
Here is the code to implement the user interface example (see @ref{User
|
||||
Interface}).
|
||||
@@ -369,7 +369,7 @@
|
||||
|
||||
@node Setting Up the Buffer, Basic Types, Programming Example, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Setting Up the Buffer
|
||||
+@chapter Setting Up the Buffer
|
||||
|
||||
Widgets are created with @code{widget-create}, which returns a
|
||||
@dfn{widget} object. This object can be queried and manipulated by
|
||||
@@ -422,7 +422,7 @@
|
||||
|
||||
@node Basic Types, Sexp Types, Setting Up the Buffer, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Basic Types
|
||||
+@chapter Basic Types
|
||||
|
||||
The syntax of a type specification is given below:
|
||||
|
||||
@@ -635,7 +635,7 @@
|
||||
|
||||
@node link, url-link, Basic Types, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{link} Widget
|
||||
+@section The @code{link} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -659,7 +659,7 @@
|
||||
|
||||
@node url-link, info-link, link, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{url-link} Widget
|
||||
+@section The @code{url-link} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -672,7 +672,7 @@
|
||||
|
||||
@node info-link, push-button, url-link, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{info-link} Widget
|
||||
+@section The @code{info-link} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -685,7 +685,7 @@
|
||||
|
||||
@node push-button, editable-field, info-link, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{push-button} Widget
|
||||
+@section The @code{push-button} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -709,7 +709,7 @@
|
||||
|
||||
@node editable-field, text, push-button, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{editable-field} Widget
|
||||
+@section The @code{editable-field} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -753,7 +753,7 @@
|
||||
|
||||
@node text, menu-choice, editable-field, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{text} Widget
|
||||
+@section The @code{text} Widget
|
||||
|
||||
This is just like @code{editable-field}, but intended for multiline text
|
||||
fields. The default @code{:keymap} is @code{widget-text-keymap}, which
|
||||
@@ -761,7 +761,7 @@
|
||||
|
||||
@node menu-choice, radio-button-choice, text, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{menu-choice} Widget
|
||||
+@section The @code{menu-choice} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -796,7 +796,7 @@
|
||||
|
||||
@node radio-button-choice, item, menu-choice, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{radio-button-choice} Widget
|
||||
+@section The @code{radio-button-choice} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -856,7 +856,7 @@
|
||||
|
||||
@node item, choice-item, radio-button-choice, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{item} Widget
|
||||
+@section The @code{item} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -870,7 +870,7 @@
|
||||
|
||||
@node choice-item, toggle, item, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{choice-item} Widget
|
||||
+@section The @code{choice-item} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -886,7 +886,7 @@
|
||||
|
||||
@node toggle, checkbox, choice-item, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{toggle} Widget
|
||||
+@section The @code{toggle} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -914,7 +914,7 @@
|
||||
|
||||
@node checkbox, checklist, toggle, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{checkbox} Widget
|
||||
+@section The @code{checkbox} Widget
|
||||
|
||||
The widget has two possible states, `selected' and `unselected', which
|
||||
corresponds to a @code{t} or @code{nil} value.
|
||||
@@ -927,7 +927,7 @@
|
||||
|
||||
@node checklist, editable-list, checkbox, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{checklist} Widget
|
||||
+@section The @code{checklist} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -978,7 +978,7 @@
|
||||
|
||||
@node editable-list, group, checklist, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{editable-list} Widget
|
||||
+@section The @code{editable-list} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -1030,7 +1030,7 @@
|
||||
|
||||
@node group, , editable-list, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{group} Widget
|
||||
+@section The @code{group} Widget
|
||||
|
||||
This widget simply groups other widgets together.
|
||||
|
||||
@@ -1044,7 +1044,7 @@
|
||||
|
||||
@node Sexp Types, Widget Properties, Basic Types, Top
|
||||
@comment
|
||||
-@section Sexp Types
|
||||
+@chapter Sexp Types
|
||||
|
||||
A number of widgets for editing s-expressions (lisp types) are also
|
||||
available. These basically fall in the following categories.
|
||||
@@ -1058,7 +1058,7 @@
|
||||
|
||||
@node constants, generic, Sexp Types, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The Constant Widgets.
|
||||
+@section The Constant Widgets.
|
||||
|
||||
The @code{const} widget can contain any lisp expression, but the user is
|
||||
prohibited from editing it, which is mainly useful as a component of one
|
||||
@@ -1094,7 +1094,7 @@
|
||||
|
||||
@node generic, atoms, constants, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection Generic Sexp Widget.
|
||||
+@section Generic Sexp Widget.
|
||||
|
||||
The @code{sexp} widget can contain any lisp expression, and allows the
|
||||
user to edit it inline in the buffer.
|
||||
@@ -1115,7 +1115,7 @@
|
||||
|
||||
@node atoms, composite, generic, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection Atomic Sexp Widgets.
|
||||
+@section Atomic Sexp Widgets.
|
||||
|
||||
The atoms are s-expressions that does not consist of other
|
||||
s-expressions. A string is an atom, while a list is a composite type.
|
||||
@@ -1192,7 +1192,7 @@
|
||||
|
||||
@node composite, , atoms, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection Composite Sexp Widgets.
|
||||
+@section Composite Sexp Widgets.
|
||||
|
||||
The syntax for the composite are
|
||||
|
||||
@@ -1265,7 +1265,7 @@
|
||||
|
||||
@node Widget Properties, Defining New Widgets, Sexp Types, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Properties
|
||||
+@chapter Properties
|
||||
|
||||
You can examine or set the value of a widget by using the widget object
|
||||
that was returned by @code{widget-create}.
|
||||
@@ -1353,7 +1353,7 @@
|
||||
|
||||
@node Defining New Widgets, Widget Browser, Widget Properties, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Defining New Widgets
|
||||
+@chapter Defining New Widgets
|
||||
|
||||
You can define specialized widgets with @code{define-widget}. It allows
|
||||
you to create a shorthand for more complex widgets. This includes
|
||||
@@ -1565,7 +1565,7 @@
|
||||
|
||||
@node Widget Browser, Widget Minor Mode, Defining New Widgets, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Widget Browser
|
||||
+@chapter Widget Browser
|
||||
|
||||
There is a separate package to browse widgets. This is intended to help
|
||||
programmers who want to examine the content of a widget. The browser
|
||||
@@ -1589,7 +1589,7 @@
|
||||
|
||||
@node Widget Minor Mode, Utilities, Widget Browser, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Widget Minor Mode
|
||||
+@chapter Widget Minor Mode
|
||||
|
||||
There is a minor mode for manipulating widgets in major modes that
|
||||
doesn't provide any support for widgets themselves. This is mostly
|
||||
@@ -1606,7 +1606,7 @@
|
||||
|
||||
@node Utilities, Widget Wishlist, Widget Minor Mode, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Utilities.
|
||||
+@chapter Utilities.
|
||||
|
||||
@defun widget-prompt-value widget prompt [ value unbound ]
|
||||
Prompt for a value matching @var{widget}, using @var{prompt}.@*
|
||||
@@ -1621,7 +1621,7 @@
|
||||
|
||||
@node Widget Wishlist, Widget Internals, Utilities, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Wishlist
|
||||
+@chapter Wishlist
|
||||
|
||||
@itemize @bullet
|
||||
@item
|
||||
@@ -1693,7 +1693,7 @@
|
||||
@end itemize
|
||||
|
||||
@node Widget Internals, , Widget Wishlist, Top
|
||||
-@section Internals
|
||||
+@chapter Internals
|
||||
|
||||
This (very brief!) section provides a few notes on the internal
|
||||
structure and implementation of Emacs widgets. Avoid relying on this
|
||||
@@ -1701,7 +1701,7 @@
|
||||
To the extent that it actually describes APIs, the information will be
|
||||
moved to appropriate sections of the manual in due course.
|
||||
|
||||
-@subsection The @dfn{Widget} and @dfn{Type} Structures
|
||||
+@section The @dfn{Widget} and @dfn{Type} Structures
|
||||
|
||||
Widgets and types are currently both implemented as lists.
|
||||
|
@ -1,257 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: xemacs currently does not work with a hardened profile. If you
|
||||
# want to use xemacs on a hardened profile then compile with the
|
||||
# -nopie flag in CFLAGS or help fix bug #75028.
|
||||
|
||||
EAPI="5"
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="highly customizable open source text editor and application development system"
|
||||
HOMEPAGE="http://www.xemacs.org/"
|
||||
SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
|
||||
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
|
||||
IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
|
||||
|
||||
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3 )
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-libs/openssl-0.9.6:0
|
||||
>=media-libs/audiofile-0.2.3
|
||||
gpm? ( >=sys-libs/gpm-1.19.6 )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
ldap? ( net-nds/openldap )
|
||||
nas? ( media-libs/nas )
|
||||
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
|
||||
dnd? ( x11-libs/dnd )
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
athena? ( x11-libs/libXaw )
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
xface? ( media-libs/compface )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
png? ( >=media-libs/libpng-1.2:0 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
canna? ( app-i18n/canna )
|
||||
!amd64? ( freewnn? ( app-i18n/freewnn ) )
|
||||
>=sys-libs/ncurses-5.2:=
|
||||
>=app-eselect/eselect-emacs-1.15"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PDEPEND="app-xemacs/xemacs-base
|
||||
mule? ( app-xemacs/mule-base )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
use neXt && unpack NeXT_XEmacs.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
|
||||
|
||||
# see bug 58350, 102540 and 143580
|
||||
epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
|
||||
|
||||
# Security bug #216880
|
||||
epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch
|
||||
|
||||
# Security bug #275397
|
||||
epatch "${FILESDIR}"/${P}-large-images.patch
|
||||
|
||||
# Make sure to include deprecated LDAP symbols to avoid runtime
|
||||
# crashes.
|
||||
epatch "${FILESDIR}"/${P}-deprecated-ldap.patch
|
||||
|
||||
# Fix compilation with libpng 1.5, bug 384461
|
||||
epatch "${FILESDIR}"/${P}-libpng15.patch
|
||||
|
||||
# Add texinfo-5.1 compatibility
|
||||
epatch "${FILESDIR}"/${P}-texinfo-5.patch
|
||||
|
||||
# Some binaries and man pages are installed under suffixed names
|
||||
# to avoid collions with their GNU Emacs counterparts (see below).
|
||||
# Fix internal filename references.
|
||||
sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die
|
||||
sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die
|
||||
sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die
|
||||
|
||||
# Run autoconf. XEmacs tries to be smart by providing a stub
|
||||
# configure.ac file for autoconf 2.59 but this throws our
|
||||
# autotools eclass so it must be removed first.
|
||||
rm "${S}"/configure.ac || die
|
||||
eautoconf
|
||||
|
||||
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use X; then
|
||||
|
||||
myconf="${myconf} --with-widgets=athena"
|
||||
myconf="${myconf} --with-dialogs=athena"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
myconf="${myconf} --with-scrollbars=lucid"
|
||||
if use motif ; then
|
||||
myconf="--with-widgets=motif"
|
||||
myconf="${myconf} --with-dialogs=motif"
|
||||
myconf="${myconf} --with-scrollbars=motif"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
fi
|
||||
if use athena ; then
|
||||
myconf="--with-scrollbars=athena"
|
||||
fi
|
||||
|
||||
if use Xaw3d; then
|
||||
myconf="${myconf} --with-athena=3d"
|
||||
elif use neXt; then
|
||||
myconf="${myconf} --with-athena=next"
|
||||
else
|
||||
myconf="${myconf} --with-athena=xaw"
|
||||
fi
|
||||
|
||||
use dnd && myconf="${myconf} --with-dragndrop --with-offix"
|
||||
|
||||
myconf="${myconf} $(use_with tiff ) $(use_with png )"
|
||||
myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
|
||||
else
|
||||
myconf="${myconf}
|
||||
--without-x
|
||||
--without-xpm
|
||||
--without-dragndrop
|
||||
--with-gif=no"
|
||||
fi
|
||||
|
||||
if use mule ; then
|
||||
myconf="${myconf} --with-mule"
|
||||
|
||||
if use xim ; then
|
||||
if use motif ; then
|
||||
myconf="${myconf} --with-xim=motif"
|
||||
else
|
||||
myconf="${myconf} --with-xim=xlib"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --with-xim=no"
|
||||
fi
|
||||
|
||||
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
|
||||
fi
|
||||
|
||||
# This determines the type of sounds we are playing
|
||||
local soundconf="native"
|
||||
|
||||
# This determines how these sounds should be played
|
||||
use nas && soundconf="${soundconf},nas"
|
||||
|
||||
myconf="${myconf} --with-sound=${soundconf}"
|
||||
|
||||
if use gdbm || use berkdb ; then
|
||||
use gdbm && mydb="gdbm"
|
||||
|
||||
use berkdb && mydb="${mydb},berkdb"
|
||||
|
||||
myconf="${myconf} --with-database=${mydb}"
|
||||
else
|
||||
myconf="${myconf} --without-database"
|
||||
fi
|
||||
|
||||
# fixes #21264, this should be fixed in 21.4.21 and has been fixed
|
||||
# in 21.5 for sure. Now that 21.4.21 is out there is no real
|
||||
# evidence that this indeed got fixed, so keep these exceptions
|
||||
# for now.
|
||||
use alpha && myconf="${myconf} --with-system-malloc"
|
||||
use ppc64 && myconf="${myconf} --with-system-malloc"
|
||||
use ia64 && myconf="${myconf} --with-system-malloc"
|
||||
|
||||
# Enabling modules will cause segfaults outside the XEmacs build directory
|
||||
use ia64 && myconf="${myconf} --without-modules"
|
||||
|
||||
# fixes #552044, deprecation warnings fools header detection in configure
|
||||
myconf="${myconf} --cppflags=-Wno-cpp"
|
||||
|
||||
einfo "${myconf}"
|
||||
|
||||
# Don't use econf because it uses options which this configure
|
||||
# script does not understand (like --host).
|
||||
./configure ${myconf} ${EXTRA_ECONF} \
|
||||
$(use_with gif ) \
|
||||
$(use_with gpm ) \
|
||||
$(use_with postgres postgresql ) \
|
||||
$(use_with ldap ) \
|
||||
$(use_with eolconv file-coding ) \
|
||||
$(use_with pop ) \
|
||||
--compiler=$(tc-getCC) \
|
||||
--prefix=/usr \
|
||||
--with-ncurses \
|
||||
--with-msw=no \
|
||||
--mail-locking=flock \
|
||||
--with-site-lisp=yes \
|
||||
--with-site-modules=yes \
|
||||
|| die "The configure script failed to run properly"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr \
|
||||
mandir="${D}"/usr/share/man/man1 \
|
||||
infodir="${D}"/usr/share/info \
|
||||
install gzip-el || die "emake install failed"
|
||||
|
||||
# Rename some applications installed in bin so that it is clear
|
||||
# which application installed them and so that conflicting
|
||||
# packages (emacs) can't clobber the actual applications.
|
||||
# Addresses bug #62991.
|
||||
for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do
|
||||
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
|
||||
done
|
||||
|
||||
# rename man pages
|
||||
for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do
|
||||
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
|
||||
done
|
||||
|
||||
# install base packages directories
|
||||
dodir /usr/lib/xemacs/xemacs-packages/
|
||||
dodir /usr/lib/xemacs/site-packages/
|
||||
dodir /usr/lib/xemacs/site-modules/
|
||||
dodir /usr/lib/xemacs/site-lisp/
|
||||
|
||||
if use mule;
|
||||
then
|
||||
dodir /usr/lib/xemacs/mule-packages
|
||||
fi
|
||||
|
||||
# remove extraneous info files
|
||||
cd "${D}"/usr/share/info
|
||||
rm -f dir info.info texinfo* termcap* standards*
|
||||
|
||||
cd "${S}"
|
||||
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
|
||||
dodoc "${FILESDIR}"/README.Gentoo
|
||||
|
||||
newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
|
||||
|
||||
domenu "${FILESDIR}"/${PN}.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect emacs update ifunset
|
||||
eselect gnuclient update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect emacs update ifunset
|
||||
eselect gnuclient update ifunset
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST cbrpager-0.9.20.tar.gz 157732 BLAKE2B 0f0597b5a5e26da1f6f0ef71e271b215981cbb4f9f9c63d174ca53f70469266b1d2ca0918712fd19ce2eacbc74111d7e289697740251918760a84e7a59785771 SHA512 6756ce243a4cd7496ae75ff05c8d8cd5de23b6f284b5f214812b3569df8ff9e75fa6157f3d649b30193814669a868ac61fbc1579f9793446aa9882decb9e4191
|
||||
DIST cbrpager-0.9.22.tar.gz 146216 BLAKE2B 3396328ea7e017e0cf13722cc8545ce75ccf2cbc0446d1fcebefa02527dc32e3403ed29e456507495ebc3bcd94ce6a42b9b9f574b581952d94bee1efbc2a1ef9 SHA512 dc4bcf14528e6708a3ff0fc3b7e3163dfb9d6063f1cf40545b4f804915afedd9db4cd461834de7ee92fcd4b2f302b7f2ed0d9ae022e220dd8e6c95ccabea34d5
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
inherit eutils base
|
||||
|
||||
DESCRIPTION="a simple comic book pager"
|
||||
HOMEPAGE="http://cbrpager.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( app-arch/unrar app-arch/rar )
|
||||
>=gnome-base/libgnomeui-2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
dodoc AUTHORS ChangeLog CONTRIBUTORS NEWS README TODO || die
|
||||
make_desktop_entry ${PN} "CBR Pager" ${PN} "Graphics;Viewer;Amusement;GTK"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
From 6557b1512ebfda508345e032e09ed85789c16c98 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Tue, 8 Nov 2016 15:37:27 -0500
|
||||
Subject: [PATCH] lddtree.py: work around pyelftools API change
|
||||
|
||||
Section names now get returned as strings rather than bytes. See
|
||||
108eaea9 upstream.
|
||||
|
||||
Bug: https://bugs.gentoo.org/599082
|
||||
---
|
||||
lddtree.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/lddtree.py b/lddtree.py
|
||||
index 3971a9a..8480248 100755
|
||||
--- a/lddtree.py
|
||||
+++ b/lddtree.py
|
||||
@@ -72,6 +72,8 @@ def dbg(debug, *args, **kwargs):
|
||||
|
||||
def bstr(buf):
|
||||
"""Decode the byte string into a string"""
|
||||
+ if isinstance(buf, str):
|
||||
+ return buf
|
||||
return buf.decode('utf-8')
|
||||
|
||||
|
||||
--
|
||||
2.10.2
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue