From d9c8ab7fe4c0b0448291f7d5418c836a1a48a2ad Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Thu, 11 May 2023 17:57:40 +0300 Subject: [PATCH] add desktop links --- ...> 0001-Disabling-static-linux6-support.patch} | 0 iup/files/iupluascripter.desktop | 10 ++++++++++ iup/files/iupvled.desktop | 10 ++++++++++ iup/files/tecgraf-logo.png | Bin 0 -> 1489 bytes iup/package.yml | 10 +++++++++- ...th-linux6.patch => 0001-Linux6-support.patch} | 0 libcd/package.yml | 2 +- 7 files changed, 30 insertions(+), 2 deletions(-) rename iup/files/{without-lua-prefix-with-linux6.patch => 0001-Disabling-static-linux6-support.patch} (100%) create mode 100644 iup/files/iupluascripter.desktop create mode 100644 iup/files/iupvled.desktop create mode 100644 iup/files/tecgraf-logo.png rename libcd/files/{without-lua-prefix-with-linux6.patch => 0001-Linux6-support.patch} (100%) diff --git a/iup/files/without-lua-prefix-with-linux6.patch b/iup/files/0001-Disabling-static-linux6-support.patch similarity index 100% rename from iup/files/without-lua-prefix-with-linux6.patch rename to iup/files/0001-Disabling-static-linux6-support.patch diff --git a/iup/files/iupluascripter.desktop b/iup/files/iupluascripter.desktop new file mode 100644 index 0000000..f348dea --- /dev/null +++ b/iup/files/iupluascripter.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=IupLuaScripter +Comment=Provides a complete editor interface, with the capability of debug the Lua script +GenericName=Lua editor +Exec=iupluascripter +Icon=iupluascripter +Type=Application +Terminal=false +Categories=Development;TextEditor;IDE; +MimeType=text/plain; diff --git a/iup/files/iupvled.desktop b/iup/files/iupvled.desktop new file mode 100644 index 0000000..d7d6495 --- /dev/null +++ b/iup/files/iupvled.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=IupVisualLED +Comment=IDE to edit and test LED files +GenericName=IUP IDE +Exec=iupvled +Icon=iupvled +Type=Application +Terminal=false +Categories=Development;IDE; +MimeType=application/x-designer; diff --git a/iup/files/tecgraf-logo.png b/iup/files/tecgraf-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..067a22c1131fa21499db19c0e4f66b761eb85a7c GIT binary patch literal 1489 zcmV;?1upuDP)+74k6A3evi;?2Sxz*0rvx?Kv({_kVyFeqaEh* zMgyf2m;_2eOXf4{P+r-nX}cvTsYI9#JOwO^AsCZD9s#!HP>UYmB5)o!3v>dffDYgU zs5X#R-?1(y0>HGr3ShpD*>iv?gV;5tgkn)F1{#O3s69Xi_z~C*>&`wr)>0XE%;!7E%zscxwO`l7?( z0odgQZNy<6(--Q4oGbrm7FrL~=j?D>PV&00zgMnFVWrOQRXWs0$>F|>Y*uEafG;tq*Inrp3E~R^PFDLdHys0nmMm1KQugdx9S_jp=N^B$;-LM5Iaw zj|Cd!bznV8)$8w%2bxlvkR3E_Z?%H2e8*a6+U}UX1Oi$-_lg)J^U^>VXQ|n<%}+ZnjSI({w3W zoUpN10bfVB7JC0v*zY@5M`8udjY@vGYXku`i2M@sNONz2LP|%dtPYV+<~-K`G%7f0 z7^<^OnNYx>c{g=M}(_82yY2`@cfTOnXHUJJ6nStgHD3a3DrML6nq*PFi(D ziTP9Bd!wq?2o)I|gt?*ns800myaUKM)}K0DM#;R;b!`Os+m&|!p_m^fwK}tp(Y>Xx z?DHM#w?YB1Jw`vvwB1PxF(S%LFRApM007w$Q-v8Ii!zRN7I?pZ0oeppqgdfLSgnNyV5067MG?H`eaHHGxaevkG}-TsMr&h+H=1epfr17A rV2IQM@926sEDs^_ooRcO!vWx5A+){&I~duH00000NkvXXu0mjfzUr&@ literal 0 HcmV?d00001 diff --git a/iup/package.yml b/iup/package.yml index 56d21ff..25fd14f 100644 --- a/iup/package.yml +++ b/iup/package.yml @@ -23,8 +23,12 @@ patterns : - lua : - /usr/bin/iuplua* - /usr/lib64/libiuplua*.so + - /usr/share/applications/iupluascripter.desktop + - /usr/share/icons/hicolor/48x48/apps/tecgraf-logo-scripter.png - /usr/lib64/*.so - /usr/bin/{iupvled,iupview,ledc} + - /usr/share/applications/iupvled.desktop + - /usr/share/icons/hicolor/48x48/apps/tecgraf-logo-vled.png - devel : - /usr/include environment: @@ -42,7 +46,7 @@ environment: export FTGL_LIB=/usr/lib export FTGL_INC=/usr/include setup : | - %patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch + %patch -p1 < $pkgfiles/0001-Disabling-static-linux6-support.patch build : | %make -j1 install : | @@ -55,3 +59,7 @@ install : | install -m00755 bin/Linux62_64/Lua53/* $installdir/usr/bin install -dm00755 $installdir/usr/include install -m00755 include/* $installdir/usr/include + install -Dm00644 $pkgfiles/iupvled.desktop $installdir/usr/share/applications/iupvled.desktop + install -Dm00644 $pkgfiles/iupluascripter.desktop $installdir/usr/share/applications/iupluascripter.desktop + install -Dm00644 $pkgfiles/tecgraf-logo.png $installdir/usr/share/icons/hicolor/48x48/apps/iupvled.png + install -Dm00644 $pkgfiles/tecgraf-logo.png $installdir/usr/share/icons/hicolor/48x48/apps/iupluascripter.png diff --git a/libcd/files/without-lua-prefix-with-linux6.patch b/libcd/files/0001-Linux6-support.patch similarity index 100% rename from libcd/files/without-lua-prefix-with-linux6.patch rename to libcd/files/0001-Linux6-support.patch diff --git a/libcd/package.yml b/libcd/package.yml index 4a67862..0355b12 100644 --- a/libcd/package.yml +++ b/libcd/package.yml @@ -36,7 +36,7 @@ environment: export IM_LIB=/usr/lib export IM_INC=/usr/include setup : | - %patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch + %patch -p1 < $pkgfiles/0001-Linux6-support.patch build : | %make -j1 install : |