Skip to content

Commit

Permalink
tilp: Housekeeping
Browse files Browse the repository at this point in the history
**Summary**

- Fix appstream generation:
   - Patch appdata and desktop file
   - Install app icon to proper path
- Add monitoring.yml (Part of #4121)
  • Loading branch information
malfisya committed Jan 11, 2025
1 parent a983927 commit 28a4eb2
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/t/tilp/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ libgtk-x11-2.0.so.0:gtk_combo_box_set_active
libgtk-x11-2.0.so.0:gtk_combo_box_set_active_iter
libgtk-x11-2.0.so.0:gtk_container_add
libgtk-x11-2.0.so.0:gtk_dialog_add_button
libgtk-x11-2.0.so.0:gtk_dialog_new_with_buttons
libgtk-x11-2.0.so.0:gtk_dialog_run
libgtk-x11-2.0.so.0:gtk_dialog_set_alternative_button_order
libgtk-x11-2.0.so.0:gtk_dialog_set_default_response
Expand Down
41 changes: 41 additions & 0 deletions packages/t/tilp/files/0001-Fix-appdata-and-desktop-files.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Muhammad Alfi Syahrin <[email protected]>
Date: Sat, 11 Jan 2025 19:12:07 +0700
Subject: [PATCH] Fix appdata and desktop files

---
desktop/tilp.appdata.xml | 2 +-
desktop/tilp.desktop.in | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/desktop/tilp.appdata.xml b/desktop/tilp.appdata.xml
index 7b91646..f79f357 100644
--- a/desktop/tilp.appdata.xml
+++ b/desktop/tilp.appdata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2015 Ben Rosser <[email protected]> -->
<application>
- <id type="desktop">comical.desktop</id>
+ <id type="desktop">tilp.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>TILP2</name>
diff --git a/desktop/tilp.desktop.in b/desktop/tilp.desktop.in
index 6a7d017..2ebe7ad 100644
--- a/desktop/tilp.desktop.in
+++ b/desktop/tilp.desktop.in
@@ -7,8 +7,8 @@ GenericName=TI Linking Program
GenericName[fr_FR]=Connexion calculatrices TI
Version=1.0
Type=Application
-Exec=@bindir@/tilp
-Icon=@pixmapsdir@/tilp.png
+Exec=tilp
+Icon=tilp
Terminal=false
Categories=Utility;GTK;X-KDE-Utilities-Peripherals;
MimeType=application/x-tilp;
--
2.47.1

6 changes: 6 additions & 0 deletions packages/t/tilp/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
releases:
id: 231547
rss: https://sourceforge.net/projects/tilp/rss?limit=200
# No known CPE, checked 2025-01-11
security:
cpe: ~
4 changes: 3 additions & 1 deletion packages/t/tilp/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : tilp
version : 1.18
release : 4
release : 5
source :
- https://sourceforge.net/projects/tilp/files/tilp2-linux/tilp2-1.18/tilp2-1.18.tar.bz2 : 7b3ab363eeb52504d6ef5811c5d264f8016060bb7bd427be5a064c2ed7384e47
homepage : http://lpg.ticalc.org/prj_tilp/
Expand All @@ -16,8 +16,10 @@ builddeps :
- intltool
setup : |
%patch -p1 -i $pkgfiles/remove-kde.patch
%patch -p1 -i $pkgfiles/0001-Fix-appdata-and-desktop-files.patch
%reconfigure
build : |
%make
install : |
%make_install
install -Dm00644 $installdir/usr/share/tilp2/pixmaps/logo.png $installdir/usr/share/pixmaps/tilp.png
13 changes: 7 additions & 6 deletions packages/t/tilp/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>tilp</Name>
<Homepage>http://lpg.ticalc.org/prj_tilp/</Homepage>
<Packager>
<Name>Jakob Gezelius</Name>
<Email>[email protected]</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>[email protected]</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>office</PartOf>
Expand All @@ -26,6 +26,7 @@
<Path fileType="localedata">/usr/share/locale/de/LC_MESSAGES/tilp2.mo</Path>
<Path fileType="localedata">/usr/share/locale/fr/LC_MESSAGES/tilp2.mo</Path>
<Path fileType="data">/usr/share/mime/packages/tilp.xml</Path>
<Path fileType="data">/usr/share/pixmaps/tilp.png</Path>
<Path fileType="data">/usr/share/tilp2/COPYING</Path>
<Path fileType="data">/usr/share/tilp2/RELEASE</Path>
<Path fileType="data">/usr/share/tilp2/builder/action.ui</Path>
Expand Down Expand Up @@ -150,12 +151,12 @@
</Files>
</Package>
<History>
<Update release="4">
<Date>2024-06-22</Date>
<Update release="5">
<Date>2025-01-11</Date>
<Version>1.18</Version>
<Comment>Packaging update</Comment>
<Name>Jakob Gezelius</Name>
<Email>[email protected]</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

0 comments on commit 28a4eb2

Please sign in to comment.