malfs mekanizma guncelleme
This commit is contained in:
parent
19d35e9d39
commit
0e9545c3ab
|
@ -0,0 +1,13 @@
|
|||
diff --git a/krb5-config.in b/krb5-config.in
|
||||
index c950b36..fb6520e 100755
|
||||
--- a/krb5-config.in
|
||||
+++ b/krb5-config.in
|
||||
@@ -31,7 +31,7 @@ prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
includedir=@includedir@
|
||||
libdir=@libdir@
|
||||
-CC_LINK='@CC_LINK@'
|
||||
+CC_LINK='$(PROG_LIBPATH) $(PROG_RPATH_FLAGS)'
|
||||
KDB5_DB_LIB=@KDB5_DB_LIB@
|
||||
LDFLAGS='@LDFLAGS@'
|
||||
RPATH_FLAG='@RPATH_FLAG@'
|
|
@ -0,0 +1,38 @@
|
|||
# Description: Network Authentication Protocol
|
||||
# URL: http://web.mit.edu/kerberos
|
||||
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
||||
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
|
||||
# Depends on: openldap e2fsprogs
|
||||
|
||||
name=krb5
|
||||
version=1.14
|
||||
release=1
|
||||
source=(http://web.mit.edu/kerberos/dist/$name/$version/$name-$version.tar.gz \
|
||||
$name-config_LDFLAGS.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version/src/build-tools
|
||||
patch -p1 -i $SRC/$name-config_LDFLAGS.patch
|
||||
|
||||
cd $SRC/$name-$version/src
|
||||
sed -e '/KRB5ROOT=/ s/\/local//' -i util/ac_check_krb5.m4
|
||||
|
||||
export CFLAGS="${CFLAGS/-Os/-O2} -I/usr/include/et"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--enable-shared \
|
||||
--disable-rpath \
|
||||
--without-tcl \
|
||||
--with-ldap \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--without-system-verto
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share $PKG/usr/man/cat* $PKG/usr/man5/.*
|
||||
|
||||
# comment this if you want kerberized versions of ftp and telnet
|
||||
rm -rf $PKG/usr/bin/{ftp,telnet} $PKG/usr/man/man1/{ftp,telnet}.1
|
||||
}
|
|
@ -1,2 +1,2 @@
|
|||
[ -f usr/bin/xdg-desktop-menu ] && usr/bin/xdg-desktop-menu forceupdate
|
||||
[ -f usr/bin/update-desktop-database ] && usr/bin/update-desktop-database usr/share/applications
|
||||
[ -f /usr/bin/xdg-desktop-menu ] && /usr/bin/xdg-desktop-menu forceupdate
|
||||
[ -f /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database /usr/share/applications
|
||||
|
|
|
@ -1,112 +1,56 @@
|
|||
# Description: LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org.
|
||||
# URL: http://www.libreoffice.org
|
||||
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
|
||||
# Depends on: tar apache-ant openldap python3 cups curl libatomic-ops gperf gtk2 gtk3 perl-archive-zip perl-xml-parser boost expat gstreamer-plugins-base gstreamer1-plugins-base libgsf librsvg libxml2 libxslt neon nss poppler postgresql redland icu hunspell gsfonts dejavu-ttf hunspell p7zip neon graphite2 npapi-sdk clucene serf unixodbc
|
||||
# Depends on: cups xorg-libxaw xorg-libxcursor xorg-libxft xorg-libxinerama xorg-libxi xorg-libxrandr dbus-glib krb5
|
||||
|
||||
PKGMK_IGNORE_UNPACK="yes"
|
||||
|
||||
description="Office suite. It is largely compatible with Microsoft Office (fork from OpenOffice.org)."
|
||||
name=libreoffice
|
||||
version=5.1.0.3
|
||||
version=5.1.1
|
||||
release=1
|
||||
source=(http://tdf.c3sl.ufpr.br/libreoffice/stable/5.1.1/rpm/x86/LibreOffice_5.1.1_Linux_x86_rpm.tar.gz)
|
||||
|
||||
source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz
|
||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz
|
||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz
|
||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
unset ACLOCAL
|
||||
export LO_PREFIX=/usr
|
||||
local workd="$SRC/tmp_work"
|
||||
mkdir $workd
|
||||
|
||||
cd $SRC
|
||||
tar -xf $name-$version.tar.xz --no-overwrite-dir
|
||||
cd LibreOffice_${version}*/RPMS
|
||||
for rpm in *.rpm; do
|
||||
bsdtar -p -o -C $workd -xf $rpm
|
||||
done
|
||||
|
||||
cd $name-$version
|
||||
install -dm755 external/tarballs
|
||||
ln -sv $SRC/$name-dictionaries-$version.tar.xz external/tarballs/
|
||||
ln -sv $SRC/$name-help-$version.tar.xz external/tarballs/
|
||||
ln -sv $SRC/$name-translations-$version.tar.xz external/tarballs/
|
||||
bsdtar -p -o -C $workd -xf \
|
||||
$name${version%.*}-freedesktop-menus-${version%.*}*.noarch.rpm
|
||||
|
||||
cd $workd
|
||||
mkdir -p $PKG/usr/lib/$name
|
||||
mv opt/$name*/* $PKG/usr/lib/$name
|
||||
|
||||
sed -e "/gzip -f/d" \
|
||||
-e "s|.1.gz|.1|g" \
|
||||
-i bin/distro-install-desktop-integration
|
||||
cd $PKG/usr/lib/$name
|
||||
ln -sf basis${version%.*} basis-link
|
||||
|
||||
sed -e "/distro-install-file-lists/d" -i Makefile.in
|
||||
mkdir -p $PKG/usr/bin
|
||||
local programs=(sbase scalc sdraw simpress smath soffice spadmin swriter)
|
||||
for program in ${programs[@]}; do
|
||||
ln -sf /usr/lib/$name/program/$program $PKG/usr/bin/$program
|
||||
done
|
||||
|
||||
sed -e "/ustrbuf/a #include <algorithm>" \
|
||||
-i svl/source/misc/gridprinter.cxx
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cd $PKG/usr/lib/$name/share/xdg/
|
||||
|
||||
chmod -v +x bin/unpack-sources
|
||||
for desktop in *.desktop; do
|
||||
sed -i '/^Exec=/s/libreoffice[^ ]*/soffice/' $desktop
|
||||
ln -sf /usr/lib/$name/share/xdg/$desktop $PKG/usr/share/applications/$desktop
|
||||
done
|
||||
|
||||
./autogen.sh --prefix=$LO_PREFIX \
|
||||
--sysconfdir=/etc \
|
||||
--with-vendor="NuTyX" \
|
||||
--with-lang="es de fr it pt fi nb nl da sv" \
|
||||
--with-help \
|
||||
--with-myspell-dicts \
|
||||
--with-alloc=system \
|
||||
--without-java \
|
||||
--without-system-dicts \
|
||||
--disable-dconf \
|
||||
--disable-odk \
|
||||
--enable-release-build=yes \
|
||||
--enable-python=system \
|
||||
--with-system-boost=yes \
|
||||
--with-system-clucene \
|
||||
--with-system-cairo \
|
||||
--with-system-curl \
|
||||
--with-system-expat \
|
||||
--with-system-graphite \
|
||||
--with-system-harfbuzz \
|
||||
--with-system-icu \
|
||||
--with-system-jpeg \
|
||||
--with-system-lcms2 \
|
||||
--with-system-libatomic_ops \
|
||||
--with-system-libpng \
|
||||
--with-system-libxml \
|
||||
--with-system-neon \
|
||||
--with-system-npapi-headers \
|
||||
--with-system-nss \
|
||||
--with-system-odbc \
|
||||
--with-system-openldap \
|
||||
--with-system-openssl \
|
||||
--with-system-poppler \
|
||||
--with-system-postgresql \
|
||||
--with-system-redland \
|
||||
--with-system-serf \
|
||||
--with-system-zlib \
|
||||
--with-parallelism=$(getconf _NPROCESSORS_ONLN)
|
||||
mv $workd/usr/share/{mime,icons} $PKG/usr/share
|
||||
|
||||
make build
|
||||
make DESTDIR=$PKG distro-pack-install
|
||||
|
||||
install -v -m755 -d $PKG/$LO_PREFIX/share/appdata
|
||||
install -v -m644 sysui/desktop/appstream-appdata/*.xml $PKG/$LO_PREFIX/share/appdata
|
||||
|
||||
# Installation des Dictionnaires
|
||||
chown -cR 0:0 dictionaries/
|
||||
for lang in en fr_FR es de it_IT pt_PT no nl_NL sv_SE da_DK
|
||||
do
|
||||
mkdir -pv $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang
|
||||
cp -R dictionaries/$lang/* $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang
|
||||
done
|
||||
|
||||
# This symlink is necessary for the desktop menu entries
|
||||
ln -sv -f $LO_PREFIX/lib/libreoffice/program/soffice \
|
||||
$PKG/usr/bin/libreoffice
|
||||
|
||||
# Icones
|
||||
for res in 16 32 48 128 256
|
||||
do
|
||||
mkdir -p $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/{apps,mimetypes}
|
||||
cp sysui/desktop/icons/hicolor/${res}x${res}/apps/*.png \
|
||||
$PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/apps
|
||||
cp sysui/desktop/icons/hicolor/${res}x${res}/mimetypes/*.png \
|
||||
$PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/mimetypes
|
||||
done
|
||||
|
||||
# Nettoyage
|
||||
rm -rf $PKG/gid*
|
||||
find $PKG \(\
|
||||
-iname '*readme*' -o \
|
||||
-iname '*changelog*' -o \
|
||||
-name '*TODO*' -o \
|
||||
-iname '*news*' -o \
|
||||
-iname '*license*' -o \
|
||||
-iname '*credits*' \
|
||||
\) -exec rm -rf '{}' \; || true
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,110 @@
|
|||
# Description: LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org.
|
||||
# URL: http://www.libreoffice.org
|
||||
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
|
||||
# Depends on: tar apache-ant openldap python3 cups curl libatomic-ops gperf gtk2 gtk3 perl-archive-zip perl-xml-parser boost expat gstreamer-plugins-base gstreamer1-plugins-base libgsf librsvg libxml2 libxslt neon nss poppler postgresql redland icu hunspell gsfonts dejavu-ttf hunspell p7zip neon graphite2 npapi-sdk clucene serf unixodbc
|
||||
|
||||
description="Office suite. It is largely compatible with Microsoft Office (fork from OpenOffice.org)."
|
||||
name=libreoffice
|
||||
version=5.1.0.3
|
||||
release=1
|
||||
|
||||
source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz
|
||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz
|
||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz
|
||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
unset ACLOCAL
|
||||
export LO_PREFIX=/usr
|
||||
|
||||
cd $SRC
|
||||
|
||||
|
||||
cd $name-$version
|
||||
install -dm755 external/tarballs
|
||||
ln -sv $SRC/$name-dictionaries-$version.tar.xz external/tarballs/
|
||||
ln -sv $SRC/$name-help-$version.tar.xz external/tarballs/
|
||||
ln -sv $SRC/$name-translations-$version.tar.xz external/tarballs/
|
||||
|
||||
|
||||
sed -e "/gzip -f/d" \
|
||||
-e "s|.1.gz|.1|g" \
|
||||
-i bin/distro-install-desktop-integration
|
||||
|
||||
sed -e "/distro-install-file-lists/d" -i Makefile.in
|
||||
|
||||
sed -e "/ustrbuf/a #include <algorithm>" \
|
||||
-i svl/source/misc/gridprinter.cxx
|
||||
|
||||
chmod -v +x bin/unpack-sources
|
||||
|
||||
./autogen.sh --prefix=$LO_PREFIX \
|
||||
--sysconfdir=/etc \
|
||||
--with-vendor="NuTyX" \
|
||||
--with-lang="es de fr it pt fi nb nl da sv" \
|
||||
--with-help \
|
||||
--with-myspell-dicts \
|
||||
--with-alloc=system \
|
||||
--without-java \
|
||||
--without-system-dicts \
|
||||
--disable-dconf \
|
||||
--disable-odk \
|
||||
--enable-release-build=yes \
|
||||
--enable-python=system \
|
||||
--with-system-boost=yes \
|
||||
--with-system-clucene \
|
||||
--with-system-cairo \
|
||||
--with-system-curl \
|
||||
--with-system-expat \
|
||||
--with-system-graphite \
|
||||
--with-system-harfbuzz \
|
||||
--with-system-icu \
|
||||
--with-system-jpeg \
|
||||
--with-system-lcms2 \
|
||||
--with-system-libatomic_ops \
|
||||
--with-system-libpng \
|
||||
--with-system-libxml \
|
||||
--with-system-neon \
|
||||
--with-system-npapi-headers \
|
||||
--with-system-nss \
|
||||
--with-system-odbc \
|
||||
--with-system-openldap \
|
||||
--with-system-openssl \
|
||||
--with-system-poppler \
|
||||
--with-system-postgresql \
|
||||
--with-system-redland \
|
||||
--with-system-serf \
|
||||
--with-system-zlib \
|
||||
--with-parallelism=$(getconf _NPROCESSORS_ONLN)
|
||||
|
||||
make build
|
||||
make DESTDIR=$PKG distro-pack-install
|
||||
|
||||
install -v -m755 -d $PKG/$LO_PREFIX/share/appdata
|
||||
install -v -m644 sysui/desktop/appstream-appdata/*.xml $PKG/$LO_PREFIX/share/appdata
|
||||
|
||||
# Installation des Dictionnaires
|
||||
chown -cR 0:0 dictionaries/
|
||||
for lang in en tr_TR
|
||||
do
|
||||
mkdir -pv $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang
|
||||
cp -R dictionaries/$lang/* $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang
|
||||
done
|
||||
|
||||
# This symlink is necessary for the desktop menu entries
|
||||
ln -sv -f $LO_PREFIX/lib/libreoffice/program/soffice \
|
||||
$PKG/usr/bin/libreoffice
|
||||
|
||||
# Icones
|
||||
for res in 16 32 48 128 256
|
||||
do
|
||||
mkdir -p $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/{apps,mimetypes}
|
||||
cp sysui/desktop/icons/hicolor/${res}x${res}/apps/*.png \
|
||||
$PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/apps
|
||||
cp sysui/desktop/icons/hicolor/${res}x${res}/mimetypes/*.png \
|
||||
$PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/mimetypes
|
||||
done
|
||||
|
||||
# Nettoyage
|
||||
rm -rf $PKG/gid*
|
||||
}
|
|
@ -8,7 +8,7 @@ version=3.22
|
|||
release=1
|
||||
|
||||
source=( http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_${version//./_}_RTM/src/nss-$version.tar.gz \
|
||||
http://www.linuxfromscratch.org/patches/blfs/svn/nss-$version-standalone-1.patch )
|
||||
http://www.linuxfromscratch.org/patches/downloads/nss/nss-$version-standalone-1.patch )
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
|
|
@ -9,5 +9,6 @@ MANDB_MAP /opt/jdk/man /var/cache/man/jdk
|
|||
EOF
|
||||
log_warning_msg "${WARNING}Check the /etc/man_db.conf file ${NORMAL}"
|
||||
fi
|
||||
mkdir -p var/cache/man
|
||||
mandb -c opt/jdk/man
|
||||
mkdir -p /var/cache/man
|
||||
mandb -c /opt/jdk/man
|
||||
export JAVA_HOME=/opt/jdk
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
. lib/lsb/init-functions
|
||||
if [ -z "`cards list|grep libvlc\ `" ]; then
|
||||
cards install libvlc
|
||||
log_warning_msg "${WARNING}libvlc${NORMAL} is now installed"
|
||||
fi
|
|
@ -7,3 +7,14 @@ any software that is not present in a standard full install of Slackware.
|
|||
This makes my package quite different from all the other vlc builds that are
|
||||
floating around on the Internet.
|
||||
/Eric Hameleers/
|
||||
|
||||
Ce paquet (à l'origine fait pour la distribution Slackware) est un gros morceau
|
||||
Il dépends de toute une série de recettes de librairies compilés statiquement et
|
||||
ces librairies sont toutes liées dans ce paquet. De cette façon, cette variante de
|
||||
vlc contient un maximum de fonctionnalitées et ne dépends sur un nombre beaucoup plus
|
||||
restreint de librairies. Ce qui rend ce paquet un peu différent de ce que l'on peut
|
||||
trouver partout sur internet
|
||||
/Eric Hameleers/
|
||||
|
||||
Notez également que cette variante de vlc dispose de sa propre copie de qt
|
||||
afin d'éviter de devoir installer l'ensemble complet de qt.
|
||||
|
|
Loading…
Reference in New Issue