Files
geany/geany-appstream.patch
Dominique Leuenberger f3b8e111b3 Accepting request 1119159 from home:polslinux:branches:GNOME:Apps
- Update to 2.0:
  * Split "session data" into session.conf, preferences are written to
    and read from geany.conf (PR#2776, PR#2779, PR#3014, PR#3125 and more).
  * Require GTK 3.24.
  * (Re-)Add ability to scroll over document tabs (PR#3134).
  * Fix keyword colorization on filetype change (PR#3553).
  * Fix startup files order when placing tabs next to the current one (PR#3611).
  * The document list in the sidebar has a new tree view. This mode is
    the new default and existing installations automatically use it (PR#1813).
  * Use dark-theme friendly colors for compiler messages (PR#3013).
  * Add a confirmation dialog on search & replace for the whole session (PR#3033).
  * Filter entry for symbol tree (PR#3055).
  * Simplify project creation from existing directories with sources (PR#3042).
  * Add option to show symbols in symbol tree without category groups (PR#3172).
  * Add option to only show line endings if they differ from file default (PR#3287).
  * Make tab label length and window title length configurable (Abdul Rafey, #3365).
  * Make Go to Symbol commands show signature list (PR#3475).
  * Sync many parsers from the Universal Ctags project, this leads to
    updated symbol parsers (PR#2990, PR#2991, PR#3032).
  * Improved support for the ctags file format, which is now the recommended
    format for tags files (PR#3049).  
  * Enable local variables and improve autocompletion for C/C++ and
    some other languages (PR#3185, PR#3275).
- Drop upstreamed geany-inttool.patch.
- Rebased geany-appstream.patch.

OBS-URL: https://build.opensuse.org/request/show/1119159
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/geany?expand=0&rev=79
2023-10-23 08:40:03 +00:00

71 lines
2.9 KiB
Diff

diff -ruN geany-2.0.orig/geany.appdata.xml.in geany-2.0/geany.appdata.xml.in
--- geany-2.0.orig/geany.appdata.xml.in 1970-01-01 01:00:00.000000000 +0100
+++ geany-2.0/geany.appdata.xml.in 2023-10-20 08:10:08.027741216 +0200
@@ -0,0 +1,32 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+ <id type="desktop">geany.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Geany IDE</name>
+ <project_license>GPL-2.0+</project_license>
+ <summary>A fast and lightweight IDE using GTK+</summary>
+ <url type="homepage">http://geany.org/</url>
+ <description>
+ <p>Geany is a small and lightweight integrated development environment.
+It was developed to provide a small and fast IDE, which has only a
+few dependencies from other packages. Another goal was to be as
+independent as possible from a special Desktop Environment like KDE
+or GNOME. So it is using only the GTK2 toolkit and therefore you need
+only the GTK2 runtime libraries to run Geany.</p>
+ </description>
+ <screenshots>
+<!-- Screenshots need to be 16:9 ratio but the ones here from the main website are not. Please
+ change the links to point to appropriate 16:9 sized screenshots. -->
+ <screenshot type="default">
+ <image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_main.png</image>
+ </screenshot>
+ <screenshot type="default">
+ <image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_build.png</image>
+ </screenshot>
+ <screenshot type="default">
+ <image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_vte.png</image>
+ </screenshot>
+ </screenshots>
+ <update_contact>badshah400@gmail.com</update_contact>
+ <translation type="gettext">geany</translation>
+</component>
diff -ruN geany-2.0.orig/Makefile.am geany-2.0/Makefile.am
--- geany-2.0.orig/Makefile.am 2023-10-20 08:09:57.740979647 +0200
+++ geany-2.0/Makefile.am 2023-10-20 08:14:23.220095653 +0200
@@ -17,6 +17,7 @@
scripts/gen-api-gtkdoc.py \
scripts/gen-signallist.sh \
scripts/print-tags.py \
+ geany.appdata.xml.in \
geany.desktop.in \
geany.pc.in \
ChangeLog.pre-1-22 \
@@ -80,3 +81,12 @@
$(desktop_DATA): $(desktop_in_files) $(wildcard $(top_srcdir)/po/*.po)
$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
+appdata_in_files = geany.appdata.xml.in
+
+appdatadir = $(datadir)/appdata
+nodist_appdata_DATA = geany.appdata.xml
+
+$(nodist_appdata_DATA): $(appdata_in_files) $(wildcard $(top_srcdir)/po/*.po)
+ $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
diff -ruN geany-2.0.orig/po/POTFILES.in geany-2.0/po/POTFILES.in
--- geany-2.0.orig/po/POTFILES.in 2023-10-20 08:09:57.810980295 +0200
+++ geany-2.0/po/POTFILES.in 2023-10-20 08:10:08.027741216 +0200
@@ -1,5 +1,6 @@
# List of source files containing translatable strings.
+geany.appdata.xml.in
geany.desktop.in
data/geany.glade
src/about.c