mirror of
https://github.com/gryf/debian-pkgs.git
synced 2025-12-18 03:30:18 +01:00
Added first 4 apps
This commit is contained in:
10
build.sh
Executable file
10
build.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "clean" ]; then
|
||||
rm -fr *deb
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
for fname in recipies/*sh; do
|
||||
$fname
|
||||
done
|
||||
51
recipies/bubblemon.sh
Executable file
51
recipies/bubblemon.sh
Executable file
@@ -0,0 +1,51 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -fr bubblemon-1.46 bubblemon-dockapp-1.46 bubblemon-1.46.deb
|
||||
|
||||
dpkg -l |grep -q libgdk-pixbuf2.0-dev
|
||||
if [ $? != 0 ]; then
|
||||
apt-get -y install libgdk-pixbuf2.0-dev
|
||||
fi
|
||||
|
||||
dpkg -l |grep -q libgtkmm-2.4-dev
|
||||
if [ $? != 0 ]; then
|
||||
apt-get -y install libgtkmm-2.4-dev
|
||||
fi
|
||||
|
||||
JOBS=-j$(($(nproc) + 1))
|
||||
|
||||
wget "http://www.ne.jp/asahi/linux/timecop/software/bubblemon-dockapp-1.46.tar.gz"
|
||||
|
||||
mkdir -p bubblemon-1.46/DEBIAN bubblemon-1.46/usr/bin \
|
||||
bubblemon-1.46/usr/share/bubblemon \
|
||||
bubblemon-1.46/usr/share/doc/bubblemon && \
|
||||
tar zxf bubblemon-dockapp-1.46.tar.gz && \
|
||||
cd bubblemon-dockapp-1.46 && \
|
||||
patch -Np0 < ../recipies/bubblemon/bubblemon-1.46-gtk.patch
|
||||
patch -Np0 < ../recipies/bubblemon/bubblemon-1.46-asneeded.patch
|
||||
patch -Np0 < ../recipies/bubblemon/bubblemon-1.46-no_display.patch
|
||||
make $JOBS && \
|
||||
gzip README && \
|
||||
gzip ChangeLog && \
|
||||
strip bubblemon && \
|
||||
mv bubblemon ../bubblemon-1.46/usr/bin/ && \
|
||||
mv misc/* ../bubblemon-1.46/usr/share/bubblemon && \
|
||||
mv README.gz ../bubblemon-1.46/usr/share/doc/bubblemon/ && \
|
||||
mv ChangeLog.gz ../bubblemon-1.46/usr/share/doc/bubblemon/ && \
|
||||
cd .. && \
|
||||
rm -fr bubblemon-dockapp-1.46 bubblemon-dockapp-1.46.tar.gz && \
|
||||
|
||||
SIZE=`du -ks bubblemon-1.46/usr|cut -f 1` && \
|
||||
cat > bubblemon-1.46/DEBIAN/control << EOF
|
||||
Package: bubblemon
|
||||
Version: 1.46
|
||||
Section: user/hidden
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Roman Dobosz <gryf@vimja.com>
|
||||
Description: A fun monitoring dockapp for WindowMaker with swimming duck
|
||||
EOF
|
||||
|
||||
echo "Installed-Size: ${SIZE}" >> bubblemon-1.46/DEBIAN/control && \
|
||||
dpkg-deb -b bubblemon-1.46 && rm -fr bubblemon-1.46 && \
|
||||
echo bubblemon done.
|
||||
30
recipies/bubblemon/bubblemon-1.46-asneeded.patch
Normal file
30
recipies/bubblemon/bubblemon-1.46-asneeded.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -32,14 +32,12 @@
|
||||
OBJS = bubblemon.o
|
||||
BUBBLEMON = bubblemon
|
||||
|
||||
-LDFLAGS = -shared -Wl
|
||||
-
|
||||
STRIP = strip
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
INSTALLMAN = -m 644
|
||||
|
||||
-
|
||||
+LIBS = -lX11
|
||||
|
||||
# special things for Linux
|
||||
ifeq ($(OS), Linux)
|
||||
@@ -91,8 +89,8 @@
|
||||
all: $(BUBBLEMON)
|
||||
|
||||
bubblemon: clean_obj
|
||||
- $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
|
||||
- $(LIBS) $(GTK2_LIBS) $(SRCS)
|
||||
+ $(CC) $(LDFLAGS) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
|
||||
+ $(SRCS) $(LIBS) $(GTK2_LIBS)
|
||||
|
||||
clean_obj:
|
||||
rm -rf *.o
|
||||
122
recipies/bubblemon/bubblemon-1.46-gtk.patch
Normal file
122
recipies/bubblemon/bubblemon-1.46-gtk.patch
Normal file
@@ -0,0 +1,122 @@
|
||||
--- bubblemon.c
|
||||
+++ bubblemon.c
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <gdk/gdk.h>
|
||||
#include <gdk/gdkx.h>
|
||||
#include <X11/Xresource.h>
|
||||
+#include <gtk/gtk.h>
|
||||
|
||||
#include "include/master.xpm"
|
||||
#include "include/bubblemon.h"
|
||||
@@ -575,7 +576,7 @@
|
||||
attri.colormap = gdk_colormap_get_system();
|
||||
attri.wmclass_name = "bubblemon";
|
||||
attri.wmclass_class = "bubblemon";
|
||||
- attri.window_type = GDK_WINDOW_TOPLEVEL;
|
||||
+ attri.window_type = GDK_WINDOW_CHILD;
|
||||
|
||||
bm.iconwin = gdk_window_new(bm.win, &attri,
|
||||
GDK_WA_TITLE | GDK_WA_WMCLASS);
|
||||
@@ -593,7 +594,6 @@
|
||||
wmhints.window_group = win;
|
||||
wmhints.flags =
|
||||
StateHint | IconWindowHint | IconPositionHint | WindowGroupHint;
|
||||
- XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
|
||||
|
||||
bm.gc = gdk_gc_new(bm.win);
|
||||
|
||||
@@ -606,6 +606,7 @@
|
||||
gdk_window_set_back_pixmap(bm.iconwin, bm.pixmap, False);
|
||||
|
||||
gdk_window_show(bm.win);
|
||||
+ XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
|
||||
#ifdef KDE_DOCKAPP
|
||||
/* makes the dockapp visible inside KDE wm */
|
||||
gdk_window_show(bm.iconwin);
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -11,30 +11,49 @@
|
||||
|
||||
# no user serviceable parts below
|
||||
EXTRA += $(WMAN)
|
||||
+# gtk cflags and gtk lib flags
|
||||
+GTK2_CFLAGS = $(shell pkg-config gtk+-2.0 --cflags)
|
||||
+GTK2_LIBS = $(shell pkg-config gtk+-2.0 --libs)
|
||||
+
|
||||
+
|
||||
# optimization cflags
|
||||
-CFLAGS = -O3 -ansi -Wall `gtk-config --cflags` ${EXTRA}
|
||||
+#CFLAGS = -O3 -Wall ${EXTRA}
|
||||
+CFLAGS = ${GENTOO_CFLAGS} ${EXTRA}
|
||||
+
|
||||
# profiling cflags
|
||||
-# CFLAGS = -ansi -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO
|
||||
+# CFLAGS = -ansi -Wall -pg -O3 ${EXTRA} -DPRO
|
||||
# test coverage cflags
|
||||
-# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g `gtk-config --cflags` ${EXTRA} -DPRO
|
||||
+# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g ${EXTRA} -DPRO
|
||||
|
||||
|
||||
-SHELL=sh
|
||||
+SHELL = sh
|
||||
OS = $(shell uname -s)
|
||||
+SRCS = bubblemon.c
|
||||
OBJS = bubblemon.o
|
||||
+BUBBLEMON = bubblemon
|
||||
+
|
||||
+LDFLAGS = -shared -Wl
|
||||
+
|
||||
+STRIP = strip
|
||||
+
|
||||
CC = gcc
|
||||
+INSTALLMAN = -m 644
|
||||
+
|
||||
+
|
||||
|
||||
# special things for Linux
|
||||
ifeq ($(OS), Linux)
|
||||
- OBJS += sys_linux.o
|
||||
- LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
|
||||
- INSTALL = -m 755
|
||||
+ SRCS += sys_linux.c
|
||||
+ OBJS += sys_linux.o
|
||||
+ INSTALL = -m 755
|
||||
+ INSTALLMAN = -m 644
|
||||
endif
|
||||
|
||||
# special things for FreeBSD
|
||||
ifeq ($(OS), FreeBSD)
|
||||
+ SRCS += sys_freebsd.c
|
||||
OBJS += sys_freebsd.o
|
||||
- LIBS = `gtk-config --libs | sed "s/-lgtk//g"` -lkvm
|
||||
+ LIBS = -lkvm
|
||||
INSTALL = -c -g kmem -m 2755 -o root
|
||||
endif
|
||||
|
||||
@@ -62,17 +81,21 @@
|
||||
ifeq ($(COMPILER), gcc)
|
||||
CFLAGS=-O3 -Wall
|
||||
endif
|
||||
- CFLAGS +=`gtk-config --cflags` ${EXTRA}
|
||||
+ CFLAGS += ${EXTRA}
|
||||
+ SRCS += sys_sunos.c
|
||||
OBJS += sys_sunos.o
|
||||
- LIBS = `gtk-config --libs` -lkstat -lm
|
||||
+ LIBS = -lkstat -lm
|
||||
INSTALL = -m 755
|
||||
endif
|
||||
|
||||
+all: $(BUBBLEMON)
|
||||
|
||||
-all: bubblemon
|
||||
+bubblemon: clean_obj
|
||||
+ $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
|
||||
+ $(LIBS) $(GTK2_LIBS) $(SRCS)
|
||||
|
||||
-bubblemon: $(OBJS)
|
||||
- $(CC) $(CFLAGS) -o bubblemon $(OBJS) $(LIBS)
|
||||
+clean_obj:
|
||||
+ rm -rf *.o
|
||||
|
||||
clean:
|
||||
rm -f bubblemon *.o *.bb* *.gcov gmon.* *.da *~
|
||||
33
recipies/bubblemon/bubblemon-1.46-no_display.patch
Normal file
33
recipies/bubblemon/bubblemon-1.46-no_display.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
http://bugs.gentoo.org/310399
|
||||
|
||||
--- bubblemon.c
|
||||
+++ bubblemon.c
|
||||
@@ -44,7 +44,7 @@
|
||||
*/
|
||||
#define _GNU_SOURCE
|
||||
|
||||
-#define VERSION "1.41"
|
||||
+#define VERSION "1.46"
|
||||
|
||||
/* general includes */
|
||||
#include <stdio.h>
|
||||
@@ -276,6 +276,8 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
+ /* This is needed to proper dockapp work on >=GTK+-2.18 */
|
||||
+ setenv("GDK_NATIVE_WINDOWS", "1", 0);
|
||||
char execute[256];
|
||||
int proximity = 0;
|
||||
int ch;
|
||||
@@ -607,10 +609,7 @@
|
||||
|
||||
gdk_window_show(bm.win);
|
||||
XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
|
||||
-#ifdef KDE_DOCKAPP
|
||||
- /* makes the dockapp visible inside KDE wm */
|
||||
gdk_window_show(bm.iconwin);
|
||||
-#endif
|
||||
|
||||
/* We begin with zero bubbles */
|
||||
bm.n_bubbles = 0;
|
||||
40
recipies/peksystray.sh
Executable file
40
recipies/peksystray.sh
Executable file
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -fr peksystray-0.4.0 _peksystray-0.4.0 peksystray-0.4.0.deb
|
||||
|
||||
dpkg -l |grep -q autoconf
|
||||
if [ $? != 0 ]; then
|
||||
apt-get -y install autoconf
|
||||
fi
|
||||
|
||||
JOBS=-j$(($(nproc) + 1))
|
||||
|
||||
wget --content-disposition -c "https://sourceforge.net/projects/peksystray/files/peksystray/0.4.0/peksystray-0.4.0.tar.bz2/download"
|
||||
|
||||
mkdir -p _peksystray-0.4.0/DEBIAN _peksystray-0.4.0/usr/bin \
|
||||
_peksystray-0.4.0/usr/share/doc/peksystray && \
|
||||
tar xf peksystray-0.4.0.tar.bz2 && \
|
||||
cd peksystray-0.4.0 && \
|
||||
patch -Np0 < ../recipies/peksystray/peksystray-0.4.0-asneeded.patch && \
|
||||
./autogen.sh && \
|
||||
./configure && make $JOBS && \
|
||||
gzip README && \
|
||||
strip src/peksystray && \
|
||||
mv src/peksystray ../_peksystray-0.4.0/usr/bin/ && \
|
||||
mv README.gz ../_peksystray-0.4.0/usr/share/doc/peksystray/ && \
|
||||
cd .. && \
|
||||
rm -fr peksystray-0.4.0 peksystray-0.4.0.tar.bz2 && \
|
||||
mv _peksystray-0.4.0 peksystray-0.4.0 && \
|
||||
SIZE=`du -ks peksystray-0.4.0/usr|cut -f 1` && \
|
||||
cat > peksystray-0.4.0/DEBIAN/control << EOF
|
||||
Package: peksystray
|
||||
Version: 0.4.0
|
||||
Section: user/hidden
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Roman Dobosz <gryf@vimja.com>
|
||||
Description: System tray for pekwm and others
|
||||
EOF
|
||||
echo "Installed-Size: ${SIZE}" >> peksystray-0.4.0/DEBIAN/control && \
|
||||
dpkg-deb -b peksystray-0.4.0 && rm -fr peksystray-0.4.0 && \
|
||||
echo peksystray done.
|
||||
36
recipies/peksystray/peksystray-0.4.0-asneeded.patch
Normal file
36
recipies/peksystray/peksystray-0.4.0-asneeded.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -4,6 +4,7 @@
|
||||
AM_INIT_AUTOMAKE(peksystray, 0.4.0)
|
||||
|
||||
AC_PROG_CC
|
||||
+AC_PATH_X
|
||||
AC_PATH_XTRA
|
||||
|
||||
dnl Are we going to enable the debugging output ??
|
||||
@@ -19,13 +20,7 @@
|
||||
AC_DEFINE(DEBUG,,[Enable verbose debugging output])
|
||||
fi
|
||||
|
||||
-CFLAGS="$CFLAGS $X_CFLAGS"
|
||||
-#x_includes="-I$x_includes"
|
||||
-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||||
-#x_libraries="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||||
-
|
||||
-AC_SUBST(x_includes)
|
||||
-AC_SUBST(x_libraries)
|
||||
+AC_CHECK_LIB([X11], [XOpenDisplay])
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
--- src/Makefile.am
|
||||
+++ src/Makefile.am
|
||||
@@ -1,7 +1,4 @@
|
||||
bin_PROGRAMS = peksystray
|
||||
|
||||
-INCLUDES = @x_includes@
|
||||
-
|
||||
-peksystray_LDADD = @x_libraries@
|
||||
-
|
||||
peksystray_SOURCES = peksystray.c
|
||||
+peksystray_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
|
||||
40
recipies/wmamixer.sh
Executable file
40
recipies/wmamixer.sh
Executable file
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -fr _wmamixer wmamixer wmamixer-0.1 wmamixer-0.1.deb
|
||||
|
||||
dpkg -l |grep -q libasound2-dev
|
||||
if [ $? != 0 ]; then
|
||||
apt-get -y install libasound2-dev
|
||||
fi
|
||||
|
||||
JOBS=-j$(($(nproc) + 1))
|
||||
|
||||
git clone https://github.com/gryf/wmamixer.git || exit "Cannot clone repo"
|
||||
|
||||
mkdir -p _wmamixer/DEBIAN _wmamixer/usr/bin \
|
||||
_wmamixer/usr/share/doc/wmamixer && \
|
||||
cd wmamixer && \
|
||||
make $JOBS && \
|
||||
gzip README.rst && \
|
||||
gzip README.wmmixer && \
|
||||
gzip README.wmsmixer && \
|
||||
mv wmamixer ../_wmamixer/usr/bin/ && \
|
||||
mv README.rst.gz ../_wmamixer/usr/share/doc/wmamixer/ && \
|
||||
mv README.wmmixer.gz ../_wmamixer/usr/share/doc/wmamixer/ && \
|
||||
mv README.wmsmixer.gz ../_wmamixer/usr/share/doc/wmamixer/ && \
|
||||
cd .. && \
|
||||
rm -fr wmamixer && \
|
||||
SIZE=`du -ks _wmamixer/usr|cut -f 1` && \
|
||||
cat > _wmamixer/DEBIAN/control << EOF
|
||||
Package: wmamixer
|
||||
Version: 0.2
|
||||
Section: user/hidden
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Roman Dobosz <gryf@vimja.com>
|
||||
Description: Alsa Mixer in a windowmakers' dockapp
|
||||
EOF
|
||||
echo "Installed-Size: ${SIZE}" >> _wmamixer/DEBIAN/control && \
|
||||
mv _wmamixer wmamixer-0.2 && dpkg-deb -b wmamixer-0.2 && \
|
||||
rm -fr wmamixer-0.2 && \
|
||||
echo wmamixer done.
|
||||
79
recipies/xlockmore.sh
Executable file
79
recipies/xlockmore.sh
Executable file
@@ -0,0 +1,79 @@
|
||||
#!/bin/sh -x
|
||||
#
|
||||
# to build this package, you need to install following dev packages:
|
||||
# # aptitude install libc6-dev libgcc2-4.7-dev libice-dev libpam0g-dev \
|
||||
# > libsm-dev libstdc++6-4.7-dev libx11-dev libxext-dev
|
||||
# TODO: check the above as a dependecies
|
||||
|
||||
STUFF_TO_INSTALL=""
|
||||
for pkg in libpam0g-dev mesa-common-dev libglu1-mesa-dev libxt-dev; do
|
||||
dpkg -l |grep -q $pkg
|
||||
if [ $? != 0 ]; then
|
||||
STUFF_TO_INSTALL="$STUFF_TO_INSTALL ${pkg}"
|
||||
fi
|
||||
done
|
||||
if [ ! -e "$STUFF_TO_INSTALL" ]; then
|
||||
echo apt-get -y install $STUFF_TO_INSTALL
|
||||
apt-get -y install $STUFF_TO_INSTALL
|
||||
fi
|
||||
|
||||
JOBS=-j$(($(nproc) + 1))
|
||||
|
||||
wget http://www.sillycycle.com/xlock/recent-releases/xlockmore-5.50.tar.xz
|
||||
|
||||
|
||||
rm -fr _xlockmore xlockmore-5.50 xlockmore-5.50.deb && \
|
||||
mkdir -p _xlockmore/DEBIAN _xlockmore/usr/bin \
|
||||
_xlockmore/usr/share/doc/xlockmore \
|
||||
_xlockmore/usr/share/man/man1 \
|
||||
_xlockmore/etc/pam.d \
|
||||
_xlockmore/etc/X11/Xresources && \
|
||||
tar xf xlockmore-5.50.tar.xz && \
|
||||
cd xlockmore-5.50 && \
|
||||
|
||||
patch -Np1 < ../recipies/xlockmore/xlockmore-5.46-freetype261.patch && \
|
||||
patch -Np1 < ../recipies/xlockmore/xlockmore-5.47-CXX.patch && \
|
||||
patch -Np1 < ../recipies/xlockmore/xlockmore-5.47-strip.patch && \
|
||||
# autoreconf && \
|
||||
|
||||
./configure --without-ftgl --disable-mb --with-ttf --with-freetype \
|
||||
--enable-appdefaultdir=/usr/share/X11/app-defaults \
|
||||
--enable-syslog --enable-vtlock --without-esound \
|
||||
--without-gtk2 --without-gtk --with-crypt --enable-pam && \
|
||||
make $JOBS && \
|
||||
|
||||
strip xlock/xlock && \
|
||||
|
||||
gzip README && \
|
||||
gzip xlock/xlock.man && \
|
||||
|
||||
mv xlock/xlock ../_xlockmore/usr/bin/ && \
|
||||
mv README.gz ../_xlockmore/usr/share/doc/xlockmore/ && \
|
||||
pwd
|
||||
mv xlock/xlock.man.gz ../_xlockmore/usr/share/man/man1/xlock.1.gz && \
|
||||
cd .. && \
|
||||
|
||||
echo "root" > _xlockmore/etc/xlock.staff && \
|
||||
echo "wheel" >> _xlockmore/etc/xlock.staff && \
|
||||
echo "@include common-auth" > _xlockmore/etc/pam.d/xlock && \
|
||||
echo "! number of minutes to logout button, -1 disables" > _xlockmore/etc/X11/Xresources/xlockmore && \
|
||||
echo "! this will take effect the next time X is started" >> _xlockmore/etc/X11/Xresources/xlockmore && \
|
||||
echo "XLock*logoutButton: -1" >> _xlockmore/etc/X11/Xresources/xlockmore && \
|
||||
echo "XLock.background: Black" >> _xlockmore/etc/X11/Xresources/xlockmore && \
|
||||
echo "XLock.foreground: White" >> _xlockmore/etc/X11/Xresources/xlockmore && \
|
||||
|
||||
rm -fr xlockmore-5.50.tar.xz xlockmore-5.50 && \
|
||||
SIZE=`du -ks _xlockmore/usr|cut -f 1` && \
|
||||
cat > _xlockmore/DEBIAN/control << EOF
|
||||
Package: xlockmore
|
||||
Version: 5.50
|
||||
Section: user/hidden
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Roman Dobosz <gryf@vimja.com>
|
||||
Description: Just another screensaver application for X
|
||||
EOF
|
||||
echo "Installed-Size: ${SIZE}" >> _xlockmore/DEBIAN/control && \
|
||||
mv _xlockmore xlockmore-5.50 && dpkg-deb -b xlockmore-5.50 && \
|
||||
rm -fr xlockmore-5.50 && \
|
||||
echo xlockmore done.
|
||||
11
recipies/xlockmore/xlockmore-5.46-freetype261.patch
Normal file
11
recipies/xlockmore/xlockmore-5.46-freetype261.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- xlockmore-5.46/configure.ac
|
||||
+++ xlockmore-5.46/configure.ac
|
||||
@@ -1912,7 +1912,7 @@
|
||||
AC_DEFUN([AC_PATH_FREETYPE_DIRECT],
|
||||
[test -z "$freetype_direct_test_library" && freetype_direct_test_library=freetype
|
||||
test -z "$freetype_direct_test_function" && freetype_direct_test_function=FT_Init_FreeType
|
||||
-test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/freetype.h
|
||||
+test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/ft2build.h
|
||||
for ac_dir in \
|
||||
/usr/X11R6.5.1/include \
|
||||
/usr/X11R6.4/include \
|
||||
19
recipies/xlockmore/xlockmore-5.47-CXX.patch
Normal file
19
recipies/xlockmore/xlockmore-5.47-CXX.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -10,11 +10,11 @@
|
||||
AC_PROG_CC
|
||||
dnl Check if C++ compiler is present. If not set CXX to the C-compiler used
|
||||
dnl for the other compilations.
|
||||
-if test "$CC" = gcc; then
|
||||
- AC_CHECK_PROGS(CXX, $CCC g++ CC C++ c++ cxx cc++ xlC $CC, gcc)
|
||||
-else
|
||||
- AC_CHECK_PROGS(CXX, $CCC CC C++ g++ c++ cxx cc++ xlC $CC, gcc)
|
||||
-fi
|
||||
+dnl if test "$CC" = gcc; then
|
||||
+dnl AC_CHECK_PROGS(CXX, $CCC g++ CC C++ c++ cxx cc++ xlC $CC, gcc)
|
||||
+dnl else
|
||||
+dnl AC_CHECK_PROGS(CXX, $CCC CC C++ g++ c++ cxx cc++ xlC $CC, gcc)
|
||||
+dnl fi
|
||||
AC_PROG_CXX
|
||||
if test "${CXX}" = "xlC" ; then
|
||||
CXXFLAGS="${CXXFLAGS} -+"
|
||||
64
recipies/xlockmore/xlockmore-5.47-strip.patch
Normal file
64
recipies/xlockmore/xlockmore-5.47-strip.patch
Normal file
@@ -0,0 +1,64 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3895,7 +3895,7 @@
|
||||
BITMAPTYPE="bsd"
|
||||
PIXMAPTYPE="bsd"
|
||||
FORTUNE=""
|
||||
- INSTPGMFLAGS="-s -o root -m 4111"
|
||||
+ INSTPGMFLAGS="-o root -m 4111"
|
||||
cpp_name=`echo $CC | cut -f1 -d' '`
|
||||
if test "$cpp_name" = "gcc"; then
|
||||
dirname=`which gcc`
|
||||
@@ -3960,7 +3960,6 @@
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
- INSTPGMFLAGS="-s $INSTPGMFLAGS"
|
||||
BITMAPTYPE="linux"
|
||||
PIXMAPTYPE="linux"
|
||||
dnl if Shadow and not elf
|
||||
@@ -3985,7 +3984,7 @@
|
||||
AC_SUBST(OSF1_ENH_SEC)
|
||||
XLOCKLIBS="${XLOCKLIBS} -lsecurity"
|
||||
# SETGID auth may not be enough for Tru64 5.x.
|
||||
- INSTPGMFLAGS="-s -g auth -m 2111"
|
||||
+ INSTPGMFLAGS="-g auth -m 2111"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
@@ -4011,7 +4010,7 @@
|
||||
PIXMAPTYPE="sol"
|
||||
;;
|
||||
esac
|
||||
- INSTPGMFLAGS="-s -o root -m 4111"
|
||||
+ INSTPGMFLAGS="-o root -m 4111"
|
||||
AC_DEFINE([HAVE_SHADOW], [1], [Shadow passwording])
|
||||
AC_DEFINE([SYSV], [1], [System 5])
|
||||
AC_DEFINE([SVR4], [1], [System 5 Release 4])
|
||||
@@ -4040,7 +4039,7 @@
|
||||
;;
|
||||
|
||||
*-*-sysv5* )
|
||||
- INSTPGMFLAGS="-s -o root -m 4111"
|
||||
+ INSTPGMFLAGS="-o root -m 4111"
|
||||
AC_DEFINE([HAVE_SHADOW], [1], [Shadow passwording])
|
||||
AC_DEFINE([SYSV], [1], [System 5])
|
||||
AC_DEFINE([SVR4], [1], [System 5 Release 4])
|
||||
@@ -4820,7 +4819,7 @@
|
||||
case ${canonical} in
|
||||
*-*-linux*)
|
||||
if test "$vtlock" = "yes"; then
|
||||
- INSTPGMFLAGS="-s -o root -g bin -m 4111"
|
||||
+ INSTPGMFLAGS="-o root -g bin -m 4111"
|
||||
AC_MSG_RESULT([defining install options (setuid/setgid) = "$INSTPGMFLAGS" for vtlock])
|
||||
echo "experimental: Big buffer overrun security risk"
|
||||
else
|
||||
@@ -4838,7 +4837,7 @@
|
||||
case ${canonical} in
|
||||
*-*-linux*)
|
||||
if test "$vtlock" = "yes"; then
|
||||
- INSTPGMFLAGS="-s -o root -g bin -m 4111"
|
||||
+ INSTPGMFLAGS="-o root -g bin -m 4111"
|
||||
AC_MSG_RESULT([defining install options (setuid/setgid) = "$INSTPGMFLAGS" for vtlock])
|
||||
else
|
||||
AC_MSG_RESULT([defining install options (setuid/setgid) = "$INSTPGMFLAGS"])
|
||||
Reference in New Issue
Block a user