Skip to contentSkip to conversation

Add gtksourceview 2.x and rename the 1.x tree recipe

PATCH New Elena Grandi 3 participants 8 messages May 14, 2009 – May 25, 2009

lore
Share & tools
lore
#0 lore raw

GtkSourceView[1] currently maintains a stable 2.x tree and an old stable 1.x tree for compatibility with older applications[2] and they can be installed together on a computer.

I need to add the recipe for the latest 2.x version, and since the old stable is used just in 2 recipes (gobby_0.4.1.bb and tea_17.3.5.bb) and mentioned as a preferred version in preferred-om-2008-versions.inc it seems to me that this could be a good time to rename it to gtksourceview1 with minimal breakage.

(I also hope I've used correctly the git tools for patch sending by
email: sorry if I've done something wrong)

[1] http://projects.gnome.org/gtksourceview/
[2] http://projects.gnome.org/gtksourceview/download.html

--
Elena ``of Valhalla'' Grandi

email: [email protected]

#1 lore raw

PATCH 1/1 gtksourceview2 2.6.0: new recipe for the current stable version.

GtkSourceView is a portable C library that extends the standard GTK+ framework for multiline text editing.

---
 recipes/gtksourceview/gtksourceview2_2.6.0.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/gtksourceview/gtksourceview2_2.6.0.bb
recipes/gtksourceview/gtksourceview2_2.6.0.bb new file +18 -0
new file mode 100644
index 0000000..ee9f654
@@ -0,0 +1,18 @@
+DESCRIPTION = "Portable C library for multiline text editing"
+HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
+LICENSE = "LGPL"
+DEPENDS = "gtk+ libgnomeprint"
+PR = "r0"
+PNAME = "gtksourceview"
+
+S = "${WORKDIR}/${PNAME}-${PV}"
+
+inherit gnome pkgconfig
+
+# overrule SRC_URI from gnome.conf
+SRC_URI = "${GNOME_MIRROR}/${PNAME}/${@gnome_verdir("${PV}")}/${PNAME}-${PV}.tar.bz2"
+
+do_stage() {
+autotools_stage_all
+}
+
Signature · 1 line
1.6.0.6
#2 lore raw

PATCH 1/1 gtksourceview: renamed the 1.x tree to gtksourceview1

GtkSourceView 1.x is an older stable version that is still required by some packages and is currently used in 2 recipes.

---
 conf/distro/include/preferred-om-2008-versions.inc |    2 +-
 recipes/gobby/gobby_0.4.1.bb                       |    3 ++-
 recipes/gobby/gtksourceview_1.7.2.bb               |    9 ---------
 recipes/gtksourceview/gtksourceview1_1.7.2.bb      |   16 ++++++++++++++++
 recipes/tea/tea_17.3.5.bb                          |    4 ++--
 5 files changed, 21 insertions(+), 13 deletions(-)
 delete mode 100644 recipes/gobby/gtksourceview_1.7.2.bb
 create mode 100644 recipes/gtksourceview/gtksourceview1_1.7.2.bb
conf/distro/include/preferred-om-2008-versions.inc +1 -1
index 8c5c4f7..d226cff 100644
@@ -635,7 +635,7 @@ PREFERRED_VERSION_gtkmm ?= "2.10.10"
 PREFERRED_VERSION_gtk-sato-engine ?= "0.1"
 PREFERRED_VERSION_gtk-sharp ?= "2.10.2"
 PREFERRED_VERSION_gtk-smooth-engine ?= "0.5.8"
-PREFERRED_VERSION_gtksourceview ?= "1.7.2"
+PREFERRED_VERSION_gtksourceview1 ?= "1.7.2"
 PREFERRED_VERSION_gtkterm2 ?= "0.2.3"
 PREFERRED_VERSION_gtk-xfce-engine ?= "2.4.1"
 PREFERRED_VERSION_gtracer ?= "0.0.10"
recipes/gobby/gobby_0.4.1.bb +2 -1
index f9474c8..87f0fb9 100644
@@ -1,7 +1,8 @@
 LICENSE = "LGPL"
 HOMEPAGE = "http://darcs.0x539.de/trac/obby/cgi-bin/trac.cgi/wiki/"
+PR = "r1"
 
-DEPENDS = "net6 gtkmm obby gtksourceview libxml++"
+DEPENDS = "net6 gtkmm obby gtksourceview1 libxml++"
 inherit autotools pkgconfig
 
 SRC_URI = "http://releases.0x539.de/gobby/gobby-${PV}.tar.gz"
recipes/gobby/gtksourceview_1.7.2.bb deleted +0 -9
deleted file mode 100644
index 6b4c8e6..0000000
@@ -1,9 +0,0 @@
-LICENSE = "GPL"
-
-DEPENDS = "gtk+ libgnomeprint"
-
-inherit gnome pkgconfig
-
-do_stage() {
-autotools_stage_all
-}
recipes/gtksourceview/gtksourceview1_1.7.2.bb new file +16 -0
new file mode 100644
index 0000000..44d88fb
@@ -0,0 +1,16 @@
+LICENSE = "GPL"
+
+PNAME = "gtksourceview"
+
+DEPENDS = "gtk+ libgnomeprint"
+
+S = "${WORKDIR}/${PNAME}-${PV}"
+
+inherit gnome pkgconfig
+
+# overrule SRC_URI from gnome.conf
+SRC_URI = "${GNOME_MIRROR}/${PNAME}/${@gnome_verdir("${PV}")}/${PNAME}-${PV}.tar.bz2"
+
+do_stage() {
+autotools_stage_all
+}
recipes/tea/tea_17.3.5.bb +2 -2
index c8dac8c..6412db0 100644
@@ -1,8 +1,8 @@
 DESCRIPTION = "Tea - a GTK based text editor with highlighting and a lot of processing features"
 SECTION = "gpe"
 LICENSE = "GPL"
-DEPENDS = "gtk+ gtksourceview"
-PR = "r1"
+DEPENDS = "gtk+ gtksourceview1"
+PR = "r2"
 
 inherit autotools
 
Signature · 1 line
1.6.0.6
#3 lore raw

PATCH 1/1 checksums.ini: added entry for gtksourceview2_2.6.0

---
 conf/checksums.ini |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
conf/checksums.ini +4 -0
index b087213..72f2db9 100644
@@ -9942,6 +9942,10 @@ sha256=c1c2e1fb0168ecb3a5e773ac0cd74a0e5caeaaf402f108479337794dab8aa75f
 md5=a56ea78c74fe93a604357d7c555af0e5
 sha256=38c238ec57bf22023bbc50f70ecbaee8c06b817b9e11f1a3a0ae7faf95cc1f26
 
+[http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.6/gtksourceview-2.6.0.tar.bz2]
+md5=dd065ab2e96e51aade949249c5556439
+sha256=92ddd976721e26377eaa59fea07707a0caa85eb874500868c1e6fdd9a21fe0dd
+
 [http://downloads.sourceforge.net/gtkterm/gtkterm2-0.2.3.tar.gz]
 md5=a49f93d15909dbd2e7011428ae01f0f0
 sha256=fb68b18d752ae2379f144186b94743be991af1a42c88bc1e6f0685e45cb1d573
Signature · 1 line
1.6.0.6
#4 lore raw

Re: [PATCH] gtksourceview: renamed the 1.x tree to gtksourceview1

In reply to Elena Grandi

Sorry, I did something wrong with git-send-email and this part wasn't sent:

GtkSourceView[1] currently maintains a stable 2.x tree and an old stable 1.x tree for compatibility with older applications[2] and they can be installed together on a computer.

I need to add the recipe for the latest 2.x version, and since the old stable is used just in 2 recipes (gobby_0.4.1.bb and tea_17.3.5.bb) and mentioned as a preferred version in preferred-om-2008-versions.inc it seems to me that this could be a good time to rename it to gtksourceview1 with minimal breakage.

(I also hope I've used correctly the git tools for patch sending by
email: sorry if I've done something wrong)

[1] http://projects.gnome.org/gtksourceview/
[2] http://projects.gnome.org/gtksourceview/download.html

Signature · 4 lines
Elena ``of Valhalla''

homepage: http://www.trueelena.org
email: [email protected]
#5 lore raw
In reply to Elena Grandi
Quoted 9 lines · Elena Grandi

GtkSourceView[1] currently maintains a stable 2.x tree and an old stable 1.x tree for compatibility with older applications[2] and they can be installed together on a computer.

I need to add the recipe for the latest 2.x version, and since the old stable is used just in 2 recipes (gobby_0.4.1.bb and tea_17.3.5.bb) and mentioned as a preferred version in preferred-om-2008-versions.inc it seems to me that this could be a good time to rename it to gtksourceview1 with minimal breakage.

Is there really any need to rename the old one? It seems like it would be better just to leave the existing gtksourceview alone and add the new one as gtksourceview2 or some such.

p.

#6 lore raw
Quoted 7 lines · Phil Blundell
Quoted 3 lines · Elena Grandi

GtkSourceView[1] currently maintains a stable 2.x tree and an old stable 1.x tree for compatibility with older applications[2] and they can be installed together on a computer.[...]

Is there really any need to rename the old one?  It seems like it would be better just to leave the existing gtksourceview alone and add the new one as gtksourceview2 or some such.

no, there is no real need, except for the fact that now it would be easy to do so, while in the future it could became problematic as new recipes are added

for my needs adding gtksourceview2 is good enough

Signature · 3 lines
Elena ``of Valhalla''

email: [email protected]
#7 lore raw
Quoted 5 lines · Elena of Valhalla
Quoted 4 lines · Phil Blundell
Quoted 3 lines · Elena Grandi

GtkSourceView[1] currently maintains a stable 2.x tree and an old stable 1.x tree for compatibility with older applications[2] and they can be installed together on a computer.[...]

Quoted 7 lines
Quoted 3 lines

Is there really any need to rename the old one?  It seems like it would be better just to leave the existing gtksourceview alone and add the new one as gtksourceview2 or some such.

no, there is no real need, except for the fact that now it would be easy to do so, while in the future it could became problematic as new recipes are added

The problem is that some users with overlays in their setups can use an old name of package externally. If you really don't need to break such things it's better to leave name as-is.

Quoted 13 lines

for my needs adding gtksourceview2 is good enough

--
Elena ``of Valhalla''

email: [email protected]

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel