From dc5a5a15fcfc80761c2fa0e7db1cb4178da79d4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Thu, 2 Apr 2020 13:08:53 -0300 Subject: [PATCH] recipes: community: Moved to the new 'dragora-extras' repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matías Fonzo --- recipes/99-community.order | 27 -------- recipes/community/x-apps/fittsen/recipe | 86 ----------------------- recipes/community/x-apps/icewm/post-install | 14 ---- recipes/community/x-apps/icewm/recipe | 101 ---------------------------- recipes/community/x-apps/tint2/post-install | 7 -- recipes/community/x-apps/tint2/recipe | 86 ----------------------- recipes/community/x-apps/xdotool/recipe | 73 -------------------- 7 files changed, 394 deletions(-) delete mode 100644 recipes/99-community.order delete mode 100644 recipes/community/x-apps/fittsen/recipe delete mode 100644 recipes/community/x-apps/icewm/post-install delete mode 100644 recipes/community/x-apps/icewm/recipe delete mode 100644 recipes/community/x-apps/tint2/post-install delete mode 100644 recipes/community/x-apps/tint2/recipe delete mode 100644 recipes/community/x-apps/xdotool/recipe diff --git a/recipes/99-community.order b/recipes/99-community.order deleted file mode 100644 index fe6f7e4f..00000000 --- a/recipes/99-community.order +++ /dev/null @@ -1,27 +0,0 @@ -# HOW TO READ THIS FILE: -# -# If 'a' depends on 'b' and 'c', and 'c' depends on 'b' as well, -# the file might look like: -# -# a.recipe: c.recipe b.recipe -# b.recipe: -# c.recipe: b.recipe -# -# Each letter represents a recipe name, complete dependencies for -# the first recipe name are listed in descending order, which is -# printed from right to left, and removed from left to right: -# -# b.recipe -# c.recipe -# a.recipe -# -# Commented lines starting with a '#' are allowed. Blank lines, -# colons, parentheses, and end of line are removed. -# -# For more information, type: info qi 'order file' -# - -community/x-apps/fittsen: -community/x-apps/xdotool: -community/x-apps/icewm: -community/x-apps/tint2: diff --git a/recipes/community/x-apps/fittsen/recipe b/recipes/community/x-apps/fittsen/recipe deleted file mode 100644 index af02350c..00000000 --- a/recipes/community/x-apps/fittsen/recipe +++ /dev/null @@ -1,86 +0,0 @@ -# Build recipe for fittsen (fork of fittstool). -# -# Copyright (c) 2018 Markus Tornow, . -# Copyright (c) 2018-2019 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. - -program=fittsen -version=20190618_277dd4f -release=4 - -# Set 'outdir' for a nice and well-organized output directory -outdir="${outdir}/${arch}/community/x-apps" - -tarname=${program}-${version}.tar.lz - -# Remote source(s) -fetch=" - http://rsync.dragora.org/current/sources/$tarname - http://mirror.cedia.org.ec/dragora/current/sources/$tarname -" - -description=" -A mouse command utitlity. - -Utility to bind commands to mouse button events on the screen corners, -via a simple and concise configuration file. -" - -homepage=http://notabug.org/frusen/fittsen -license="GPLv2+ | New BSD (inih library)" - -# Source documentation -docs="LICENSE* README.md github.README.md" -docsdir="${docdir}/${program}-${version}" - -build() -{ - set -e - - unpack "${tardir}/$tarname" - - cd "$srcdir" - - # Set sane permissions - chmod -R u+w,go-w,a+rX-s . - - make -j${jobs} CFLAGS="$QICFLAGS" - - mkdir -p "${destdir}/usr/bin" - cp -p fittsen "${destdir}/usr/bin"/ - chmod 755 "${destdir}/usr/bin/fittsen" - strip --strip-unneeded "${destdir}/usr/bin/fittsen" - - # Make symlink for compatibility with fittstool - ( cd "${destdir}/usr/bin" && ln -sf fittsen fittstool ) - - # 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/community/x-apps/icewm/post-install b/recipes/community/x-apps/icewm/post-install deleted file mode 100644 index 167b8df1..00000000 --- a/recipes/community/x-apps/icewm/post-install +++ /dev/null @@ -1,14 +0,0 @@ - -echo "Updating desktop database: update-desktop-database -q usr/share/applications" -chroot "$rootdir" /usr/bin/update-desktop-database -q usr/share/applications - -# Make default symlink for xinitrc-icewm if 'xinitrc' does not exist, -# or if 'xinitrc' is a dangling symlink - -if test ! -e etc/X11/xinit/xinitrc || { - test -L etc/X11/xinit/xinitrc && test ! -e etc/X11/xinit/xinitrc -} -then - cd etc/X11/xinit && ln -sf xinitrc-icewm xinitrc -fi - diff --git a/recipes/community/x-apps/icewm/recipe b/recipes/community/x-apps/icewm/recipe deleted file mode 100644 index 08402b58..00000000 --- a/recipes/community/x-apps/icewm/recipe +++ /dev/null @@ -1,101 +0,0 @@ -# Build recipe for icewm. -# -# Copyright (c) 2018-2019 Matias Fonzo, . -# Copyright (c) 2019 Lucas Skoldqvist, . -# -# 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. - -program=icewm -version=1.6.2 -release=1 - -# Set 'outdir' for a nice and well-organized output directory -outdir="${outdir}/${arch}/community/x-apps" - -tarname=${program}-${version}.tar.lz - -# Remote source(s) -fetch=http://github.com/ice-wm/icewm/releases/download/${version}/$tarname - -homepage=http://ice-wm.org/ - -description=" -IceWM Window Manager. - -IceWM is a window manager for the X Window System. The goal of IceWM -is speed, simplicity, and not getting in the user's way. It comes with -a taskbar with pager, global and per-window keybindings and a dynamic -menu system. - -For more information, visit: $homepage -" - -license=LGPLv2+ - -# Source documentation -docs="AUTHORS ChangeLog COPYING NEWS README.md THANKS TODO VERSION doc/*.html icewm.lsm" -docsdir="${docdir}/${program}-${version}" - -build() -{ - set -e - - unpack "${tardir}/$tarname" - - cd "$srcdir" - - # Set sane permissions - chmod -R u+w,go-w,a+rX-s . - - ./configure CXXFLAGS="$QICXXFLAGS" LDFLAGS="$QILDFLAGS" \ - $configure_args \ - --libdir=/usr/lib${libSuffix} \ - --mandir=$mandir \ - --with-docdir=$docsdir \ - --disable-rpath \ - --build="$(cc -dumpmachine)" - - make -j${jobs} V=1 - make -j${jobs} DESTDIR="$destdir" install - - mkdir -p "${destdir}/usr/share/xsessions" \ - "${destdir}/usr/share/applications" - cp -p lib/icewm-session.desktop "${destdir}/usr/share/xsessions" - cp -p lib/icewm.desktop "${destdir}/usr/share/applications" - - # Include xinitrc file to start IceWM - mkdir -p "${destdir}/etc/X11/xinit" - cp -p "${worktree}/archive/icewm/xinitrc-icewm" "${destdir}/etc/X11/xinit/" - chmod 644 "${destdir}/etc/X11/xinit/xinitrc-icewm" - - touch "${destdir}/etc/X11/xinit/.graft-config" - - # 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/community/x-apps/tint2/post-install b/recipes/community/x-apps/tint2/post-install deleted file mode 100644 index 2a4e0de7..00000000 --- a/recipes/community/x-apps/tint2/post-install +++ /dev/null @@ -1,7 +0,0 @@ - -echo "Updating desktop database: update-desktop-database -q usr/share/applications" -chroot "$rootdir" /usr/bin/update-desktop-database -q usr/share/applications - -echo "Updating ICON cache: gtk-update-icon-cache -q -f -i usr/share/icons/hicolor" -chroot "$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i usr/share/icons/hicolor - diff --git a/recipes/community/x-apps/tint2/recipe b/recipes/community/x-apps/tint2/recipe deleted file mode 100644 index ab87eb04..00000000 --- a/recipes/community/x-apps/tint2/recipe +++ /dev/null @@ -1,86 +0,0 @@ -# Build recipe for tint2. -# -# Copyright (c) 2019-2020 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. - -program=tint2 -version=20190714_7831350 -release=2 - -# Set 'outdir' for a nice and well-organized output directory -outdir="${outdir}/${arch}/community/x-apps" - -tarname=${program}-${version}.tar.lz - -# Remote source(s) -fetch=" - http://rsync.dragora.org/current/sources/$tarname - http://mirror.cedia.org.ec/dragora/current/sources/$tarname -" - -description=" -tint2 is a simple panel/taskbar made for modern X window managers. - -It was specifically made for Openbox but it should also work with -other window managers (GNOME, KDE, Xfce, etc.). -" - -homepage=http://gitlab.com/o9000/tint2 -license=GPLv2+ - -# Source documentation -docsdir="${docdir}/${program}-${version}" - -build() -{ - set -e - - unpack "${tardir}/$tarname" - - cd "$srcdir" - - # Set sane permissions - chmod -R u+w,go-w,a+rX-s . - - mkdir BUILD - cd BUILD - - cmake \ - -DCMAKE_C_FLAGS_RELEASE:STRING="$QICFLAGS" \ - -DCMAKE_EXE_LINKER_FLAGS:STRING="$QILDFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_MANDIR=$mandir \ - -DCMAKE_INSTALL_DOCDIR=$docsdir \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - .. - - make -j${jobs} - make -j${jobs} DESTDIR="$destdir" install - - # 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 -} - diff --git a/recipes/community/x-apps/xdotool/recipe b/recipes/community/x-apps/xdotool/recipe deleted file mode 100644 index 55d6a6ec..00000000 --- a/recipes/community/x-apps/xdotool/recipe +++ /dev/null @@ -1,73 +0,0 @@ -# Build recipe for xdotool. -# -# Copyright (c) 2018 Markus Tornow, . -# Copyright (c) 2018 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. - -program=xdotool -version=3.20160805.1 -release=1 - -# Set 'outdir' for a nice and well-organized output directory -outdir="${outdir}/${arch}/community/x-apps" - -tarname=${program}-${version}.tar.gz - -# Remote source(s) -fetch=http://github.com/jordansissel/xdotool/releases/download/v${version}/$tarname - -homepage=http://www.semicomplete.com/projects/xdotool/ - -description=" -Fake input from the mouse and keyboard very easily. - -xdotool also supports window manager actions such as moving, -activating, and other actions on windows. - -For more information, visit: -$homepage -" - -homepage=http://www.semicomplete.com/projects/xdotool/ -license=Custom - -# Source documentation -docs="CHANGELIST COPYRIGHT README VERSION examples/" -docsdir="${docdir}/${program}-${version}" - -build() -{ - set -e - - unpack "${tardir}/$tarname" - - cd "$srcdir" - - make showman - - make -j${jobs} V=1 CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ - PREFIX=/usr \ - INSTALLLIB=/usr/lib${libSuffix} \ - INSTALLMAN=$mandir \ - LDCONFIG=true \ - DESTDIR="$destdir" \ - install - - lzip -9 "${destdir}/${mandir}/man1/xdotool.1" - - # Copy documentation - mkdir -p "${destdir}${docsdir}" - cp -p -r $docs "${destdir}${docsdir}/" -} - -- 2.11.4.GIT