From 622d6802997a2b2ad6a059d63d64a504f62f40c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Sun, 6 Feb 2022 20:23:18 -0300 Subject: [PATCH] GNU Xorriso has been added to Dragora MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matías Fonzo --- recipes/00-core.order | 5 ++ recipes/libs/libburn/recipe | 73 ++++++++++++++++++++++++++ recipes/libs/libisoburn/recipe | 96 ++++++++++++++++++++++++++++++++++ recipes/libs/libisofs/recipe | 72 +++++++++++++++++++++++++ sources/SOURCELIST.txt | 3 ++ sources/libburn-1.5.4.tar.gz.sha256 | 1 + sources/libisoburn-1.5.4.tar.gz.sha256 | 1 + sources/libisofs-1.5.4.tar.gz.sha256 | 1 + 8 files changed, 252 insertions(+) create mode 100644 recipes/libs/libburn/recipe create mode 100644 recipes/libs/libisoburn/recipe create mode 100644 recipes/libs/libisofs/recipe create mode 100644 sources/libburn-1.5.4.tar.gz.sha256 create mode 100644 sources/libisoburn-1.5.4.tar.gz.sha256 create mode 100644 sources/libisofs-1.5.4.tar.gz.sha256 diff --git a/recipes/00-core.order b/recipes/00-core.order index 5a87a9c0..4d174c8b 100644 --- a/recipes/00-core.order +++ b/recipes/00-core.order @@ -339,6 +339,11 @@ networking/weechat: # Sudo implementation tools/sudo: +# CD/DVD writing utilities, libraries +libs/libburn: +libs/libisofs: +libs/libisoburn: libs/libisofs libs/libburn + # Extra software tools/htop: tools/lm-sensors networking/libnl3 python/python3 tools/tree: diff --git a/recipes/libs/libburn/recipe b/recipes/libs/libburn/recipe new file mode 100644 index 00000000..fa550cd0 --- /dev/null +++ b/recipes/libs/libburn/recipe @@ -0,0 +1,73 @@ +# Build recipe for libburn. +# +# Copyright (c) 2022 Matias Fonzo, . +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Exit immediately on any error +set -e + +program=libburn +version=1.5.4 +release=1 + +# Define a category for the output of the package name +pkgcategory=libs + +tarname=${program}-${version}.tar.gz + +# Remote source(s) +fetch=http://files.libburnia-project.org/releases/$tarname + +description=" +Library to read/write optical discs. + +libburn is a library for writing preformatted data onto optical media: +CD, DVD and BD (Blu-Ray). +" + +homepage=https://dev.lovelyhq.com/libburnia +license=GPLv2+ + +# Source documentation +docs="AUTHORS CONTRIBUTORS COPYING COPYRIGHT ChangeLog NEWS README" +docsdir="${docdir}/${program}-${version}" + +build() +{ + unpack "${tardir}/$tarname" + + cd "$srcdir" + + # Set sane permissions + chmod -R u+w,go-w,a+rX-s . + + ./configure CPPFLAGS="$QICPPFLAGS" \ + CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ + $configure_args \ + --libdir=/usr/lib${libSuffix} \ + --docdir=$docsdir \ + --enable-shared=yes \ + --enable-static=no \ + --build="$(gcc -dumpmachine)" + + make -j${jobs} V=1 + make -j${jobs} DESTDIR="$destdir" install-strip + + lzip -9 "${destdir}${mandir}"/man?/* + + # Copy documentation + mkdir -p "${destdir}${docsdir}" + cp -p $docs "${destdir}${docsdir}" +} + diff --git a/recipes/libs/libisoburn/recipe b/recipes/libs/libisoburn/recipe new file mode 100644 index 00000000..b08f0752 --- /dev/null +++ b/recipes/libs/libisoburn/recipe @@ -0,0 +1,96 @@ +# Build recipe for libisoburn. +# +# Copyright (c) 2022 Matias Fonzo, . +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Exit immediately on any error +set -e + +program=libisoburn +version=1.5.4 +release=1 + +# Define a category for the output of the package name +pkgcategory=libs + +tarname=${program}-${version}.tar.gz + +# Remote source(s) +fetch=http://files.libburnia-project.org/releases/$tarname + +description=" +Multi-session filesystem extension to libisofs, libburn. + +libisoburn is a frontend for libraries libburn and libisofs which +enables creation and expansion of ISO-9660 filesystems on all +CD/DVD/BD media supported by libburn. This includes media like +DVD+RW, which do not support multi-session management on media +level and even plain disk files or block devices. +" + +homepage=https://dev.lovelyhq.com/libburnia +license=GPLv2+ + +# Source documentation +docs="AUTHORS CONTRIBUTORS COPYING COPYRIGHT ChangeLog NEWS README TODO" +docsdir="${docdir}/${program}-${version}" + +build() +{ + unpack "${tardir}/$tarname" + + cd "$srcdir" + + # Set sane permissions + chmod -R u+w,go-w,a+rX-s . + + ./configure CPPFLAGS="$QICPPFLAGS" \ + CFLAGS="$QICFLAGS" CXXFLAGS="$QICXXFLAGS" LDFLAGS="$QILDFLAGS" \ + $configure_args \ + --libdir=/usr/lib${libSuffix} \ + --docdir=$docsdir \ + --enable-shared=yes \ + --enable-static=no \ + --enable-pkg-check-modules \ + --build="$(gcc -dumpmachine)" + + make -j${jobs} V=1 + make -j${jobs} DESTDIR="$destdir" install-strip + + # Compress info documents (if needed) + if test -d "${destdir}/$infodir" + then + rm -f "${destdir}/${infodir}/dir" + lzip -9 "${destdir}/${infodir}"/* + fi + + # Compress and link man pages (if needed) + if test -d "${destdir}/$mandir" + then + ( + cd "${destdir}/$mandir" + find . -type f -exec lzip -9 {} + + find . -type l | while read -r file + do + ln -sf "$(readlink -- "$file").lz" "${file}.lz" + rm -- "$file" + done + ) + fi + + # Copy documentation + mkdir -p "${destdir}${docsdir}" + cp -p $docs "${destdir}${docsdir}" +} + diff --git a/recipes/libs/libisofs/recipe b/recipes/libs/libisofs/recipe new file mode 100644 index 00000000..6ba56b46 --- /dev/null +++ b/recipes/libs/libisofs/recipe @@ -0,0 +1,72 @@ +# Build recipe for libisofs. +# +# Copyright (c) 2022 Matias Fonzo, . +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Exit immediately on any error +set -e + +program=libisofs +version=1.5.4 +release=1 + +# Define a category for the output of the package name +pkgcategory=libs + +tarname=${program}-${version}.tar.gz + +# Remote source(s) +fetch=http://files.libburnia-project.org/releases/$tarname + +description=" +ISO9660 filesystem creation library. + +libisofs is a library to create an ISO-9660 filesystem with +extensions like RockRidge or Joliet. +" + +homepage=https://dev.lovelyhq.com/libburnia +license=GPLv2+ + +# Source documentation +docs="AUTHORS COPYING COPYRIGHT ChangeLog NEWS README TODO" +docsdir="${docdir}/${program}-${version}" + +build() +{ + unpack "${tardir}/$tarname" + + cd "$srcdir" + + # Set sane permissions + chmod -R u+w,go-w,a+rX-s . + + ./configure CPPFLAGS="$QICPPFLAGS" \ + CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ + $configure_args \ + --libdir=/usr/lib${libSuffix} \ + --docdir=$docsdir \ + --enable-shared=yes \ + --enable-static=no \ + --enable-ldconfig-at-install=no \ + --build="$(gcc -dumpmachine)" + + make -j${jobs} V=1 + make -j${jobs} DESTDIR="$destdir" install-strip + + # Copy documentation + mkdir -p "${destdir}${docsdir}" + cp -p $docs "${destdir}${docsdir}" +} + diff --git a/sources/SOURCELIST.txt b/sources/SOURCELIST.txt index ab9a4807..0dd4f9cc 100644 --- a/sources/SOURCELIST.txt +++ b/sources/SOURCELIST.txt @@ -21,6 +21,9 @@ ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz ftp://sourceware.org/pub/valgrind/valgrind-3.18.1.tar.bz2 http://crux.ster.zone/downloads/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0.tar.gz http://files.itstool.org/itstool/itstool-2.0.7.tar.bz2 +http://files.libburnia-project.org/releases/libburn-1.5.4.tar.gz +http://files.libburnia-project.org/releases/libisoburn-1.5.4.tar.gz +http://files.libburnia-project.org/releases/libisofs-1.5.4.tar.gz http://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-0.3.2.tar.xz http://ftp.midnight-commander.org/mc-4.8.27.tar.bz2 http://ftp.netfilter.org/pub/nftables/nftables-1.0.1.tar.bz2 diff --git a/sources/libburn-1.5.4.tar.gz.sha256 b/sources/libburn-1.5.4.tar.gz.sha256 new file mode 100644 index 00000000..fbb25d1c --- /dev/null +++ b/sources/libburn-1.5.4.tar.gz.sha256 @@ -0,0 +1 @@ +525059d10759c5cb8148eebc863bb510e311c663603da7bd2d21c46b7cf63b54 libburn-1.5.4.tar.gz diff --git a/sources/libisoburn-1.5.4.tar.gz.sha256 b/sources/libisoburn-1.5.4.tar.gz.sha256 new file mode 100644 index 00000000..422f2b08 --- /dev/null +++ b/sources/libisoburn-1.5.4.tar.gz.sha256 @@ -0,0 +1 @@ +2d89846d43880f17fa591c53b3bea42ffb803628e4e630c680fc2c9184f79132 libisoburn-1.5.4.tar.gz diff --git a/sources/libisofs-1.5.4.tar.gz.sha256 b/sources/libisofs-1.5.4.tar.gz.sha256 new file mode 100644 index 00000000..80800086 --- /dev/null +++ b/sources/libisofs-1.5.4.tar.gz.sha256 @@ -0,0 +1 @@ +aaa0ed80a7501979316f505b0b017f29cba0ea5463b751143bad2c360215a88e libisofs-1.5.4.tar.gz -- 2.11.4.GIT