|
|
|
Home » Community » Newbie corner » Arch Linux install ?
| Arch Linux install ? [message #61936] |
Wed, 25 February 2026 13:18  |
nemsys
Messages: 1 Registered: February 2026
|
Junior Member |
|
|
Hi,
(sorry first post cannot use links)
I'm new to U++ following the 2022 getting started with U++ on codepen.
Firstly I installed U++ as an arch Linux AUR package changing only the version number to 17810, an extract of the PKGBUILD (install script) is below.
However upon launching theide from /usr/bin/theide the package browser is blank, I have verified that the example files are installed in /usr/share/upp as I would expect ?
no errors are posted to console when i execute /usr/bin/theide
Any ideas where I have gone wrong ?
...
prepare() {
cd "$srcdir/upp"
./configure
make -f umkMakefile -j 4
}
build() {
cd "$srcdir/upp"
UMK="./umk"
$UMK ./uppsrc ide CLANG -brs ./theide
$UMK ./uppsrc umk CLANG -brs ./umk
}
package_theide(){
# theide specific settings
pkgdesc="Modern IDE designed for developing large U++/C++ applications"
# man pages
install -D "$srcdir/upp/uppsrc/ide/theide.1" "$pkgdir/usr/share/man/man1/theide.1"
# desktop entry
install -D "$srcdir/upp/uppsrc/ide/theide.desktop" "$pkgdir/usr/share/applications/theide.desktop"
# icon
install -D "$srcdir/upp/uppsrc/ide/icon64x64.png" "$pkgdir/usr/share/pixmaps/theide.png"
# fix permissions
find "$pkgdir/usr/" -print0 | xargs -0 chown root:root
find "$pkgdir/usr/" -type f -print0 | xargs -0 chmod 644
find "$pkgdir/usr/" -type d -print0 | xargs -0 chmod 755
# install applications
install -D "$srcdir/upp/theide" "$pkgdir/usr/bin/theide"
}
package_umk(){
# umk specific settings
pkgdesc="Command line builder for U++ applications"
# man pages
install -D "$srcdir/upp/uppsrc/umk/umk.1" "$pkgdir/usr/share/man/man1/umk.1"
# fix permissions
find "$pkgdir/usr/" -print0 | xargs -0 chown root:root
find "$pkgdir/usr/" -type f -print0 | xargs -0 chmod 644
find "$pkgdir/usr/" -type d -print0 | xargs -0 chmod 755
# install applications
install -D "$srcdir/upp/umk" "$pkgdir/usr/bin/umk"
}
package_upp() {
# upp specific settings
pkgdesc="Radical and innovative multiplatform C++ framework (known as U++)"
depends=('theide')
#copy source files
mkdir -p "$pkgdir/usr/share/upp"
msg2 "Moving the source codes..."
cp -r "$srcdir/upp/"{examples,reference,tutorial,uppsrc} "$pkgdir/usr/share/upp/"
echo "#define IDE_VERSION \"$pkgver-Arch\"" > "$pkgdir/usr/share/upp/uppsrc/ide/version.h"
#fix permissions
msg2 "Setting permissions..."
find "$pkgdir/usr/" -print0 | xargs -0 chown root:root
find "$pkgdir/usr/" -type f -print0 | xargs -0 chmod 644
find "$pkgdir/usr/" -type d -print0 | xargs -0 chmod 755
}
|
|
|
|
Goto Forum:
Current Time: Mon Mar 02 15:21:10 CET 2026
Total time taken to generate the page: 0.09383 seconds
|
|
|