Skip to content

Commit df0a31e

Browse files
committed
tde-pack
1 parent ecbaf9e commit df0a31e

File tree

8,795 files changed

+741228
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,795 files changed

+741228
-0
lines changed
-66.8 MB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# TDE SCM module information
2+
Name: /home/slavek/Veřejné/tde/work/r14.1.x/packaging
3+
Version: R14.1.3
4+
Revision: r14.1.x-3e47a130fedff6c3ecdcf7820816d1982bc8ad02
5+
DateTime: 10/24/2024 07:25
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
============================================================ DOCUMENTATION =======================================================
2+
3+
GIT tutorial on github:
4+
http://schacon.github.com/git/gittutorial.html
5+
6+
GIT "cheat sheet"
7+
http://jonas.nitro.dk/git/quick-reference.html
8+
9+
GIT for those who are used to centralized SCMs:
10+
http://media.pragprog.com/titles/tsgit/chap-005-extract.html
11+
12+
TDE GIT documentation:
13+
https://wiki.trinitydesktop.org/Project_GIT_Information
14+
15+
================================================================ HOWTO ===========================================================
16+
17+
To get a copy of the repo:
18+
git clone http://[email protected]/scm/git/<repository name>
19+
20+
To exclude items:
21+
Create a file '.gitignore'
22+
23+
To add to the git repository (easiest and most efficient way):
24+
git add .
25+
(this will add everything in the folder (excluding stuff from .gitignore). It is intentionally a period because * will make git stop on already committed files.)
26+
27+
To commit to the git repository (this does not send to the remote server!):
28+
git commit -a
29+
(no need to do any git mv or git rm or any of that with the -a option.)
30+
31+
To pull recent commits from the remote git repository:
32+
git pull
33+
(do this before pushing so that you don't collide with other's commits.)
34+
35+
To push to the remote git repository:
36+
git push origin master
37+
(the 'origin master' part is optional after the first time.)
38+
39+
To branch (be careful! This is different from SVN.):
40+
git branch <name>
41+
(don't know what branch you're on? run "git branch" to see and list.)
42+
43+
To switch branches:
44+
git checkout <branch name>
45+
46+
To tag a commit (like for releasing a tarball):
47+
git tag -a <version> -m <message>
48+
(ps: this will make webgit generate a tarball with this tag.
49+
easy releases anyone?)
50+
51+
To tag a commit WITH GPG verification (secure release anyone?):
52+
git tag -s <version> -m <message>
53+
54+
55+
56+
================================================================= NOTE ============================================================
57+
GIT cannot store empty directories due to a intentional design limitation.
58+
59+
Therefore, this command should be run prior to any commits to ensure your empty directories stick around:
60+
61+
find . -type d -empty -exec touch {}/.gitignore \;
62+
63+
This will add a .gitignore to every empty directory.
64+
65+
================================================================ WORKFLOW ==========================================================
66+
67+
68+
git clone http://[email protected]/scm/git/<repository>
69+
70+
<make your changes, test, etc>
71+
72+
cd <repository checkout directory>
73+
find . -type d -empty -exec touch {}/.gitignore \;
74+
git add .
75+
git commit -a
76+
git pull
77+
git push
78+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*/*/pkg
2+
*/*/src
3+
*/*/*.tar.bz2
4+
*/*/*.tar.xz
5+
*/*/*.pkg.tar.xz
6+
*/*/*.pkg.tar.zst
7+
*/*/*.sig
8+
*/*/*.log
9+
*/*/*.log.*
10+
tde-meta/pkg
11+
tde-meta/*.pkg.tar.xz
12+
tde-meta/*.pkg.tar.zst
13+
tde-meta/*.sig
14+
out
15+
*~
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM archlinux/base
2+
3+
RUN echo "[docker-dev]" >> /etc/pacman.conf
4+
RUN echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf
5+
RUN echo "Server = http://repo.nasutek.com/arch/contrib/docker-dev/" >> /etc/pacman.conf
6+
7+
RUN pacman -Syyu --noconfirm
8+
RUN pacman-db-upgrade
9+
10+
RUN pacman -S --noconfirm base-devel sudo grep wget xscreensaver libxss libgphoto2 fribidi sane xmms2 alsa-plugins alsa-tools alsa-utils audiofile glib2 libmad libogg libvorbis pulseaudio-alsa avahi nss-mdns dbus libraw1394 libxtst lm_sensors ttf-dejavu ttf-freefont xorg-server xorg-xinit openssl-1.0 aspell hspell jasper libcups libidn libutempter libxcomposite libxslt openexr pcre xorg-iceauth xorg-xmessage xorg-xprop xorg-xset xorg-xsetroot glu taglib gtk3 dbus-glib speex wireless_tools wpa_supplicant boost boost-libs gnokii curl libraw pkgconfig autoconf imake cmake python2 imlib automake libtool libxkbfile smbclient rpcsvc-proto xorg-bdftopcf libiodbc libxi mariadb unixodbc libmng xorg-xrandr libxft flex subversion mplayer exiv2 doxygen
11+
RUN pacman -S --noconfirm htdig lcms postgresql-9.6
12+
13+
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
14+
15+
RUN useradd -m dev
16+
RUN gpasswd -a dev wheel
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Trinity Build Environment Docker Image
2+
3+
## How to build
4+
All you need to do is run
5+
```
6+
docker build
7+
```
8+
9+
in this directory and it will create an image for building Trinity with.
10+
11+
## Using the docker image
12+
Here is an example way to run docker for building trinity
13+
```
14+
docker run -it --rm -v `pwd`:/tmp/src <finalimageid>
15+
```
16+
17+
Once running just run
18+
```
19+
su - dev
20+
```
21+
To enter a non-root user
22+
23+
This will mount your source directory in /tmp/src where you can run ./build.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Maintainer: Michael Manley <[email protected]>
2+
# Contributor: David C. Rankin <drankinatty at gmail dot com>
3+
4+
_mod=tdepowersave
5+
_cat=applications/
6+
_kdemod="${_mod/tde/kde}"
7+
8+
pkgname="tde-${_mod/tde-}"
9+
pkgver=14.1.0
10+
pkgrel=1
11+
pkgdesc="Trinity Desktop Enviroment $_cat$_mod"
12+
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'powerpc64le')
13+
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
14+
license=('GPL')
15+
provides=("${_mod}")
16+
groups=('tde-complete')
17+
depends=(
18+
'tde-tdelibs'
19+
)
20+
makedepends=(
21+
'tde-cmake-trinity'
22+
'autoconf'
23+
'pkgconfig'
24+
)
25+
optdepends=()
26+
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
27+
replaces=("trinity-${_mod}")
28+
options=('staticlibs' 'libtool' '!strip')
29+
install=
30+
31+
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
32+
md5sums=()
33+
34+
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
35+
[ -n "$TQTDIR" ] || TQTDIR=${TDEDIR}/tqt3
36+
37+
build() {
38+
msg "Creating out-of-source build directory: ${srcdir}/build"
39+
mkdir -p "$srcdir/build"
40+
cd "$srcdir/build"
41+
42+
msg "Starting cmake..."
43+
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
44+
-GNinja \
45+
-DCMAKE_VERBOSE_MAKEFILE=ON \
46+
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
47+
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
48+
-DBUILD_ALL=ON \
49+
-DWITH_ALL_OPTIONS=ON
50+
51+
msg "Building - ${pkgname}..."
52+
ninja $NUMJOBS
53+
}
54+
55+
package() {
56+
msg "Packaging - ${pkgname}-${pkgver}"
57+
cd "$srcdir/build"
58+
DESTDIR="$pkgdir" ninja -j1 install
59+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Trinity_ArchLinux_PKGBUILD
2+
PKGBUILD's for building Trinity on Arch Linux
3+
4+
## How to build Trinity with these Files
5+
If you have trouble building one of these packages,
6+
please source the environment variables by issuing (from package directory):
7+
```
8+
. ../environment
9+
```
10+
OR
11+
```
12+
source ../environment
13+
```
14+
15+
The Build Script build.sh will automatically source this environment and is not needed to be ran beforehand
16+
17+
## Building the Trinity Packages
18+
All you need to do is run ./build.sh after installing any dependencies. A Docker Script is included to create
19+
a temporary build environment for Trinity. It is recommended to use this Docker Environment as this is how
20+
the official trinity arch repo is compiled by. See the README.md in DockerBuildEnvironment for details.
21+
22+
## Unbuildable Packages
23+
Here lists the unbuildable packages at the moment. Please help make these packages buildable and submit any pull
24+
requests to fix them. Each package has a Bug entry which includes the build log for reference.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/bash
2+
set -e
3+
tdesrc=$PWD
4+
tdearch=$(uname -m)
5+
rm -rf $tdesrc/out/${tdearch}
6+
7+
. $tdesrc/environment
8+
9+
compile_directory() {
10+
cd $tdesrc/$1
11+
dir=$PWD
12+
for pkg in $2; do
13+
if [[ $pkg != .* ]]; then
14+
cd "$dir"/tde-"$pkg"
15+
makepkg -Lsci
16+
fi
17+
done
18+
}
19+
20+
### Build Packages
21+
compile_directory tde-core "cmake-trinity tqt3 tqtinterface arts dbus-tqt dbus-1-tqt tqca tqca-tls tqscintilla libart-lgpl avahi-tqt tdelibs tdebase"
22+
compile_directory tde-libs "libcaldav libcarddav libkdcraw libkexiv2 libkipi"
23+
compile_directory tde-base "i18n tdeartwork tdebindings tdegraphics tdeutils tdeadmin"
24+
compile_directory tde-extra "akode tdepim tdemultimedia tdenetwork tdeedu tdegames tdetoys tdeaccessibility tdeaddons gtk-qt-engine gtk3-tqt-engine systemsettings abakus amarok basket dolphin ebook-reader filelight kbiff kchmviewer kcpuload kile kmplayer kmyfirewall kmymoney konversation kooldock krename krusader kshutdown ksplash-engine-moodin kvkbd style-baghira style-domino style-lipstik style-qtcurve tdeio-appinfo tdeio-ftps tdeio-locate tdenetworkmanager tdepowersave tdesudo tdmtheme tork twin-style-crystal twin-style-dekorator twin-style-machbunt twin-style-mallory xdg-desktop-portal-tde yakuake"
25+
compile_directory tde-devel "tdesdk tdevelop tdewebdev kdbg kdiff3 kscope kxmleditor piklab universal-indent-gui-tqt"
26+
27+
### Copy completed packages to out/${tdearch} folder and download dependencies to out/${tdearch} folder
28+
cd $tdesrc
29+
mkdir -p $tdesrc/out/${tdearch}
30+
cp $(find $tdesrc -name *.pkg.tar.zst) $tdesrc/out/${tdearch}
31+
wget https://mirror.ppa.trinitydesktop.org/trinity/archlinux/${tdearch}/gnokii-0.6.31-19.1-${tdearch}.pkg.tar.zst -O $tdesrc/out/${tdearch}/gnokii-0.6.31-19.1-${tdearch}.pkg.tar.zst
32+
wget https://mirror.ppa.trinitydesktop.org/trinity/archlinux/${tdearch}/htdig-3.2.0b6-11.1-${tdearch}.pkg.tar.zst -O $tdesrc/out/${tdearch}/htdig-3.2.0b6-11.1-${tdearch}.pkg.tar.zst
33+
wget https://mirror.ppa.trinitydesktop.org/trinity/archlinux/${tdearch}/lcms-1.19-7.1-${tdearch}.pkg.tar.zst -O $tdesrc/out/${tdearch}/lcms-1.19-7.1-${tdearch}.pkg.tar.zst
34+
wget https://mirror.ppa.trinitydesktop.org/trinity/archlinux/${tdearch}/pod2man-5.30.2-1-${tdearch}.pkg.tar.zst -O $tdesrc/out/${tdearch}/pod2man-5.30.2-1-${tdearch}.pkg.tar.zst
35+
36+
### Create trinity pacman repo
37+
repo-add $tdesrc/out/${tdearch}/trinity.db.tar.gz $tdesrc/out/${tdearch}/*.pkg.tar.{xz,zst}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
export TDEDIR=/opt/trinity
2+
export QTDIR=$TDEDIR/tqt3
3+
export TQTDIR=$QTDIR
4+
#export SYSCONFDIR=/etc/trinity
5+
#export LIBDIR=$TDEDIR/lib
6+
#export MANDIR=$TDEDIR/man
7+
export QT_XFT=true
8+
export PATH=$PATH:$TQTDIR/bin:$TDEDIR/bin
9+
10+
if [ ! -z $PKG_CONFIG_PATH ]; then
11+
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TDEDIR/lib/pkgconfig:$TQTDIR/lib/pkgconfig
12+
else
13+
export PKG_CONFIG_PATH=$TDEDIR/share
14+
fi
15+
if [ ! -z $XDG_DATA_DIRS ]; then
16+
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$TDEDIR/share
17+
else
18+
export XDG_DATA_DIRS=$TDEDIR/share
19+
fi
20+
if [ ! -z $XDG_CONFIG_DIRS ]; then
21+
export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$TDEDIR/etc/xdg
22+
else
23+
export XDG_CONFIG_DIRS=$TDEDIR/etc/xdg
24+
fi
25+
if [ ! -z $PKG_CONFIG_PATH ]; then
26+
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TDEDIR/lib/pkgconfig:$TQTDIR/lib/pkgconfig
27+
else
28+
export PKG_CONFIG_PATH=$TDEDIR/share
29+
fi

0 commit comments

Comments
 (0)