This commit is contained in:
Alexander Zhirov 2025-03-30 22:39:34 +03:00
commit e3b40767a1
5 changed files with 73 additions and 0 deletions

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# Dexed
Dexed, расширенный редактор для D (D Extended EDitor), — это интегрированная среда разработки (IDE) для языка программирования D, его компиляторов, инструментов и библиотек.
![ide](data/ide.png)

BIN
data/ide.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

12
files/dexed.desktop Normal file
View File

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Name=Dexed
Terminal=false
Icon=dexed
Type=Application
Categories=Application;IDE;Development;
Exec=dexed %f
GenericName=dexed
Comment=D Extended EDitor
StartupNotify=true
Keywords=editor;Dlang;IDE;dmd;dub;

14
files/soname.patch Normal file
View File

@ -0,0 +1,14 @@
--- dexed-d/dub.json 2023-09-18 09:41:22.000000000 +0300
+++ dexed-d/dub.json 2025-03-30 20:22:14.709180808 +0300
@@ -3,6 +3,11 @@
"targetType" : "dynamicLibrary",
"targetPath" : "../bin",
"targetName" : "dexed-d",
+ "lflags": ["-soname=libdexed-d.so.0"],
+ "postBuildCommands": [
+ "mv ../bin/libdexed-d.so ../bin/libdexed-d.so.0",
+ "ln -sf libdexed-d.so.0 ../bin/libdexed-d.so"
+ ],
"dependencies" : {
"libdparse" : {
"path" : "../etc/libdparse"

42
package.yml Normal file
View File

@ -0,0 +1,42 @@
name : dexed
version : 3.9.26
release : 1
source :
- https://gitlab.com/basile.b/dexed/-/archive/v3.9.26/dexed-v3.9.26.tar.gz : 2b0985115a8b2c6212adacfe3097381939d47913215c3b8e148419cad209e3e2
- https://github.com/dlang-community/libdparse/archive/refs/tags/v0.25.0.tar.gz#libdparse.tar.gz : 60472da5203077acac7fb722e9f52c95e027931c314b95922606a354fbf87c87
- https://github.com/dlang-community/stdx-allocator/archive/refs/tags/v3.1.0-beta.2.tar.gz#stdx-allocator.tar.gz : 8e2a978c48cdc5384bf58ea31aa8141382e4cf01548aaea6de801c1e32b1b29c
homepage : https://basile.b.gitlab.io/dexed/
license : BSL-1.0
component : programming.tools
summary : Dexed, the D Extended EDitor, is an IDE for the D programming language, its compilers, tools and libraries.
description: |
Dexed, the D Extended EDitor, is an IDE for the D programming language, its compilers, tools and libraries.
builddeps :
- dub
- lazarus
- ldc
- pkgconfig(gtk+-2.0)
rundeps :
- dub
- dmd
- ldc
- dfmt
- dscanner
- dcd
- gdb
- diffutils
setup : |
# submodules
tar xf $sources/libdparse.tar.gz --strip-components=1 -C $workdir/etc/libdparse
tar xf $sources/stdx-allocator.tar.gz --strip-components=1 -C $workdir/etc/stdx-allocator
# create soname for libdexed-d
%patch -p0 < $pkgfiles/soname.patch
build : |
cd lazproj
lazbuild -B --lazarusdir=/usr/lib/lazarus dexeddesigncontrols.lpk
lazbuild -B --lazarusdir=/usr/lib/lazarus dexed.lpi
install : |
install -Dm00755 bin/dexed $installdir/usr/bin/dexed
install -Dm00755 bin/libdexed-d.so.0 $installdir/usr/lib/libdexed-d.so.0
install -Dm00644 $pkgfiles/dexed.desktop $installdir/usr/share/applications/dexed.desktop
install -Dm00644 logo/dexed256.png $installdir/usr/share/pixmaps/dexed.png