Jelajahi Sumber

Mise en place des liens utiles et informations de licence, attribution, copyright

vetetix 2 bulan lalu
induk
melakukan
cee5c13d79
8 mengubah file dengan 62 tambahan dan 32 penghapusan
  1. 13 2
      README.md
  2. 30 14
      data/lu.arnoux.Oupis.metainfo.xml.in
  3. 1 1
      meson.build
  4. 1 1
      src/main.c
  5. 14 11
      src/oupis-application.c
  6. 1 1
      src/oupis-application.h
  7. 1 1
      src/oupis-window.c
  8. 1 1
      src/oupis-window.h

+ 13 - 2
README.md

@@ -1,3 +1,14 @@
-# oupis
+# Oupis
 
-A description of this project.
+Oupis est un utilitaire permettant d'accéder rapidement au dossier d'enregistrement
+LRPGN ou aux pages Pulsar (Registre et MIS) d'une procédure à partir de son UNA.
+
+En tenant à jour un index de l'ensemble des fichiers enregistrés dans le dossier
+des procédures LRPGN, Oupis permet aussi de trouver presque instantanément
+n'importe quelle pièce de procédure à partir de son nom.
+
+## Liens utiles
+
+- Télécharger la dernière version : À venir
+- Documentation : <https://code.arnoux.lu/GN/Oupis/wiki>
+- Salon de discussion Tchap : <https://www.tchap.gouv.fr/#/room/!lshyxXUIGdiXnVCzDl:agent.interieur.tchap.gouv.fr>

+ 30 - 14
data/lu.arnoux.Oupis.metainfo.xml.in

@@ -5,33 +5,49 @@
   <project_license>GPL-3.0-or-later</project_license>
 
   <name>Oupis</name>
-  <summary>Keep the summary shorter, between 10 and 35 characters</summary>
+  <summary>Trouver rapidement et consulter les procédures</summary>
   <description>
-    <p>No description</p>
+    <p>
+      Oupis est un utilitaire permettant d'accéder rapidement au dossier d'enregistrement
+      LRPGN ou aux pages Pulsar (Registre et MIS) d'une procédure à partir de son UNA.
+    </p>
+    <p>
+      En tenant à jour un index de l'ensemble des fichiers enregistrés dans le dossier
+      des procédures LRPGN, Oupis permet aussi de trouver presque instantanément
+      n'importe quelle pièce de procédure à partir de son nom.
+    </p>
   </description>
 
-  <developer id="tld.vendor">
-    <name>Developer name</name>
+  <developer id="lu.arnoux">
+    <name>Thomas Arnoux</name>
   </developer>
 
   <!-- Required: Should be a link to the upstream homepage for the component -->
-  <url type="homepage">https://example.org/</url>
+  <url type="homepage">https://code.arnoux.lu/GN/Oupis/wiki</url>
+
   <!-- Recommended: It is highly recommended for open-source projects to display the source code repository -->
-  <url type="vcs-browser">https://example.org/repository</url>
+  <url type="vcs-browser">https://code.arnoux.lu/GN/Oupis</url>
+
   <!-- Should point to the software's bug tracking system, for users to report new bugs -->
-  <url type="bugtracker">https://example.org/issues</url>
-  <!-- Should link a FAQ page for this software, to answer some of the most-asked questions in detail -->
+  <url type="bugtracker">https://code.arnoux.lu/GN/Oupis/issues</url>
+
   <!-- URLs of this type should point to a webpage where users can submit or modify translations of the upstream project -->
-  <url type="translate">https://example.org/translate</url>
-  <url type="faq">https://example.org/faq</url>
+  <!--<url type="translate">https://example.org/translate</url>-->
+
+  <!-- Should link a FAQ page for this software, to answer some of the most-asked questions in detail -->
+  <url type="faq">https://code.arnoux.lu/GN/wiki/FAQ</url>
+
   <!-- Should provide a web link to an online user's reference, a software manual or help page -->
-  <url type="help">https://example.org/help</url>
+  <!--<url type="help">https://example.org/help</url>-->
+
   <!-- URLs of this type should point to a webpage showing information on how to donate to the described software project -->
-  <url type="donation">https://example.org/donate</url>
+  <!--<url type="donation">https://example.org/donate</url>-->
+
   <!-- This could for example be an HTTPS URL to an online form or a page describing how to contact the developer -->
-  <url type="contact">https://example.org/contact</url>
+  <url type="contact">https://www.tchap.gouv.fr/#/room/!lshyxXUIGdiXnVCzDl:agent.interieur.tchap.gouv.fr</url>
+
   <!-- URLs of this type should point to a webpage showing information on how to contribute to the described software project -->
-  <url type="contribute">https://example.org/contribute</url>
+  <!--<url type="contribute">https://example.org/contribute</url>-->
 
   <translation type="gettext">oupis</translation>
   <!-- All graphical applications having a desktop file must have this tag in the MetaInfo.

+ 1 - 1
meson.build

@@ -1,5 +1,5 @@
 project('oupis', 'c',
-          version: '0.1.0',
+          version: '0.99.0-dev',
     meson_version: '>= 1.0.0',
   default_options: [ 'warning_level=2', 'werror=false', 'c_std=gnu11', ],
 )

+ 1 - 1
src/main.c

@@ -1,6 +1,6 @@
 /* main.c
  *
- * Copyright 2026 Thomas
+ * Copyright 2026 Thomas Arnoux
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by

+ 14 - 11
src/oupis-application.c

@@ -1,6 +1,6 @@
 /* oupis-application.c
  *
- * Copyright 2026 Thomas
+ * Copyright 2026 Thomas Arnoux
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -74,8 +74,8 @@ oupis_application_about_action (GSimpleAction *action,
                                 GVariant      *parameter,
                                 gpointer       user_data)
 {
-	static const char *developers[] = {"Thomas", NULL};
-	OupisApplication *self = user_data;
+	static const char *developers[] = {"Thomas Arnoux <thomas.arnoux@gendarmerie.interieur.gouv.fr>", NULL};
+        OupisApplication *self = user_data;
 	GtkWindow *window = NULL;
 
 	g_assert (OUPIS_IS_APPLICATION (self));
@@ -83,14 +83,17 @@ oupis_application_about_action (GSimpleAction *action,
 	window = gtk_application_get_active_window (GTK_APPLICATION (self));
 
 	adw_show_about_dialog (GTK_WIDGET (window),
-	                       "application-name", "oupis",
-	                       "application-icon", "lu.arnoux.Oupis",
-	                       "developer-name", "Thomas",
-	                       "translator-credits", _("translator-credits"),
-	                       "version", "0.1.0",
-	                       "developers", developers,
-	                       "copyright", "© 2026 Thomas",
-	                       NULL);
+              "application-name", "Oupis",
+              "application-icon", "lu.arnoux.Oupis",
+              "developer-name", "Thomas Arnoux",
+              "translator-credits", _("translator-credits"),
+              "version", PACKAGE_VERSION,
+              "developers", developers,
+              "copyright", "© 2018-2026 Thomas Arnoux",
+              "license-type", GTK_LICENSE_GPL_3_0,
+              "support-url", "https://www.tchap.gouv.fr/#/room/!lshyxXUIGdiXnVCzDl:agent.interieur.tchap.gouv.fr",
+              "issue-url", "https://code.arnoux.lu/GN/Oupis",
+              NULL);
 }
 
 static void

+ 1 - 1
src/oupis-application.h

@@ -1,6 +1,6 @@
 /* oupis-application.h
  *
- * Copyright 2026 Thomas
+ * Copyright 2026 Thomas Arnoux
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by

+ 1 - 1
src/oupis-window.c

@@ -1,6 +1,6 @@
 /* oupis-window.c
  *
- * Copyright 2026 Thomas
+ * Copyright 2026 Thomas Arnoux
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by

+ 1 - 1
src/oupis-window.h

@@ -1,6 +1,6 @@
 /* oupis-window.h
  *
- * Copyright 2026 Thomas
+ * Copyright 2026 Thomas Arnoux
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by